From 1d001134fe6b91cc06115eeb688a9ed8ddec9cd4 Mon Sep 17 00:00:00 2001 From: GerkinDev Date: Wed, 8 Sep 2021 00:25:21 +0200 Subject: [PATCH 1/5] build(npm): update all toolings & their configs --- .esdoc.json | 25 +- .eslintrc.js | 190 + .gitignore | 1 + README.md | 12 +- mocha.opts | 3 - package-lock.json | 17659 ++++++++++++++++++----- package.json | 71 +- src/applicators/MemoizeApplicator.ts | 10 +- src/applicators/PartialedApplicator.ts | 3 +- src/bindAll.ts | 2 +- src/factory/common.ts | 4 +- tsconfig.docs.json | 9 - tsconfig.json | 3 - tslint.json | 24 - 14 files changed, 14701 insertions(+), 3315 deletions(-) create mode 100644 .eslintrc.js delete mode 100644 mocha.opts delete mode 100644 tsconfig.docs.json delete mode 100644 tslint.json diff --git a/.esdoc.json b/.esdoc.json index bbab3bf..f20bf4d 100644 --- a/.esdoc.json +++ b/.esdoc.json @@ -1,12 +1,17 @@ { - "source": "./buildDocs", - "destination": "./docs", - "title": "Lodash Decorators Documentation", - "access": [ "public" ], - "excludes": [ ".*\\.spec\\.js" ], - "test": { - "type": "mocha", - "source": "./buildDocs", - "includes": [ ".*\\.spec\\.js" ] - } + "source": "./src", + "destination": "./docs", + "plugins": [ + {"name": "esdoc-standard-plugin","option": { + "accessor": {"access": [ "public" ], "autoPrivate": true}, + "test": { + "type": "mocha", + "source": "./src", + "includes": [ ".*\\.spec\\.ts" ] + }, + "brand": {"title": "Lodash Decorators Documentation"} + }}, + {"name": "esdoc-typescript-plugin", "option": {"enable": true}} + ], + "excludes": [ ".*\\.spec\\.ts" ] } \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..dbb9666 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,190 @@ +/* +👋 Hi! This file was autogenerated by tslint-to-eslint-config. +https://github.com/typescript-eslint/tslint-to-eslint-config + +It represents the closest reasonable ESLint configuration to this +project's original TSLint configuration. + +We recommend eventually switching this configuration to extend from +the recommended rulesets in typescript-eslint. +https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md + +Happy linting! 💖 +*/ +module.exports = { + "env": { + "node": true + }, + "extends": [ + "plugin:@typescript-eslint/recommended", + "plugin:@typescript-eslint/recommended-requiring-type-checking", + "prettier" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "project": "./tsconfig.json", + "sourceType": "module" + }, + "plugins": [ + "eslint-plugin-import", + "eslint-plugin-prefer-arrow", + "eslint-plugin-jsdoc", + "@typescript-eslint" + ], + "rules": { + "@typescript-eslint/adjacent-overload-signatures": "error", + "@typescript-eslint/array-type": [ + "error", + { + "default": "array" + } + ], + "@typescript-eslint/ban-types": "off", + "@typescript-eslint/consistent-type-assertions": "error", + "@typescript-eslint/dot-notation": "error", + "@typescript-eslint/explicit-member-accessibility": [ + "off", + { + "accessibility": "explicit" + } + ], + "@typescript-eslint/explicit-module-boundary-types": "off", + "@typescript-eslint/member-delimiter-style": [ + "error", + { + "multiline": { + "delimiter": "semi", + "requireLast": true + }, + "singleline": { + "delimiter": "semi", + "requireLast": false + } + } + ], + "@typescript-eslint/naming-convention": [ + "error", + { + "format": [ + "strictCamelCase", + "StrictPascalCase" + ], + "leadingUnderscore": "allow", + "selector": "function" + } + ], + "@typescript-eslint/no-empty-function": "off", + "@typescript-eslint/no-empty-interface": "error", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-misused-new": "error", + "@typescript-eslint/no-namespace": "error", + "@typescript-eslint/no-parameter-properties": "off", + "@typescript-eslint/no-shadow": [ + "error", + { + "hoist": "all" + } + ], + "@typescript-eslint/no-this-alias": "off", + "@typescript-eslint/no-unsafe-assignment": "off", + "@typescript-eslint/no-unsafe-call": "off", + "@typescript-eslint/no-unsafe-member-access": "off", + "@typescript-eslint/no-unsafe-return": "off", + "@typescript-eslint/no-unused-expressions": "off", + "@typescript-eslint/no-unused-vars": [ + "warn", + { + "argsIgnorePattern": "^_" + } + ], + "@typescript-eslint/no-use-before-define": "off", + "@typescript-eslint/no-var-requires": "error", + "@typescript-eslint/prefer-for-of": "error", + "@typescript-eslint/prefer-function-type": "error", + "@typescript-eslint/prefer-namespace-keyword": "error", + "@typescript-eslint/quotes": [ + "error", + "single" + ], + "@typescript-eslint/restrict-plus-operands": "off", + "@typescript-eslint/restrict-template-expressions": "off", + "@typescript-eslint/semi": [ + "error", + "always" + ], + "@typescript-eslint/triple-slash-reference": [ + "error", + { + "lib": "always", + "path": "always", + "types": "prefer-import" + } + ], + "@typescript-eslint/unbound-method": "off", + "@typescript-eslint/unified-signatures": "error", + "comma-dangle": "off", + "complexity": "off", + "constructor-super": "error", + "dot-notation": "error", + "eol-last": "off", + "eqeqeq": [ + "error", + "smart" + ], + "guard-for-in": "error", + "id-blacklist": "error", + "id-match": "error", + "import/order": "off", + "jsdoc/check-alignment": "error", + "jsdoc/check-indentation": [ + "off" + ], + "jsdoc/newline-after-description": "error", + "max-classes-per-file": "off", + "max-len": "off", + "new-parens": "error", + "no-bitwise": "error", + "no-caller": "error", + "no-cond-assign": "error", + "no-console": "error", + "no-debugger": "error", + "no-empty": "off", + "no-empty-function": "off", + "no-eval": "error", + "no-fallthrough": "off", + "no-invalid-this": "off", + "no-new-wrappers": "error", + "no-shadow": "off", + "no-throw-literal": "error", + "no-trailing-spaces": "error", + "no-undef-init": "error", + "no-underscore-dangle": "off", + "no-unsafe-finally": "error", + "no-unused-expressions": "off", + "no-unused-labels": "error", + "no-use-before-define": "off", + "no-var": "error", + "object-shorthand": "error", + "one-var": [ + "error", + "never" + ], + "prefer-arrow/prefer-arrow-functions": "off", + "prefer-const": "error", + "prefer-template": "error", + "quotes": "off", + "radix": "error", + "semi": "error", + "spaced-comment": [ + "error", + "always", + { + "markers": [ + "/" + ] + } + ], + "use-isnan": "error", + "valid-typeof": "off" + } +}; diff --git a/.gitignore b/.gitignore index a3de3a3..a132a41 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ node_modules src/**/*.js src/**/*.map .history +!/.eslintrc.js \ No newline at end of file diff --git a/README.md b/README.md index ab64345..b48ff85 100644 --- a/README.md +++ b/README.md @@ -15,19 +15,19 @@ Decorators using lodash functions. View the [API docs](https://steelsojka.github - [Decorators](#decorators) - [Example](#example) - [Optional Params and Casing](#optional-params-and-casing) - - [Example](#example) - - [Partials](#partials) - [Example](#example-1) - - [Composition](#composition) + - [Partials](#partials) - [Example](#example-2) + - [Composition](#composition) + - [Example](#example-3) - [Instance Decorators](#instance-decorators) - [Mixin](#mixin) - - [Example](#example-3) - - [Attempt](#attempt) - [Example](#example-4) - - [Bind](#bind) + - [Attempt](#attempt) - [Example](#example-5) + - [Bind](#bind) - [Example](#example-6) + - [Example](#example-7) - [v4 Breaking Changes](#v4-breaking-changes) - [Not all decorators can be applied to or forced on getters/setters.](#not-all-decorators-can-be-applied-to-or-forced-on-getterssetters) - [No longer force instance decorator onto prototype](#no-longer-force-instance-decorator-onto-prototype) diff --git a/mocha.opts b/mocha.opts deleted file mode 100644 index 611cecc..0000000 --- a/mocha.opts +++ /dev/null @@ -1,3 +0,0 @@ ---reporter spec ---watch-extensions ts -test/**/*.spec.js \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 0a14fc6..90fe0e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,1934 +1,12595 @@ { "name": "lodash-decorators", "version": "6.0.1", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, - "dependencies": { - "@babel/code-frame": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", - "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", + "packages": { + "": { + "version": "6.0.1", + "license": "MIT", + "devDependencies": { + "@types/chai": "^4.2.21", + "@types/lodash": "^4.14.172", + "@types/mocha": "^9.0.0", + "@types/node": "^16.7.13", + "@types/sinon": "^10.0.2", + "@typescript-eslint/eslint-plugin": "^4.31.0", + "@typescript-eslint/parser": "^4.31.0", + "chai": "^4.3.4", + "del-cli": "^4.0.1", + "doctoc": "^2.0.1", + "esdoc": "^1.1.0", + "esdoc-standard-plugin": "^1.0.0", + "esdoc-typescript-plugin": "^1.0.1", + "eslint": "^7.32.0", + "eslint-config-prettier": "^8.3.0", + "eslint-plugin-import": "^2.24.2", + "eslint-plugin-jsdoc": "^36.1.0", + "eslint-plugin-prefer-arrow": "^1.2.3", + "http-server": "^13.0.1", + "lodash": "^4.17.21", + "mocha": "^9.1.1", + "sinon": "^11.1.2", + "standard-version": "^9.3.1", + "ts-node": "^10.2.1", + "tslib": "^2.3.1", + "typescript": "^4.4.2" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "lodash": "^4.0.0", + "tslib": "^2.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", + "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", "dev": true, - "requires": { - "@babel/highlight": "^7.10.4" + "dependencies": { + "@babel/highlight": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" } }, - "@babel/helper-validator-identifier": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", - "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", - "dev": true + "node_modules/@babel/helper-validator-identifier": { + "version": "7.14.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz", + "integrity": "sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } }, - "@babel/highlight": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", - "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", + "node_modules/@babel/highlight": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", + "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.10.4", + "dependencies": { + "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" } }, - "@types/chai": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-3.5.2.tgz", - "integrity": "sha1-wRzSgX06QBt7oPWkIPNcVhObHB4=", - "dev": true + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } }, - "@types/lodash": { - "version": "4.14.109", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.109.tgz", - "integrity": "sha512-hop8SdPUEzbcJm6aTsmuwjIYQo1tqLseKCM+s2bBqTU2gErwI4fE+aqUVOlscPSQbKHKgtMMPoC+h4AIGOJYvw==", + "node_modules/@babel/highlight/node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, - "@types/minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=", - "dev": true + "node_modules/@babel/highlight/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } }, - "@types/mocha": { - "version": "2.2.48", - "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-2.2.48.tgz", - "integrity": "sha512-nlK/iyETgafGli8Zh9zJVCTicvU3iajSkRwOh3Hhiva598CMqNJ4NcVCGMTGKpGpTYj/9R8RLzS9NAykSSCqGw==", - "dev": true + "node_modules/@cspotcode/source-map-consumer": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", + "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", + "dev": true, + "engines": { + "node": ">= 12" + } }, - "@types/node": { - "version": "7.0.65", - "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.65.tgz", - "integrity": "sha512-iUdyWWikcQnGvIZnYh5ZxnxeREykndA9+iGdo068NGNutibWknDjmmNMq/8cnS1eaTCcgqJsPsFppw3XJWNlUg==", - "dev": true + "node_modules/@cspotcode/source-map-support": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.6.1.tgz", + "integrity": "sha512-DX3Z+T5dt1ockmPdobJS/FAsQPW4V4SrWEhD2iYQT2Cb2tQsiMnYxrcUH9By/Z3B+v0S5LMBkQtV/XOBbpLEOg==", + "dev": true, + "dependencies": { + "@cspotcode/source-map-consumer": "0.8.0" + }, + "engines": { + "node": ">=12" + } }, - "@types/normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", - "dev": true + "node_modules/@es-joy/jsdoccomment": { + "version": "0.10.8", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.10.8.tgz", + "integrity": "sha512-3P1JiGL4xaR9PoTKUHa2N/LKwa2/eUdRqGwijMWWgBqbFEqJUVpmaOi2TcjcemrsRMgFLBzQCK4ToPhrSVDiFQ==", + "dev": true, + "dependencies": { + "comment-parser": "1.2.4", + "esquery": "^1.4.0", + "jsdoc-type-pratt-parser": "1.1.1" + }, + "engines": { + "node": "^12 || ^14 || ^16" + } }, - "@types/sinon": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-2.3.7.tgz", - "integrity": "sha512-w+LjztaZbgZWgt/y/VMP5BUAWLtSyoIJhXyW279hehLPyubDoBNwvhcj3WaSptcekuKYeTCVxrq60rdLc6ImJA==", - "dev": true + "node_modules/@eslint/eslintrc": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } }, - "JSONStream": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "node_modules/@eslint/eslintrc/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, - "requires": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" + "dependencies": { + "sprintf-js": "~1.0.2" } }, - "abab": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", - "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=", + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", + "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", "dev": true, - "optional": true + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "acorn": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz", - "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=", + "node_modules/@eslint/eslintrc/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true, - "optional": true + "engines": { + "node": ">= 4" + } }, - "acorn-globals": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz", - "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=", + "node_modules/@eslint/eslintrc/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, - "optional": true, - "requires": { - "acorn": "^2.1.0" + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "add-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", - "integrity": "sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=", + "node_modules/@eslint/eslintrc/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", + "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.0", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.0.tgz", + "integrity": "sha512-wdppn25U8z/2yiaT6YGquE6X8sSv7hNMWSXYSSU1jGv/yd6XqjXgTDJ8KP4NgjTXfJ3GbRjeeb8RTV7a/VpM+w==", "dev": true }, - "ajv": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.6.2.tgz", - "integrity": "sha512-FBHEW6Jf5TB9MGBgUUA9XHkTbjXYfAUjY43ACMfmdMRHniyoMHjHjzD50OK8LGDWQwp4rWEsIq5kEqq7rvIM1g==", + "node_modules/@hutson/parse-repository-url": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", + "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", "dev": true, - "optional": true, - "requires": { - "fast-deep-equal": "^2.0.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" + "engines": { + "node": ">=6.9.0" } }, - "anchor-markdown-header": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/anchor-markdown-header/-/anchor-markdown-header-0.5.7.tgz", - "integrity": "sha1-BFBj125qH5zTJ6V6ASaqD97Dcac=", + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "dev": true, - "requires": { - "emoji-regex": "6.1.3" + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" } }, - "ansi-align": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-1.1.0.tgz", - "integrity": "sha1-LwwWWIKXOa3V67FeawxuNCPwFro=", + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "dev": true, - "requires": { - "string-width": "1.0.2" + "engines": { + "node": ">= 8" } }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true + "node_modules/@sinonjs/commons": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", + "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "dev": true, + "dependencies": { + "type-detect": "4.0.8" + } }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "node_modules/@sinonjs/fake-timers": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-7.1.2.tgz", + "integrity": "sha512-iQADsW4LBMISqZ6Ci1dupJL9pprqwcVFTcOsEmQOEhW+KLCVn/Y4Jrvg2k19fIHCp+iFprriYPTdRcQR8NbUPg==", "dev": true, - "requires": { - "sprintf-js": "1.0.3" + "dependencies": { + "@sinonjs/commons": "^1.7.0" } }, - "array-find-index": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "node_modules/@sinonjs/samsam": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-6.0.2.tgz", + "integrity": "sha512-jxPRPp9n93ci7b8hMfJOFDPRLFYadN6FSpeROFTR4UNF4i5b+EK6m4QXPO46BDhFgRy1JuS87zAnFOzCUwMJcQ==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^1.6.0", + "lodash.get": "^4.4.2", + "type-detect": "^4.0.8" + } + }, + "node_modules/@sinonjs/text-encoding": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", + "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", "dev": true }, - "array-ify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=", + "node_modules/@textlint/ast-node-types": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/@textlint/ast-node-types/-/ast-node-types-4.4.3.tgz", + "integrity": "sha512-qi2jjgO6Tn3KNPGnm6B7p6QTEPvY95NFsIAaJuwbulur8iJUEenp1OnoUfiDaC/g2WPPEFkcfXpmnu8XEMFo2A==", "dev": true }, - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "node_modules/@textlint/markdown-to-ast": { + "version": "6.1.7", + "resolved": "https://registry.npmjs.org/@textlint/markdown-to-ast/-/markdown-to-ast-6.1.7.tgz", + "integrity": "sha512-B0QtokeQR4a9+4q0NQr8T9l7A1fFihTN5Ze57tVgqW+3ymzXEouh8DvPHeNQ4T6jEkAThvdjk95mxAMpGRJ79w==", "dev": true, - "requires": { - "array-uniq": "1.0.3" + "dependencies": { + "@textlint/ast-node-types": "^4.2.5", + "debug": "^4.1.1", + "remark-frontmatter": "^1.2.0", + "remark-parse": "^5.0.0", + "structured-source": "^3.0.2", + "traverse": "^0.6.6", + "unified": "^6.1.6" } }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "node_modules/@tsconfig/node10": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", + "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==", "dev": true }, - "arrify": { + "node_modules/@tsconfig/node12": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", + "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==", + "dev": true + }, + "node_modules/@tsconfig/node14": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", + "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==", "dev": true }, - "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "dev": true, - "optional": true, - "requires": { - "safer-buffer": "~2.1.0" - } + "node_modules/@tsconfig/node16": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", + "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "dev": true }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true, - "optional": true + "node_modules/@types/chai": { + "version": "4.2.21", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.2.21.tgz", + "integrity": "sha512-yd+9qKmJxm496BOV9CMNaey8TWsikaZOwMRwPHQIjcOJM9oV+fi9ZMNw3JsVnbEEbo2gRTDnGEBv8pjyn67hNg==", + "dev": true }, - "assertion-error": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.0.0.tgz", - "integrity": "sha1-x/hUOP3UZrx8oWq5DIFRN5el0js=", + "node_modules/@types/json-schema": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", "dev": true }, - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", "dev": true }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true, - "optional": true + "node_modules/@types/lodash": { + "version": "4.14.172", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.172.tgz", + "integrity": "sha512-/BHF5HAx3em7/KkzVKm3LrsD6HZAXuXO1AJZQ3cRRBZj4oHZDviWPYu0aEplAqDFNHZPW6d3G7KN+ONcCCC7pw==", + "dev": true }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true, - "optional": true + "node_modules/@types/minimist": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", + "dev": true }, - "aws4": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", - "dev": true, - "optional": true + "node_modules/@types/mocha": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.0.0.tgz", + "integrity": "sha512-scN0hAWyLVAvLR9AyW7HoFF5sJZglyBsbPuHO4fv7JRvfmPBMfp1ozWqOf/e4wwPNxezBZXRfWzMb6iFLgEVRA==", + "dev": true }, - "babel-code-frame": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.22.0.tgz", - "integrity": "sha1-AnYgvuVnqIwyVhV05/0IAdMxGOQ=", - "dev": true, - "requires": { - "chalk": "1.1.3", - "esutils": "2.0.2", - "js-tokens": "3.0.2" - } + "node_modules/@types/node": { + "version": "16.7.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.13.tgz", + "integrity": "sha512-pLUPDn+YG3FYEt/pHI74HmnJOWzeR+tOIQzUx93pi9M7D8OE7PSLr97HboXwk5F+JS+TLtWuzCOW97AHjmOXXA==", + "dev": true }, - "babel-generator": { - "version": "6.26.1", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", - "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "node_modules/@types/normalize-package-data": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", + "dev": true + }, + "node_modules/@types/sinon": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.2.tgz", + "integrity": "sha512-BHn8Bpkapj8Wdfxvh2jWIUoaYB/9/XhsL0oOvBfRagJtKlSl9NWPcFOz2lRukI9szwGxFtYZCTejJSqsGDbdmw==", "dev": true, - "requires": { - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "detect-indent": "^4.0.0", - "jsesc": "^1.3.0", - "lodash": "^4.17.4", - "source-map": "^0.5.7", - "trim-right": "^1.0.1" - }, "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } + "@sinonjs/fake-timers": "^7.1.0" } }, - "babel-messages": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.31.0.tgz", + "integrity": "sha512-iPKZTZNavAlOhfF4gymiSuUkgLne/nh5Oz2/mdiUmuZVD42m9PapnCnzjxuDsnpnbH3wT5s2D8bw6S39TC6GNw==", "dev": true, - "requires": { - "babel-runtime": "^6.22.0" + "dependencies": { + "@typescript-eslint/experimental-utils": "4.31.0", + "@typescript-eslint/scope-manager": "4.31.0", + "debug": "^4.3.1", + "functional-red-black-tree": "^1.0.1", + "regexpp": "^3.1.0", + "semver": "^7.3.5", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^4.0.0", + "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "node_modules/@typescript-eslint/experimental-utils": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.31.0.tgz", + "integrity": "sha512-Hld+EQiKLMppgKKkdUsLeVIeEOrwKc2G983NmznY/r5/ZtZCDvIOXnXtwqJIgYz/ymsy7n7RGvMyrzf1WaSQrw==", "dev": true, - "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" + "dependencies": { + "@types/json-schema": "^7.0.7", + "@typescript-eslint/scope-manager": "4.31.0", + "@typescript-eslint/types": "4.31.0", + "@typescript-eslint/typescript-estree": "4.31.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" } }, - "babel-traverse": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", - "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "node_modules/@typescript-eslint/parser": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.31.0.tgz", + "integrity": "sha512-oWbzvPh5amMuTmKaf1wp0ySxPt2ZXHnFQBN2Szu1O//7LmOvgaKTCIDNLK2NvzpmVd5A2M/1j/rujBqO37hj3w==", "dev": true, - "requires": { - "babel-code-frame": "^6.26.0", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "debug": "^2.6.8", - "globals": "^9.18.0", - "invariant": "^2.2.2", - "lodash": "^4.17.4" - }, "dependencies": { - "babel-code-frame": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", - "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", - "dev": true, - "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" - } + "@typescript-eslint/scope-manager": "4.31.0", + "@typescript-eslint/types": "4.31.0", + "@typescript-eslint/typescript-estree": "4.31.0", + "debug": "^4.3.1" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true } } }, - "babel-types": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "node_modules/@typescript-eslint/scope-manager": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.31.0.tgz", + "integrity": "sha512-LJ+xtl34W76JMRLjbaQorhR0hfRAlp3Lscdiz9NeI/8i+q0hdBZ7BsiYieLoYWqy+AnRigaD3hUwPFugSzdocg==", "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" + "dependencies": { + "@typescript-eslint/types": "4.31.0", + "@typescript-eslint/visitor-keys": "4.31.0" + }, + "engines": { + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "babylon": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "dev": true - }, - "bail": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.3.tgz", - "integrity": "sha512-1X8CnjFVQ+a+KW36uBNMTU5s8+v5FzeqrP7hTG5aTb4aPreSbZJlhwPon9VKMuEVgV++JM+SQrALY3kr7eswdg==", - "dev": true + "node_modules/@typescript-eslint/types": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.31.0.tgz", + "integrity": "sha512-9XR5q9mk7DCXgXLS7REIVs+BaAswfdHhx91XqlJklmqWpTALGjygWVIb/UnLh4NWhfwhR5wNe1yTyCInxVhLqQ==", + "dev": true, + "engines": { + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true + "node_modules/@typescript-eslint/typescript-estree": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.31.0.tgz", + "integrity": "sha512-QHl2014t3ptg+xpmOSSPn5hm4mY8D4s97ftzyk9BZ8RxYQ3j73XcwuijnJ9cMa6DO4aLXeo8XS3z1omT9LA/Eg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "4.31.0", + "@typescript-eslint/visitor-keys": "4.31.0", + "debug": "^4.3.1", + "globby": "^11.0.3", + "is-glob": "^4.0.1", + "semver": "^7.3.5", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "node_modules/@typescript-eslint/visitor-keys": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.31.0.tgz", + "integrity": "sha512-HUcRp2a9I+P21+O21yu3ezv3GEPGjyGiXoEUQwZXjR8UxRApGeLyWH4ZIIUSalE28aG4YsV6GjtaAVB3QKOu0w==", "dev": true, - "optional": true, - "requires": { - "tweetnacl": "^0.14.3" + "dependencies": { + "@typescript-eslint/types": "4.31.0", + "eslint-visitor-keys": "^2.0.0" + }, + "engines": { + "node": "^8.10.0 || ^10.13.0 || >=11.10.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "node_modules/@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", "dev": true }, - "boundary": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/boundary/-/boundary-1.0.1.tgz", - "integrity": "sha1-TWfcJgLAzBbdm85+v4fpSCkPWBI=", - "dev": true + "node_modules/abab": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", + "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=", + "dev": true, + "optional": true }, - "boxen": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/boxen/-/boxen-0.6.0.tgz", - "integrity": "sha1-g2TUJIrDT/DvGy8r9JpsYM4NgbY=", + "node_modules/acorn": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz", + "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=", "dev": true, - "requires": { - "ansi-align": "1.1.0", - "camelcase": "2.1.1", - "chalk": "1.1.3", - "cli-boxes": "1.0.0", - "filled-array": "1.1.0", - "object-assign": "4.1.1", - "repeating": "2.0.1", - "string-width": "1.0.2", - "widest-line": "1.0.0" + "optional": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" } }, - "brace-expansion": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", - "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", + "node_modules/acorn-globals": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz", + "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=", "dev": true, - "requires": { - "balanced-match": "1.0.0", - "concat-map": "0.0.1" + "optional": true, + "dependencies": { + "acorn": "^2.1.0" } }, - "browser-stdout": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", - "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", - "dev": true - }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true - }, - "builtin-modules": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", - "dev": true - }, - "caller-id": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/caller-id/-/caller-id-0.1.0.tgz", - "integrity": "sha1-Wb2sCJPRLDhxQIJ5Ix+XRYNk8Hs=", + "node_modules/acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", "dev": true, - "requires": { - "stack-trace": "0.0.10" + "engines": { + "node": ">=0.4.0" } }, - "camelcase": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "node_modules/add-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", + "integrity": "sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=", "dev": true }, - "camelcase-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, - "requires": { - "camelcase": "2.1.1", - "map-obj": "1.0.1" + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "capture-stack-trace": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz", - "integrity": "sha1-Sm+gc5nCa7pH8LJJa00PtAjFVQ0=", - "dev": true + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "node_modules/anchor-markdown-header": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/anchor-markdown-header/-/anchor-markdown-header-0.5.7.tgz", + "integrity": "sha1-BFBj125qH5zTJ6V6ASaqD97Dcac=", "dev": true, - "optional": true + "dependencies": { + "emoji-regex": "~6.1.0" + } }, - "ccount": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.0.3.tgz", - "integrity": "sha512-Jt9tIBkRc9POUof7QA/VwWd+58fKkEEfI+/t1/eOlxKM7ZhrczNzMFefge7Ai+39y1pR/pP6cI19guHy3FSLmw==", - "dev": true + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true, + "engines": { + "node": ">=6" + } }, - "chai": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/chai/-/chai-2.2.0.tgz", - "integrity": "sha1-0hE1YjvTk61HAtlFNuykgq140B0=", + "node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true, - "requires": { - "assertion-error": "1.0.0", - "deep-eql": "0.1.3" + "engines": { + "node": ">=0.10.0" } }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", "dev": true, - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" + "engines": { + "node": ">=0.10.0" } }, - "character-entities": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.2.tgz", - "integrity": "sha512-sMoHX6/nBiy3KKfC78dnEalnpn0Az0oSNvqUWYTtYrhRI5iUIYsROU48G+E+kMFQzqXaJ8kHJZ85n7y6/PHgwQ==", - "dev": true + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } }, - "character-entities-html4": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-1.1.2.tgz", - "integrity": "sha512-sIrXwyna2+5b0eB9W149izTPJk/KkJTg6mEzDGibwBUkyH1SbDa+nf515Ppdi3MaH35lW0JFJDWeq9Luzes1Iw==", + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", "dev": true }, - "character-entities-legacy": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.2.tgz", - "integrity": "sha512-9NB2VbXtXYWdXzqrvAHykE/f0QJxzaKIpZ5QzNZrrgQ7Iyxr2vnfS8fCBNVW9nUEZE0lo57nxKRqnzY/dKrwlA==", + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "character-reference-invalid": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.2.tgz", - "integrity": "sha512-7I/xceXfKyUJmSAn/jw8ve/9DyOP7XxufNYLI9Px7CmsKgEUaZLUTax6nZxGQtaoiZCjpu6cHPj20xC/vqRReQ==", + "node_modules/array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=", "dev": true }, - "cheerio": { - "version": "1.0.0-rc.2", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", - "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", + "node_modules/array-includes": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.3.tgz", + "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==", "dev": true, - "requires": { - "css-select": "~1.2.0", - "dom-serializer": "~0.1.0", - "entities": "~1.1.1", - "htmlparser2": "^3.9.1", - "lodash": "^4.15.0", - "parse5": "^3.0.1" + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "get-intrinsic": "^1.1.1", + "is-string": "^1.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "cli-boxes": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz", - "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=", - "dev": true + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "cliui": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", - "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "node_modules/array.prototype.flat": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", + "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^6.2.0" - }, "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true - }, - "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.0" - } - } + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "dev": true + "node_modules/arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "collapse-white-space": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.4.tgz", - "integrity": "sha512-YfQ1tAUZm561vpYD+5eyWN8+UsceQbSrqqlc/6zDY2gtAE+uZLSdkkovhnGpmCThsvKBFakq4EdY/FF93E8XIw==", - "dev": true + "node_modules/asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "optional": true, + "dependencies": { + "safer-buffer": "~2.1.0" + } }, - "color-convert": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.0.tgz", - "integrity": "sha1-Gsz5fdc5uYO/mU1W/sj5WFNkG3o=", + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true, - "requires": { - "color-name": "1.1.3" + "optional": true, + "engines": { + "node": ">=0.8" } }, - "color-logger": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.6.tgz", - "integrity": "sha1-5WJF7ymCJlcRDHy3WpzXhstp7Rs=", - "dev": true + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true, + "engines": { + "node": "*" + } }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "colors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", - "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=", - "dev": true + "node_modules/async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dev": true, + "dependencies": { + "lodash": "^4.17.14" + } }, - "combined-stream": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz", - "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==", + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true, + "optional": true + }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", "dev": true, "optional": true, - "requires": { - "delayed-stream": "~1.0.0" + "engines": { + "node": "*" } }, - "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==", - "dev": true + "node_modules/aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true, + "optional": true }, - "compare-func": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "node_modules/babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", "dev": true, - "requires": { - "array-ify": "^1.0.0", - "dot-prop": "^5.1.0" - }, "dependencies": { - "dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "dev": true, - "requires": { - "is-obj": "^2.0.0" - } - }, - "is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true - } + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" } }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true + "node_modules/babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "dependencies": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + } }, - "concat-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", - "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "node_modules/babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.0.2", - "typedarray": "^0.0.6" - }, "dependencies": { - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "requires": { - "safe-buffer": "~5.2.0" - } - } + "babel-runtime": "^6.22.0" } }, - "configstore": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/configstore/-/configstore-2.1.0.tgz", - "integrity": "sha1-c3o6cDbpiGECqmCZ5HuzOrGroaE=", + "node_modules/babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", "dev": true, - "requires": { - "dot-prop": "3.0.0", - "graceful-fs": "4.1.11", - "mkdirp": "0.5.1", - "object-assign": "4.1.1", - "os-tmpdir": "1.0.2", - "osenv": "0.1.4", - "uuid": "2.0.3", - "write-file-atomic": "1.3.4", - "xdg-basedir": "2.0.0" + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" } }, - "conventional-changelog": { - "version": "3.1.21", - "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.21.tgz", - "integrity": "sha512-ZGecVZPEo3aC75VVE4nu85589dDhpMyqfqgUM5Myq6wfKWiNqhDJLSDMsc8qKXshZoY7dqs1hR0H/15kI/G2jQ==", - "dev": true, - "requires": { - "conventional-changelog-angular": "^5.0.10", - "conventional-changelog-atom": "^2.0.7", - "conventional-changelog-codemirror": "^2.0.7", - "conventional-changelog-conventionalcommits": "^4.3.0", - "conventional-changelog-core": "^4.1.7", - "conventional-changelog-ember": "^2.0.8", - "conventional-changelog-eslint": "^3.0.8", - "conventional-changelog-express": "^2.0.5", - "conventional-changelog-jquery": "^3.0.10", - "conventional-changelog-jshint": "^2.0.7", - "conventional-changelog-preset-loader": "^2.3.4" + "node_modules/babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "dependencies": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" } }, - "conventional-changelog-angular": { - "version": "5.0.11", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.11.tgz", - "integrity": "sha512-nSLypht/1yEflhuTogC03i7DX7sOrXGsRn14g131Potqi6cbGbGEE9PSDEHKldabB6N76HiSyw9Ph+kLmC04Qw==", + "node_modules/babel-traverse/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, - "requires": { - "compare-func": "^2.0.0", - "q": "^1.5.1" + "dependencies": { + "ms": "2.0.0" } }, - "conventional-changelog-atom": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.7.tgz", - "integrity": "sha512-7dOREZwzB+tCEMjRTDfen0OHwd7vPUdmU0llTy1eloZgtOP4iSLVzYIQqfmdRZEty+3w5Jz+AbhfTJKoKw1JeQ==", + "node_modules/babel-traverse/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", "dev": true, - "requires": { - "q": "^1.5.1" + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" } }, - "conventional-changelog-codemirror": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.7.tgz", - "integrity": "sha512-Oralk1kiagn3Gb5cR5BffenWjVu59t/viE6UMD/mQa1hISMPkMYhJIqX+CMeA1zXgVBO+YHQhhokEj99GP5xcg==", + "node_modules/babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", "dev": true, - "requires": { - "q": "^1.5.1" + "bin": { + "babylon": "bin/babylon.js" } }, - "conventional-changelog-config-spec": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-config-spec/-/conventional-changelog-config-spec-2.1.0.tgz", - "integrity": "sha512-IpVePh16EbbB02V+UA+HQnnPIohgXvJRxHcS5+Uwk4AT5LjzCZJm5sp/yqs5C6KZJ1jMsV4paEV13BN1pvDuxQ==", + "node_modules/bail": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", + "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, - "conventional-changelog-conventionalcommits": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.3.0.tgz", - "integrity": "sha512-oYHydvZKU+bS8LnGqTMlNrrd7769EsuEHKy4fh1oMdvvDi7fem8U+nvfresJ1IDB8K00Mn4LpiA/lR+7Gs6rgg==", + "node_modules/basic-auth": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-1.1.0.tgz", + "integrity": "sha1-RSIe5Cn37h5QNb4/UVM/HN/SmIQ=", "dev": true, - "requires": { - "compare-func": "^1.3.1", - "lodash": "^4.17.15", - "q": "^1.5.1" - }, - "dependencies": { - "compare-func": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.4.tgz", - "integrity": "sha512-sq2sWtrqKPkEXAC8tEJA1+BqAH9GbFkGBtUOqrUX57VSfwp8xyktctk+uLoRy5eccTdxzDcVIztlYDpKs3Jv1Q==", - "dev": true, - "requires": { - "array-ify": "^1.0.0", - "dot-prop": "^3.0.0" - } - } + "engines": { + "node": ">= 0.6" } }, - "conventional-changelog-core": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.0.tgz", - "integrity": "sha512-8+xMvN6JvdDtPbGBqA7oRNyZD4od1h/SIzrWqHcKZjitbVXrFpozEeyn4iI4af1UwdrabQpiZMaV07fPUTGd4w==", + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "dev": true, - "requires": { - "add-stream": "^1.0.0", - "conventional-changelog-writer": "^4.0.17", - "conventional-commits-parser": "^3.1.0", - "dateformat": "^3.0.0", - "get-pkg-repo": "^1.0.0", - "git-raw-commits": "2.0.0", - "git-remote-origin-url": "^2.0.0", - "git-semver-tags": "^4.1.0", - "lodash": "^4.17.15", - "normalize-package-data": "^2.3.5", - "q": "^1.5.1", - "read-pkg": "^3.0.0", - "read-pkg-up": "^3.0.0", - "shelljs": "^0.8.3", - "through2": "^3.0.0" - }, + "optional": true, "dependencies": { - "find-up": { - "version": "2.1.0", + "tweetnacl": "^0.14.3" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "node_modules/boundary": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/boundary/-/boundary-1.0.1.tgz", + "integrity": "sha1-TWfcJgLAzBbdm85+v4fpSCkPWBI=", + "dev": true + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", + "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/camelcase-keys": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.0.tgz", + "integrity": "sha512-qlQlECgDl5Ev+gkvONaiD4X4TF2gyZKuLBvzx0zLo2UwAxmz3hJP/841aaMHTeH1T7v5HRwoRq91daulXoYWvg==", + "dev": true, + "dependencies": { + "camelcase": "^6.2.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true, + "optional": true + }, + "node_modules/chai": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", + "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "dev": true, + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/character-entities": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", + "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", + "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-reference-invalid": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", + "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/cheerio": { + "version": "1.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", + "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", + "dev": true, + "dependencies": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash": "^4.15.0", + "parse5": "^3.0.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cheerio/node_modules/domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "dependencies": { + "domelementtype": "1" + } + }, + "node_modules/cheerio/node_modules/htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "dev": true, + "dependencies": { + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" + } + }, + "node_modules/chokidar": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", + "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", + "dev": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/cliui/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/collapse-white-space": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.6.tgz", + "integrity": "sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-logger": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.6.tgz", + "integrity": "sha1-5WJF7ymCJlcRDHy3WpzXhstp7Rs=", + "dev": true + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "dev": true, + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "optional": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/comment-parser": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.2.4.tgz", + "integrity": "sha512-pm0b+qv+CkWNriSTMsfnjChF9kH0kxz55y44Wo5le9qLxMj5xDQAaEd9ZN1ovSuk9CsrncWaFwgpOMg7ClJwkw==", + "dev": true, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/compare-func": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "dev": true, + "dependencies": { + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/concat-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "dev": true, + "engines": [ + "node >= 6.0" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.0.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/conventional-changelog": { + "version": "3.1.24", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.24.tgz", + "integrity": "sha512-ed6k8PO00UVvhExYohroVPXcOJ/K1N0/drJHx/faTH37OIZthlecuLIRX/T6uOp682CAoVoFpu+sSEaeuH6Asg==", + "dev": true, + "dependencies": { + "conventional-changelog-angular": "^5.0.12", + "conventional-changelog-atom": "^2.0.8", + "conventional-changelog-codemirror": "^2.0.8", + "conventional-changelog-conventionalcommits": "^4.5.0", + "conventional-changelog-core": "^4.2.1", + "conventional-changelog-ember": "^2.0.9", + "conventional-changelog-eslint": "^3.0.9", + "conventional-changelog-express": "^2.0.6", + "conventional-changelog-jquery": "^3.0.11", + "conventional-changelog-jshint": "^2.0.9", + "conventional-changelog-preset-loader": "^2.3.4" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-angular": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz", + "integrity": "sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw==", + "dev": true, + "dependencies": { + "compare-func": "^2.0.0", + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-atom": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz", + "integrity": "sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==", + "dev": true, + "dependencies": { + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-codemirror": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz", + "integrity": "sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==", + "dev": true, + "dependencies": { + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-config-spec": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-config-spec/-/conventional-changelog-config-spec-2.1.0.tgz", + "integrity": "sha512-IpVePh16EbbB02V+UA+HQnnPIohgXvJRxHcS5+Uwk4AT5LjzCZJm5sp/yqs5C6KZJ1jMsV4paEV13BN1pvDuxQ==", + "dev": true + }, + "node_modules/conventional-changelog-conventionalcommits": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.5.0.tgz", + "integrity": "sha512-buge9xDvjjOxJlyxUnar/+6i/aVEVGA7EEh4OafBCXPlLUQPGbRUBhBUveWRxzvR8TEjhKEP4BdepnpG2FSZXw==", + "dev": true, + "dependencies": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-core": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.3.tgz", + "integrity": "sha512-MwnZjIoMRL3jtPH5GywVNqetGILC7g6RQFvdb8LRU/fA/338JbeWAku3PZ8yQ+mtVRViiISqJlb0sOz0htBZig==", + "dev": true, + "dependencies": { + "add-stream": "^1.0.0", + "conventional-changelog-writer": "^5.0.0", + "conventional-commits-parser": "^3.2.0", + "dateformat": "^3.0.0", + "get-pkg-repo": "^4.0.0", + "git-raw-commits": "^2.0.8", + "git-remote-origin-url": "^2.0.0", + "git-semver-tags": "^4.1.1", + "lodash": "^4.17.15", + "normalize-package-data": "^3.0.0", + "q": "^1.5.1", + "read-pkg": "^3.0.0", + "read-pkg-up": "^3.0.0", + "through2": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-core/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/conventional-changelog-core/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/conventional-changelog-core/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/conventional-changelog-core/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/conventional-changelog-core/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/conventional-changelog-core/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/conventional-changelog-core/node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/conventional-changelog-core/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/conventional-changelog-core/node_modules/read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "dependencies": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/conventional-changelog-core/node_modules/read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "dev": true, + "dependencies": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/conventional-changelog-core/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/conventional-changelog-core/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/conventional-changelog-ember": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz", + "integrity": "sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A==", + "dev": true, + "dependencies": { + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-eslint": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.9.tgz", + "integrity": "sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA==", + "dev": true, + "dependencies": { + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-express": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-2.0.6.tgz", + "integrity": "sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ==", + "dev": true, + "dependencies": { + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-jquery": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.11.tgz", + "integrity": "sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw==", + "dev": true, + "dependencies": { + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-jshint": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.9.tgz", + "integrity": "sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA==", + "dev": true, + "dependencies": { + "compare-func": "^2.0.0", + "q": "^1.5.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-preset-loader": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", + "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-writer": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.0.tgz", + "integrity": "sha512-HnDh9QHLNWfL6E1uHz6krZEQOgm8hN7z/m7tT16xwd802fwgMN0Wqd7AQYVkhpsjDUx/99oo+nGgvKF657XP5g==", + "dev": true, + "dependencies": { + "conventional-commits-filter": "^2.0.7", + "dateformat": "^3.0.0", + "handlebars": "^4.7.6", + "json-stringify-safe": "^5.0.1", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "semver": "^6.0.0", + "split": "^1.0.0", + "through2": "^4.0.0" + }, + "bin": { + "conventional-changelog-writer": "cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-changelog-writer/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/conventional-changelog-writer/node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-writer/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/conventional-changelog-writer/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-writer/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-writer/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/conventional-changelog-writer/node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-changelog-writer/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/conventional-changelog-writer/node_modules/read-pkg/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/conventional-changelog-writer/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/conventional-changelog-writer/node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-changelog-writer/node_modules/type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-commits-filter": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", + "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", + "dev": true, + "dependencies": { + "lodash.ismatch": "^4.4.0", + "modify-values": "^1.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-commits-parser": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.1.tgz", + "integrity": "sha512-OG9kQtmMZBJD/32NEw5IhN5+HnBqVjy03eC+I71I0oQRFA5rOgA4OtPOYG7mz1GkCfCNxn3gKIX8EiHJYuf1cA==", + "dev": true, + "dependencies": { + "is-text-path": "^1.0.1", + "JSONStream": "^1.0.4", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "split2": "^3.0.0", + "through2": "^4.0.0", + "trim-off-newlines": "^1.0.0" + }, + "bin": { + "conventional-commits-parser": "cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-commits-parser/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/conventional-commits-parser/node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-commits-parser/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/conventional-commits-parser/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-commits-parser/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-commits-parser/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/conventional-commits-parser/node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-commits-parser/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/conventional-commits-parser/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/conventional-commits-parser/node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-commits-parser/node_modules/type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-recommended-bump": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz", + "integrity": "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==", + "dev": true, + "dependencies": { + "concat-stream": "^2.0.0", + "conventional-changelog-preset-loader": "^2.3.4", + "conventional-commits-filter": "^2.0.7", + "conventional-commits-parser": "^3.2.0", + "git-raw-commits": "^2.0.8", + "git-semver-tags": "^4.1.1", + "meow": "^8.0.0", + "q": "^1.5.1" + }, + "bin": { + "conventional-recommended-bump": "cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-recommended-bump/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/conventional-recommended-bump/node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-recommended-bump/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/conventional-recommended-bump/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-recommended-bump/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-recommended-bump/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/conventional-recommended-bump/node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/conventional-recommended-bump/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/conventional-recommended-bump/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/conventional-recommended-bump/node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/conventional-recommended-bump/node_modules/type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", + "deprecated": "core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.", + "dev": true, + "hasInstallScript": true + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true + }, + "node_modules/corser": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz", + "integrity": "sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c=", + "dev": true, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "dev": true, + "dependencies": { + "boolbase": "~1.0.0", + "css-what": "2.1", + "domutils": "1.5.1", + "nth-check": "~1.0.1" + } + }, + "node_modules/css-what": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz", + "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true, + "optional": true + }, + "node_modules/cssstyle": { + "version": "0.2.37", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", + "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", + "dev": true, + "optional": true, + "dependencies": { + "cssom": "0.3.x" + } + }, + "node_modules/dargs": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", + "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "optional": true, + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/dateformat": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", + "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/debug": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.0.tgz", + "integrity": "sha512-U75DcT5hrio3KNtvdULAWnLiAPbFUC4191ldxMmj4FA/mRuBnmDwU0boNfPyFRhnan+Jm+haLeSn3P0afcBn4w==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decamelize-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", + "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", + "dev": true, + "dependencies": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decamelize-keys/node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decamelize-keys/node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/del": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", + "integrity": "sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==", + "dev": true, + "dependencies": { + "globby": "^11.0.1", + "graceful-fs": "^4.2.4", + "is-glob": "^4.0.1", + "is-path-cwd": "^2.2.0", + "is-path-inside": "^3.0.2", + "p-map": "^4.0.0", + "rimraf": "^3.0.2", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/del-cli": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/del-cli/-/del-cli-4.0.1.tgz", + "integrity": "sha512-KtR/6cBfZkGDAP2NA7z+bP4p1OMob3wjN9mq13+SWvExx6jT9gFWfLgXEeX8J2B47OKeNCq9yTONmtryQ+m+6g==", + "dev": true, + "dependencies": { + "del": "^6.0.0", + "meow": "^10.1.0" + }, + "bin": { + "del": "cli.js", + "del-cli": "cli.js" + }, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "dependencies": { + "repeating": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/doctoc": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/doctoc/-/doctoc-2.0.1.tgz", + "integrity": "sha512-JsxnSVZtLCThKehjFPBDhP1+ZLmdfXQynZH/0ABAwrnd1Zf3AV6LigC9oWJyaZ+c6RXCDnlGUNJ7I+1v8VaaRg==", + "dev": true, + "dependencies": { + "@textlint/markdown-to-ast": "~6.1.7", + "anchor-markdown-header": "~0.5.7", + "htmlparser2": "~4.1.0", + "minimist": "~1.2.5", + "underscore": "~1.12.1", + "update-section": "~0.3.3" + }, + "bin": { + "doctoc": "doctoc.js" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/dom-serializer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", + "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", + "dev": true, + "dependencies": { + "domelementtype": "^1.3.0", + "entities": "^1.1.1" + } + }, + "node_modules/domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", + "dev": true + }, + "node_modules/domhandler": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", + "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", + "dev": true, + "dependencies": { + "domelementtype": "^2.0.1" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domhandler/node_modules/domelementtype": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, + "node_modules/domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "dev": true, + "dependencies": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, + "node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dotgitignore": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/dotgitignore/-/dotgitignore-2.1.0.tgz", + "integrity": "sha512-sCm11ak2oY6DglEPpCB8TixLjWAxd3kJTs6UIcSasNYxXdFPV+YKlye92c8H4kKFqV5qYMIh7d+cYecEg0dIkA==", + "dev": true, + "dependencies": { + "find-up": "^3.0.0", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/dotgitignore/node_modules/find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/dotgitignore/node_modules/locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/dotgitignore/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/dotgitignore/node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/dotgitignore/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/dotgitignore/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "optional": true, + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/emoji-regex": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-6.1.3.tgz", + "integrity": "sha1-7HmjlpsC0uzytyJUJ5v5m8eoOTI=", + "dev": true + }, + "node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "dev": true + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.18.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.5.tgz", + "integrity": "sha512-DDggyJLoS91CkJjgauM5c0yZMjiD1uK3KcaCeAmffGwZ+ODWzOkPN4QwRbsK5DOFf06fywmyLci3ZD8jLGhVYA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.3", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.3", + "is-string": "^1.0.6", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "dev": true, + "optional": true, + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/escodegen/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/esdoc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-1.1.0.tgz", + "integrity": "sha512-vsUcp52XJkOWg9m1vDYplGZN2iDzvmjDL5M/Mp8qkoDG3p2s0yIQCIjKR5wfPBaM3eV14a6zhQNYiNTCVzPnxA==", + "dev": true, + "dependencies": { + "babel-generator": "6.26.1", + "babel-traverse": "6.26.0", + "babylon": "6.18.0", + "cheerio": "1.0.0-rc.2", + "color-logger": "0.0.6", + "escape-html": "1.0.3", + "fs-extra": "5.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "minimist": "1.2.0", + "taffydb": "2.7.3" + }, + "bin": { + "esdoc": "out/src/ESDocCLI.js" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-accessor-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-accessor-plugin/-/esdoc-accessor-plugin-1.0.0.tgz", + "integrity": "sha1-eRukhy5sQDUVznSbE0jW8Ck62es=", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-brand-plugin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esdoc-brand-plugin/-/esdoc-brand-plugin-1.0.1.tgz", + "integrity": "sha512-Yv9j3M7qk5PSLmSeD6MbPsfIsEf8K43EdH8qZpE/GZwnJCRVmDPrZJ1cLDj/fPu6P35YqgcEaJK4E2NL/CKA7g==", + "dev": true, + "dependencies": { + "cheerio": "0.22.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-brand-plugin/node_modules/cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", + "dev": true, + "dependencies": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/esdoc-brand-plugin/node_modules/domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "dependencies": { + "domelementtype": "1" + } + }, + "node_modules/esdoc-brand-plugin/node_modules/htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "dev": true, + "dependencies": { + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" + } + }, + "node_modules/esdoc-coverage-plugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc-coverage-plugin/-/esdoc-coverage-plugin-1.1.0.tgz", + "integrity": "sha1-OGmGnNf4eJH5cmJXh2laKZrs5Fw=", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-external-ecmascript-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-external-ecmascript-plugin/-/esdoc-external-ecmascript-plugin-1.0.0.tgz", + "integrity": "sha1-ePVl1KDFGFrGMVJhTc4f4ahmiNs=", + "dev": true, + "dependencies": { + "fs-extra": "1.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-external-ecmascript-plugin/node_modules/fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" + } + }, + "node_modules/esdoc-external-ecmascript-plugin/node_modules/jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/esdoc-integrate-manual-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-manual-plugin/-/esdoc-integrate-manual-plugin-1.0.0.tgz", + "integrity": "sha1-GFSmqhwIEDXXyMUeO91PtlqkcRw=", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-integrate-test-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-test-plugin/-/esdoc-integrate-test-plugin-1.0.0.tgz", + "integrity": "sha1-4tDQAJD38MNeXS8sAzMnp55T5Ak=", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-lint-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-lint-plugin/-/esdoc-lint-plugin-1.0.2.tgz", + "integrity": "sha512-24AYqD2WbZI9We02I7/6dzAa7yUliRTFUaJCZAcYJMQicJT5gUrNFVaI8XmWEN/mhF3szIn1uZBNWeLul4CmNw==", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-publish-html-plugin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/esdoc-publish-html-plugin/-/esdoc-publish-html-plugin-1.1.2.tgz", + "integrity": "sha512-hG1fZmTcEp3P/Hv/qKiMdG1qSp8MjnVZMMkxL5P5ry7I2sX0HQ4P9lt2lms+90Lt0r340HHhSuVx107UL7dphg==", + "dev": true, + "dependencies": { + "babel-generator": "6.11.4", + "cheerio": "0.22.0", + "escape-html": "1.0.3", + "fs-extra": "1.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "taffydb": "2.7.2" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-publish-html-plugin/node_modules/babel-generator": { + "version": "6.11.4", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.11.4.tgz", + "integrity": "sha1-FPaTOrsgxiZm0n47e59bncBxKpo=", + "dev": true, + "dependencies": { + "babel-messages": "^6.8.0", + "babel-runtime": "^6.9.0", + "babel-types": "^6.10.2", + "detect-indent": "^3.0.1", + "lodash": "^4.2.0", + "source-map": "^0.5.0" + } + }, + "node_modules/esdoc-publish-html-plugin/node_modules/cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", + "dev": true, + "dependencies": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/esdoc-publish-html-plugin/node_modules/detect-indent": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-3.0.1.tgz", + "integrity": "sha1-ncXl3bzu+DJXZLlFGwK8bVQIT3U=", + "dev": true, + "dependencies": { + "get-stdin": "^4.0.1", + "minimist": "^1.1.0", + "repeating": "^1.1.0" + }, + "bin": { + "detect-indent": "cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/esdoc-publish-html-plugin/node_modules/domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "dependencies": { + "domelementtype": "1" + } + }, + "node_modules/esdoc-publish-html-plugin/node_modules/fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" + } + }, + "node_modules/esdoc-publish-html-plugin/node_modules/htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "dev": true, + "dependencies": { + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" + } + }, + "node_modules/esdoc-publish-html-plugin/node_modules/jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/esdoc-publish-html-plugin/node_modules/repeating": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-1.1.3.tgz", + "integrity": "sha1-PUEUIYh3U3SU+X93+Xhfq4EPpKw=", + "dev": true, + "dependencies": { + "is-finite": "^1.0.0" + }, + "bin": { + "repeating": "cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/esdoc-publish-html-plugin/node_modules/taffydb": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.2.tgz", + "integrity": "sha1-e/gQalwaSCUbPjvAoOFzJIn9Dcg=", + "dev": true + }, + "node_modules/esdoc-standard-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-standard-plugin/-/esdoc-standard-plugin-1.0.0.tgz", + "integrity": "sha1-ZhIBysfvhokkkCRG/awVJyU8XU0=", + "dev": true, + "dependencies": { + "esdoc-accessor-plugin": "^1.0.0", + "esdoc-brand-plugin": "^1.0.0", + "esdoc-coverage-plugin": "^1.0.0", + "esdoc-external-ecmascript-plugin": "^1.0.0", + "esdoc-integrate-manual-plugin": "^1.0.0", + "esdoc-integrate-test-plugin": "^1.0.0", + "esdoc-lint-plugin": "^1.0.0", + "esdoc-publish-html-plugin": "^1.0.0", + "esdoc-type-inference-plugin": "^1.0.0", + "esdoc-undocumented-identifier-plugin": "^1.0.0", + "esdoc-unexported-identifier-plugin": "^1.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-type-inference-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-type-inference-plugin/-/esdoc-type-inference-plugin-1.0.2.tgz", + "integrity": "sha512-tMIcEHNe1uhUGA7lT1UTWc9hs2dzthnTgmqXpmeUhurk7fL2tinvoH+IVvG/sLROzwOGZQS9zW/F9KWnpMzLIQ==", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-typescript-plugin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esdoc-typescript-plugin/-/esdoc-typescript-plugin-1.0.1.tgz", + "integrity": "sha512-QV9rdis5PkypVK1fh2wuESZPQZUVjTwt4hj97Pivb9M8wGPMOTxYu5ofkyGWm3xgNL+K0VxZY6TGEO07kfGAtg==", + "dev": true, + "dependencies": { + "typescript": "^2.8.3" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-typescript-plugin/node_modules/typescript": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz", + "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/esdoc-undocumented-identifier-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-undocumented-identifier-plugin/-/esdoc-undocumented-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-guBdNxwy0ShxFA8dXIHsmf2cwsg=", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc-unexported-identifier-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-unexported-identifier-plugin/-/esdoc-unexported-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-H5h0xqfCvr+a05fDzrdcnGnaurE=", + "dev": true, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/esdoc/node_modules/minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, + "node_modules/eslint": { + "version": "7.32.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz", + "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "7.12.11", + "@eslint/eslintrc": "^0.4.3", + "@humanwhocodes/config-array": "^0.5.0", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.1", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.1.2", + "globals": "^13.6.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^6.0.9", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-prettier": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz", + "integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==", + "dev": true, + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", + "integrity": "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "resolve": "^1.20.0" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.2.tgz", + "integrity": "sha512-QG8pcgThYOuqxupd06oYTZoNOGaUdTY1PqK+oS6ElF6vs4pBdk/aYxFVQQXzcrAqp9m7cl7lb2ubazX+g16k2Q==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "pkg-dir": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.24.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.24.2.tgz", + "integrity": "sha512-hNVtyhiEtZmpsabL4neEj+6M5DCLgpYyG9nzJY8lZQeQXEn5UPW1DpUdsMHMXsq98dbNm7nt1w9ZMSVpfJdi8Q==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.3", + "array.prototype.flat": "^1.2.4", + "debug": "^2.6.9", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.6", + "eslint-module-utils": "^2.6.2", + "find-up": "^2.0.0", + "has": "^1.0.3", + "is-core-module": "^2.6.0", + "minimatch": "^3.0.4", + "object.values": "^1.1.4", + "pkg-up": "^2.0.0", + "read-pkg-up": "^3.0.0", + "resolve": "^1.20.0", + "tsconfig-paths": "^3.11.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/eslint-plugin-import/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-plugin-import/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "dependencies": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "dev": true, + "dependencies": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/eslint-plugin-jsdoc": { + "version": "36.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-36.1.0.tgz", + "integrity": "sha512-Qpied2AJCQcScxfzTObLKRiP5QgLXjMU/ITjBagEV5p2Q/HpumD1EQtazdRYdjDSwPmXhwOl2yquwOGQ4HOJNw==", + "dev": true, + "dependencies": { + "@es-joy/jsdoccomment": "0.10.8", + "comment-parser": "1.2.4", + "debug": "^4.3.2", + "esquery": "^1.4.0", + "jsdoc-type-pratt-parser": "^1.1.1", + "lodash": "^4.17.21", + "regextras": "^0.8.0", + "semver": "^7.3.5", + "spdx-expression-parse": "^3.0.1" + }, + "engines": { + "node": "^12 || ^14 || ^16" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0" + } + }, + "node_modules/eslint-plugin-prefer-arrow": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-prefer-arrow/-/eslint-plugin-prefer-arrow-1.2.3.tgz", + "integrity": "sha512-J9I5PKCOJretVuiZRGvPQxCbllxGAV/viI20JO3LYblAodofBxyMnZAJ+WGeClHgANnSJberTNoFWWjrWKBuXQ==", + "dev": true, + "peerDependencies": { + "eslint": ">=2.0.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", + "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^2.0.0" + }, + "engines": { + "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=5" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint/node_modules/@babel/code-frame": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", + "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.10.4" + } + }, + "node_modules/eslint/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^1.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/eslint/node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint/node_modules/globals": { + "version": "13.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", + "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/eslint/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/eslint/node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint/node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint/node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint/node_modules/strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", + "dev": true, + "dependencies": { + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/espree/node_modules/acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/espree/node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "optional": true + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", + "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "node_modules/fastq": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.12.0.tgz", + "integrity": "sha512-VNX0QkHK3RsXVKr9KrlUv/FoTa0NdbYoHHl7uXHv2rzyHSlxjdNAKug2twd9luJxpcyNeAgf5iPPMutJO67Dfg==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fault": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", + "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", + "dev": true, + "dependencies": { + "format": "^0.2.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", + "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", + "dev": true + }, + "node_modules/follow-redirects": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", + "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true, + "optional": true, + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "optional": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/format": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", + "integrity": "sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/fs-access": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fs-access/-/fs-access-1.0.1.tgz", + "integrity": "sha1-1qh/JiJxzv6+wwxVNAf7mV2od3o=", + "dev": true, + "dependencies": { + "null-check": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fs-extra": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz", + "integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-pkg-repo": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.0.tgz", + "integrity": "sha512-eiSexNxIsij+l+IZzkqT52t4Lh+0ChN9l6Z3oennXLQT8OaJNvp9ecoXpmZ220lPYMwwM1KDal4w4ZA+smVLHA==", + "dev": true, + "dependencies": { + "@hutson/parse-repository-url": "^3.0.0", + "hosted-git-info": "^4.0.0", + "through2": "^2.0.0", + "yargs": "^17.0.1" + }, + "bin": { + "get-pkg-repo": "src/cli.js" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-pkg-repo/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/get-pkg-repo/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/get-pkg-repo/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/get-pkg-repo/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "node_modules/get-pkg-repo/node_modules/readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/get-pkg-repo/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/get-pkg-repo/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/get-pkg-repo/node_modules/string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/get-pkg-repo/node_modules/strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/get-pkg-repo/node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/get-pkg-repo/node_modules/yargs": { + "version": "17.1.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.1.1.tgz", + "integrity": "sha512-c2k48R0PwKIqKhPMWjeiF6y2xY/gPMUlro0sgxqXpbOIohWiLNXWslsootttv7E1e73QPAMQSg5FeySbVcpsPQ==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "optional": true, + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/git-raw-commits": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.10.tgz", + "integrity": "sha512-sHhX5lsbG9SOO6yXdlwgEMQ/ljIn7qMpAbJZCGfXX2fq5T8M5SrDnpYk9/4HswTildcIqatsWa91vty6VhWSaQ==", + "dev": true, + "dependencies": { + "dargs": "^7.0.0", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "split2": "^3.0.0", + "through2": "^4.0.0" + }, + "bin": { + "git-raw-commits": "cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/git-raw-commits/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/git-raw-commits/node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-raw-commits/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/git-raw-commits/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-raw-commits/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-raw-commits/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/git-raw-commits/node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-raw-commits/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/git-raw-commits/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/git-raw-commits/node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-raw-commits/node_modules/type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-remote-origin-url": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", + "integrity": "sha1-UoJlna4hBxRaERJhEq0yFuxfpl8=", + "dev": true, + "dependencies": { + "gitconfiglocal": "^1.0.0", + "pify": "^2.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/git-semver-tags": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", + "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", + "dev": true, + "dependencies": { + "meow": "^8.0.0", + "semver": "^6.0.0" + }, + "bin": { + "git-semver-tags": "cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/git-semver-tags/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/git-semver-tags/node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-semver-tags/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/git-semver-tags/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-semver-tags/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-semver-tags/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/git-semver-tags/node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-semver-tags/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/git-semver-tags/node_modules/read-pkg/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/git-semver-tags/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/git-semver-tags/node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/git-semver-tags/node_modules/type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gitconfiglocal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", + "integrity": "sha1-QdBF84UaXqiPA/JMocYXgRRGS5s=", + "dev": true, + "dependencies": { + "ini": "^1.3.2" + } + }, + "node_modules/glob": { + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/globby": { + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", + "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", + "dev": true, + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.1.1", + "ignore": "^5.1.4", + "merge2": "^1.3.0", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true + }, + "node_modules/growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", + "dev": true, + "engines": { + "node": ">=4.x" + } + }, + "node_modules/handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/handlebars/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true, + "optional": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "dev": true, + "optional": true, + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "node_modules/hosted-git-info": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", + "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/htmlparser2": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-4.1.0.tgz", + "integrity": "sha512-4zDq1a1zhE4gQso/c5LP1OtrhYTncXNSpvJYtWJBtXAETPlMfi3IFNjGuQbYLuVY4ZR0QMqRVvo4Pdy9KLyP8Q==", + "dev": true, + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^3.0.0", + "domutils": "^2.0.0", + "entities": "^2.0.0" + } + }, + "node_modules/htmlparser2/node_modules/dom-serializer": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", + "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", + "dev": true, + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/dom-serializer/node_modules/domhandler": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz", + "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==", + "dev": true, + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/domelementtype": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, + "node_modules/htmlparser2/node_modules/domutils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "dev": true, + "dependencies": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/domutils/node_modules/domhandler": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz", + "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==", + "dev": true, + "dependencies": { + "domelementtype": "^2.2.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/htmlparser2/node_modules/entities": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "dev": true, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/http-server": { + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/http-server/-/http-server-13.0.1.tgz", + "integrity": "sha512-ke9rphoNuqsOCHy4tA3b3W4Yuxy7VUIXcTHSLz6bkMDAJPQD4twjEatquelJBIPwNhZuC3+FYj/+dSaGHdKTCw==", + "dev": true, + "dependencies": { + "basic-auth": "^1.0.3", + "colors": "^1.4.0", + "corser": "^2.0.1", + "he": "^1.1.0", + "http-proxy": "^1.18.0", + "mime": "^1.6.0", + "minimist": "^1.2.5", + "opener": "^1.5.1", + "portfinder": "^1.0.25", + "secure-compare": "3.0.1", + "union": "~0.5.0", + "url-join": "^2.0.5" + }, + "bin": { + "http-server": "bin/http-server" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "optional": true, + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/ice-cap": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/ice-cap/-/ice-cap-0.0.4.tgz", + "integrity": "sha1-im0xq0ysjUtW3k+pRt8zUlYbbhg=", + "dev": true, + "dependencies": { + "cheerio": "0.20.0", + "color-logger": "0.0.3" + } + }, + "node_modules/ice-cap/node_modules/cheerio": { + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.20.0.tgz", + "integrity": "sha1-XHEPK6uVZTJyhCugHG6mGzVF7DU=", + "dev": true, + "dependencies": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "~3.8.1", + "lodash": "^4.1.0" + }, + "engines": { + "node": ">= 0.6" + }, + "optionalDependencies": { + "jsdom": "^7.0.2" + } + }, + "node_modules/ice-cap/node_modules/color-logger": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.3.tgz", + "integrity": "sha1-2bIt0dlz4Waxi/MT+fSBu6TfIBg=", + "dev": true + }, + "node_modules/ice-cap/node_modules/domhandler": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz", + "integrity": "sha1-LeWaCCLVAn+r/28DLCsloqir5zg=", + "dev": true, + "dependencies": { + "domelementtype": "1" + } + }, + "node_modules/ice-cap/node_modules/htmlparser2": { + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz", + "integrity": "sha1-mWwosZFRaovoZQGn15dX5ccMEGg=", + "dev": true, + "dependencies": { + "domelementtype": "1", + "domhandler": "2.3", + "domutils": "1.5", + "entities": "1.0", + "readable-stream": "1.1" + } + }, + "node_modules/ice-cap/node_modules/htmlparser2/node_modules/entities": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.0.0.tgz", + "integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY=", + "dev": true + }, + "node_modules/ice-cap/node_modules/readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ice-cap/node_modules/string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "node_modules/ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "node_modules/is-alphabetical": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", + "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", + "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", + "dev": true, + "dependencies": { + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "node_modules/is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.6.0.tgz", + "integrity": "sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-decimal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", + "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "dev": true, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-hexadecimal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", + "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-path-cwd": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", + "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-text-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", + "integrity": "sha1-Thqg+1G/vLPpJogAE5cgLBd1tm4=", + "dev": true, + "dependencies": { + "text-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true, + "optional": true + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-whitespace-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz", + "integrity": "sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-word-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-word-character/-/is-word-character-1.0.4.tgz", + "integrity": "sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true, + "optional": true + }, + "node_modules/js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true, + "optional": true + }, + "node_modules/jsdoc-type-pratt-parser": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-1.1.1.tgz", + "integrity": "sha512-uelRmpghNwPBuZScwgBG/OzodaFk5RbO5xaivBdsAY70icWfShwZ7PCMO0x1zSkOa8T1FzHThmrdoyg/0AwV5g==", + "dev": true, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/jsdom": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-7.2.2.tgz", + "integrity": "sha1-QLQCdwwr2iNGkJa+6Rq2deOx/G4=", + "dev": true, + "optional": true, + "dependencies": { + "abab": "^1.0.0", + "acorn": "^2.4.0", + "acorn-globals": "^1.0.4", + "cssom": ">= 0.3.0 < 0.4.0", + "cssstyle": ">= 0.2.29 < 0.3.0", + "escodegen": "^1.6.1", + "nwmatcher": ">= 1.3.7 < 2.0.0", + "parse5": "^1.5.1", + "request": "^2.55.0", + "sax": "^1.1.4", + "symbol-tree": ">= 3.1.0 < 4.0.0", + "tough-cookie": "^2.2.0", + "webidl-conversions": "^2.0.0", + "whatwg-url-compat": "~0.6.5", + "xml-name-validator": ">= 2.0.1 < 3.0.0" + } + }, + "node_modules/jsdom/node_modules/parse5": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-1.5.1.tgz", + "integrity": "sha1-m387DeMr543CQBsXVzzK8Pb1nZQ=", + "dev": true, + "optional": true + }, + "node_modules/jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "node_modules/json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true, + "optional": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", + "dev": true, + "engines": [ + "node >= 0.2.0" + ] + }, + "node_modules/JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "dependencies": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + }, + "bin": { + "JSONStream": "bin.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "optional": true, + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "node_modules/just-extend": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", + "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", + "dev": true + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/klaw": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", + "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.9" + } + }, + "node_modules/levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "optional": true, + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true + }, + "node_modules/load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/load-json-file/node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/load-json-file/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash.assignin": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz", + "integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI=", + "dev": true + }, + "node_modules/lodash.bind": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.bind/-/lodash.bind-4.2.1.tgz", + "integrity": "sha1-euMBfpOWIqwxt9fX3LGzTbFpDTU=", + "dev": true + }, + "node_modules/lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", + "dev": true + }, + "node_modules/lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=", + "dev": true + }, + "node_modules/lodash.filter": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.filter/-/lodash.filter-4.6.0.tgz", + "integrity": "sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4=", + "dev": true + }, + "node_modules/lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", + "dev": true + }, + "node_modules/lodash.foreach": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz", + "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=", + "dev": true + }, + "node_modules/lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", + "dev": true + }, + "node_modules/lodash.ismatch": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", + "integrity": "sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc=", + "dev": true + }, + "node_modules/lodash.map": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", + "integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lodash.pick": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", + "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", + "dev": true + }, + "node_modules/lodash.reduce": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reduce/-/lodash.reduce-4.6.0.tgz", + "integrity": "sha1-8atrg5KZrUj3hKu/R2WW8DuRTTs=", + "dev": true + }, + "node_modules/lodash.reject": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reject/-/lodash.reject-4.6.0.tgz", + "integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=", + "dev": true + }, + "node_modules/lodash.some": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", + "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=", + "dev": true + }, + "node_modules/lodash.truncate": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", + "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", + "dev": true + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "node_modules/map-obj": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", + "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/markdown-escapes": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz", + "integrity": "sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/marked": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.19.tgz", + "integrity": "sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg==", + "dev": true, + "bin": { + "marked": "bin/marked" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/meow": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.1.tgz", + "integrity": "sha512-uzOAEBTGujHAD6bVzIQQk5kDTgatxmpVmr1pj9QhwsHLEG2AiB+9F08/wmjrZIk4h5pWxERd7+jqGZywYx3ZFw==", + "dev": true, + "dependencies": { + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + }, + "engines": { + "node": ">=12.17" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "dev": true, + "dependencies": { + "braces": "^3.0.1", + "picomatch": "^2.2.3" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", + "dev": true, + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", + "dev": true, + "optional": true, + "dependencies": { + "mime-db": "1.49.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "node_modules/minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "dev": true, + "dependencies": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/mocha": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.1.tgz", + "integrity": "sha512-0wE74YMgOkCgBUj8VyIDwmLUjTsS13WV1Pg7l0SHea2qzZzlq7MDnfbPsHKcELBRk3+izEVkRofjmClpycudCA==", + "dev": true, + "dependencies": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.2", + "debug": "4.3.1", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.1.7", + "growl": "1.10.5", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "3.0.4", + "ms": "2.1.3", + "nanoid": "3.1.23", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "which": "2.0.2", + "wide-align": "1.1.3", + "workerpool": "6.1.5", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "node_modules/mocha/node_modules/debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/mocha/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/mocha/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/mocha/node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/modify-values": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", + "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/nanoid": { + "version": "3.1.23", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", + "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==", + "dev": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true + }, + "node_modules/nise": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.0.tgz", + "integrity": "sha512-W5WlHu+wvo3PaKLsJJkgPup2LrsXCcm7AWwyNZkUnn5rwPkuPBi3Iwk5SQtN0mv+K65k7nKKjwNQ30wg3wLAQQ==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^1.7.0", + "@sinonjs/fake-timers": "^7.0.4", + "@sinonjs/text-encoding": "^0.7.1", + "just-extend": "^4.0.2", + "path-to-regexp": "^1.7.0" + } + }, + "node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "dev": true, + "dependencies": { + "boolbase": "~1.0.0" + } + }, + "node_modules/null-check": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/null-check/-/null-check-1.0.0.tgz", + "integrity": "sha1-l33/1xdgErnsMNKjnbXPcqBDnt0=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/nwmatcher": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz", + "integrity": "sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ==", + "dev": true, + "optional": true + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true, + "optional": true, + "engines": { + "node": "*" + } + }, + "node_modules/object-inspect": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.values": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.4.tgz", + "integrity": "sha512-TnGo7j4XSnKQoK3MfvkzqKCi0nVe/D9I9IjwTNYdb/fxYHpjrluHVOgw0AF6jrRFGMPHdfuidR09tIDiIvnaSg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/opener": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", + "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", + "dev": true, + "bin": { + "opener": "bin/opener-bin.js" + } + }, + "node_modules/optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dev": true, + "optional": true, + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-entities": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.2.2.tgz", + "integrity": "sha512-NzfpbxW/NPrzZ/yYSoQxyqUZMZXIdCfE0OIN4ESsnptHJECoUk3FZktxNuzQf4tjt5UEopnxpYJbvYuxIFDdsg==", + "dev": true, + "dependencies": { + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse5": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", + "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-to-regexp": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", + "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "dev": true, + "dependencies": { + "isarray": "0.0.1" + } + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true, + "optional": true + }, + "node_modules/picomatch": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "dependencies": { + "find-up": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-dir/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz", + "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=", + "dev": true, + "dependencies": { + "find-up": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/portfinder": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", + "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", + "dev": true, + "dependencies": { + "async": "^2.6.2", + "debug": "^3.1.1", + "mkdirp": "^0.5.5" + }, + "engines": { + "node": ">= 0.12.0" + } + }, + "node_modules/portfinder/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "dev": true, + "optional": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true, + "optional": true + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true, + "engines": { + "node": ">=0.6.0", + "teleport": ">=0.2.0" + } + }, + "node_modules/qs": { + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", + "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "dev": true, + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/read-pkg": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", + "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", + "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", + "dev": true, + "dependencies": { + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/redent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-4.0.0.tgz", + "integrity": "sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==", + "dev": true, + "dependencies": { + "indent-string": "^5.0.0", + "strip-indent": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/redent/node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + }, + "node_modules/regexpp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/regextras": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/regextras/-/regextras-0.8.0.tgz", + "integrity": "sha512-k519uI04Z3SaY0fLX843MRXnDeG2+vHOFsyhiPZvNLe7r8rD2YNRjq4BQLZZ0oAr2NrtvZlICsXysGNFPGa3CQ==", + "dev": true, + "engines": { + "node": ">=0.1.14" + } + }, + "node_modules/remark-frontmatter": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/remark-frontmatter/-/remark-frontmatter-1.3.3.tgz", + "integrity": "sha512-fM5eZPBvu2pVNoq3ZPW22q+5Ativ1oLozq2qYt9I2oNyxiUd/tDl0iLLntEVAegpZIslPWg1brhcP1VsaSVUag==", + "dev": true, + "dependencies": { + "fault": "^1.0.1", + "xtend": "^4.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-parse": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-5.0.0.tgz", + "integrity": "sha512-b3iXszZLH1TLoyUzrATcTQUZrwNl1rE70rVdSruJFlDaJ9z5aMkhrG43Pp68OgfHndL/ADz6V69Zow8cTQu+JA==", + "dev": true, + "dependencies": { + "collapse-white-space": "^1.0.2", + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "is-word-character": "^1.0.0", + "markdown-escapes": "^1.0.0", + "parse-entities": "^1.1.0", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", + "trim": "0.0.1", + "trim-trailing-lines": "^1.0.0", + "unherit": "^1.0.4", + "unist-util-remove-position": "^1.0.0", + "vfile-location": "^2.0.0", + "xtend": "^4.0.1" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "dependencies": { + "is-finite": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/replace-ext": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", + "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "dev": true, + "optional": true, + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/request/node_modules/qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "node_modules/resolve": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", + "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", + "dev": true, + "dependencies": { + "is-core-module": "^2.2.0", + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "optional": true + }, + "node_modules/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true, + "optional": true + }, + "node_modules/secure-compare": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/secure-compare/-/secure-compare-3.0.1.tgz", + "integrity": "sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=", + "dev": true + }, + "node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/sinon": { + "version": "11.1.2", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-11.1.2.tgz", + "integrity": "sha512-59237HChms4kg7/sXhiRcUzdSkKuydDeTiamT/jesUVHshBgL8XAmhgFo0GfK6RruMDM/iRSij1EybmMog9cJw==", + "dev": true, + "dependencies": { + "@sinonjs/commons": "^1.8.3", + "@sinonjs/fake-timers": "^7.1.2", + "@sinonjs/samsam": "^6.0.2", + "diff": "^5.0.0", + "nise": "^5.1.0", + "supports-color": "^7.2.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/sinon" + } + }, + "node_modules/sinon/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/sinon/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/slice-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/slice-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/slice-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/slice-ansi/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz", + "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", + "dev": true + }, + "node_modules/split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "dev": true, + "dependencies": { + "through": "2" + }, + "engines": { + "node": "*" + } + }, + "node_modules/split2": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", + "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", + "dev": true, + "dependencies": { + "readable-stream": "^3.0.0" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "node_modules/sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "dev": true, + "optional": true, + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/standard-version": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/standard-version/-/standard-version-9.3.1.tgz", + "integrity": "sha512-5qMxXw/FxLouC5nANyx/5RY1kiorJx9BppUso8gN07MG64q2uLRmrPb4KfXp3Ql4s/gxjZwZ89e0FwxeLubGww==", + "dev": true, + "dependencies": { + "chalk": "^2.4.2", + "conventional-changelog": "3.1.24", + "conventional-changelog-config-spec": "2.1.0", + "conventional-changelog-conventionalcommits": "4.5.0", + "conventional-recommended-bump": "6.1.0", + "detect-indent": "^6.0.0", + "detect-newline": "^3.1.0", + "dotgitignore": "^2.1.0", + "figures": "^3.1.0", + "find-up": "^5.0.0", + "fs-access": "^1.0.1", + "git-semver-tags": "^4.0.0", + "semver": "^7.1.1", + "stringify-package": "^1.0.1", + "yargs": "^16.0.0" + }, + "bin": { + "standard-version": "bin/cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/standard-version/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/standard-version/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/standard-version/node_modules/detect-indent": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", + "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/standard-version/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/state-toggle": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz", + "integrity": "sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/stringify-package": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/stringify-package/-/stringify-package-1.0.1.tgz", + "integrity": "sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg==", + "dev": true + }, + "node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz", + "integrity": "sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/structured-source": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/structured-source/-/structured-source-3.0.2.tgz", + "integrity": "sha1-3YAkJeD1PcSm56yjdSkBoczaevU=", + "dev": true, + "dependencies": { + "boundary": "^1.0.1" + } + }, + "node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "dev": true, + "optional": true + }, + "node_modules/table": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/table/-/table-6.7.1.tgz", + "integrity": "sha512-ZGum47Yi6KOOFDE8m223td53ath2enHcYLgOCjGr5ngu8bdIARQk6mN/wRMv4yMRcHnCSnHbCEha4sobQx5yWg==", + "dev": true, + "dependencies": { + "ajv": "^8.0.1", + "lodash.clonedeep": "^4.5.0", + "lodash.truncate": "^4.4.2", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/table/node_modules/ajv": { + "version": "8.6.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.2.tgz", + "integrity": "sha512-9807RlWAgT564wT+DjeyU5OFMPjmzxVobvDFmNAhY+5zD6A2ly3jDp6sgnfyDtlIQ+7H97oc/DGCzzfu9rjw9w==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/table/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/table/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/table/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/table/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/table/node_modules/string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/table/node_modules/strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/taffydb": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz", + "integrity": "sha1-KtNxaWKUmPylvIQkMJbTzeDsOjQ=", + "dev": true + }, + "node_modules/text-extensions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", + "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", + "dev": true, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "node_modules/through2": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", + "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", + "dev": true, + "dependencies": { + "readable-stream": "3" + } + }, + "node_modules/to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "optional": true, + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true, + "optional": true + }, + "node_modules/traverse": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz", + "integrity": "sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc=", + "dev": true + }, + "node_modules/trim": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", + "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", + "dev": true + }, + "node_modules/trim-newlines": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.0.2.tgz", + "integrity": "sha512-GJtWyq9InR/2HRiLZgpIKv+ufIKrVrvjQWEj7PxAXNc5dwbNJkqhAUoAGgzRmULAnoOM5EIpveYd3J2VeSAIew==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/trim-off-newlines": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz", + "integrity": "sha1-n5up2e+odkw4dpi8v+sshI8RrbM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/trim-trailing-lines": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz", + "integrity": "sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trough": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", + "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==", + "dev": true, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/ts-node": { + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.2.1.tgz", + "integrity": "sha512-hCnyOyuGmD5wHleOQX6NIjJtYVIO8bPP8F2acWkB4W06wdlkgyvJtubO/I9NkI88hCFECbsEgoLc0VNkYmcSfw==", + "dev": true, + "dependencies": { + "@cspotcode/source-map-support": "0.6.1", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/ts-node/node_modules/acorn": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz", + "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ts-node/node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/tsconfig-paths": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.11.0.tgz", + "integrity": "sha512-7ecdYDnIdmv639mmDwslG6KQg1Z9STTz1j7Gcz0xa+nshh/gKDAHcPxRbWOsA3SPp0tXP2leTcY9Kw+NAkfZzA==", + "dev": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.0", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tslib": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "dev": true + }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "optional": true, + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true, + "optional": true + }, + "node_modules/type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dev": true, + "optional": true, + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "node_modules/typescript": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", + "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/uglify-js": { + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.2.tgz", + "integrity": "sha512-rtPMlmcO4agTUfz10CbgJ1k6UAoXM2gWb3GoMPPZB/+/Ackf8lNWk11K4rYi2D0apgoFRLtQOZhb+/iGNJq26A==", + "dev": true, + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/underscore": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.1.tgz", + "integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==", + "dev": true + }, + "node_modules/unherit": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz", + "integrity": "sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.0", + "xtend": "^4.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/unified": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/unified/-/unified-6.2.0.tgz", + "integrity": "sha512-1k+KPhlVtqmG99RaTbAv/usu85fcSRu3wY8X+vnsEhIxNP5VbVIDiXnLqyKIG+UMdyTg0ZX9EI6k2AfjJkHPtA==", + "dev": true, + "dependencies": { + "bail": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^1.1.0", + "trough": "^1.0.0", + "vfile": "^2.0.0", + "x-is-string": "^0.1.0" + } + }, + "node_modules/union": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/union/-/union-0.5.0.tgz", + "integrity": "sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==", + "dev": true, + "dependencies": { + "qs": "^6.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/unist-util-is": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-3.0.0.tgz", + "integrity": "sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A==", + "dev": true + }, + "node_modules/unist-util-remove-position": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-1.1.4.tgz", + "integrity": "sha512-tLqd653ArxJIPnKII6LMZwH+mb5q+n/GtXQZo6S6csPRs5zB0u79Yw8ouR3wTw8wxvdJFhpP6Y7jorWdCgLO0A==", + "dev": true, + "dependencies": { + "unist-util-visit": "^1.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-1.1.2.tgz", + "integrity": "sha512-pNCVrk64LZv1kElr0N1wPiHEUoXNVFERp+mlTg/s9R5Lwg87f9bM/3sQB99w+N9D/qnM9ar3+AKDBwo/gm/iQQ==", + "dev": true + }, + "node_modules/unist-util-visit": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.4.1.tgz", + "integrity": "sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw==", + "dev": true, + "dependencies": { + "unist-util-visit-parents": "^2.0.0" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz", + "integrity": "sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g==", + "dev": true, + "dependencies": { + "unist-util-is": "^3.0.0" + } + }, + "node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/update-section": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/update-section/-/update-section-0.3.3.tgz", + "integrity": "sha1-RY8Xgg03gg3GDiC4bZQ5GwASMVg=", + "dev": true + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/url-join": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-2.0.5.tgz", + "integrity": "sha1-WvIvGMBSoACkjXuCxenC4v7tpyg=", + "dev": true + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "dev": true, + "optional": true, + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", + "dev": true + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "optional": true, + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/verror/node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true, + "optional": true + }, + "node_modules/vfile": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-2.3.0.tgz", + "integrity": "sha512-ASt4mBUHcTpMKD/l5Q+WJXNtshlWxOogYyGYYrg4lt/vuRjC1EFQtlAofL5VmtVNIZJzWYFJjzGWZ0Gw8pzW1w==", + "dev": true, + "dependencies": { + "is-buffer": "^1.1.4", + "replace-ext": "1.0.0", + "unist-util-stringify-position": "^1.0.0", + "vfile-message": "^1.0.0" + } + }, + "node_modules/vfile-location": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-2.0.6.tgz", + "integrity": "sha512-sSFdyCP3G6Ka0CEmN83A2YCMKIieHx0EDaj5IDP4g1pa5ZJ4FJDvpO0WODLxo4LUX4oe52gmSCK7Jw4SBghqxA==", + "dev": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-1.1.1.tgz", + "integrity": "sha512-1WmsopSGhWt5laNir+633LszXvZ+Z/lxveBf6yhGsqnQIhlhzooZae7zV6YVM1Sdkw68dtAW3ow0pOdPANugvA==", + "dev": true, + "dependencies": { + "unist-util-stringify-position": "^1.1.1" + } + }, + "node_modules/webidl-conversions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-2.0.1.tgz", + "integrity": "sha1-O/glj30xjHRDw28uFpQCoaZwNQY=", + "dev": true, + "optional": true + }, + "node_modules/whatwg-url-compat": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/whatwg-url-compat/-/whatwg-url-compat-0.6.5.tgz", + "integrity": "sha1-AImBEa9om7CXVBzVpFymyHmERb8=", + "dev": true, + "optional": true, + "dependencies": { + "tr46": "~0.0.1" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "dependencies": { + "string-width": "^1.0.2 || 2" + } + }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "dev": true + }, + "node_modules/workerpool": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.5.tgz", + "integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw==", + "dev": true + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "node_modules/x-is-string": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/x-is-string/-/x-is-string-0.1.0.tgz", + "integrity": "sha1-R0tQhlrzpJqcRlfwWs0UVFj3fYI=", + "dev": true + }, + "node_modules/xml-name-validator": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-2.0.1.tgz", + "integrity": "sha1-TYuPHszTQZqjYgYb7O9RXh5VljU=", + "dev": true, + "optional": true + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true, + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser/node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yargs-unparser/node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/yargs/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", + "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", + "dev": true, + "requires": { + "@babel/highlight": "^7.14.5" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.14.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz", + "integrity": "sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==", + "dev": true + }, + "@babel/highlight": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", + "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.14.5", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "@cspotcode/source-map-consumer": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", + "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", + "dev": true + }, + "@cspotcode/source-map-support": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.6.1.tgz", + "integrity": "sha512-DX3Z+T5dt1ockmPdobJS/FAsQPW4V4SrWEhD2iYQT2Cb2tQsiMnYxrcUH9By/Z3B+v0S5LMBkQtV/XOBbpLEOg==", + "dev": true, + "requires": { + "@cspotcode/source-map-consumer": "0.8.0" + } + }, + "@es-joy/jsdoccomment": { + "version": "0.10.8", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.10.8.tgz", + "integrity": "sha512-3P1JiGL4xaR9PoTKUHa2N/LKwa2/eUdRqGwijMWWgBqbFEqJUVpmaOi2TcjcemrsRMgFLBzQCK4ToPhrSVDiFQ==", + "dev": true, + "requires": { + "comment-parser": "1.2.4", + "esquery": "^1.4.0", + "jsdoc-type-pratt-parser": "1.1.1" + } + }, + "@eslint/eslintrc": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", + "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.1.1", + "espree": "^7.3.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^3.13.1", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "globals": { + "version": "13.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", + "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } + }, + "ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true + } + } + }, + "@humanwhocodes/config-array": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", + "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==", + "dev": true, + "requires": { + "@humanwhocodes/object-schema": "^1.2.0", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + } + }, + "@humanwhocodes/object-schema": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.0.tgz", + "integrity": "sha512-wdppn25U8z/2yiaT6YGquE6X8sSv7hNMWSXYSSU1jGv/yd6XqjXgTDJ8KP4NgjTXfJ3GbRjeeb8RTV7a/VpM+w==", + "dev": true + }, + "@hutson/parse-repository-url": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", + "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", + "dev": true + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@sinonjs/commons": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", + "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/fake-timers": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-7.1.2.tgz", + "integrity": "sha512-iQADsW4LBMISqZ6Ci1dupJL9pprqwcVFTcOsEmQOEhW+KLCVn/Y4Jrvg2k19fIHCp+iFprriYPTdRcQR8NbUPg==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + }, + "@sinonjs/samsam": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-6.0.2.tgz", + "integrity": "sha512-jxPRPp9n93ci7b8hMfJOFDPRLFYadN6FSpeROFTR4UNF4i5b+EK6m4QXPO46BDhFgRy1JuS87zAnFOzCUwMJcQ==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.6.0", + "lodash.get": "^4.4.2", + "type-detect": "^4.0.8" + } + }, + "@sinonjs/text-encoding": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", + "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", + "dev": true + }, + "@textlint/ast-node-types": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/@textlint/ast-node-types/-/ast-node-types-4.4.3.tgz", + "integrity": "sha512-qi2jjgO6Tn3KNPGnm6B7p6QTEPvY95NFsIAaJuwbulur8iJUEenp1OnoUfiDaC/g2WPPEFkcfXpmnu8XEMFo2A==", + "dev": true + }, + "@textlint/markdown-to-ast": { + "version": "6.1.7", + "resolved": "https://registry.npmjs.org/@textlint/markdown-to-ast/-/markdown-to-ast-6.1.7.tgz", + "integrity": "sha512-B0QtokeQR4a9+4q0NQr8T9l7A1fFihTN5Ze57tVgqW+3ymzXEouh8DvPHeNQ4T6jEkAThvdjk95mxAMpGRJ79w==", + "dev": true, + "requires": { + "@textlint/ast-node-types": "^4.2.5", + "debug": "^4.1.1", + "remark-frontmatter": "^1.2.0", + "remark-parse": "^5.0.0", + "structured-source": "^3.0.2", + "traverse": "^0.6.6", + "unified": "^6.1.6" + } + }, + "@tsconfig/node10": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", + "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==", + "dev": true + }, + "@tsconfig/node12": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", + "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==", + "dev": true + }, + "@tsconfig/node14": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", + "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==", + "dev": true + }, + "@tsconfig/node16": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", + "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "dev": true + }, + "@types/chai": { + "version": "4.2.21", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.2.21.tgz", + "integrity": "sha512-yd+9qKmJxm496BOV9CMNaey8TWsikaZOwMRwPHQIjcOJM9oV+fi9ZMNw3JsVnbEEbo2gRTDnGEBv8pjyn67hNg==", + "dev": true + }, + "@types/json-schema": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", + "dev": true + }, + "@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", + "dev": true + }, + "@types/lodash": { + "version": "4.14.172", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.172.tgz", + "integrity": "sha512-/BHF5HAx3em7/KkzVKm3LrsD6HZAXuXO1AJZQ3cRRBZj4oHZDviWPYu0aEplAqDFNHZPW6d3G7KN+ONcCCC7pw==", + "dev": true + }, + "@types/minimist": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", + "dev": true + }, + "@types/mocha": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.0.0.tgz", + "integrity": "sha512-scN0hAWyLVAvLR9AyW7HoFF5sJZglyBsbPuHO4fv7JRvfmPBMfp1ozWqOf/e4wwPNxezBZXRfWzMb6iFLgEVRA==", + "dev": true + }, + "@types/node": { + "version": "16.7.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.13.tgz", + "integrity": "sha512-pLUPDn+YG3FYEt/pHI74HmnJOWzeR+tOIQzUx93pi9M7D8OE7PSLr97HboXwk5F+JS+TLtWuzCOW97AHjmOXXA==", + "dev": true + }, + "@types/normalize-package-data": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", + "dev": true + }, + "@types/sinon": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.2.tgz", + "integrity": "sha512-BHn8Bpkapj8Wdfxvh2jWIUoaYB/9/XhsL0oOvBfRagJtKlSl9NWPcFOz2lRukI9szwGxFtYZCTejJSqsGDbdmw==", + "dev": true, + "requires": { + "@sinonjs/fake-timers": "^7.1.0" + } + }, + "@typescript-eslint/eslint-plugin": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.31.0.tgz", + "integrity": "sha512-iPKZTZNavAlOhfF4gymiSuUkgLne/nh5Oz2/mdiUmuZVD42m9PapnCnzjxuDsnpnbH3wT5s2D8bw6S39TC6GNw==", + "dev": true, + "requires": { + "@typescript-eslint/experimental-utils": "4.31.0", + "@typescript-eslint/scope-manager": "4.31.0", + "debug": "^4.3.1", + "functional-red-black-tree": "^1.0.1", + "regexpp": "^3.1.0", + "semver": "^7.3.5", + "tsutils": "^3.21.0" + } + }, + "@typescript-eslint/experimental-utils": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.31.0.tgz", + "integrity": "sha512-Hld+EQiKLMppgKKkdUsLeVIeEOrwKc2G983NmznY/r5/ZtZCDvIOXnXtwqJIgYz/ymsy7n7RGvMyrzf1WaSQrw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.7", + "@typescript-eslint/scope-manager": "4.31.0", + "@typescript-eslint/types": "4.31.0", + "@typescript-eslint/typescript-estree": "4.31.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0" + } + }, + "@typescript-eslint/parser": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.31.0.tgz", + "integrity": "sha512-oWbzvPh5amMuTmKaf1wp0ySxPt2ZXHnFQBN2Szu1O//7LmOvgaKTCIDNLK2NvzpmVd5A2M/1j/rujBqO37hj3w==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "4.31.0", + "@typescript-eslint/types": "4.31.0", + "@typescript-eslint/typescript-estree": "4.31.0", + "debug": "^4.3.1" + } + }, + "@typescript-eslint/scope-manager": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.31.0.tgz", + "integrity": "sha512-LJ+xtl34W76JMRLjbaQorhR0hfRAlp3Lscdiz9NeI/8i+q0hdBZ7BsiYieLoYWqy+AnRigaD3hUwPFugSzdocg==", + "dev": true, + "requires": { + "@typescript-eslint/types": "4.31.0", + "@typescript-eslint/visitor-keys": "4.31.0" + } + }, + "@typescript-eslint/types": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.31.0.tgz", + "integrity": "sha512-9XR5q9mk7DCXgXLS7REIVs+BaAswfdHhx91XqlJklmqWpTALGjygWVIb/UnLh4NWhfwhR5wNe1yTyCInxVhLqQ==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.31.0.tgz", + "integrity": "sha512-QHl2014t3ptg+xpmOSSPn5hm4mY8D4s97ftzyk9BZ8RxYQ3j73XcwuijnJ9cMa6DO4aLXeo8XS3z1omT9LA/Eg==", + "dev": true, + "requires": { + "@typescript-eslint/types": "4.31.0", + "@typescript-eslint/visitor-keys": "4.31.0", + "debug": "^4.3.1", + "globby": "^11.0.3", + "is-glob": "^4.0.1", + "semver": "^7.3.5", + "tsutils": "^3.21.0" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.31.0.tgz", + "integrity": "sha512-HUcRp2a9I+P21+O21yu3ezv3GEPGjyGiXoEUQwZXjR8UxRApGeLyWH4ZIIUSalE28aG4YsV6GjtaAVB3QKOu0w==", + "dev": true, + "requires": { + "@typescript-eslint/types": "4.31.0", + "eslint-visitor-keys": "^2.0.0" + } + }, + "@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, + "abab": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", + "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=", + "dev": true, + "optional": true + }, + "acorn": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz", + "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=", + "dev": true, + "optional": true + }, + "acorn-globals": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz", + "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=", + "dev": true, + "optional": true, + "requires": { + "acorn": "^2.1.0" + } + }, + "acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true + }, + "add-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", + "integrity": "sha1-anmQQ3ynNtXhKI25K9MmbV9csqo=", + "dev": true + }, + "aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, + "requires": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "anchor-markdown-header": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/anchor-markdown-header/-/anchor-markdown-header-0.5.7.tgz", + "integrity": "sha1-BFBj125qH5zTJ6V6ASaqD97Dcac=", + "dev": true, + "requires": { + "emoji-regex": "~6.1.0" + } + }, + "ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=", + "dev": true + }, + "array-includes": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.3.tgz", + "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.2", + "get-intrinsic": "^1.1.1", + "is-string": "^1.0.5" + } + }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true + }, + "array.prototype.flat": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", + "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + } + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "optional": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true, + "optional": true + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true + }, + "async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true, + "optional": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true, + "optional": true + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true, + "optional": true + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "bail": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz", + "integrity": "sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==", + "dev": true + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "basic-auth": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-1.1.0.tgz", + "integrity": "sha1-RSIe5Cn37h5QNb4/UVM/HN/SmIQ=", + "dev": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "optional": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "boundary": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/boundary/-/boundary-1.0.1.tgz", + "integrity": "sha1-TWfcJgLAzBbdm85+v4fpSCkPWBI=", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true + }, + "buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "camelcase": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz", + "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==", + "dev": true + }, + "camelcase-keys": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-7.0.0.tgz", + "integrity": "sha512-qlQlECgDl5Ev+gkvONaiD4X4TF2gyZKuLBvzx0zLo2UwAxmz3hJP/841aaMHTeH1T7v5HRwoRq91daulXoYWvg==", + "dev": true, + "requires": { + "camelcase": "^6.2.0", + "map-obj": "^4.1.0", + "quick-lru": "^5.1.1", + "type-fest": "^1.2.1" + } + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true, + "optional": true + }, + "chai": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", + "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "dev": true, + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + } + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "character-entities": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz", + "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==", + "dev": true + }, + "character-entities-legacy": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz", + "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==", + "dev": true + }, + "character-reference-invalid": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz", + "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==", + "dev": true + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true + }, + "cheerio": { + "version": "1.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", + "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", + "dev": true, + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash": "^4.15.0", + "parse5": "^3.0.1" + }, + "dependencies": { + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "requires": { + "domelementtype": "1" + } + }, + "htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "dev": true, + "requires": { + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" + } + } + } + }, + "chokidar": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", + "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + } + } + }, + "collapse-white-space": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.6.tgz", + "integrity": "sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ==", + "dev": true + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-logger": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.6.tgz", + "integrity": "sha1-5WJF7ymCJlcRDHy3WpzXhstp7Rs=", + "dev": true + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "dev": true + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "optional": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "comment-parser": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.2.4.tgz", + "integrity": "sha512-pm0b+qv+CkWNriSTMsfnjChF9kH0kxz55y44Wo5le9qLxMj5xDQAaEd9ZN1ovSuk9CsrncWaFwgpOMg7ClJwkw==", + "dev": true + }, + "compare-func": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "dev": true, + "requires": { + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.0.2", + "typedarray": "^0.0.6" + } + }, + "conventional-changelog": { + "version": "3.1.24", + "resolved": "https://registry.npmjs.org/conventional-changelog/-/conventional-changelog-3.1.24.tgz", + "integrity": "sha512-ed6k8PO00UVvhExYohroVPXcOJ/K1N0/drJHx/faTH37OIZthlecuLIRX/T6uOp682CAoVoFpu+sSEaeuH6Asg==", + "dev": true, + "requires": { + "conventional-changelog-angular": "^5.0.12", + "conventional-changelog-atom": "^2.0.8", + "conventional-changelog-codemirror": "^2.0.8", + "conventional-changelog-conventionalcommits": "^4.5.0", + "conventional-changelog-core": "^4.2.1", + "conventional-changelog-ember": "^2.0.9", + "conventional-changelog-eslint": "^3.0.9", + "conventional-changelog-express": "^2.0.6", + "conventional-changelog-jquery": "^3.0.11", + "conventional-changelog-jshint": "^2.0.9", + "conventional-changelog-preset-loader": "^2.3.4" + } + }, + "conventional-changelog-angular": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz", + "integrity": "sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw==", + "dev": true, + "requires": { + "compare-func": "^2.0.0", + "q": "^1.5.1" + } + }, + "conventional-changelog-atom": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-atom/-/conventional-changelog-atom-2.0.8.tgz", + "integrity": "sha512-xo6v46icsFTK3bb7dY/8m2qvc8sZemRgdqLb/bjpBsH2UyOS8rKNTgcb5025Hri6IpANPApbXMg15QLb1LJpBw==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-codemirror": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.8.tgz", + "integrity": "sha512-z5DAsn3uj1Vfp7po3gpt2Boc+Bdwmw2++ZHa5Ak9k0UKsYAO5mH1UBTN0qSCuJZREIhX6WU4E1p3IW2oRCNzQw==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-config-spec": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-config-spec/-/conventional-changelog-config-spec-2.1.0.tgz", + "integrity": "sha512-IpVePh16EbbB02V+UA+HQnnPIohgXvJRxHcS5+Uwk4AT5LjzCZJm5sp/yqs5C6KZJ1jMsV4paEV13BN1pvDuxQ==", + "dev": true + }, + "conventional-changelog-conventionalcommits": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.5.0.tgz", + "integrity": "sha512-buge9xDvjjOxJlyxUnar/+6i/aVEVGA7EEh4OafBCXPlLUQPGbRUBhBUveWRxzvR8TEjhKEP4BdepnpG2FSZXw==", + "dev": true, + "requires": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + } + }, + "conventional-changelog-core": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.3.tgz", + "integrity": "sha512-MwnZjIoMRL3jtPH5GywVNqetGILC7g6RQFvdb8LRU/fA/338JbeWAku3PZ8yQ+mtVRViiISqJlb0sOz0htBZig==", + "dev": true, + "requires": { + "add-stream": "^1.0.0", + "conventional-changelog-writer": "^5.0.0", + "conventional-commits-parser": "^3.2.0", + "dateformat": "^3.0.0", + "get-pkg-repo": "^4.0.0", + "git-raw-commits": "^2.0.8", + "git-remote-origin-url": "^2.0.0", + "git-semver-tags": "^4.1.1", + "lodash": "^4.17.15", + "normalize-package-data": "^3.0.0", + "q": "^1.5.1", + "read-pkg": "^3.0.0", + "read-pkg-up": "^3.0.0", + "through2": "^4.0.0" + }, + "dependencies": { + "find-up": { + "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { - "locate-path": "^2.0.0" + "locate-path": "^2.0.0" + } + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "requires": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "dependencies": { + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + } + } + }, + "read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "conventional-changelog-ember": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz", + "integrity": "sha512-ulzIReoZEvZCBDhcNYfDIsLTHzYHc7awh+eI44ZtV5cx6LVxLlVtEmcO+2/kGIHGtw+qVabJYjdI5cJOQgXh1A==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-eslint": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.9.tgz", + "integrity": "sha512-6NpUCMgU8qmWmyAMSZO5NrRd7rTgErjrm4VASam2u5jrZS0n38V7Y9CzTtLT2qwz5xEChDR4BduoWIr8TfwvXA==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-express": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-2.0.6.tgz", + "integrity": "sha512-SDez2f3iVJw6V563O3pRtNwXtQaSmEfTCaTBPCqn0oG0mfkq0rX4hHBq5P7De2MncoRixrALj3u3oQsNK+Q0pQ==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-jquery": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.11.tgz", + "integrity": "sha512-x8AWz5/Td55F7+o/9LQ6cQIPwrCjfJQ5Zmfqi8thwUEKHstEn4kTIofXub7plf1xvFA2TqhZlq7fy5OmV6BOMw==", + "dev": true, + "requires": { + "q": "^1.5.1" + } + }, + "conventional-changelog-jshint": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.9.tgz", + "integrity": "sha512-wMLdaIzq6TNnMHMy31hql02OEQ8nCQfExw1SE0hYL5KvU+JCTuPaDO+7JiogGT2gJAxiUGATdtYYfh+nT+6riA==", + "dev": true, + "requires": { + "compare-func": "^2.0.0", + "q": "^1.5.1" + } + }, + "conventional-changelog-preset-loader": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", + "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", + "dev": true + }, + "conventional-changelog-writer": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.0.tgz", + "integrity": "sha512-HnDh9QHLNWfL6E1uHz6krZEQOgm8hN7z/m7tT16xwd802fwgMN0Wqd7AQYVkhpsjDUx/99oo+nGgvKF657XP5g==", + "dev": true, + "requires": { + "conventional-commits-filter": "^2.0.7", + "dateformat": "^3.0.0", + "handlebars": "^4.7.6", + "json-stringify-safe": "^5.0.1", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "semver": "^6.0.0", + "split": "^1.0.0", + "through2": "^4.0.0" + }, + "dependencies": { + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + }, + "camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "requires": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true + }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "dependencies": { + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + } + } + }, + "redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "requires": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "requires": { + "min-indent": "^1.0.0" + } + }, + "trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true + }, + "type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true + } + } + }, + "conventional-commits-filter": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", + "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", + "dev": true, + "requires": { + "lodash.ismatch": "^4.4.0", + "modify-values": "^1.0.0" + } + }, + "conventional-commits-parser": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.1.tgz", + "integrity": "sha512-OG9kQtmMZBJD/32NEw5IhN5+HnBqVjy03eC+I71I0oQRFA5rOgA4OtPOYG7mz1GkCfCNxn3gKIX8EiHJYuf1cA==", + "dev": true, + "requires": { + "is-text-path": "^1.0.1", + "JSONStream": "^1.0.4", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "split2": "^3.0.0", + "through2": "^4.0.0", + "trim-off-newlines": "^1.0.0" + }, + "dependencies": { + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + }, + "camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" } }, - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" } }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "p-locate": "^4.1.0" + } + }, + "meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "requires": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" } }, "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "requires": { - "p-try": "^1.0.0" + "p-try": "^2.0.0" } }, "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "requires": { - "p-limit": "^1.1.0" + "p-limit": "^2.2.0" } }, "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true + }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "dependencies": { + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + } + } + }, + "redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "requires": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "requires": { + "min-indent": "^1.0.0" + } + }, + "trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true + }, + "type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true + } + } + }, + "conventional-recommended-bump": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz", + "integrity": "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==", + "dev": true, + "requires": { + "concat-stream": "^2.0.0", + "conventional-changelog-preset-loader": "^2.3.4", + "conventional-commits-filter": "^2.0.7", + "conventional-commits-parser": "^3.2.0", + "git-raw-commits": "^2.0.8", + "git-semver-tags": "^4.1.1", + "meow": "^8.0.0", + "q": "^1.5.1" + }, + "dependencies": { + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + }, + "camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "requires": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true + }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "dependencies": { + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + } + } + }, + "redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "requires": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", "dev": true, "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" + "min-indent": "^1.0.0" } }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "dev": true }, - "path-type": { + "type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true + } + } + }, + "core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", + "dev": true + }, + "core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true + }, + "corser": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz", + "integrity": "sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c=", + "dev": true + }, + "create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true + }, + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "dev": true, + "requires": { + "boolbase": "~1.0.0", + "css-what": "2.1", + "domutils": "1.5.1", + "nth-check": "~1.0.1" + } + }, + "css-what": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz", + "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==", + "dev": true + }, + "cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true, + "optional": true + }, + "cssstyle": { + "version": "0.2.37", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", + "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", + "dev": true, + "optional": true, + "requires": { + "cssom": "0.3.x" + } + }, + "dargs": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", + "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", + "dev": true + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "optional": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "dateformat": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", + "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", + "dev": true + }, + "debug": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "decamelize": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-5.0.0.tgz", + "integrity": "sha512-U75DcT5hrio3KNtvdULAWnLiAPbFUC4191ldxMmj4FA/mRuBnmDwU0boNfPyFRhnan+Jm+haLeSn3P0afcBn4w==", + "dev": true + }, + "decamelize-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", + "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", + "dev": true, + "requires": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "dependencies": { + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + } + } + }, + "deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "requires": { + "type-detect": "^4.0.0" + } + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "del": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", + "integrity": "sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==", + "dev": true, + "requires": { + "globby": "^11.0.1", + "graceful-fs": "^4.2.4", + "is-glob": "^4.0.1", + "is-path-cwd": "^2.2.0", + "is-path-inside": "^3.0.2", + "p-map": "^4.0.0", + "rimraf": "^3.0.2", + "slash": "^3.0.0" + } + }, + "del-cli": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/del-cli/-/del-cli-4.0.1.tgz", + "integrity": "sha512-KtR/6cBfZkGDAP2NA7z+bP4p1OMob3wjN9mq13+SWvExx6jT9gFWfLgXEeX8J2B47OKeNCq9yTONmtryQ+m+6g==", + "dev": true, + "requires": { + "del": "^6.0.0", + "meow": "^10.1.0" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true, + "optional": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true + }, + "diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true + }, + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "requires": { + "path-type": "^4.0.0" + } + }, + "doctoc": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/doctoc/-/doctoc-2.0.1.tgz", + "integrity": "sha512-JsxnSVZtLCThKehjFPBDhP1+ZLmdfXQynZH/0ABAwrnd1Zf3AV6LigC9oWJyaZ+c6RXCDnlGUNJ7I+1v8VaaRg==", + "dev": true, + "requires": { + "@textlint/markdown-to-ast": "~6.1.7", + "anchor-markdown-header": "~0.5.7", + "htmlparser2": "~4.1.0", + "minimist": "~1.2.5", + "underscore": "~1.12.1", + "update-section": "~0.3.3" + } + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "dom-serializer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", + "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", + "dev": true, + "requires": { + "domelementtype": "^1.3.0", + "entities": "^1.1.1" + } + }, + "domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", + "dev": true + }, + "domhandler": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", + "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", + "dev": true, + "requires": { + "domelementtype": "^2.0.1" + }, + "dependencies": { + "domelementtype": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", + "dev": true + } + } + }, + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "dev": true, + "requires": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, + "dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "requires": { + "is-obj": "^2.0.0" + } + }, + "dotgitignore": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/dotgitignore/-/dotgitignore-2.1.0.tgz", + "integrity": "sha512-sCm11ak2oY6DglEPpCB8TixLjWAxd3kJTs6UIcSasNYxXdFPV+YKlye92c8H4kKFqV5qYMIh7d+cYecEg0dIkA==", + "dev": true, + "requires": { + "find-up": "^3.0.0", + "minimatch": "^3.0.4" + }, + "dependencies": { + "find-up": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, "requires": { - "pify": "^3.0.0" + "locate-path": "^3.0.0" } }, - "pify": { + "locate-path": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } }, - "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" + "p-try": "^2.0.0" } }, - "read-pkg-up": { + "p-locate": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, "requires": { - "find-up": "^2.0.0", - "read-pkg": "^3.0.0" + "p-limit": "^2.0.0" } }, - "strip-bom": { + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "path-exists": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", "dev": true } } }, - "conventional-changelog-ember": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.8.tgz", - "integrity": "sha512-JEMEcUAMg4Q9yxD341OgWlESQ4gLqMWMXIWWUqoQU8yvTJlKnrvcui3wk9JvnZQyONwM2g1MKRZuAjKxr8hAXA==", + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "dev": true, + "optional": true, "requires": { - "q": "^1.5.1" + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" } }, - "conventional-changelog-eslint": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-eslint/-/conventional-changelog-eslint-3.0.8.tgz", - "integrity": "sha512-5rTRltgWG7TpU1PqgKHMA/2ivjhrB+E+S7OCTvj0zM/QGg4vmnVH67Vq/EzvSNYtejhWC+OwzvDrLk3tqPry8A==", + "emoji-regex": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-6.1.3.tgz", + "integrity": "sha1-7HmjlpsC0uzytyJUJ5v5m8eoOTI=", + "dev": true + }, + "enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", "dev": true, "requires": { - "q": "^1.5.1" + "ansi-colors": "^4.1.1" } }, - "conventional-changelog-express": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/conventional-changelog-express/-/conventional-changelog-express-2.0.5.tgz", - "integrity": "sha512-pW2hsjKG+xNx/Qjof8wYlAX/P61hT5gQ/2rZ2NsTpG+PgV7Rc8RCfITvC/zN9K8fj0QmV6dWmUefCteD9baEAw==", + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dev": true, "requires": { - "q": "^1.5.1" + "is-arrayish": "^0.2.1" } }, - "conventional-changelog-jquery": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-3.0.10.tgz", - "integrity": "sha512-QCW6wF8QgPkq2ruPaxc83jZxoWQxLkt/pNxIDn/oYjMiVgrtqNdd7lWe3vsl0hw5ENHNf/ejXuzDHk6suKsRpg==", + "es-abstract": { + "version": "1.18.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.5.tgz", + "integrity": "sha512-DDggyJLoS91CkJjgauM5c0yZMjiD1uK3KcaCeAmffGwZ+ODWzOkPN4QwRbsK5DOFf06fywmyLci3ZD8jLGhVYA==", "dev": true, "requires": { - "q": "^1.5.1" + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.3", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.3", + "is-string": "^1.0.6", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" } }, - "conventional-changelog-jshint": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/conventional-changelog-jshint/-/conventional-changelog-jshint-2.0.8.tgz", - "integrity": "sha512-hB/iI0IiZwnZ+seYI+qEQ4b+EMQSEC8jGIvhO2Vpz1E5p8FgLz75OX8oB1xJWl+s4xBMB6f8zJr0tC/BL7YOjw==", + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", "dev": true, "requires": { - "compare-func": "^2.0.0", - "q": "^1.5.1" + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" } }, - "conventional-changelog-preset-loader": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz", - "integrity": "sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g==", + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "dev": true }, - "conventional-changelog-writer": { - "version": "4.0.17", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.17.tgz", - "integrity": "sha512-IKQuK3bib/n032KWaSb8YlBFds+aLmzENtnKtxJy3+HqDq5kohu3g/UdNbIHeJWygfnEbZjnCKFxAW0y7ArZAw==", + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", "dev": true, + "optional": true, "requires": { - "compare-func": "^2.0.0", - "conventional-commits-filter": "^2.0.6", - "dateformat": "^3.0.0", - "handlebars": "^4.7.6", - "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.15", - "meow": "^7.0.0", - "semver": "^6.0.0", - "split": "^1.0.0", - "through2": "^3.0.0" + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" }, "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, - "camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "dev": true, - "requires": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" - } - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true - }, - "map-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz", - "integrity": "sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g==", - "dev": true - }, - "meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", - "dev": true, - "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" - } - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "parse-json": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", - "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - } - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "optional": true + } + } + }, + "esdoc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-1.1.0.tgz", + "integrity": "sha512-vsUcp52XJkOWg9m1vDYplGZN2iDzvmjDL5M/Mp8qkoDG3p2s0yIQCIjKR5wfPBaM3eV14a6zhQNYiNTCVzPnxA==", + "dev": true, + "requires": { + "babel-generator": "6.26.1", + "babel-traverse": "6.26.0", + "babylon": "6.18.0", + "cheerio": "1.0.0-rc.2", + "color-logger": "0.0.6", + "escape-html": "1.0.3", + "fs-extra": "5.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "minimist": "1.2.0", + "taffydb": "2.7.3" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true - }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, - "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true - } - } - }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } - } - }, - "redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "dev": true, - "requires": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - } - }, - "resolve": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", - "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + } + } + }, + "esdoc-accessor-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-accessor-plugin/-/esdoc-accessor-plugin-1.0.0.tgz", + "integrity": "sha1-eRukhy5sQDUVznSbE0jW8Ck62es=", + "dev": true + }, + "esdoc-brand-plugin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esdoc-brand-plugin/-/esdoc-brand-plugin-1.0.1.tgz", + "integrity": "sha512-Yv9j3M7qk5PSLmSeD6MbPsfIsEf8K43EdH8qZpE/GZwnJCRVmDPrZJ1cLDj/fPu6P35YqgcEaJK4E2NL/CKA7g==", + "dev": true, + "requires": { + "cheerio": "0.22.0" + }, + "dependencies": { + "cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", "dev": true, "requires": { - "path-parse": "^1.0.6" + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" } }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, - "strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", "dev": true, "requires": { - "min-indent": "^1.0.0" + "domelementtype": "1" } }, - "trim-newlines": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", - "dev": true + "htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "dev": true, + "requires": { + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" + } } } }, - "conventional-commits-filter": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.6.tgz", - "integrity": "sha512-4g+sw8+KA50/Qwzfr0hL5k5NWxqtrOVw4DDk3/h6L85a9Gz0/Eqp3oP+CWCNfesBvZZZEFHF7OTEbRe+yYSyKw==", - "dev": true, - "requires": { - "lodash.ismatch": "^4.4.0", - "modify-values": "^1.0.0" - } + "esdoc-coverage-plugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc-coverage-plugin/-/esdoc-coverage-plugin-1.1.0.tgz", + "integrity": "sha1-OGmGnNf4eJH5cmJXh2laKZrs5Fw=", + "dev": true }, - "conventional-commits-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.1.0.tgz", - "integrity": "sha512-RSo5S0WIwXZiRxUGTPuYFbqvrR4vpJ1BDdTlthFgvHt5kEdnd1+pdvwWphWn57/oIl4V72NMmOocFqqJ8mFFhA==", + "esdoc-external-ecmascript-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-external-ecmascript-plugin/-/esdoc-external-ecmascript-plugin-1.0.0.tgz", + "integrity": "sha1-ePVl1KDFGFrGMVJhTc4f4ahmiNs=", "dev": true, "requires": { - "JSONStream": "^1.0.4", - "is-text-path": "^1.0.1", - "lodash": "^4.17.15", - "meow": "^7.0.0", - "split2": "^2.0.0", - "through2": "^3.0.0", - "trim-off-newlines": "^1.0.0" + "fs-extra": "1.0.0" }, "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, - "camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", "dev": true, "requires": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" } }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", "dev": true, "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "graceful-fs": "^4.1.6" } - }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true - }, - "map-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz", - "integrity": "sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g==", - "dev": true - }, - "meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", + } + } + }, + "esdoc-integrate-manual-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-manual-plugin/-/esdoc-integrate-manual-plugin-1.0.0.tgz", + "integrity": "sha1-GFSmqhwIEDXXyMUeO91PtlqkcRw=", + "dev": true + }, + "esdoc-integrate-test-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-test-plugin/-/esdoc-integrate-test-plugin-1.0.0.tgz", + "integrity": "sha1-4tDQAJD38MNeXS8sAzMnp55T5Ak=", + "dev": true + }, + "esdoc-lint-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-lint-plugin/-/esdoc-lint-plugin-1.0.2.tgz", + "integrity": "sha512-24AYqD2WbZI9We02I7/6dzAa7yUliRTFUaJCZAcYJMQicJT5gUrNFVaI8XmWEN/mhF3szIn1uZBNWeLul4CmNw==", + "dev": true + }, + "esdoc-publish-html-plugin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/esdoc-publish-html-plugin/-/esdoc-publish-html-plugin-1.1.2.tgz", + "integrity": "sha512-hG1fZmTcEp3P/Hv/qKiMdG1qSp8MjnVZMMkxL5P5ry7I2sX0HQ4P9lt2lms+90Lt0r340HHhSuVx107UL7dphg==", + "dev": true, + "requires": { + "babel-generator": "6.11.4", + "cheerio": "0.22.0", + "escape-html": "1.0.3", + "fs-extra": "1.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "taffydb": "2.7.2" + }, + "dependencies": { + "babel-generator": { + "version": "6.11.4", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.11.4.tgz", + "integrity": "sha1-FPaTOrsgxiZm0n47e59bncBxKpo=", "dev": true, "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" + "babel-messages": "^6.8.0", + "babel-runtime": "^6.9.0", + "babel-types": "^6.10.2", + "detect-indent": "^3.0.1", + "lodash": "^4.2.0", + "source-map": "^0.5.0" } }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", "dev": true, "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" } }, - "parse-json": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", - "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", + "detect-indent": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-3.0.1.tgz", + "integrity": "sha1-ncXl3bzu+DJXZLlFGwK8bVQIT3U=", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" + "get-stdin": "^4.0.1", + "minimist": "^1.1.0", + "repeating": "^1.1.0" } }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", - "dev": true - }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", "dev": true, "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true - } + "domelementtype": "1" } }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", "dev": true, "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" } }, - "redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", "dev": true, "requires": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" } }, - "resolve": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", - "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", "dev": true, "requires": { - "path-parse": "^1.0.6" + "graceful-fs": "^4.1.6" } }, - "strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "repeating": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-1.1.3.tgz", + "integrity": "sha1-PUEUIYh3U3SU+X93+Xhfq4EPpKw=", "dev": true, "requires": { - "min-indent": "^1.0.0" + "is-finite": "^1.0.0" } }, - "trim-newlines": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", + "taffydb": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.2.tgz", + "integrity": "sha1-e/gQalwaSCUbPjvAoOFzJIn9Dcg=", "dev": true } } }, - "conventional-recommended-bump": { - "version": "6.0.9", - "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.0.9.tgz", - "integrity": "sha512-DpRmW1k8CpRrcsXHOPGgHgOd4BMGiq2gtXAveGM8B9pSd9b4r4WKnqp1Fd0vkDtk8l973mIk8KKKUYnKRr9SFw==", + "esdoc-standard-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-standard-plugin/-/esdoc-standard-plugin-1.0.0.tgz", + "integrity": "sha1-ZhIBysfvhokkkCRG/awVJyU8XU0=", "dev": true, "requires": { - "concat-stream": "^2.0.0", - "conventional-changelog-preset-loader": "^2.3.4", - "conventional-commits-filter": "^2.0.6", - "conventional-commits-parser": "^3.1.0", - "git-raw-commits": "2.0.0", - "git-semver-tags": "^4.0.0", - "meow": "^7.0.0", - "q": "^1.5.1" + "esdoc-accessor-plugin": "^1.0.0", + "esdoc-brand-plugin": "^1.0.0", + "esdoc-coverage-plugin": "^1.0.0", + "esdoc-external-ecmascript-plugin": "^1.0.0", + "esdoc-integrate-manual-plugin": "^1.0.0", + "esdoc-integrate-test-plugin": "^1.0.0", + "esdoc-lint-plugin": "^1.0.0", + "esdoc-publish-html-plugin": "^1.0.0", + "esdoc-type-inference-plugin": "^1.0.0", + "esdoc-undocumented-identifier-plugin": "^1.0.0", + "esdoc-unexported-identifier-plugin": "^1.0.0" + } + }, + "esdoc-type-inference-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-type-inference-plugin/-/esdoc-type-inference-plugin-1.0.2.tgz", + "integrity": "sha512-tMIcEHNe1uhUGA7lT1UTWc9hs2dzthnTgmqXpmeUhurk7fL2tinvoH+IVvG/sLROzwOGZQS9zW/F9KWnpMzLIQ==", + "dev": true + }, + "esdoc-typescript-plugin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esdoc-typescript-plugin/-/esdoc-typescript-plugin-1.0.1.tgz", + "integrity": "sha512-QV9rdis5PkypVK1fh2wuESZPQZUVjTwt4hj97Pivb9M8wGPMOTxYu5ofkyGWm3xgNL+K0VxZY6TGEO07kfGAtg==", + "dev": true, + "requires": { + "typescript": "^2.8.3" }, "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "typescript": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz", + "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==", "dev": true - }, - "camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + } + } + }, + "esdoc-undocumented-identifier-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-undocumented-identifier-plugin/-/esdoc-undocumented-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-guBdNxwy0ShxFA8dXIHsmf2cwsg=", + "dev": true + }, + "esdoc-unexported-identifier-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-unexported-identifier-plugin/-/esdoc-unexported-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-H5h0xqfCvr+a05fDzrdcnGnaurE=", + "dev": true + }, + "eslint": { + "version": "7.32.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz", + "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==", + "dev": true, + "requires": { + "@babel/code-frame": "7.12.11", + "@eslint/eslintrc": "^0.4.3", + "@humanwhocodes/config-array": "^0.5.0", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^2.0.0", + "espree": "^7.3.1", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.1.2", + "globals": "^13.6.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^6.0.9", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.12.11", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", + "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", "dev": true, "requires": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" + "@babel/highlight": "^7.10.4" } }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "color-convert": "^2.0.1" } }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } }, - "map-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz", - "integrity": "sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g==", - "dev": true + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } }, - "meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "requires": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" + "color-name": "~1.1.4" } }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, + "eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", "dev": true, "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "eslint-visitor-keys": "^1.1.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true + } } }, - "parse-json": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", - "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", + "globals": { + "version": "13.11.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.11.0.tgz", + "integrity": "sha512-08/xrJ7wQjK9kkkRoI3OFUBbLx4f+6x3SGwcPvQ0QH6goFDrOU2oyAWrmh3dJezu65buo+HBMzAMQy6rovVC3g==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" + "type-fest": "^0.20.2" } }, - "path-exists": { + "has-flag": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true }, - "read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, "requires": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "dependencies": { - "type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true - } + "argparse": "^1.0.7", + "esprima": "^4.0.0" } }, - "read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, "requires": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - } + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" } }, - "redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", "dev": true, "requires": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" } }, - "resolve": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", - "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "dev": true, "requires": { - "path-parse": "^1.0.6" + "ansi-regex": "^5.0.0" } }, - "strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { - "min-indent": "^1.0.0" + "has-flag": "^4.0.0" } }, - "trim-newlines": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", - "dev": true - } - } - }, - "core-js": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.1.tgz", - "integrity": "sha512-L72mmmEayPJBejKIWe2pYtGis5r0tQ5NaJekdhyXgeMQTpJoBsH0NL4ElY2LfSoV15xeQWKQ+XTTOZdyero5Xg==", - "dev": true - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, - "corser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/corser/-/corser-2.0.1.tgz", - "integrity": "sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c=", - "dev": true - }, - "create-error-class": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", - "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", - "dev": true, - "requires": { - "capture-stack-trace": "1.0.0" - } - }, - "css-select": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", - "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", - "dev": true, - "requires": { - "boolbase": "~1.0.0", - "css-what": "2.1", - "domutils": "1.5.1", - "nth-check": "~1.0.1" - }, - "dependencies": { - "domutils": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", - "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, "requires": { - "dom-serializer": "0", - "domelementtype": "1" + "prelude-ls": "^1.2.1" } + }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true } } }, - "css-what": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.2.tgz", - "integrity": "sha512-wan8dMWQ0GUeF7DGEPVjhHemVW/vy6xUYmFzRY8RYqgA0JtXC9rJmbScBjqSu6dg9q0lwPQy6ZAmJVr3PPTvqQ==", - "dev": true - }, - "cssom": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.4.tgz", - "integrity": "sha512-+7prCSORpXNeR4/fUP3rL+TzqtiFfhMvTd7uEqMdgPvLPt4+uzFUeufx5RHjGTACCargg/DiEt/moMQmvnfkog==", - "dev": true, - "optional": true - }, - "cssstyle": { - "version": "0.2.37", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", - "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", - "dev": true, - "optional": true, - "requires": { - "cssom": "0.3.x" - } - }, - "currently-unhandled": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", - "dev": true, - "requires": { - "array-find-index": "1.0.2" - } - }, - "dargs": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz", - "integrity": "sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dev": true, - "optional": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, - "dateformat": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", - "dev": true - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true - }, - "decamelize-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", - "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", - "dev": true, - "requires": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - } - }, - "deep-eql": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", - "integrity": "sha1-71WKyrjeJSBs1xOQbXTlaTDrafI=", - "dev": true, - "requires": { - "type-detect": "0.1.1" - } - }, - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "dev": true - }, - "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true, - "optional": true - }, - "del": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", - "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", - "dev": true, - "requires": { - "globby": "5.0.0", - "is-path-cwd": "1.0.0", - "is-path-in-cwd": "1.0.0", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "rimraf": "2.6.1" - } - }, - "del-cli": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/del-cli/-/del-cli-0.2.1.tgz", - "integrity": "sha1-1fjKVA6KuJstkDB1rkcRPHKm2Tc=", - "dev": true, - "requires": { - "del": "2.2.2", - "meow": "3.7.0", - "update-notifier": "1.0.3" - } - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true, - "optional": true - }, - "detect-indent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", - "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", - "dev": true, - "requires": { - "repeating": "^2.0.0" - } - }, - "detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", - "dev": true - }, - "diff": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.2.0.tgz", - "integrity": "sha1-yc45Okt8vQsFinJck98pkCeGj/k=", - "dev": true - }, - "doctoc": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/doctoc/-/doctoc-1.3.1.tgz", - "integrity": "sha1-8BLjYD4xViVMLvIqyIxxkPVUJro=", + "eslint-config-prettier": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz", + "integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==", "dev": true, - "requires": { - "anchor-markdown-header": "0.5.7", - "htmlparser2": "3.9.2", - "markdown-to-ast": "3.4.0", - "minimist": "1.2.0", - "underscore": "1.8.3", - "update-section": "0.3.3" - } + "requires": {} }, - "dom-serializer": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", - "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", + "eslint-import-resolver-node": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", + "integrity": "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==", "dev": true, "requires": { - "domelementtype": "1.1.3", - "entities": "1.1.1" + "debug": "^3.2.7", + "resolve": "^1.20.0" }, "dependencies": { - "domelementtype": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", - "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=", - "dev": true - } - } - }, - "domelementtype": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", - "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=", - "dev": true - }, - "domhandler": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.1.tgz", - "integrity": "sha1-iS5HAAqZvlW783dP/qBWHYh5wlk=", - "dev": true, - "requires": { - "domelementtype": "1.3.0" - } - }, - "domutils": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.6.2.tgz", - "integrity": "sha1-GVjMC0yUJuntNn+xyOhUiRsPo/8=", - "dev": true, - "requires": { - "dom-serializer": "0.1.0", - "domelementtype": "1.3.0" + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } } }, - "dot-prop": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz", - "integrity": "sha1-G3CK8JSknJoOfbyteQq6U52sEXc=", + "eslint-module-utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.2.tgz", + "integrity": "sha512-QG8pcgThYOuqxupd06oYTZoNOGaUdTY1PqK+oS6ElF6vs4pBdk/aYxFVQQXzcrAqp9m7cl7lb2ubazX+g16k2Q==", "dev": true, "requires": { - "is-obj": "1.0.1" + "debug": "^3.2.7", + "pkg-dir": "^2.0.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } } }, - "dotgitignore": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/dotgitignore/-/dotgitignore-2.1.0.tgz", - "integrity": "sha512-sCm11ak2oY6DglEPpCB8TixLjWAxd3kJTs6UIcSasNYxXdFPV+YKlye92c8H4kKFqV5qYMIh7d+cYecEg0dIkA==", + "eslint-plugin-import": { + "version": "2.24.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.24.2.tgz", + "integrity": "sha512-hNVtyhiEtZmpsabL4neEj+6M5DCLgpYyG9nzJY8lZQeQXEn5UPW1DpUdsMHMXsq98dbNm7nt1w9ZMSVpfJdi8Q==", "dev": true, "requires": { - "find-up": "^3.0.0", - "minimatch": "^3.0.4" + "array-includes": "^3.1.3", + "array.prototype.flat": "^1.2.4", + "debug": "^2.6.9", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.6", + "eslint-module-utils": "^2.6.2", + "find-up": "^2.0.0", + "has": "^1.0.3", + "is-core-module": "^2.6.0", + "minimatch": "^3.0.4", + "object.values": "^1.1.4", + "pkg-up": "^2.0.0", + "read-pkg-up": "^3.0.0", + "resolve": "^1.20.0", + "tsconfig-paths": "^3.11.0" }, "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { - "locate-path": "^3.0.0" + "locate-path": "^2.0.0" } }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, "requires": { - "p-locate": "^3.0.0", + "p-locate": "^2.0.0", "path-exists": "^3.0.0" } }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, "requires": { - "p-limit": "^2.0.0" + "p-limit": "^1.1.0" } }, "path-exists": { @@ -1936,140 +12597,194 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", "dev": true + }, + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "dev": true, + "requires": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + } + }, + "read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true } } }, - "duplexer2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "eslint-plugin-jsdoc": { + "version": "36.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-36.1.0.tgz", + "integrity": "sha512-Qpied2AJCQcScxfzTObLKRiP5QgLXjMU/ITjBagEV5p2Q/HpumD1EQtazdRYdjDSwPmXhwOl2yquwOGQ4HOJNw==", "dev": true, "requires": { - "readable-stream": "2.3.3" + "@es-joy/jsdoccomment": "0.10.8", + "comment-parser": "1.2.4", + "debug": "^4.3.2", + "esquery": "^1.4.0", + "jsdoc-type-pratt-parser": "^1.1.1", + "lodash": "^4.17.21", + "regextras": "^0.8.0", + "semver": "^7.3.5", + "spdx-expression-parse": "^3.0.1" } }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "eslint-plugin-prefer-arrow": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-prefer-arrow/-/eslint-plugin-prefer-arrow-1.2.3.tgz", + "integrity": "sha512-J9I5PKCOJretVuiZRGvPQxCbllxGAV/viI20JO3LYblAodofBxyMnZAJ+WGeClHgANnSJberTNoFWWjrWKBuXQ==", + "dev": true, + "requires": {} + }, + "eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, - "optional": true, "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" } }, - "ecstatic": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/ecstatic/-/ecstatic-3.3.2.tgz", - "integrity": "sha512-fLf9l1hnwrHI2xn9mEDT7KIi22UDqA2jaCwyCbSUJh9a1V+LEUSL/JO/6TIz/QyuBURWUHrFL5Kg2TtO1bkkog==", + "eslint-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", + "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", "dev": true, "requires": { - "he": "^1.1.1", - "mime": "^1.6.0", - "minimist": "^1.1.0", - "url-join": "^2.0.5" + "eslint-visitor-keys": "^2.0.0" } }, - "emoji-regex": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-6.1.3.tgz", - "integrity": "sha1-7HmjlpsC0uzytyJUJ5v5m8eoOTI=", - "dev": true - }, - "entities": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", - "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=", + "eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true }, - "error-ex": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", - "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", + "espree": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", + "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", "dev": true, "requires": { - "is-arrayish": "0.2.1" + "acorn": "^7.4.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^1.3.0" + }, + "dependencies": { + "acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true + }, + "acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "requires": {} + }, + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true + } } }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true }, - "escodegen": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.11.0.tgz", - "integrity": "sha512-IeMV45ReixHS53K/OmfKAIztN/igDHzTJUhZM3k1jMhIZWjk45SMwAtBsEXiJp3vSPmTcu6CXn7mDvFHRN66fw==", + "esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", "dev": true, - "optional": true, "requires": { - "esprima": "^3.1.3", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" + "estraverse": "^5.1.0" }, "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true } } }, - "esdoc": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-1.1.0.tgz", - "integrity": "sha512-vsUcp52XJkOWg9m1vDYplGZN2iDzvmjDL5M/Mp8qkoDG3p2s0yIQCIjKR5wfPBaM3eV14a6zhQNYiNTCVzPnxA==", + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "requires": { - "babel-generator": "6.26.1", - "babel-traverse": "6.26.0", - "babylon": "6.18.0", - "cheerio": "1.0.0-rc.2", - "color-logger": "0.0.6", - "escape-html": "1.0.3", - "fs-extra": "5.0.0", - "ice-cap": "0.0.4", - "marked": "0.3.19", - "minimist": "1.2.0", - "taffydb": "2.7.3" + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true + } } }, - "esprima": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", - "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", - "dev": true, - "optional": true - }, "estraverse": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", - "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", - "dev": true, - "optional": true + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true }, "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", "dev": true }, "extend": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", - "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "dev": true }, "extsprintf": { @@ -2080,25 +12795,53 @@ "optional": true }, "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-glob": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", + "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", "dev": true, - "optional": true + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + } }, "fast-json-stable-stringify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", - "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", - "dev": true, - "optional": true + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true }, "fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fastq": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.12.0.tgz", + "integrity": "sha512-VNX0QkHK3RsXVKr9KrlUv/FoTa0NdbYoHHl7uXHv2rzyHSlxjdNAKug2twd9luJxpcyNeAgf5iPPMutJO67Dfg==", "dev": true, - "optional": true + "requires": { + "reusify": "^1.0.4" + } + }, + "fault": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", + "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", + "dev": true, + "requires": { + "format": "^0.2.0" + } }, "figures": { "version": "3.2.0", @@ -2106,44 +12849,64 @@ "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", "dev": true, "requires": { - "escape-string-regexp": "^1.0.5" + "escape-string-regexp": "^1.0.5" + } + }, + "file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "requires": { + "flat-cache": "^3.0.4" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" } }, - "filled-array": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/filled-array/-/filled-array-1.1.0.tgz", - "integrity": "sha1-w8T2xmO5I0WamqKZEtLQMfFQf4Q=", + "flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true }, - "find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", "dev": true, "requires": { - "path-exists": "2.1.0", - "pinkie-promise": "2.0.1" + "flatted": "^3.1.0", + "rimraf": "^3.0.2" } }, + "flatted": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", + "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", + "dev": true + }, "follow-redirects": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", - "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", - "dev": true, - "requires": { - "debug": "=3.1.0" - }, - "dependencies": { - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - } - } + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", + "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==", + "dev": true }, "forever-agent": { "version": "0.6.1", @@ -2164,14 +12927,11 @@ "mime-types": "^2.1.12" } }, - "formatio": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/formatio/-/formatio-1.1.1.tgz", - "integrity": "sha1-XtPM1jZVEJc4NGXZlhmRAOhhYek=", - "dev": true, - "requires": { - "samsam": "1.1.3" - } + "format": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", + "integrity": "sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=", + "dev": true }, "fs-access": { "version": "1.0.1", @@ -2199,35 +12959,82 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "dev": true }, + "functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "dev": true + }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, "get-pkg-repo": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz", - "integrity": "sha1-xztInAbYDMVTbCyFP54FIyBWly0=", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.0.tgz", + "integrity": "sha512-eiSexNxIsij+l+IZzkqT52t4Lh+0ChN9l6Z3oennXLQT8OaJNvp9ecoXpmZ220lPYMwwM1KDal4w4ZA+smVLHA==", "dev": true, "requires": { - "hosted-git-info": "^2.1.4", - "meow": "^3.3.0", - "normalize-package-data": "^2.3.0", - "parse-github-repo-url": "^1.3.0", - "through2": "^2.0.0" + "@hutson/parse-repository-url": "^3.0.0", + "hosted-git-info": "^4.0.0", + "through2": "^2.0.0", + "yargs": "^17.0.1" }, "dependencies": { - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true }, "readable-stream": { @@ -2245,6 +13052,12 @@ "util-deprecate": "~1.0.1" } }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, "string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -2254,6 +13067,26 @@ "safe-buffer": "~5.1.0" } }, + "string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + }, "through2": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", @@ -2263,6 +13096,21 @@ "readable-stream": "~2.3.6", "xtend": "~4.0.1" } + }, + "yargs": { + "version": "17.1.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.1.1.tgz", + "integrity": "sha512-c2k48R0PwKIqKhPMWjeiF6y2xY/gPMUlro0sgxqXpbOIohWiLNXWslsootttv7E1e73QPAMQSg5FeySbVcpsPQ==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } } } }, @@ -2283,253 +13131,195 @@ } }, "git-raw-commits": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.0.tgz", - "integrity": "sha512-w4jFEJFgKXMQJ0H0ikBk2S+4KP2VEjhCvLCNqbNRQC8BgGWgLKNCO7a9K9LI+TVT7Gfoloje502sEnctibffgg==", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.10.tgz", + "integrity": "sha512-sHhX5lsbG9SOO6yXdlwgEMQ/ljIn7qMpAbJZCGfXX2fq5T8M5SrDnpYk9/4HswTildcIqatsWa91vty6VhWSaQ==", "dev": true, "requires": { - "dargs": "^4.0.1", - "lodash.template": "^4.0.2", - "meow": "^4.0.0", - "split2": "^2.0.0", - "through2": "^2.0.0" + "dargs": "^7.0.0", + "lodash": "^4.17.15", + "meow": "^8.0.0", + "split2": "^3.0.0", + "through2": "^4.0.0" }, "dependencies": { "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, "camelcase-keys": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", - "integrity": "sha1-oqpfsa9oh1glnDLBQUJteJI7m3c=", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", "dev": true, "requires": { - "camelcase": "^4.1.0", - "map-obj": "^2.0.0", - "quick-lru": "^1.0.0" + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" } }, "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "requires": { - "locate-path": "^2.0.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" } }, - "indent-string": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", "dev": true }, - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - } - }, "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "p-locate": "^4.1.0" } }, - "map-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", - "integrity": "sha1-plzSkIepJZi4eRJXpSPgISIqwfk=", - "dev": true - }, "meow": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-4.0.1.tgz", - "integrity": "sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A==", - "dev": true, - "requires": { - "camelcase-keys": "^4.0.0", - "decamelize-keys": "^1.0.0", - "loud-rejection": "^1.0.0", - "minimist": "^1.1.3", - "minimist-options": "^3.0.1", - "normalize-package-data": "^2.3.4", - "read-pkg-up": "^3.0.0", - "redent": "^2.0.0", - "trim-newlines": "^2.0.0" - } - }, - "minimist-options": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", - "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, "requires": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0" + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" } }, "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "requires": { - "p-try": "^1.0.0" + "p-try": "^2.0.0" } }, "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "requires": { - "p-limit": "^1.1.0" + "p-limit": "^2.2.0" } }, "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "^3.0.0" - } - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true }, "quick-lru": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", - "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "dev": true }, "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", "dev": true, "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true + } } }, "read-pkg-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", - "dev": true, - "requires": { - "find-up": "^2.0.0", - "read-pkg": "^3.0.0" - } - }, - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", "dev": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "dependencies": { + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + } } }, "redent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", - "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=", - "dev": true, - "requires": { - "indent-string": "^3.0.0", - "strip-indent": "^2.0.0" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", "dev": true, "requires": { - "safe-buffer": "~5.1.0" + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" } }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true }, "strip-indent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", - "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=", - "dev": true - }, - "through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", "dev": true, "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" + "min-indent": "^1.0.0" } }, "trim-newlines": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", - "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true + }, + "type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true } } @@ -2545,12 +13335,12 @@ } }, "git-semver-tags": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.0.tgz", - "integrity": "sha512-TcxAGeo03HdErzKzi4fDD+xEL7gi8r2Y5YSxH6N2XYdVSV5UkBwfrt7Gqo1b+uSHCjy/sa9Y6BBBxxFLxfbhTg==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", + "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", "dev": true, "requires": { - "meow": "^7.0.0", + "meow": "^8.0.0", "semver": "^6.0.0" }, "dependencies": { @@ -2581,22 +13371,25 @@ "path-exists": "^4.0.0" } }, - "indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", "dev": true }, - "map-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz", - "integrity": "sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g==", - "dev": true + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } }, "meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", "dev": true, "requires": { "@types/minimist": "^1.2.0", @@ -2604,56 +13397,42 @@ "decamelize-keys": "^1.1.0", "hard-rejection": "^2.1.0", "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", + "normalize-package-data": "^3.0.0", "read-pkg-up": "^7.0.1", "redent": "^3.0.0", "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" } }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } + "p-try": "^2.0.0" } }, - "parse-json": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", - "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" + "p-limit": "^2.2.0" } }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "dev": true }, "read-pkg": { @@ -2668,6 +13447,24 @@ "type-fest": "^0.6.0" }, "dependencies": { + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, "type-fest": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", @@ -2705,15 +13502,6 @@ "strip-indent": "^3.0.0" } }, - "resolve": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", - "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", - "dev": true, - "requires": { - "path-parse": "^1.0.6" - } - }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -2730,9 +13518,15 @@ } }, "trim-newlines": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true + }, + "type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true } } @@ -2747,17 +13541,26 @@ } }, "glob": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", "dev": true, "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" } }, "globals": { @@ -2767,46 +13570,23 @@ "dev": true }, "globby": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", - "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", + "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", "dev": true, "requires": { - "array-union": "1.0.2", - "arrify": "1.0.1", - "glob": "7.1.2", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - } - }, - "got": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/got/-/got-5.7.1.tgz", - "integrity": "sha1-X4FjWmHkplifGAVp6k44FoClHzU=", - "dev": true, - "requires": { - "create-error-class": "3.0.2", - "duplexer2": "0.1.4", - "is-redirect": "1.0.0", - "is-retry-allowed": "1.1.0", - "is-stream": "1.1.0", - "lowercase-keys": "1.0.0", - "node-status-codes": "1.0.0", - "object-assign": "4.1.1", - "parse-json": "2.2.0", - "pinkie-promise": "2.0.1", - "read-all-stream": "3.1.0", - "readable-stream": "2.3.3", - "timed-out": "3.1.3", - "unzip-response": "1.0.2", - "url-parse-lax": "1.0.0" + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.1.1", + "ignore": "^5.1.4", + "merge2": "^1.3.0", + "slash": "^3.0.0" } }, "graceful-fs": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", "dev": true }, "growl": { @@ -2816,9 +13596,9 @@ "dev": true }, "handlebars": { - "version": "4.7.6", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.6.tgz", - "integrity": "sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==", + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", "dev": true, "requires": { "minimist": "^1.2.5", @@ -2828,12 +13608,6 @@ "wordwrap": "^1.0.0" }, "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -2850,13 +13624,13 @@ "optional": true }, "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", "dev": true, "optional": true, "requires": { - "ajv": "^6.5.5", + "ajv": "^6.12.3", "har-schema": "^2.0.0" } }, @@ -2867,12 +13641,12 @@ "dev": true }, "has": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.1.tgz", - "integrity": "sha1-hGFzP1OLCDfJNh45qauelwTcLyg=", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, "requires": { - "function-bind": "1.1.1" + "function-bind": "^1.1.1" } }, "has-ansi": { @@ -2881,15 +13655,36 @@ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "requires": { - "ansi-regex": "2.1.1" + "ansi-regex": "^2.0.0" } }, + "has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true + }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, + "has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "dev": true + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, "he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -2897,23 +13692,82 @@ "dev": true }, "hosted-git-info": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz", - "integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==", - "dev": true + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", + "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } }, "htmlparser2": { - "version": "3.9.2", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.9.2.tgz", - "integrity": "sha1-G9+HrMoPP55T+k/M6w9LTLsAszg=", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-4.1.0.tgz", + "integrity": "sha512-4zDq1a1zhE4gQso/c5LP1OtrhYTncXNSpvJYtWJBtXAETPlMfi3IFNjGuQbYLuVY4ZR0QMqRVvo4Pdy9KLyP8Q==", "dev": true, "requires": { - "domelementtype": "1.3.0", - "domhandler": "2.4.1", - "domutils": "1.6.2", - "entities": "1.1.1", - "inherits": "2.0.3", - "readable-stream": "2.3.3" + "domelementtype": "^2.0.1", + "domhandler": "^3.0.0", + "domutils": "^2.0.0", + "entities": "^2.0.0" + }, + "dependencies": { + "dom-serializer": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", + "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", + "dev": true, + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "dependencies": { + "domhandler": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz", + "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==", + "dev": true, + "requires": { + "domelementtype": "^2.2.0" + } + } + } + }, + "domelementtype": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", + "dev": true + }, + "domutils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "dev": true, + "requires": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "dependencies": { + "domhandler": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz", + "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==", + "dev": true, + "requires": { + "domelementtype": "^2.2.0" + } + } + } + }, + "entities": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "dev": true + } } }, "http-proxy": { @@ -2925,30 +13779,26 @@ "eventemitter3": "^4.0.0", "follow-redirects": "^1.0.0", "requires-port": "^1.0.0" - }, - "dependencies": { - "eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - } } }, "http-server": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/http-server/-/http-server-0.11.1.tgz", - "integrity": "sha512-6JeGDGoujJLmhjiRGlt8yK8Z9Kl0vnl/dQoQZlc4oeqaUoAKQg94NILLfrY3oWzSyFaQCVNTcKE5PZ3cH8VP9w==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/http-server/-/http-server-13.0.1.tgz", + "integrity": "sha512-ke9rphoNuqsOCHy4tA3b3W4Yuxy7VUIXcTHSLz6bkMDAJPQD4twjEatquelJBIPwNhZuC3+FYj/+dSaGHdKTCw==", "dev": true, "requires": { - "colors": "1.0.3", - "corser": "~2.0.0", - "ecstatic": "^3.0.0", - "http-proxy": "^1.8.1", - "opener": "~1.4.0", - "optimist": "0.6.x", - "portfinder": "^1.0.13", - "union": "~0.4.3" + "basic-auth": "^1.0.3", + "colors": "^1.4.0", + "corser": "^2.0.1", + "he": "^1.1.0", + "http-proxy": "^1.18.0", + "mime": "^1.6.0", + "minimist": "^1.2.5", + "opener": "^1.5.1", + "portfinder": "^1.0.25", + "secure-compare": "3.0.1", + "union": "~0.5.0", + "url-join": "^2.0.5" } }, "http-signature": { @@ -3002,16 +13852,6 @@ "domelementtype": "1" } }, - "domutils": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", - "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", - "dev": true, - "requires": { - "dom-serializer": "0", - "domelementtype": "1" - } - }, "htmlparser2": { "version": "3.8.3", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz", @@ -3033,12 +13873,6 @@ } } }, - "isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", - "dev": true - }, "readable-stream": { "version": "1.1.14", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", @@ -3059,6 +13893,22 @@ } } }, + "ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", + "dev": true + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -3066,13 +13916,10 @@ "dev": true }, "indent-string": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", - "dev": true, - "requires": { - "repeating": "2.0.1" - } + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true }, "inflight": { "version": "1.0.6", @@ -3080,27 +13927,32 @@ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "requires": { - "once": "1.4.0", - "wrappy": "1.0.2" + "once": "^1.3.0", + "wrappy": "1" } }, "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, "ini": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz", - "integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4=", + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true }, - "interpret": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", - "dev": true + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } }, "invariant": { "version": "2.2.4", @@ -3112,19 +13964,19 @@ } }, "is-alphabetical": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.2.tgz", - "integrity": "sha512-V0xN4BYezDHcBSKb1QHUFMlR4as/XEuCZBzMJUU4n7+Cbt33SmUnSol+pnXFvLxSHNq2CemUXNdaXV6Flg7+xg==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz", + "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==", "dev": true }, "is-alphanumerical": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.2.tgz", - "integrity": "sha512-pyfU/0kHdISIgslFfZN9nfY1Gk3MquQgUm1mJTjdkEPpkAKNWuBTSqFwewOpR7N351VkErCiyV71zX7mlQQqsg==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz", + "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==", "dev": true, "requires": { - "is-alphabetical": "1.0.2", - "is-decimal": "1.0.2" + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0" } }, "is-arrayish": { @@ -3133,105 +13985,176 @@ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "is-builtin-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", "dev": true, "requires": { - "builtin-modules": "1.1.1" + "has-bigints": "^1.0.1" } }, - "is-decimal": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.2.tgz", - "integrity": "sha512-TRzl7mOCchnhchN+f3ICUCzYvL9ul7R+TYOsZ8xia++knyZAJfv/uA1FvQXsAnYIl1T3B2X5E/J7Wb1QXiIBXg==", + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", "dev": true }, - "is-finite": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true + }, + "is-core-module": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.6.0.tgz", + "integrity": "sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==", "dev": true, "requires": { - "number-is-nan": "1.0.1" + "has": "^1.0.3" } }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", "dev": true, "requires": { - "number-is-nan": "1.0.1" + "has-tostringtag": "^1.0.0" } }, - "is-hexadecimal": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.2.tgz", - "integrity": "sha512-but/G3sapV3MNyqiDBLrOi4x8uCIw0RY3o/Vb5GT0sMFHrVV7731wFSVy41T5FO1og7G0gXLJh0MkgPRouko/A==", + "is-decimal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz", + "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==", "dev": true }, - "is-npm": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", - "integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ=", + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", "dev": true }, - "is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", "dev": true }, - "is-path-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", - "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, - "is-path-in-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz", - "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=", + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", "dev": true, "requires": { - "is-path-inside": "1.0.0" + "is-extglob": "^2.1.1" } }, - "is-path-inside": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.0.tgz", - "integrity": "sha1-/AbloWg/vaE95mev9xe7wQpI838=", + "is-hexadecimal": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz", + "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==", + "dev": true + }, + "is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", "dev": true, "requires": { - "path-is-inside": "1.0.2" + "has-tostringtag": "^1.0.0" } }, - "is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", "dev": true }, - "is-redirect": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", - "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=", + "is-path-cwd": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", + "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", "dev": true }, - "is-retry-allowed": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", - "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=", + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true }, - "is-stream": { + "is-plain-obj": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", "dev": true }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, "is-text-path": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", @@ -3248,16 +14171,34 @@ "dev": true, "optional": true }, - "is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true + }, + "is-whitespace-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz", + "integrity": "sha512-SDweEzfIZM0SJV0EUga669UTKlmL0Pq8Lno0QDQsPnvECB3IM2aP0gdx5TrU0A01MAPfViaZiI2V1QMZLaKK5w==", + "dev": true + }, + "is-word-character": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-word-character/-/is-word-character-1.0.4.tgz", + "integrity": "sha512-5SMO8RVennx3nZrqtKwCGyyetPE9VDba5ugvKLaD4KopPG5kR4mQ7tNt/r7feL5yt5h3lpuBbIUmCOG2eSzXHA==", "dev": true }, "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, "isstream": { @@ -3274,21 +14215,12 @@ "dev": true }, "js-yaml": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", - "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "requires": { - "argparse": "1.0.10", - "esprima": "4.0.0" - }, - "dependencies": { - "esprima": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==", - "dev": true - } + "argparse": "^2.0.1" } }, "jsbn": { @@ -3298,6 +14230,12 @@ "dev": true, "optional": true }, + "jsdoc-type-pratt-parser": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-1.1.1.tgz", + "integrity": "sha512-uelRmpghNwPBuZScwgBG/OzodaFk5RbO5xaivBdsAY70icWfShwZ7PCMO0x1zSkOa8T1FzHThmrdoyg/0AwV5g==", + "dev": true + }, "jsdom": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-7.2.2.tgz", @@ -3333,7 +14271,7 @@ }, "jsesc": { "version": "1.3.0", - "resolved": "http://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", "dev": true }, @@ -3360,8 +14298,13 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true, - "optional": true + "dev": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true }, "json-stringify-safe": { "version": "5.0.1", @@ -3369,6 +14312,15 @@ "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", "dev": true }, + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, "jsonfile": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", @@ -3384,6 +14336,16 @@ "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", "dev": true }, + "JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "requires": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + } + }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", @@ -3397,27 +14359,27 @@ "verror": "1.10.0" } }, + "just-extend": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", + "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", + "dev": true + }, "kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true }, - "latest-version": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-2.0.0.tgz", - "integrity": "sha1-VvjWE5YghHuAF/jx9NeOIRMkFos=", + "klaw": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", + "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", "dev": true, "requires": { - "package-json": "2.4.0" + "graceful-fs": "^4.1.9" } }, - "lazy-req": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/lazy-req/-/lazy-req-1.1.0.tgz", - "integrity": "sha1-va6+rTD42CQDnODOFJ1Nqge6H6w=", - "dev": true - }, "levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", @@ -3436,37 +14398,96 @@ "dev": true }, "load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", "dev": true, "requires": { - "graceful-fs": "4.1.11", - "parse-json": "2.2.0", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "strip-bom": "2.0.0" + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + } } }, "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "requires": { - "p-locate": "^4.1.0" + "p-locate": "^5.0.0" } }, "lodash": { - "version": "4.17.19", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", - "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, - "lodash._reinterpolate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=", + "lodash.assignin": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz", + "integrity": "sha1-uo31+4QesKPoBEIysOJjqNxqKKI=", + "dev": true + }, + "lodash.bind": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/lodash.bind/-/lodash.bind-4.2.1.tgz", + "integrity": "sha1-euMBfpOWIqwxt9fX3LGzTbFpDTU=", + "dev": true + }, + "lodash.clonedeep": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", + "dev": true + }, + "lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=", + "dev": true + }, + "lodash.filter": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.filter/-/lodash.filter-4.6.0.tgz", + "integrity": "sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4=", + "dev": true + }, + "lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=", + "dev": true + }, + "lodash.foreach": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz", + "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=", + "dev": true + }, + "lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", "dev": true }, "lodash.ismatch": { @@ -3475,37 +14496,109 @@ "integrity": "sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc=", "dev": true }, - "lodash.template": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", - "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==", - "dev": true, - "requires": { - "lodash._reinterpolate": "^3.0.0", - "lodash.templatesettings": "^4.0.0" - } + "lodash.map": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", + "integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=", + "dev": true }, - "lodash.templatesettings": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz", - "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==", - "dev": true, - "requires": { - "lodash._reinterpolate": "^3.0.0" - } + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true }, - "lolex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/lolex/-/lolex-1.1.0.tgz", - "integrity": "sha1-Xbu8hQOV51I8dLNYb3+9JibSWxs=", + "lodash.pick": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", + "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=", "dev": true }, - "longest-streak": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-1.0.0.tgz", - "integrity": "sha1-0GWXxNTDG1LMsfXY+P5xSOr9aWU=", + "lodash.reduce": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reduce/-/lodash.reduce-4.6.0.tgz", + "integrity": "sha1-8atrg5KZrUj3hKu/R2WW8DuRTTs=", + "dev": true + }, + "lodash.reject": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.reject/-/lodash.reject-4.6.0.tgz", + "integrity": "sha1-gNZJLcFHCGS79YNTO2UfQqn1JBU=", + "dev": true + }, + "lodash.some": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.some/-/lodash.some-4.6.0.tgz", + "integrity": "sha1-G7nzFO9ri63tE7VJFpsqlF62jk0=", + "dev": true + }, + "lodash.truncate": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", + "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", "dev": true }, + "log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -3515,74 +14608,73 @@ "js-tokens": "^3.0.0 || ^4.0.0" } }, - "loud-rejection": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, "requires": { - "currently-unhandled": "0.4.1", - "signal-exit": "3.0.2" + "yallist": "^4.0.0" } }, - "lowercase-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz", - "integrity": "sha1-TjNms55/VFfjXxMkvfb4jQv8cwY=", - "dev": true - }, "make-error": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.0.tgz", - "integrity": "sha1-Uq06M5zPEM5itAQLcI/nByRLi5Y=", + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", "dev": true }, "map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz", + "integrity": "sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ==", "dev": true }, - "markdown-table": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-0.4.0.tgz", - "integrity": "sha1-iQwsGzv+g/sA5BKbjkz+ZFJw+dE=", + "markdown-escapes": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz", + "integrity": "sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==", "dev": true }, - "markdown-to-ast": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/markdown-to-ast/-/markdown-to-ast-3.4.0.tgz", - "integrity": "sha1-Diy6gTkLBUmpFT7DsNkVthwWS+c=", - "dev": true, - "requires": { - "debug": "^2.1.3", - "remark": "5.1.0", - "structured-source": "3.0.2", - "traverse": "0.6.6" - } - }, "marked": { "version": "0.3.19", - "resolved": "http://registry.npmjs.org/marked/-/marked-0.3.19.tgz", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.19.tgz", "integrity": "sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg==", "dev": true }, "meow": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-10.1.1.tgz", + "integrity": "sha512-uzOAEBTGujHAD6bVzIQQk5kDTgatxmpVmr1pj9QhwsHLEG2AiB+9F08/wmjrZIk4h5pWxERd7+jqGZywYx3ZFw==", "dev": true, "requires": { - "camelcase-keys": "2.1.0", - "decamelize": "1.2.0", - "loud-rejection": "1.6.0", - "map-obj": "1.0.1", - "minimist": "1.2.0", - "normalize-package-data": "2.4.0", - "object-assign": "4.1.1", - "read-pkg-up": "1.0.1", - "redent": "1.0.0", - "trim-newlines": "1.0.0" + "@types/minimist": "^1.2.2", + "camelcase-keys": "^7.0.0", + "decamelize": "^5.0.0", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.2", + "read-pkg-up": "^8.0.0", + "redent": "^4.0.0", + "trim-newlines": "^4.0.2", + "type-fest": "^1.2.2", + "yargs-parser": "^20.2.9" + } + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true + }, + "micromatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.2.3" } }, "mime": { @@ -3592,20 +14684,20 @@ "dev": true }, "mime-db": { - "version": "1.37.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz", - "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==", + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", "dev": true, "optional": true }, "mime-types": { - "version": "2.1.21", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz", - "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==", + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", "dev": true, "optional": true, "requires": { - "mime-db": "~1.37.0" + "mime-db": "1.49.0" } }, "min-indent": { @@ -3620,13 +14712,13 @@ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { - "brace-expansion": "1.1.8" + "brace-expansion": "^1.1.7" } }, "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "dev": true }, "minimist-options": { @@ -3641,82 +14733,99 @@ } }, "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "requires": { - "minimist": "0.0.8" - }, - "dependencies": { - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true - } + "minimist": "^1.2.5" } }, "mocha": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz", - "integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.1.tgz", + "integrity": "sha512-0wE74YMgOkCgBUj8VyIDwmLUjTsS13WV1Pg7l0SHea2qzZzlq7MDnfbPsHKcELBRk3+izEVkRofjmClpycudCA==", "dev": true, "requires": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "commander": "2.15.1", - "debug": "3.1.0", - "diff": "3.5.0", - "escape-string-regexp": "1.0.5", - "glob": "7.1.2", + "chokidar": "3.5.2", + "debug": "4.3.1", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.1.7", "growl": "1.10.5", - "he": "1.1.1", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", "minimatch": "3.0.4", - "mkdirp": "0.5.1", - "supports-color": "5.4.0" + "ms": "2.1.3", + "nanoid": "3.1.23", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "which": "2.0.2", + "wide-align": "1.1.3", + "workerpool": "6.1.5", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" }, "dependencies": { "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", "dev": true, "requires": { - "ms": "2.0.0" + "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } } }, - "diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true }, - "he": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", - "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" } + }, + "yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true } } }, - "mock-require": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/mock-require/-/mock-require-2.0.2.tgz", - "integrity": "sha1-HqpxqtIwE3c9En3H6Ro/u0g31g0=", - "dev": true, - "requires": { - "caller-id": "0.1.0" - } - }, "modify-values": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", @@ -3724,9 +14833,21 @@ "dev": true }, "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "nanoid": { + "version": "3.1.23", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", + "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==", + "dev": true + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, "neo-async": { @@ -3735,24 +14856,37 @@ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", "dev": true }, - "node-status-codes": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz", - "integrity": "sha1-WuVUHQJGRdMqWPzdyc7s6nrjrC8=", - "dev": true + "nise": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.0.tgz", + "integrity": "sha512-W5WlHu+wvo3PaKLsJJkgPup2LrsXCcm7AWwyNZkUnn5rwPkuPBi3Iwk5SQtN0mv+K65k7nKKjwNQ30wg3wLAQQ==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0", + "@sinonjs/fake-timers": "^7.0.4", + "@sinonjs/text-encoding": "^0.7.1", + "just-extend": "^4.0.2", + "path-to-regexp": "^1.7.0" + } }, "normalize-package-data": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", - "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", "dev": true, "requires": { - "hosted-git-info": "2.5.0", - "is-builtin-module": "1.0.0", - "semver": "5.4.1", - "validate-npm-package-license": "3.0.1" + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" } }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, "nth-check": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", @@ -3768,12 +14902,6 @@ "integrity": "sha1-l33/1xdgErnsMNKjnbXPcqBDnt0=", "dev": true }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "dev": true - }, "nwmatcher": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz", @@ -3788,151 +14916,137 @@ "dev": true, "optional": true }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "object-inspect": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", "dev": true }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", "dev": true, "requires": { - "wrappy": "1.0.2" + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" } }, - "opener": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/opener/-/opener-1.4.3.tgz", - "integrity": "sha1-XG2ixdflgx6P+jlklQ+NZnSskLg=", - "dev": true - }, - "optimist": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", - "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "object.values": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.4.tgz", + "integrity": "sha512-TnGo7j4XSnKQoK3MfvkzqKCi0nVe/D9I9IjwTNYdb/fxYHpjrluHVOgw0AF6jrRFGMPHdfuidR09tIDiIvnaSg==", "dev": true, "requires": { - "minimist": "0.0.10", - "wordwrap": "0.0.3" - }, - "dependencies": { - "minimist": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", - "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", - "dev": true - }, - "wordwrap": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", - "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", - "dev": true - } + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.2" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" } }, + "opener": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz", + "integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==", + "dev": true + }, "optionator": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", - "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", "dev": true, "optional": true, "requires": { "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.4", + "fast-levenshtein": "~2.0.6", "levn": "~0.3.0", "prelude-ls": "~1.1.2", "type-check": "~0.3.2", - "wordwrap": "~1.0.0" + "word-wrap": "~1.2.3" } }, - "os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true - }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true - }, - "osenv": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz", - "integrity": "sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ=", + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, "requires": { - "os-homedir": "1.0.2", - "os-tmpdir": "1.0.2" + "yocto-queue": "^0.1.0" } }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "requires": { - "p-try": "^2.0.0" + "p-limit": "^3.0.2" } }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, "requires": { - "p-limit": "^2.2.0" + "aggregate-error": "^3.0.0" } }, "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", "dev": true }, - "package-json": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/package-json/-/package-json-2.4.0.tgz", - "integrity": "sha1-DRW9Z9HLvduyyiIv8u24a8sxqLs=", + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, "requires": { - "got": "5.7.1", - "registry-auth-token": "3.3.1", - "registry-url": "3.1.0", - "semver": "5.4.1" + "callsites": "^3.0.0" } }, "parse-entities": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.1.2.tgz", - "integrity": "sha512-5N9lmQ7tmxfXf+hO3X6KRG6w7uYO/HL9fHalSySTdyn63C3WNvTM/1R8tn1u1larNcEbo3Slcy2bsVDQqvEpUg==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-1.2.2.tgz", + "integrity": "sha512-NzfpbxW/NPrzZ/yYSoQxyqUZMZXIdCfE0OIN4ESsnptHJECoUk3FZktxNuzQf4tjt5UEopnxpYJbvYuxIFDdsg==", "dev": true, "requires": { - "character-entities": "1.2.2", - "character-entities-legacy": "1.1.2", - "character-reference-invalid": "1.1.2", - "is-alphanumerical": "1.0.2", - "is-decimal": "1.0.2", - "is-hexadecimal": "1.0.2" + "character-entities": "^1.0.0", + "character-entities-legacy": "^1.0.0", + "character-reference-invalid": "^1.0.0", + "is-alphanumerical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-hexadecimal": "^1.0.0" } }, - "parse-github-repo-url": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz", - "integrity": "sha1-nn2LslKmy2ukJZUGC3v23z28H1A=", - "dev": true - }, "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "dev": true, "requires": { - "error-ex": "1.3.1" + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" } }, "parse5": { @@ -3945,13 +15059,10 @@ } }, "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dev": true, - "requires": { - "pinkie-promise": "2.0.1" - } + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true }, "path-is-absolute": { "version": "1.0.1", @@ -3959,29 +15070,39 @@ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, - "path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, "path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, - "path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "path-to-regexp": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", + "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", "dev": true, "requires": { - "graceful-fs": "4.1.11", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" + "isarray": "0.0.1" } }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true + }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -3989,36 +15110,146 @@ "dev": true, "optional": true }, + "picomatch": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "dev": true + }, "pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true }, - "pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "dev": true + "pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "requires": { + "find-up": "^2.1.0" + }, + "dependencies": { + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + } + } }, - "pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz", + "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=", "dev": true, "requires": { - "pinkie": "2.0.4" + "find-up": "^2.1.0" + }, + "dependencies": { + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + } } }, "portfinder": { - "version": "1.0.20", - "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.20.tgz", - "integrity": "sha512-Yxe4mTyDzTd59PZJY4ojZR8F+E5e97iq2ZOHPz3HDgSvYC5siNad2tLooQ5y5QHyQhc3xVqvyk/eNA3wuoa7Sw==", + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", + "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", "dev": true, "requires": { - "async": "^1.5.2", - "debug": "^2.2.0", - "mkdirp": "0.5.x" + "async": "^2.6.2", + "debug": "^3.1.1", + "mkdirp": "^0.5.5" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } } }, "prelude-ls": { @@ -4028,22 +15259,22 @@ "dev": true, "optional": true }, - "prepend-http": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", - "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "dev": true }, - "process-nextick-args": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", - "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", + "progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true }, "psl": { - "version": "1.1.31", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.31.tgz", - "integrity": "sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", "dev": true, "optional": true }, @@ -4051,8 +15282,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true, - "optional": true + "dev": true }, "q": { "version": "1.5.1", @@ -4061,93 +15291,94 @@ "dev": true }, "qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", + "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", "dev": true, - "optional": true + "requires": { + "side-channel": "^1.0.4" + } }, - "quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dev": true }, - "rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dev": true, - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - } + "quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true }, - "read-all-stream": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz", - "integrity": "sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po=", + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, "requires": { - "pinkie-promise": "2.0.1", - "readable-stream": "2.3.3" + "safe-buffer": "^5.1.0" } }, "read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-6.0.0.tgz", + "integrity": "sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==", "dev": true, "requires": { - "load-json-file": "1.1.0", - "normalize-package-data": "2.4.0", - "path-type": "1.1.0" + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^3.0.2", + "parse-json": "^5.2.0", + "type-fest": "^1.0.1" } }, "read-pkg-up": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-8.0.0.tgz", + "integrity": "sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==", "dev": true, "requires": { - "find-up": "1.1.2", - "read-pkg": "1.1.0" + "find-up": "^5.0.0", + "read-pkg": "^6.0.0", + "type-fest": "^1.0.1" } }, "readable-stream": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", - "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "1.0.7", - "safe-buffer": "5.1.1", - "string_decoder": "1.0.3", - "util-deprecate": "1.0.2" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" } }, - "rechoir": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, "requires": { - "resolve": "^1.1.6" + "picomatch": "^2.2.1" } }, "redent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-4.0.0.tgz", + "integrity": "sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==", "dev": true, "requires": { - "indent-string": "2.1.0", - "strip-indent": "1.0.1" + "indent-string": "^5.0.0", + "strip-indent": "^4.0.0" + }, + "dependencies": { + "indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true + } } }, "regenerator-runtime": { @@ -4156,67 +15387,49 @@ "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", "dev": true }, - "registry-auth-token": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.1.tgz", - "integrity": "sha1-+w0yie4Nmtosu1KvXf5mywcNMAY=", - "dev": true, - "requires": { - "rc": "^1.1.6", - "safe-buffer": "5.1.1" - } + "regexpp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "dev": true }, - "registry-url": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", - "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", - "dev": true, - "requires": { - "rc": "^1.0.1" - } + "regextras": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/regextras/-/regextras-0.8.0.tgz", + "integrity": "sha512-k519uI04Z3SaY0fLX843MRXnDeG2+vHOFsyhiPZvNLe7r8rD2YNRjq4BQLZZ0oAr2NrtvZlICsXysGNFPGa3CQ==", + "dev": true }, - "remark": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/remark/-/remark-5.1.0.tgz", - "integrity": "sha1-y0Y709vLS5l5STXu4c9x16jjBow=", + "remark-frontmatter": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/remark-frontmatter/-/remark-frontmatter-1.3.3.tgz", + "integrity": "sha512-fM5eZPBvu2pVNoq3ZPW22q+5Ativ1oLozq2qYt9I2oNyxiUd/tDl0iLLntEVAegpZIslPWg1brhcP1VsaSVUag==", "dev": true, "requires": { - "remark-parse": "1.1.0", - "remark-stringify": "1.1.0", - "unified": "4.2.1" + "fault": "^1.0.1", + "xtend": "^4.0.1" } }, "remark-parse": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-1.1.0.tgz", - "integrity": "sha1-w8oQ+ajaBGFcKPCapOMEUQUm7CE=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-5.0.0.tgz", + "integrity": "sha512-b3iXszZLH1TLoyUzrATcTQUZrwNl1rE70rVdSruJFlDaJ9z5aMkhrG43Pp68OgfHndL/ADz6V69Zow8cTQu+JA==", "dev": true, "requires": { - "collapse-white-space": "1.0.4", - "extend": "3.0.1", - "parse-entities": "1.1.2", - "repeat-string": "1.6.1", + "collapse-white-space": "^1.0.2", + "is-alphabetical": "^1.0.0", + "is-decimal": "^1.0.0", + "is-whitespace-character": "^1.0.0", + "is-word-character": "^1.0.0", + "markdown-escapes": "^1.0.0", + "parse-entities": "^1.1.0", + "repeat-string": "^1.5.4", + "state-toggle": "^1.0.0", "trim": "0.0.1", - "trim-trailing-lines": "1.1.1", - "unherit": "1.1.1", - "unist-util-remove-position": "1.1.2", - "vfile-location": "2.0.3" - } - }, - "remark-stringify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-1.1.0.tgz", - "integrity": "sha1-pxBeJbnuK/mkm3XSxCPxGwauIJI=", - "dev": true, - "requires": { - "ccount": "1.0.3", - "extend": "3.0.1", - "longest-streak": "1.0.0", - "markdown-table": "0.4.0", - "parse-entities": "1.1.2", - "repeat-string": "1.6.1", - "stringify-entities": "1.3.2", - "unherit": "1.1.1" + "trim-trailing-lines": "^1.0.0", + "unherit": "^1.0.4", + "unist-util-remove-position": "^1.0.0", + "vfile-location": "^2.0.0", + "xtend": "^4.0.1" } }, "repeat-string": { @@ -4231,13 +15444,19 @@ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", "dev": true, "requires": { - "is-finite": "1.0.2" + "is-finite": "^1.0.0" } }, + "replace-ext": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", + "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=", + "dev": true + }, "request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", "dev": true, "optional": true, "requires": { @@ -4248,7 +15467,7 @@ "extend": "~3.0.2", "forever-agent": "~0.6.1", "form-data": "~2.3.2", - "har-validator": "~5.1.0", + "har-validator": "~5.1.3", "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", @@ -4258,47 +15477,15 @@ "performance-now": "^2.1.0", "qs": "~6.5.2", "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", + "tough-cookie": "~2.5.0", "tunnel-agent": "^0.6.0", "uuid": "^3.3.2" - }, - "dependencies": { - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", - "dev": true, - "optional": true - }, - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", - "dev": true, - "optional": true - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true, - "optional": true - }, - "tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", - "dev": true, - "optional": true, - "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - } - }, - "uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", + }, + "dependencies": { + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", "dev": true, "optional": true } @@ -4310,10 +15497,10 @@ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", "dev": true }, - "require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true }, "requires-port": { @@ -4323,27 +15510,49 @@ "dev": true }, "resolve": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", - "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", + "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", "dev": true, "requires": { - "path-parse": "1.0.5" + "is-core-module": "^2.2.0", + "path-parse": "^1.0.6" } }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true + }, "rimraf": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz", - "integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", "dev": true, "requires": { - "glob": "7.1.2" + "queue-microtask": "^1.2.2" } }, "safe-buffer": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "dev": true }, "safer-buffer": { @@ -4353,12 +15562,6 @@ "dev": true, "optional": true }, - "samsam": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.1.3.tgz", - "integrity": "sha1-n1CHQZtNCR8jJXHn+lLpCw9VJiE=", - "dev": true - }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -4366,95 +15569,172 @@ "dev": true, "optional": true }, - "semver": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz", - "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==", + "secure-compare": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/secure-compare/-/secure-compare-3.0.1.tgz", + "integrity": "sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=", "dev": true }, - "semver-diff": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz", - "integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=", + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", "dev": true, "requires": { - "semver": "5.4.1" + "lru-cache": "^6.0.0" } }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", - "dev": true + "serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } }, - "shelljs": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz", - "integrity": "sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==", + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "requires": { - "glob": "^7.0.0", - "interpret": "^1.0.0", - "rechoir": "^0.6.2" + "shebang-regex": "^3.0.0" } }, - "signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, - "sinon": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/sinon/-/sinon-1.14.1.tgz", - "integrity": "sha1-2CeXhBkYc0UHyUt6c+P1YJBFeK0=", + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", "dev": true, "requires": { - "formatio": "1.1.1", - "lolex": "1.1.0", - "util": "0.10.3" + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" } }, - "slide": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", - "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=", - "dev": true + "sinon": { + "version": "11.1.2", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-11.1.2.tgz", + "integrity": "sha512-59237HChms4kg7/sXhiRcUzdSkKuydDeTiamT/jesUVHshBgL8XAmhgFo0GfK6RruMDM/iRSij1EybmMog9cJw==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.8.3", + "@sinonjs/fake-timers": "^7.1.2", + "@sinonjs/samsam": "^6.0.2", + "diff": "^5.0.0", + "nise": "^5.1.0", + "supports-color": "^7.2.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } }, - "source-map": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", - "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=", + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true }, - "source-map-support": { - "version": "0.4.15", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.15.tgz", - "integrity": "sha1-AyAt9lwG0r2MfsI2KhkwVv7407E=", + "slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "dev": true, "requires": { - "source-map": "0.5.6" + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + } } }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, "spdx-correct": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", - "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", "dev": true, "requires": { - "spdx-license-ids": "1.2.2" + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" } }, - "spdx-expression-parse": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", - "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=", + "spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", "dev": true }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, "spdx-license-ids": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", - "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=", + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz", + "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", "dev": true }, "split": { @@ -4467,54 +15747,12 @@ } }, "split2": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/split2/-/split2-2.2.0.tgz", - "integrity": "sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", + "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", "dev": true, "requires": { - "through2": "^2.0.2" - }, - "dependencies": { - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true - }, - "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - } + "readable-stream": "^3.0.0" } }, "sprintf-js": { @@ -4524,9 +15762,9 @@ "dev": true }, "sshpk": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.0.tgz", - "integrity": "sha512-Zhev35/y7hRMcID/upReIvRse+I9SVhyVre/KTJSJQWMz3C3+G+HpO7m1wK/yckEtujKZ7dS4hkVxAnmHaIGVQ==", + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", "dev": true, "optional": true, "requires": { @@ -4541,33 +15779,27 @@ "tweetnacl": "~0.14.0" } }, - "stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", - "dev": true - }, "standard-version": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/standard-version/-/standard-version-8.0.1.tgz", - "integrity": "sha512-FLZdjvL2tBdwlctfQeyBf4+dX+SFljwdWfUA0F3wPiU9Rn0+FSuD3I0WXuzC1RmcaWwU5WL3EyV4Aanejc8Pqg==", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/standard-version/-/standard-version-9.3.1.tgz", + "integrity": "sha512-5qMxXw/FxLouC5nANyx/5RY1kiorJx9BppUso8gN07MG64q2uLRmrPb4KfXp3Ql4s/gxjZwZ89e0FwxeLubGww==", "dev": true, "requires": { "chalk": "^2.4.2", - "conventional-changelog": "3.1.21", + "conventional-changelog": "3.1.24", "conventional-changelog-config-spec": "2.1.0", - "conventional-changelog-conventionalcommits": "4.3.0", - "conventional-recommended-bump": "6.0.9", + "conventional-changelog-conventionalcommits": "4.5.0", + "conventional-recommended-bump": "6.1.0", "detect-indent": "^6.0.0", "detect-newline": "^3.1.0", "dotgitignore": "^2.1.0", "figures": "^3.1.0", - "find-up": "^4.1.0", + "find-up": "^5.0.0", "fs-access": "^1.0.1", "git-semver-tags": "^4.0.0", "semver": "^7.1.1", "stringify-package": "^1.0.1", - "yargs": "^15.3.1" + "yargs": "^16.0.0" }, "dependencies": { "ansi-styles": { @@ -4591,31 +15823,9 @@ } }, "detect-indent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.0.0.tgz", - "integrity": "sha512-oSyFlqaTHCItVRGK5RmrmjB+CmaMOW7IaNA/kdxqhoa6d17j/5ce9O9eWXmV/KEdRwqpQA+Vqe8a8Bsybu4YnA==", - "dev": true - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "semver": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", - "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", + "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", "dev": true }, "supports-color": { @@ -4629,36 +15839,66 @@ } } }, + "state-toggle": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/state-toggle/-/state-toggle-1.0.3.tgz", + "integrity": "sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==", + "dev": true + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "requires": { + "safe-buffer": "~5.2.0" + } + }, "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { - "code-point-at": "1.1.0", - "is-fullwidth-code-point": "1.0.0", - "strip-ansi": "3.0.1" + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } } }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", "dev": true, "requires": { - "safe-buffer": "5.1.1" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" } }, - "stringify-entities": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-1.3.2.tgz", - "integrity": "sha512-nrBAQClJAPN2p+uGCVJRPIPakKeKWZ9GtBCmormE7pWOSlHat7+x5A8gx85M7HM5Dt0BP3pP5RhVW77WdbJJ3A==", + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", "dev": true, "requires": { - "character-entities-html4": "1.1.2", - "character-entities-legacy": "1.1.2", - "is-alphanumerical": "1.0.2", - "is-hexadecimal": "1.0.2" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" } }, "stringify-package": { @@ -4673,31 +15913,28 @@ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { - "ansi-regex": "2.1.1" + "ansi-regex": "^2.0.0" } }, "strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "dev": true, - "requires": { - "is-utf8": "0.2.1" - } + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true }, "strip-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz", + "integrity": "sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==", "dev": true, "requires": { - "get-stdin": "4.0.1" + "min-indent": "^1.0.1" } }, "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true }, "structured-source": { @@ -4706,22 +15943,94 @@ "integrity": "sha1-3YAkJeD1PcSm56yjdSkBoczaevU=", "dev": true, "requires": { - "boundary": "1.0.1" + "boundary": "^1.0.1" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "dev": true, + "optional": true + }, + "table": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/table/-/table-6.7.1.tgz", + "integrity": "sha512-ZGum47Yi6KOOFDE8m223td53ath2enHcYLgOCjGr5ngu8bdIARQk6mN/wRMv4yMRcHnCSnHbCEha4sobQx5yWg==", + "dev": true, + "requires": { + "ajv": "^8.0.1", + "lodash.clonedeep": "^4.5.0", + "lodash.truncate": "^4.4.2", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ajv": { + "version": "8.6.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.6.2.tgz", + "integrity": "sha512-9807RlWAgT564wT+DjeyU5OFMPjmzxVobvDFmNAhY+5zD6A2ly3jDp6sgnfyDtlIQ+7H97oc/DGCzzfu9rjw9w==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + } } }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true - }, - "symbol-tree": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.2.tgz", - "integrity": "sha1-rifbOPZgp64uHDt9G8KQgZuFGeY=", - "dev": true, - "optional": true - }, "taffydb": { "version": "2.7.3", "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz", @@ -4734,6 +16043,12 @@ "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", "dev": true }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -4741,35 +16056,29 @@ "dev": true }, "through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", + "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, "requires": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - }, - "dependencies": { - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - } + "readable-stream": "3" } }, - "timed-out": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-3.1.3.tgz", - "integrity": "sha1-lYYL/MXHbCd/j4Mm/Q9bLiDrohc=", - "dev": true - }, "to-fast-properties": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", "dev": true }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, "tough-cookie": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", @@ -4801,9 +16110,9 @@ "dev": true }, "trim-newlines": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-4.0.2.tgz", + "integrity": "sha512-GJtWyq9InR/2HRiLZgpIKv+ufIKrVrvjQWEj7PxAXNc5dwbNJkqhAUoAGgzRmULAnoOM5EIpveYd3J2VeSAIew==", "dev": true }, "trim-off-newlines": { @@ -4819,174 +16128,84 @@ "dev": true }, "trim-trailing-lines": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.1.tgz", - "integrity": "sha512-bWLv9BbWbbd7mlqqs2oQYnLD/U/ZqeJeJwbO0FG2zA1aTq+HTvxfHNKFa/HGCVyJpDiioUYaBhfiT6rgk+l4mg==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz", + "integrity": "sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ==", "dev": true }, "trough": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.2.tgz", - "integrity": "sha512-FHkoUZvG6Egrv9XZAyYGKEyb1JMsFphgPjoczkZC2y6W93U1jswcVURB8MUvtsahEPEVACyxD47JAL63vF4JsQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", + "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==", "dev": true }, "ts-node": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-3.3.0.tgz", - "integrity": "sha1-wTxqMCTjC+EYDdUwOPwgkonUv2k=", + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.2.1.tgz", + "integrity": "sha512-hCnyOyuGmD5wHleOQX6NIjJtYVIO8bPP8F2acWkB4W06wdlkgyvJtubO/I9NkI88hCFECbsEgoLc0VNkYmcSfw==", "dev": true, "requires": { - "arrify": "1.0.1", - "chalk": "2.0.1", - "diff": "3.2.0", - "make-error": "1.3.0", - "minimist": "1.2.0", - "mkdirp": "0.5.1", - "source-map-support": "0.4.15", - "tsconfig": "6.0.0", - "v8flags": "3.0.0", - "yn": "2.0.0" + "@cspotcode/source-map-support": "0.6.1", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "yn": "3.1.1" }, "dependencies": { - "ansi-styles": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", - "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", - "dev": true, - "requires": { - "color-convert": "1.9.0" - } - }, - "chalk": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.0.1.tgz", - "integrity": "sha512-Mp+FXEI+FrwY/XYV45b2YD3E8i3HwnEAoFcM0qlZzq/RZ9RwWitt2Y/c7cqRAz70U7hfekqx6qNYthuKFO6K0g==", - "dev": true, - "requires": { - "ansi-styles": "3.2.0", - "escape-string-regexp": "1.0.5", - "supports-color": "4.2.1" - } - }, - "has-flag": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", - "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", + "acorn": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz", + "integrity": "sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q==", "dev": true }, - "supports-color": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.2.1.tgz", - "integrity": "sha512-qxzYsob3yv6U+xMzPrv170y8AwGP7i74g+pbixCfD6rgso8BscLT2qXIuz6TpOaiJZ3mFgT5O9lyT9nMU4LfaA==", - "dev": true, - "requires": { - "has-flag": "2.0.0" - } + "diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true } } }, - "tsconfig": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/tsconfig/-/tsconfig-6.0.0.tgz", - "integrity": "sha1-aw6DdgA9evGGT434+J3QBZ/80DI=", + "tsconfig-paths": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.11.0.tgz", + "integrity": "sha512-7ecdYDnIdmv639mmDwslG6KQg1Z9STTz1j7Gcz0xa+nshh/gKDAHcPxRbWOsA3SPp0tXP2leTcY9Kw+NAkfZzA==", "dev": true, "requires": { - "strip-bom": "3.0.0", - "strip-json-comments": "2.0.1" - }, - "dependencies": { - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "dev": true - } + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.0", + "strip-bom": "^3.0.0" } }, "tslib": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.2.tgz", - "integrity": "sha512-AVP5Xol3WivEr7hnssHDsaM+lVrVXWUvd1cfXTRkTj80b//6g2wIFEH6hZG0muGZRnHGrfttpdzRk3YlBkWjKw==" - }, - "tslint": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.10.0.tgz", - "integrity": "sha1-EeJrzLiK+gLdDZlWyuPUVAtfVMM=", - "dev": true, - "requires": { - "babel-code-frame": "6.22.0", - "builtin-modules": "1.1.1", - "chalk": "2.4.1", - "commander": "2.15.1", - "diff": "3.2.0", - "glob": "7.1.2", - "js-yaml": "3.12.0", - "minimatch": "3.0.4", - "resolve": "1.7.1", - "semver": "5.4.1", - "tslib": "1.9.2", - "tsutils": "2.27.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "1.9.0" - } - }, - "chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "dev": true, - "requires": { - "ansi-styles": "3.2.1", - "escape-string-regexp": "1.0.5", - "supports-color": "5.4.0" - } - }, - "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "dev": true, - "requires": { - "has-flag": "3.0.0" - } - } - } - }, - "tslint-language-service": { - "version": "0.9.9", - "resolved": "https://registry.npmjs.org/tslint-language-service/-/tslint-language-service-0.9.9.tgz", - "integrity": "sha1-9UbcOEg5eeb7PPpZWErYUls61No=", - "dev": true, - "requires": { - "mock-require": "2.0.2" - } + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "dev": true }, "tsutils": { - "version": "2.27.1", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.27.1.tgz", - "integrity": "sha512-AE/7uzp32MmaHvNNFES85hhUDHFdFZp6OAiZcd6y4ZKKIg6orJTm8keYWBhIhrJQH3a4LzNKat7ZPXZt5aTf6w==", + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", "dev": true, "requires": { - "tslib": "1.9.2" + "tslib": "^1.8.1" + }, + "dependencies": { + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + } } }, "tunnel-agent": { @@ -5017,15 +16236,15 @@ } }, "type-detect": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-0.1.1.tgz", - "integrity": "sha1-C6XsKohWQORw6k6FBZcZANrFiCI=", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true }, "type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", + "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", "dev": true }, "typedarray": { @@ -5035,87 +16254,106 @@ "dev": true }, "typescript": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.3.4.tgz", - "integrity": "sha1-PTgyGCgjHkNPKHUUlZw3qCtin0I=", + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", + "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==", "dev": true }, "uglify-js": { - "version": "3.11.2", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.11.2.tgz", - "integrity": "sha512-G440NU6fewtnQftSgqRV1r2A5ChKbU1gqFCJ7I8S7MPpY/eZZfLGefaY6gUZYiWebMaO+txgiQ1ZyLDuNWJulg==", + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.2.tgz", + "integrity": "sha512-rtPMlmcO4agTUfz10CbgJ1k6UAoXM2gWb3GoMPPZB/+/Ackf8lNWk11K4rYi2D0apgoFRLtQOZhb+/iGNJq26A==", "dev": true, "optional": true }, + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + } + }, "underscore": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.1.tgz", + "integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==", "dev": true }, "unherit": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.1.tgz", - "integrity": "sha512-+XZuV691Cn4zHsK0vkKYwBEwB74T3IZIcxrgn2E4rKwTfFyI1zCh7X7grwh9Re08fdPlarIdyWgI8aVB3F5A5g==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz", + "integrity": "sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ==", "dev": true, "requires": { - "inherits": "2.0.3", - "xtend": "4.0.1" + "inherits": "^2.0.0", + "xtend": "^4.0.0" } }, "unified": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/unified/-/unified-4.2.1.tgz", - "integrity": "sha1-dv9Dqo2kMPbn5KVchOusKtLPzS4=", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/unified/-/unified-6.2.0.tgz", + "integrity": "sha512-1k+KPhlVtqmG99RaTbAv/usu85fcSRu3wY8X+vnsEhIxNP5VbVIDiXnLqyKIG+UMdyTg0ZX9EI6k2AfjJkHPtA==", "dev": true, "requires": { - "bail": "1.0.3", - "extend": "3.0.1", - "has": "1.0.1", - "once": "1.4.0", - "trough": "1.0.2", - "vfile": "1.4.0" + "bail": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^1.1.0", + "trough": "^1.0.0", + "vfile": "^2.0.0", + "x-is-string": "^0.1.0" } }, "union": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/union/-/union-0.4.6.tgz", - "integrity": "sha1-GY+9rrolTniLDvy2MLwR8kopWeA=", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/union/-/union-0.5.0.tgz", + "integrity": "sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA==", "dev": true, "requires": { - "qs": "~2.3.3" - }, - "dependencies": { - "qs": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-2.3.3.tgz", - "integrity": "sha1-6eha2+ddoLvkyOBHaghikPhjtAQ=", - "dev": true - } + "qs": "^6.4.0" } }, "unist-util-is": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-2.1.2.tgz", - "integrity": "sha512-YkXBK/H9raAmG7KXck+UUpnKiNmUdB+aBGrknfQ4EreE1banuzrKABx3jP6Z5Z3fMSPMQQmeXBlKpCbMwBkxVw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-3.0.0.tgz", + "integrity": "sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A==", "dev": true }, "unist-util-remove-position": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-1.1.2.tgz", - "integrity": "sha512-XxoNOBvq1WXRKXxgnSYbtCF76TJrRoe5++pD4cCBsssSiWSnPEktyFrFLE8LTk3JW5mt9hB0Sk5zn4x/JeWY7Q==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-1.1.4.tgz", + "integrity": "sha512-tLqd653ArxJIPnKII6LMZwH+mb5q+n/GtXQZo6S6csPRs5zB0u79Yw8ouR3wTw8wxvdJFhpP6Y7jorWdCgLO0A==", "dev": true, "requires": { - "unist-util-visit": "1.3.1" + "unist-util-visit": "^1.1.0" } }, + "unist-util-stringify-position": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-1.1.2.tgz", + "integrity": "sha512-pNCVrk64LZv1kElr0N1wPiHEUoXNVFERp+mlTg/s9R5Lwg87f9bM/3sQB99w+N9D/qnM9ar3+AKDBwo/gm/iQQ==", + "dev": true + }, "unist-util-visit": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.3.1.tgz", - "integrity": "sha512-0fdB9EQJU0tho5tK0VzOJzAQpPv2LyLZ030b10GxuzAWEfvd54mpY7BMjQ1L69k2YNvL+SvxRzH0yUIehOO8aA==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-1.4.1.tgz", + "integrity": "sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw==", + "dev": true, + "requires": { + "unist-util-visit-parents": "^2.0.0" + } + }, + "unist-util-visit-parents": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz", + "integrity": "sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g==", "dev": true, "requires": { - "unist-util-is": "2.1.2" + "unist-util-is": "^3.0.0" } }, "universalify": { @@ -5124,28 +16362,6 @@ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "dev": true }, - "unzip-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz", - "integrity": "sha1-uYTwh3/AqJwsdzzB73tbIytbBv4=", - "dev": true - }, - "update-notifier": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-1.0.3.tgz", - "integrity": "sha1-j5LFFUgr1oMbfJMBPnD4dVLHz1o=", - "dev": true, - "requires": { - "boxen": "0.6.0", - "chalk": "1.1.3", - "configstore": "2.1.0", - "is-npm": "1.0.0", - "latest-version": "2.0.0", - "lazy-req": "1.1.0", - "semver-diff": "2.1.0", - "xdg-basedir": "2.0.0" - } - }, "update-section": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/update-section/-/update-section-0.3.3.tgz", @@ -5153,11 +16369,10 @@ "dev": true }, "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, - "optional": true, "requires": { "punycode": "^2.1.0" } @@ -5168,38 +16383,6 @@ "integrity": "sha1-WvIvGMBSoACkjXuCxenC4v7tpyg=", "dev": true }, - "url-parse-lax": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", - "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", - "dev": true, - "requires": { - "prepend-http": "1.0.4" - } - }, - "user-home": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz", - "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=", - "dev": true - }, - "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "dev": true, - "requires": { - "inherits": "2.0.1" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true - } - } - }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -5207,28 +16390,26 @@ "dev": true }, "uuid": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", - "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", - "dev": true - }, - "v8flags": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.0.0.tgz", - "integrity": "sha512-AGl+C+4qpeSu2g3JxCD/mGFFOs/vVZ3XREkD3ibQXEqr4Y4zgIrPWW124/IKJFHOIVFIoH8miWrLf0o84HYjwA==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", "dev": true, - "requires": { - "user-home": "1.1.1" - } + "optional": true + }, + "v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", + "dev": true }, "validate-npm-package-license": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", - "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, "requires": { - "spdx-correct": "1.0.2", - "spdx-expression-parse": "1.0.4" + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" } }, "verror": { @@ -5241,20 +16422,44 @@ "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" + }, + "dependencies": { + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true, + "optional": true + } } }, "vfile": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/vfile/-/vfile-1.4.0.tgz", - "integrity": "sha1-wP1vpIT43r23cfaMMe112I2pf+c=", - "dev": true + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-2.3.0.tgz", + "integrity": "sha512-ASt4mBUHcTpMKD/l5Q+WJXNtshlWxOogYyGYYrg4lt/vuRjC1EFQtlAofL5VmtVNIZJzWYFJjzGWZ0Gw8pzW1w==", + "dev": true, + "requires": { + "is-buffer": "^1.1.4", + "replace-ext": "1.0.0", + "unist-util-stringify-position": "^1.0.0", + "vfile-message": "^1.0.0" + } }, "vfile-location": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-2.0.3.tgz", - "integrity": "sha512-zM5/l4lfw1CBoPx3Jimxoc5RNDAHHpk6AM6LM0pTIkm5SUSsx8ZekZ0PVdf0WEZ7kjlhSt7ZlqbRL6Cd6dBs6A==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-2.0.6.tgz", + "integrity": "sha512-sSFdyCP3G6Ka0CEmN83A2YCMKIieHx0EDaj5IDP4g1pa5ZJ4FJDvpO0WODLxo4LUX4oe52gmSCK7Jw4SBghqxA==", "dev": true }, + "vfile-message": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-1.1.1.tgz", + "integrity": "sha512-1WmsopSGhWt5laNir+633LszXvZ+Z/lxveBf6yhGsqnQIhlhzooZae7zV6YVM1Sdkw68dtAW3ow0pOdPANugvA==", + "dev": true, + "requires": { + "unist-util-stringify-position": "^1.1.1" + } + }, "webidl-conversions": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-2.0.1.tgz", @@ -5272,31 +16477,59 @@ "tr46": "~0.0.1" } }, - "which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", - "dev": true + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } }, - "widest-line": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz", - "integrity": "sha1-DAnIXCqUaD0Nfq+O4JfVZL8OEFw=", + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "dev": true, "requires": { - "string-width": "1.0.2" + "string-width": "^1.0.2 || 2" } }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true + }, "wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", "dev": true }, + "workerpool": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.5.tgz", + "integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw==", + "dev": true + }, "wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "requires": { "ansi-styles": "^4.0.0", @@ -5347,9 +16580,9 @@ "dev": true }, "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", "dev": true, "requires": { "emoji-regex": "^8.0.0", @@ -5374,25 +16607,11 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true }, - "write-file-atomic": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.3.4.tgz", - "integrity": "sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "imurmurhash": "0.1.4", - "slide": "1.1.6" - } - }, - "xdg-basedir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-2.0.0.tgz", - "integrity": "sha1-7byQPMOF/ARSPZZqM1UEtVBNG9I=", - "dev": true, - "requires": { - "os-homedir": "1.0.2" - } + "x-is-string": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/x-is-string/-/x-is-string-0.1.0.tgz", + "integrity": "sha1-R0tQhlrzpJqcRlfwWs0UVFj3fYI=", + "dev": true }, "xml-name-validator": { "version": "2.0.1", @@ -5402,34 +16621,36 @@ "optional": true }, "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", "dev": true }, "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, + "yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, "yargs": { - "version": "15.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", - "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, "requires": { - "cliui": "^6.0.0", - "decamelize": "^1.2.0", - "find-up": "^4.1.0", - "get-caller-file": "^2.0.1", + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", "string-width": "^4.2.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^18.1.2" + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" }, "dependencies": { "ansi-regex": { @@ -5444,32 +16665,16 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", "dev": true, "requires": { "emoji-regex": "^8.0.0", @@ -5489,27 +16694,47 @@ } }, "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true + }, + "yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", "dev": true, "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" }, "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true + }, + "is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true } } }, "yn": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", - "integrity": "sha1-5a2ryKz0CPY4X8dklWhMiOavaJo=", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true } } diff --git a/package.json b/package.json index d5f38d2..f651fcc 100644 --- a/package.json +++ b/package.json @@ -7,28 +7,18 @@ "node": ">=0.12.0" }, "scripts": { - "clean": "npm run build:clean; npm run build:docs:clean; npm run test:clean", - "pretest": "npm run build:test", - "test": "mocha --opts mocha.opts", - "test:clean": "del test", - "posttest": "npm run test:clean", + "clean": "npm run build:clean", + "test": "mocha", "prebuild": "npm run lint && npm run build:clean", - "prebuild:test": "npm run test:clean", - "prebuild:docs": "npm run build:docs:clean", "build:clean": "del '*.js' '*.js.map' '*.d.ts' applicators factory utils", - "build:docs:clean": "del buildDocs", "build": "tsc -p tsconfig.build.json", - "build:test": "tsc -p tsconfig.test.json", - "build:docs": "tsc -p tsconfig.docs.json", - "predocs": "npm run build:docs", - "postdocs": "npm run build:docs:clean", "docs": "del docs && esdoc", "docs:serve": "http-server ./docs", "docs:publish": "git subtree push --prefix docs origin gh-pages", "readme": "doctoc ./README.md", "release": "npm run build && npm run docs && npm run readme", - "lint": "tslint src/**", - "lint:fix": "tslint src/** --fix", + "lint": "eslint src/**", + "lint:fix": "npm run lint -- --fix", "version": "standard-version" }, "main": "index.js", @@ -49,29 +39,42 @@ "url": "http://github.com/steelsojka/lodash-decorators" }, "devDependencies": { - "@types/chai": "^3.5.1", - "@types/lodash": "^4.14.109", - "@types/mocha": "^2.2.48", - "@types/node": "^7.0.65", - "@types/sinon": "^2.3.7", - "chai": "~2.2.0", - "del-cli": "^0.2.1", - "doctoc": "^1.3.1", + "@types/chai": "^4.2.21", + "@types/lodash": "^4.14.172", + "@types/mocha": "^9.0.0", + "@types/node": "^16.7.13", + "@types/sinon": "^10.0.2", + "@typescript-eslint/eslint-plugin": "^4.31.0", + "@typescript-eslint/parser": "^4.31.0", + "chai": "^4.3.4", + "del-cli": "^4.0.1", + "doctoc": "^2.0.1", "esdoc": "^1.1.0", - "http-server": "^0.11.1", - "lodash": "^4.17.10", - "mocha": "^5.2.0", - "sinon": "~1.14.1", - "standard-version": "^8.0.1", - "ts-node": "^3.0.2", - "tslint": "^5.10.0", - "tslint-language-service": "^0.9.9", - "typescript": "~2.3.4" + "esdoc-standard-plugin": "^1.0.0", + "esdoc-typescript-plugin": "^1.0.1", + "eslint": "^7.32.0", + "eslint-config-prettier": "^8.3.0", + "eslint-plugin-import": "^2.24.2", + "eslint-plugin-jsdoc": "^36.1.0", + "eslint-plugin-prefer-arrow": "^1.2.3", + "http-server": "^13.0.1", + "lodash": "^4.17.21", + "mocha": "^9.1.1", + "sinon": "^11.1.2", + "standard-version": "^9.3.1", + "ts-node": "^10.2.1", + "tslib": "^2.3.1", + "typescript": "^4.4.2" }, "peerDependencies": { - "lodash": "4.x" + "lodash": "^4.0.0", + "tslib": "^2.0.0" }, - "dependencies": { - "tslib": "^1.9.2" + "mocha": { + "reporter": "spec", + "spec": [ + "src/**/*.spec.ts" + ], + "require": "ts-node/register" } } diff --git a/src/applicators/MemoizeApplicator.ts b/src/applicators/MemoizeApplicator.ts index 31ef28d..193fac5 100644 --- a/src/applicators/MemoizeApplicator.ts +++ b/src/applicators/MemoizeApplicator.ts @@ -1,13 +1,13 @@ import isFunction = require('lodash/isFunction'); -import isObject = require('lodash/isObject'); +import isObjectLike = require('lodash/isObjectLike'); import { Applicator, ApplicateOptions } from './Applicator'; import { resolveFunction } from '../utils'; export class MemoizeApplicator extends Applicator { - apply({ value, instance, config: { execute }, args, target }: ApplicateOptions): any { + apply({ value, instance, config: { execute }, args: [arg], target }: ApplicateOptions): any { let resolver = resolveFunction( - isFunction(args[0]) ? args[0] : isObject(args[0]) ? args[0].resolver : args[0], + isFunction(arg) ? arg : isObjectLike(arg) ? arg.resolver : arg, instance, target, false @@ -19,8 +19,8 @@ export class MemoizeApplicator extends Applicator { const memoized = resolver ? execute(value, resolver) : execute(value); - if (isObject(args[0])) { - const { cache, type } = args[0]; + if (isObjectLike(arg)) { + const { cache, type } = arg; if (cache) { memoized.cache = cache; diff --git a/src/applicators/PartialedApplicator.ts b/src/applicators/PartialedApplicator.ts index bd56b30..17fbaba 100644 --- a/src/applicators/PartialedApplicator.ts +++ b/src/applicators/PartialedApplicator.ts @@ -4,6 +4,7 @@ import { Applicator, ApplicateOptions } from './Applicator'; export class PartialedApplicator extends Applicator { apply({ config: { execute }, value, args }: ApplicateOptions): any { - return partial(execute as (...args: any[]) => any, value, ...args); + // The `partial` function is over-constrained and generics locks proper use of rest parameter. + return (partial as any)(execute as (...args: any[]) => any, value, ...args); } } diff --git a/src/bindAll.ts b/src/bindAll.ts index afe739a..9356c03 100644 --- a/src/bindAll.ts +++ b/src/bindAll.ts @@ -42,7 +42,7 @@ function bindAllMethods(target: Function, methods: string[] = []): void { const include = methods.length ? methods.indexOf(key) !== -1 : true; const descriptor = Object.getOwnPropertyDescriptor(proto, key); - if (include && key !== 'constructor') { + if (descriptor && include && key !== 'constructor') { // If this property is a getter and it's NOT an instance decorated // method, ignore it. Instance decorators are getters until first accessed. if (descriptor.get) { diff --git a/src/factory/common.ts b/src/factory/common.ts index 6b5487c..6e2d730 100644 --- a/src/factory/common.ts +++ b/src/factory/common.ts @@ -10,12 +10,12 @@ export type BiTypedMethodDecorator = (() => LodashMethodDecorator) & LodashMetho export type BiTypedMethodDecorator1 = ((arg?: T) => LodashMethodDecorator) & LodashMethodDecorator; export type BiTypedMethodDecorator2 = ((arg1?: T, arg2?: T2) => LodashMethodDecorator) & LodashMethodDecorator; export type BiTypedMethodDecorator3 = ((arg1?: T, arg2?: T2, arg3?: T3) => LodashMethodDecorator) & LodashMethodDecorator; -export type BiTypedMethodDecoratorN = ((...args: any[]) => LodashMethodDecorator) & LodashMethodDecorator; +export type BiTypedMethodDecoratorN = ((...args: any[]) => TypedPropertyDescriptor<(...args: any[]) => void>) & LodashMethodDecorator; export type BiTypedDecorator = (() => LodashDecorator) & LodashDecorator; export type BiTypedDecorator1 = ((arg?: T) => LodashDecorator) & LodashDecorator; export type BiTypedDecorator2 = ((arg1?: T, arg2?: T2) => LodashDecorator) & LodashDecorator; export type BiTypedDecorator3 = ((arg1?: T, arg2?: T2, arg3?: T3) => LodashDecorator) & LodashDecorator; -export type BiTypedDecoratorN = ((...args: any[]) => LodashDecorator) & LodashDecorator; +export type BiTypedDecoratorN = ((...args: any[]) => LodashDecorator & TypedPropertyDescriptor) & LodashDecorator; export interface InstanceChainContext { getter?: boolean; diff --git a/tsconfig.docs.json b/tsconfig.docs.json deleted file mode 100644 index 46c8c8f..0000000 --- a/tsconfig.docs.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "target": "es2015", - "outDir": "./buildDocs", - "sourceMap": false - }, - "exclude": [] -} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 3d2d8e7..cc917d7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,9 +10,6 @@ "noImplicitAny": true, "noUnusedLocals": true, "importHelpers": true, - "plugins": [ - { "name": "tslint-language-service" } - ], "lib": [ "es2015" ], diff --git a/tslint.json b/tslint.json deleted file mode 100644 index 16b50a4..0000000 --- a/tslint.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "defaultSeverity": "error", - "extends": [ - "tslint:recommended" - ], - "rules": { - "quotemark": [ true, "single" ], - "prefer-template": true, - "prefer-const": true, - "semicolon": [ true, "always" ], - "ordered-imports": false, - "trailing-comma": false, - "eofline": false, - "max-line-length": false, - "max-classes-per-file": false, - "member-access": false, - "variable-name": [ true, "check-format", "allow-leading-underscore", "allow-pascal-case" ], - "ban-types": false, - "interface-name": false, - "no-unused-expression": false, - "only-arrow-functions": false, - "no-empty": false - } -} From b43dbf32eb0d8dd0b74af80fd74c3bf39beb0f66 Mon Sep 17 00:00:00 2001 From: GerkinDev Date: Wed, 8 Sep 2021 01:09:31 +0200 Subject: [PATCH 2/5] style: lint all --- src/after.ts | 1 + src/afterAll.ts | 1 + src/applicators/BindApplicator.ts | 2 +- src/applicators/InvokeApplicator.ts | 4 ++-- src/applicators/PartialApplicator.ts | 2 +- src/applicators/PartialValueApplicator.ts | 2 +- src/applicators/PartialedApplicator.ts | 2 +- src/applicators/PostValueApplicator.ts | 2 +- src/applicators/WrapApplicator.ts | 2 +- src/ary.ts | 1 + src/attempt.ts | 1 + src/before.ts | 1 + src/beforeAll.ts | 1 + src/bind.ts | 1 + src/bindAll.ts | 1 + src/combinationTest.spec.ts | 2 +- src/curry.ts | 1 + src/curryAll.spec.ts | 2 +- src/curryAll.ts | 1 + src/curryRight.ts | 1 + src/curryRightAll.ts | 1 + src/debounce.spec.ts | 2 +- src/defer.spec.ts | 4 ++-- src/delay.spec.ts | 2 +- src/factory/DecoratorFactory.ts | 20 ++++++++++---------- src/factory/common.ts | 4 ++-- src/memoizeAll.ts | 1 + src/mixin.ts | 1 + src/negate.ts | 1 + src/once.ts | 1 + src/onceAll.ts | 1 + src/overArgs.ts | 1 + src/partial.spec.ts | 2 +- src/partial.ts | 1 + src/partialRight.spec.ts | 2 +- src/rearg.ts | 2 +- src/shared.ts | 2 +- src/tap.spec.ts | 4 ++-- src/throttle.spec.ts | 8 ++++---- src/utils/CompositeKeyWeakMap.ts | 1 + src/utils/assignAll.ts | 2 ++ src/utils/bind.ts | 7 ++++--- src/utils/copyMetaData.ts | 1 + src/utils/log.ts | 7 ++++--- src/utils/resolveFunction.ts | 21 +++++++++++---------- src/utils/returnAtIndex.ts | 7 ++++--- src/utils/wrapConstructor.ts | 1 + 47 files changed, 83 insertions(+), 55 deletions(-) diff --git a/src/after.ts b/src/after.ts index 40e46f4..60b9072 100644 --- a/src/after.ts +++ b/src/after.ts @@ -9,6 +9,7 @@ const decorator = DecoratorFactory.createInstanceDecorator( /** * The opposite of Before. This method creates a function that invokes once it's called n or more times. + * * @param {number} n The number of calls before the function is invoked. * @example * diff --git a/src/afterAll.ts b/src/afterAll.ts index 30bc25f..cc6fb82 100644 --- a/src/afterAll.ts +++ b/src/afterAll.ts @@ -10,6 +10,7 @@ const decorator = DecoratorFactory.createDecorator( /** * The opposite of Before. This method creates a function that invokes once it's called n or more times. * This spans across all instances of the class instead of the instance. + * * @param {number} n The number of calls before the function is invoked. * @example * diff --git a/src/applicators/BindApplicator.ts b/src/applicators/BindApplicator.ts index 558fc9e..39fbe55 100644 --- a/src/applicators/BindApplicator.ts +++ b/src/applicators/BindApplicator.ts @@ -1,7 +1,7 @@ import { Applicator, ApplicateOptions } from './Applicator'; export class BindApplicator extends Applicator { - apply({ value, config: { execute } , args, instance, target }: ApplicateOptions): any { + apply({ value, config: { execute } , args, instance }: ApplicateOptions): any { if (!instance) { return value; } diff --git a/src/applicators/InvokeApplicator.ts b/src/applicators/InvokeApplicator.ts index d6345d8..f0e4160 100644 --- a/src/applicators/InvokeApplicator.ts +++ b/src/applicators/InvokeApplicator.ts @@ -1,9 +1,9 @@ import { Applicator, ApplicateOptions } from './Applicator'; export class InvokeApplicator extends Applicator { - apply({ args, target, config: { execute }, value }: ApplicateOptions): any { + apply({ args, config: { execute }, value }: ApplicateOptions): any { return function(...invokeArgs: any[]): any { return execute(value.bind(this), ...invokeArgs, ...args); - } + }; } } diff --git a/src/applicators/PartialApplicator.ts b/src/applicators/PartialApplicator.ts index 5b71d0c..052e991 100644 --- a/src/applicators/PartialApplicator.ts +++ b/src/applicators/PartialApplicator.ts @@ -5,6 +5,6 @@ export class PartialApplicator extends Applicator { apply({ args, target, config: { execute } }: ApplicateOptions): any { return function(...invokeArgs: any[]): any { return execute(resolveFunction(args[0], this, target), ...args.slice(1)).apply(this, invokeArgs); - } + }; } } \ No newline at end of file diff --git a/src/applicators/PartialValueApplicator.ts b/src/applicators/PartialValueApplicator.ts index 5eeb0dd..3c35cae 100644 --- a/src/applicators/PartialValueApplicator.ts +++ b/src/applicators/PartialValueApplicator.ts @@ -15,6 +15,6 @@ export class PartialValueApplicator extends Applicator { } return execute(fn, ...args.slice(argIndex)).apply(this, invokeArgs); - } + }; } } diff --git a/src/applicators/PartialedApplicator.ts b/src/applicators/PartialedApplicator.ts index 17fbaba..6975447 100644 --- a/src/applicators/PartialedApplicator.ts +++ b/src/applicators/PartialedApplicator.ts @@ -5,6 +5,6 @@ import { Applicator, ApplicateOptions } from './Applicator'; export class PartialedApplicator extends Applicator { apply({ config: { execute }, value, args }: ApplicateOptions): any { // The `partial` function is over-constrained and generics locks proper use of rest parameter. - return (partial as any)(execute as (...args: any[]) => any, value, ...args); + return (partial as any)(execute as (...argsIn: any[]) => any, value, ...args); } } diff --git a/src/applicators/PostValueApplicator.ts b/src/applicators/PostValueApplicator.ts index e7adaf4..75297c3 100644 --- a/src/applicators/PostValueApplicator.ts +++ b/src/applicators/PostValueApplicator.ts @@ -1,7 +1,7 @@ import { Applicator, ApplicateOptions } from './Applicator'; export class PostValueApplicator extends Applicator { - apply({ config: { execute, bound }, args, value }: ApplicateOptions): any { + apply({ config: { execute }, args, value }: ApplicateOptions): any { return execute(...args, value); } } \ No newline at end of file diff --git a/src/applicators/WrapApplicator.ts b/src/applicators/WrapApplicator.ts index 242edef..681a6c3 100644 --- a/src/applicators/WrapApplicator.ts +++ b/src/applicators/WrapApplicator.ts @@ -5,6 +5,6 @@ export class WrapApplicator extends Applicator { apply({ args, config: { execute }, target, value }: ApplicateOptions): any { return function(...invokeArgs: any[]): any { return execute(resolveFunction(args[0], this, target), value).apply(this, invokeArgs); - } + }; } } \ No newline at end of file diff --git a/src/ary.ts b/src/ary.ts index 7670dbf..83364ce 100644 --- a/src/ary.ts +++ b/src/ary.ts @@ -9,6 +9,7 @@ const decorator = DecoratorFactory.createDecorator( /** * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments. + * * @param {number} n The arity cap. * @example * diff --git a/src/attempt.ts b/src/attempt.ts index 2a7c2b1..b5a775a 100644 --- a/src/attempt.ts +++ b/src/attempt.ts @@ -8,6 +8,7 @@ const attemptFn = (fn: () => void) => partial(attempt, fn); /** * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked. + * * @param {...*} [args] The arguments to invoke func with. * @example * diff --git a/src/before.ts b/src/before.ts index adad76a..9a1ce6b 100644 --- a/src/before.ts +++ b/src/before.ts @@ -10,6 +10,7 @@ const decorator = DecoratorFactory.createInstanceDecorator( /** * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. * Subsequent calls to the created function return the result of the last func invocation. + * * @param {number} n The number of calls at whichc func is no longer invoked. * @example * diff --git a/src/beforeAll.ts b/src/beforeAll.ts index 7eeb0b4..3548e56 100644 --- a/src/beforeAll.ts +++ b/src/beforeAll.ts @@ -10,6 +10,7 @@ const decorator = DecoratorFactory.createDecorator( /** * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. * Subsequent calls to the created function return the result of the last func invocation. + * * @param {number} n The number of calls at whichc func is no longer invoked. * @example * diff --git a/src/bind.ts b/src/bind.ts index 7ac7b9b..71becde 100644 --- a/src/bind.ts +++ b/src/bind.ts @@ -9,6 +9,7 @@ import { BindApplicator } from './applicators'; * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments. * * Note: Unlike native Function#bind, this method doesn't set the "length" property of bound functions. + * * @param {...*} [partials] The argument to be partially applied. * @example * diff --git a/src/bindAll.ts b/src/bindAll.ts index 9356c03..9c01791 100644 --- a/src/bindAll.ts +++ b/src/bindAll.ts @@ -5,6 +5,7 @@ import { Bind } from './bind'; /** * Binds methods of an object to the object itself, overwriting the existing method. + * * @export * @param {string[]} [methods=[]] * @returns {ClassDecorator} diff --git a/src/combinationTest.spec.ts b/src/combinationTest.spec.ts index 62b60d8..eea206b 100644 --- a/src/combinationTest.spec.ts +++ b/src/combinationTest.spec.ts @@ -14,7 +14,7 @@ describe('multiple decorators', () => { class MyClass { @Bind() @Memoize() - fn(n: number) { + fn(_n: number) { expect(this).to.equal(myClass); _spy(); } diff --git a/src/curry.ts b/src/curry.ts index 08d8c39..4b21cd3 100644 --- a/src/curry.ts +++ b/src/curry.ts @@ -11,6 +11,7 @@ import { PreValueApplicator } from './applicators'; * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments. * * Note: This method doesn't set the "length" property of curried functions. + * * @param {number} [arity] The arity of func. * @example * diff --git a/src/curryAll.spec.ts b/src/curryAll.spec.ts index 8881d57..a4b07d2 100644 --- a/src/curryAll.spec.ts +++ b/src/curryAll.spec.ts @@ -51,7 +51,7 @@ describe('curryAll', () => { it('should not retain the class context', () => { class MyClass { @CurryAll() - add(a: any, b?: any): any { + add(_a: any, _b?: any): any { expect(this).to.equal(global); } } diff --git a/src/curryAll.ts b/src/curryAll.ts index 06e1284..3bc50f2 100644 --- a/src/curryAll.ts +++ b/src/curryAll.ts @@ -11,6 +11,7 @@ import { PreValueApplicator } from './applicators'; * * Note: This method doesn't set the "length" property of curried functions. * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound. + * * @param {number} [arity] The arity of func. * @example * diff --git a/src/curryRight.ts b/src/curryRight.ts index 3665c3c..30322da 100644 --- a/src/curryRight.ts +++ b/src/curryRight.ts @@ -11,6 +11,7 @@ import { PreValueApplicator } from './applicators'; * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments. * * Note: This method doesn't set the "length" property of curried functions. + * * @param {number} [arity] The arity of func. * @example * diff --git a/src/curryRightAll.ts b/src/curryRightAll.ts index 8b6c224..0460936 100644 --- a/src/curryRightAll.ts +++ b/src/curryRightAll.ts @@ -11,6 +11,7 @@ import { PreValueApplicator } from './applicators'; * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments. * * Note: This method doesn't set the "length" property of curried functions. + * * @param {number} [arity] The arity of func. * @example * diff --git a/src/debounce.spec.ts b/src/debounce.spec.ts index e4ac637..8d45276 100644 --- a/src/debounce.spec.ts +++ b/src/debounce.spec.ts @@ -29,7 +29,7 @@ describe('debounce', () => { it('should debounce the property setter', (done) => { class MyClass { - private _value: number = 100; + private _value = 100; @Debounce(10) set value(value: number) { diff --git a/src/defer.spec.ts b/src/defer.spec.ts index 90f0407..850f0d6 100644 --- a/src/defer.spec.ts +++ b/src/defer.spec.ts @@ -52,7 +52,7 @@ describe('defer', () => { it('should debounce the property setter', (done) => { class MyClass { - private _value: number = 100; + private _value = 100; @Defer() set value(value: number) { @@ -80,7 +80,7 @@ describe('defer', () => { it('should debounce the property setter (paramless)', (done) => { class MyClass { - private _value: number = 100; + private _value = 100; @Defer set value(value: number) { diff --git a/src/delay.spec.ts b/src/delay.spec.ts index 1623feb..8d23a33 100644 --- a/src/delay.spec.ts +++ b/src/delay.spec.ts @@ -29,7 +29,7 @@ describe('delay', () => { it('should debounce the property setter', (done) => { class MyClass { - private _value: number = 100; + private _value = 100; @Delay(15) set value(value: number) { diff --git a/src/factory/DecoratorFactory.ts b/src/factory/DecoratorFactory.ts index 3bacb5b..870575f 100644 --- a/src/factory/DecoratorFactory.ts +++ b/src/factory/DecoratorFactory.ts @@ -130,7 +130,7 @@ export class InternalDecoratorFactory { value: newFn }); } - } + }; if (isMethod || isProperty) { delete descriptor.value; @@ -146,24 +146,24 @@ export class InternalDecoratorFactory { applyDecorator(this); - const descriptor = Object.getOwnPropertyDescriptor(this, name)!; + const descriptor2 = Object.getOwnPropertyDescriptor(this, name)!; - if (descriptor.get) { - return descriptor.get.call(this); + if (descriptor2.get) { + return descriptor2.get.call(this); } - return descriptor.value; + return descriptor2.value; }; - descriptor.set = function(value) { + descriptor.set = function(value2) { applyDecorator(this); - const descriptor = Object.getOwnPropertyDescriptor(this, name)!; + const descriptor2 = Object.getOwnPropertyDescriptor(this, name)!; - if (descriptor.set) { - descriptor.set.call(this, value); + if (descriptor2.set) { + descriptor2.set.call(this, value2); } else if (isProperty || isMethod) { - this[name] = value; + this[name] = value2; } }; diff --git a/src/factory/common.ts b/src/factory/common.ts index 6e2d730..5b115ae 100644 --- a/src/factory/common.ts +++ b/src/factory/common.ts @@ -1,7 +1,7 @@ import { Applicator } from '../applicators'; import { CompositeKeyWeakMap } from '../utils'; -export type ApplicatorToken = { new(): Applicator }; +export type ApplicatorToken = new() => Applicator; export type LodashMethodDecorator = MethodDecorator; export type LodashDecorator = MethodDecorator & PropertyDecorator; export type ResolvableFunction = string|Function; @@ -10,7 +10,7 @@ export type BiTypedMethodDecorator = (() => LodashMethodDecorator) & LodashMetho export type BiTypedMethodDecorator1 = ((arg?: T) => LodashMethodDecorator) & LodashMethodDecorator; export type BiTypedMethodDecorator2 = ((arg1?: T, arg2?: T2) => LodashMethodDecorator) & LodashMethodDecorator; export type BiTypedMethodDecorator3 = ((arg1?: T, arg2?: T2, arg3?: T3) => LodashMethodDecorator) & LodashMethodDecorator; -export type BiTypedMethodDecoratorN = ((...args: any[]) => TypedPropertyDescriptor<(...args: any[]) => void>) & LodashMethodDecorator; +export type BiTypedMethodDecoratorN = ((...args: any[]) => TypedPropertyDescriptor<(...newArgs: any[]) => void>) & LodashMethodDecorator; export type BiTypedDecorator = (() => LodashDecorator) & LodashDecorator; export type BiTypedDecorator1 = ((arg?: T) => LodashDecorator) & LodashDecorator; export type BiTypedDecorator2 = ((arg1?: T, arg2?: T2) => LodashDecorator) & LodashDecorator; diff --git a/src/memoizeAll.ts b/src/memoizeAll.ts index cc6841c..eff6152 100644 --- a/src/memoizeAll.ts +++ b/src/memoizeAll.ts @@ -6,6 +6,7 @@ import { MemoizeConfig } from './shared'; /** * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache. + * * @param {Function} [resolver] Optional resolver */ export const MemoizeAll = DecoratorFactory.createDecorator( diff --git a/src/mixin.ts b/src/mixin.ts index be0139c..bc8d10e 100644 --- a/src/mixin.ts +++ b/src/mixin.ts @@ -2,6 +2,7 @@ import assign = require('lodash/assign'); /** * Mixins an object into the classes prototype. + * * @export * @param {...Object[]} srcs * @returns {ClassDecorator} diff --git a/src/negate.ts b/src/negate.ts index 7f23d77..1db91d9 100644 --- a/src/negate.ts +++ b/src/negate.ts @@ -11,6 +11,7 @@ import { PartialValueApplicator } from './applicators'; /** * Negates a functions result or, when used on a property, creates a function that * negates the result of a provided function. + * * @param {ResolvableFunction} [fn] A resolvable function. * @example * class MyClass { diff --git a/src/once.ts b/src/once.ts index 41fe7a3..c9fce60 100644 --- a/src/once.ts +++ b/src/once.ts @@ -5,6 +5,7 @@ import { PreValueApplicator } from './applicators'; /** * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation. + * * @example * class MyClass { * value: number = 0; diff --git a/src/onceAll.ts b/src/onceAll.ts index 35915d5..c690898 100644 --- a/src/onceAll.ts +++ b/src/onceAll.ts @@ -6,6 +6,7 @@ import { PreValueApplicator } from './applicators'; /** * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation. * This is shared across all instances of the class. + * * @example * const value = 0; * diff --git a/src/overArgs.ts b/src/overArgs.ts index 1de688c..0285892 100644 --- a/src/overArgs.ts +++ b/src/overArgs.ts @@ -9,6 +9,7 @@ const decorator = DecoratorFactory.createDecorator( /** * Creates a function that invokes func with its arguments transformed. + * * @export * @param {...Function[]} transforms * @returns {LodashMethodDecorator} diff --git a/src/partial.spec.ts b/src/partial.spec.ts index 77c3650..9cd5a64 100644 --- a/src/partial.spec.ts +++ b/src/partial.spec.ts @@ -5,7 +5,7 @@ import { Partial } from './partial'; describe('partial', () => { it('should create a partially applied function', () => { class MyClass { - lastName: string = 'Schmo'; + lastName = 'Schmo'; @Partial('fn', 'Joe') fn2: () => string; diff --git a/src/partial.ts b/src/partial.ts index d34b1a2..9324b90 100644 --- a/src/partial.ts +++ b/src/partial.ts @@ -9,6 +9,7 @@ const decorator = DecoratorFactory.createInstanceDecorator( /** * Partially applies arguments to a function. + * * @export * @param {...any[]} partials * @returns {PropertyDecorator} diff --git a/src/partialRight.spec.ts b/src/partialRight.spec.ts index 9408b28..15117f3 100644 --- a/src/partialRight.spec.ts +++ b/src/partialRight.spec.ts @@ -5,7 +5,7 @@ import { PartialRight } from './partialRight'; describe('partialRight', () => { it('should create a partially applied function', () => { class MyClass { - firstName: string = 'Avry'; + firstName = 'Avry'; @PartialRight('fn', 'Sojka') fn2: () => string; diff --git a/src/rearg.ts b/src/rearg.ts index bd51fc4..69a5e47 100644 --- a/src/rearg.ts +++ b/src/rearg.ts @@ -12,7 +12,7 @@ const decorator = DecoratorFactory.createInstanceDecorator( new DecoratorConfig(rearg, new PartialValueApplicator(), { property: true }) ); -export function Rearg(indexes: ResolvableFunction | number | number[], ...args: Array): LodashDecorator { +export function Rearg(indexes: ResolvableFunction | number | number[], ...args: (number | number[])[]): LodashDecorator { return decorator(indexes, ...args); } export { Rearg as rearg }; diff --git a/src/shared.ts b/src/shared.ts index d389869..823a261 100644 --- a/src/shared.ts +++ b/src/shared.ts @@ -30,6 +30,6 @@ export interface MemoizeMap { export interface MemoizeConfig { resolver?: ResolvableFunction; - type?: { new (...args: any[]): MemoizeMap }; + type?: new (...args: any[]) => MemoizeMap; cache?: MemoizeMap; } \ No newline at end of file diff --git a/src/tap.spec.ts b/src/tap.spec.ts index 3815cba..6d810a1 100644 --- a/src/tap.spec.ts +++ b/src/tap.spec.ts @@ -6,7 +6,7 @@ describe('tap', () => { it('should return the first argument', () => { class MyClass { @Tap() - fn(n: number): any { + fn(_n: number): any { return 10; } } @@ -19,7 +19,7 @@ describe('tap', () => { it('should return the first argument (paramless)', () => { class MyClass { @Tap - fn(n: number): any { + fn(_n: number): any { return 10; } } diff --git a/src/throttle.spec.ts b/src/throttle.spec.ts index 569f726..ebe2332 100644 --- a/src/throttle.spec.ts +++ b/src/throttle.spec.ts @@ -9,7 +9,7 @@ describe('throttle', () => { class MyClass { @Throttle(10) - fn(n: number) { + fn(_n: number) { _spy(); } } @@ -33,7 +33,7 @@ describe('throttle', () => { class MyClass { @Throttle - fn(n: number) { + fn(_n: number) { _spy(); } } @@ -51,7 +51,7 @@ describe('throttle', () => { it('should debounce the property setter', (done) => { class MyClass { - private _value: number = 100; + private _value = 100; @ThrottleSetter(10) set value(value: number) { @@ -81,7 +81,7 @@ describe('throttle', () => { // Skipping this test for now. it.skip('should debounce the property getter', (done) => { class MyClass { - private _value: number = 0; + private _value = 0; @ThrottleGetter(10) get value(): number { diff --git a/src/utils/CompositeKeyWeakMap.ts b/src/utils/CompositeKeyWeakMap.ts index e0eb52b..6e5cf63 100644 --- a/src/utils/CompositeKeyWeakMap.ts +++ b/src/utils/CompositeKeyWeakMap.ts @@ -2,6 +2,7 @@ import isUndefined = require('lodash/isUndefined'); /** * A map for weakly holding nested references. + * * @private * @export * @class CompositeKeyWeakMap diff --git a/src/utils/assignAll.ts b/src/utils/assignAll.ts index 6fed20c..d1b1d8f 100644 --- a/src/utils/assignAll.ts +++ b/src/utils/assignAll.ts @@ -5,6 +5,7 @@ import isObject = require('lodash/isObject'); /** * Assigns all properties from an object to another object including non enumerable * properties. + * * @export * @template T * @template U @@ -25,6 +26,7 @@ export function assignAll(to: T, from: U, excludes: string[] = []): T { /** * Assigns a property from one object to another while retaining descriptor properties. + * * @export * @template T * @template U diff --git a/src/utils/bind.ts b/src/utils/bind.ts index 74cc05f..0b7192c 100644 --- a/src/utils/bind.ts +++ b/src/utils/bind.ts @@ -2,11 +2,12 @@ import { copyMetadata } from './copyMetaData'; /** * Binds a function and copies metadata. + * * @private * @export - * @param {Function} fn - * @param {*} context - * @returns {Function} + * @param {Function} fn + * @param {*} context + * @returns {Function} */ export function bind(fn: Function, context: any): Function { return copyMetadata(fn.bind(context), fn); diff --git a/src/utils/copyMetaData.ts b/src/utils/copyMetaData.ts index ff516cf..0450947 100644 --- a/src/utils/copyMetaData.ts +++ b/src/utils/copyMetaData.ts @@ -4,6 +4,7 @@ import forOwn = require('lodash/forOwn'); * Used to copy over meta data from function to function. * If meta data is attached to a function. This can get lost * when wrapping functions. This tries to persist that. + * * @private */ export function copyMetadata(to: any, from: any): any { diff --git a/src/utils/log.ts b/src/utils/log.ts index f918902..136e36f 100644 --- a/src/utils/log.ts +++ b/src/utils/log.ts @@ -1,10 +1,11 @@ /** * Creates a log message. + * * @private * @export - * @param {string} [message=''] - * @returns {string} + * @param {string} [message=''] + * @returns {string} */ -export function log(message:string = ''): string { +export function log(message = ''): string { return `lodash-decorators -> ${message}`; } diff --git a/src/utils/resolveFunction.ts b/src/utils/resolveFunction.ts index f4f553a..5b4b8b0 100644 --- a/src/utils/resolveFunction.ts +++ b/src/utils/resolveFunction.ts @@ -3,16 +3,17 @@ import isString = require('lodash/isString'); import { log } from './log'; /** - * Resolves a function on the current target object. It first will - * try and resolve on the context object, then the target object, - * then an error will be thrown if the method can not be resolved. - * @private - * @param {Function|string} method The method or method name. - * @param {Object} [context] The context object to resolve from. - * @param {Object} [target] The target object to resolve from. - * @returns {Function} The resolved function. - */ -export function resolveFunction(method?: string|Function, context?: any, target?: any, throwNotFound: boolean = true): any { + * Resolves a function on the current target object. It first will + * try and resolve on the context object, then the target object, + * then an error will be thrown if the method can not be resolved. + * + * @private + * @param {Function|string} method The method or method name. + * @param {Object} [context] The context object to resolve from. + * @param {Object} [target] The target object to resolve from. + * @returns {Function} The resolved function. + */ +export function resolveFunction(method?: string|Function, context?: any, target?: any, throwNotFound = true): any { if (isFunction(method)) { return method; } else if (isString(method)) { diff --git a/src/utils/returnAtIndex.ts b/src/utils/returnAtIndex.ts index b121b57..3b0c96c 100644 --- a/src/utils/returnAtIndex.ts +++ b/src/utils/returnAtIndex.ts @@ -1,10 +1,11 @@ /** * Creates a function the returns the specific index. + * * @private * @export - * @param {Function} fn - * @param {number} index - * @returns {Function} + * @param {Function} fn + * @param {number} index + * @returns {Function} */ export function returnAtIndex(fn: Function, index: number): Function { return function(...args: any[]): any { diff --git a/src/utils/wrapConstructor.ts b/src/utils/wrapConstructor.ts index 402b745..68d9b53 100644 --- a/src/utils/wrapConstructor.ts +++ b/src/utils/wrapConstructor.ts @@ -11,6 +11,7 @@ const PROPERTY_EXCLUDES = [ /** * Wraps a constructor in a wrapper function and copies all static properties * and methods to the new constructor. + * * @export * @param {Function} Ctor * @param {(Ctor: Function, ...args: any[]) => any} wrapper From 55c9b52dd1fff9b24292337ad02dcd55fc21a1b5 Mon Sep 17 00:00:00 2001 From: GerkinDev Date: Wed, 8 Sep 2021 01:09:59 +0200 Subject: [PATCH 3/5] docs: regenerate docs directly from typescript --- docs/ast/source/.external-ecmascript.js.json | 2802 ++ .../{beforeAll.js.json => after.ts.json} | 2164 +- docs/ast/source/afterAll.ts.json | 2910 ++ .../{wrap.js.json => applicators.ts.json} | 1750 +- .../ast/source/applicators/Applicator.js.json | 263 - .../ast/source/applicators/Applicator.ts.json | 620 + ...licator.js.json => BindApplicator.ts.json} | 959 +- ...ator.js.json => ComposeApplicator.ts.json} | 2601 +- ...cator.js.json => InvokeApplicator.ts.json} | 1047 +- ...ator.js.json => MemoizeApplicator.ts.json} | 3921 +- ...ator.js.json => PartialApplicator.ts.json} | 1054 +- .../PartialValueApplicator.ts.json} | 4035 +- ...or.js.json => PartialedApplicator.ts.json} | 1021 +- ...or.js.json => PostValueApplicator.ts.json} | 815 +- ...tor.js.json => PreValueApplicator.ts.json} | 644 +- ...licator.js.json => WrapApplicator.ts.json} | 1006 +- docs/ast/source/ary.js.json | 2194 - docs/ast/source/ary.ts.json | 2618 + .../{attempt.js.json => attempt.ts.json} | 1486 +- docs/ast/source/before.js.json | 2418 - .../source/{flow.js.json => before.ts.json} | 2241 +- docs/ast/source/beforeAll.ts.json | 2910 ++ .../ast/source/{bind.js.json => bind.ts.json} | 1189 +- .../{bindAll.js.json => bindAll.ts.json} | 7374 +-- .../source/{curry.js.json => curry.ts.json} | 944 +- .../{curryAll.js.json => curryAll.ts.json} | 1003 +- ...{curryRight.js.json => curryRight.ts.json} | 1020 +- ...RightAll.js.json => curryRightAll.ts.json} | 965 +- docs/ast/source/debounce.js.json | 2418 - docs/ast/source/debounce.ts.json | 3048 ++ docs/ast/source/debounceAll.js.json | 2194 - docs/ast/source/debounceAll.ts.json | 2756 ++ .../source/{defer.js.json => defer.ts.json} | 1286 +- .../source/{delay.js.json => delay.ts.json} | 4166 +- .../index.js.json => factory.ts.json} | 128 +- ...Config.js.json => DecoratorConfig.ts.json} | 4381 +- ...ctory.js.json => DecoratorFactory.ts.json} | 40005 +++++++++------- .../{common.js.json => common.ts.json} | 2 +- .../{flowRight.js.json => flip.ts.json} | 2253 +- docs/ast/source/flow.ts.json | 3260 ++ docs/ast/source/flowRight.ts.json | 3260 ++ .../source/{index.js.json => index.ts.json} | 0 .../{memoize.js.json => memoize.ts.json} | 1277 +- ...{memoizeAll.js.json => memoizeAll.ts.json} | 965 +- .../source/{mixin.js.json => mixin.ts.json} | 946 +- docs/ast/source/negate.js.json | 2106 - .../source/{after.js.json => negate.ts.json} | 1486 +- .../ast/source/{once.js.json => once.ts.json} | 1252 +- docs/ast/source/onceAll.js.json | 2396 - .../source/{flip.js.json => onceAll.ts.json} | 1224 +- docs/ast/source/overArgs.js.json | 2330 - docs/ast/source/overArgs.ts.json | 2992 ++ docs/ast/source/partial.ts.json | 3200 ++ docs/ast/source/partialRight.js.json | 2487 - .../{partial.js.json => partialRight.ts.json} | 2293 +- docs/ast/source/rearg.js.json | 2106 - docs/ast/source/rearg.ts.json | 3130 ++ .../ast/source/{rest.js.json => rest.ts.json} | 1169 +- .../source/{shared.js.json => shared.ts.json} | 0 .../source/{spread.js.json => spread.ts.json} | 1135 +- docs/ast/source/{tap.js.json => tap.ts.json} | 348 +- .../{throttle.js.json => throttle.ts.json} | 2684 +- docs/ast/source/throttleAll.js.json | 2330 - docs/ast/source/throttleAll.ts.json | 3048 ++ .../source/{unary.js.json => unary.ts.json} | 1173 +- .../index.js.json => utils.ts.json} | 440 +- ...ap.js.json => CompositeKeyWeakMap.ts.json} | 3362 +- docs/ast/source/utils/assignAll.ts.json | 5251 ++ .../utils/{bind.js.json => bind.ts.json} | 352 +- ...yMetaData.js.json => copyMetaData.ts.json} | 749 +- docs/ast/source/utils/index.js.json | 1077 - docs/ast/source/utils/isDecoratorArgs.ts.json | 2348 + .../source/utils/isPrototypeAccess.ts.json | 1630 + .../source/utils/{log.js.json => log.ts.json} | 410 +- ...nction.js.json => resolveFunction.ts.json} | 1798 +- ...nAtIndex.js.json => returnAtIndex.ts.json} | 622 +- docs/ast/source/utils/wrapConstructor.ts.json | 4062 ++ .../source/{afterAll.js.json => wrap.ts.json} | 2024 +- docs/ast/test/after.spec.js.json | 10463 ---- docs/ast/test/afterAll.spec.js.json | 6633 --- docs/ast/test/ary.spec.js.json | 4249 -- docs/ast/test/attempt.spec.js.json | 5618 --- docs/ast/test/before.spec.js.json | 7573 --- docs/ast/test/beforeAll.spec.js.json | 7573 --- docs/ast/test/bind.spec.js.json | 8524 ---- docs/ast/test/bindAll.spec.js.json | 9969 ---- docs/ast/test/combinationTest.spec.js.json | 21137 -------- docs/ast/test/curry.spec.js.json | 12580 ----- docs/ast/test/curryAll.spec.js.json | 11794 ----- docs/ast/test/curryRight.spec.js.json | 8372 ---- docs/ast/test/curryRightAll.spec.js.json | 4474 -- docs/ast/test/debounce.spec.js.json | 13918 ------ docs/ast/test/debounceAll.spec.js.json | 6541 --- docs/ast/test/defer.spec.js.json | 12943 ----- docs/ast/test/delay.spec.js.json | 13064 ----- docs/ast/test/flip.spec.js.json | 4233 -- docs/ast/test/flow.spec.js.json | 9706 ---- docs/ast/test/flowRight.spec.js.json | 9706 ---- docs/ast/test/memoize.spec.js.json | 35567 -------------- docs/ast/test/memoizeAll.spec.js.json | 15393 ------ docs/ast/test/mixin.spec.js.json | 4826 -- docs/ast/test/negate.spec.js.json | 3693 -- docs/ast/test/once.spec.js.json | 6115 --- docs/ast/test/overArgs.spec.js.json | 5140 -- docs/ast/test/partial.spec.js.json | 5465 --- docs/ast/test/partialRight.spec.js.json | 5465 --- docs/ast/test/rearg.spec.js.json | 4711 -- docs/ast/test/rest.spec.js.json | 5577 --- docs/ast/test/spread.spec.js.json | 4963 -- docs/ast/test/tap.spec.js.json | 3815 -- docs/ast/test/throttle.spec.js.json | 21211 -------- docs/ast/test/unary.spec.js.json | 4128 -- docs/badge.svg | 8 +- .../applicators/Applicator.js~Applicator.html | 157 - .../applicators/Applicator.ts~Applicator.html | 183 + .../BindApplicator.ts~BindApplicator.html} | 121 +- ...mposeApplicator.ts~ComposeApplicator.html} | 154 +- ...InvokeApplicator.ts~InvokeApplicator.html} | 121 +- ...moizeApplicator.ts~MemoizeApplicator.html} | 121 +- ...rtialApplicator.ts~PartialApplicator.html} | 121 +- ...eApplicator.ts~PartialValueApplicator.html | 290 + ...ledApplicator.ts~PartialedApplicator.html} | 121 +- ...lueApplicator.ts~PostValueApplicator.html} | 121 +- ...alueApplicator.ts~PreValueApplicator.html} | 121 +- .../WrapApplicator.ts~WrapApplicator.html} | 121 +- .../DecoratorConfig.ts~DecoratorConfig.html} | 269 +- ...rFactory.ts~InternalDecoratorFactory.html} | 137 +- ...siteKeyWeakMap.ts~CompositeKeyWeakMap.html | 566 + docs/coverage.json | 394 +- docs/css/github.css | 83 + docs/css/identifiers.css | 37 + docs/css/manual.css | 134 + docs/css/search.css | 84 + docs/css/source.css | 55 + docs/css/style.css | 530 +- docs/css/test.css | 58 + docs/dump.json | 5864 --- docs/file/buildDocs/after.js.html | 131 - docs/file/buildDocs/afterAll.js.html | 136 - .../buildDocs/applicators/Applicator.js.html | 110 - .../applicators/BindApplicator.js.html | 117 - .../applicators/ComposeApplicator.js.html | 135 - .../applicators/InvokeApplicator.js.html | 116 - .../applicators/MemoizeApplicator.js.html | 130 - .../applicators/PartialApplicator.js.html | 117 - .../applicators/PartialedApplicator.js.html | 115 - .../applicators/PostValueApplicator.js.html | 114 - .../applicators/PreValueApplicator.js.html | 114 - .../applicators/WrapApplicator.js.html | 117 - docs/file/buildDocs/applicators/index.js.html | 118 - docs/file/buildDocs/ary.js.html | 130 - docs/file/buildDocs/attempt.js.html | 136 - docs/file/buildDocs/before.js.html | 138 - docs/file/buildDocs/beforeAll.js.html | 141 - docs/file/buildDocs/bind.js.html | 139 - docs/file/buildDocs/bindAll.js.html | 163 - docs/file/buildDocs/curry.js.html | 140 - docs/file/buildDocs/curryAll.js.html | 138 - docs/file/buildDocs/curryRightAll.js.html | 138 - docs/file/buildDocs/defer.js.html | 139 - docs/file/buildDocs/delay.js.html | 144 - .../buildDocs/factory/DecoratorConfig.js.html | 130 - .../factory/DecoratorFactory.js.html | 233 - docs/file/buildDocs/factory/common.js.html | 110 - docs/file/buildDocs/factory/index.js.html | 111 - docs/file/buildDocs/flip.js.html | 133 - docs/file/buildDocs/flow.js.html | 135 - docs/file/buildDocs/flowRight.js.html | 135 - docs/file/buildDocs/memoize.js.html | 114 - docs/file/buildDocs/memoizeAll.js.html | 118 - docs/file/buildDocs/mixin.js.html | 117 - docs/file/buildDocs/negate.js.html | 114 - docs/file/buildDocs/once.js.html | 114 - docs/file/buildDocs/onceAll.js.html | 114 - docs/file/buildDocs/overArgs.js.html | 114 - docs/file/buildDocs/partial.js.html | 114 - docs/file/buildDocs/partialRight.js.html | 114 - docs/file/buildDocs/rearg.js.html | 114 - docs/file/buildDocs/rest.js.html | 114 - docs/file/buildDocs/shared.js.html | 108 - docs/file/buildDocs/spread.js.html | 114 - docs/file/buildDocs/tap.js.html | 118 - docs/file/buildDocs/throttle.js.html | 118 - docs/file/buildDocs/throttleAll.js.html | 114 - docs/file/buildDocs/unary.js.html | 114 - .../utils/CompositeKeyWeakMap.js.html | 147 - docs/file/buildDocs/utils/bind.js.html | 120 - .../file/buildDocs/utils/copyMetaData.js.html | 119 - docs/file/buildDocs/utils/index.js.html | 114 - docs/file/buildDocs/utils/log.js.html | 124 - .../buildDocs/utils/resolveFunction.js.html | 136 - .../buildDocs/utils/returnAtIndex.js.html | 129 - docs/file/buildDocs/wrap.js.html | 114 - docs/file/src/after.ts.html | 166 + docs/file/src/afterAll.ts.html | 171 + docs/file/src/applicators.ts.html | 145 + docs/file/src/applicators/Applicator.ts.html | 140 + .../src/applicators/BindApplicator.ts.html | 144 + .../src/applicators/ComposeApplicator.ts.html | 166 + .../src/applicators/InvokeApplicator.ts.html | 143 + .../src/applicators/MemoizeApplicator.ts.html | 168 + .../src/applicators/PartialApplicator.ts.html | 143 + .../PartialValueApplicator.ts.html | 154 + .../applicators/PartialedApplicator.ts.html | 144 + .../applicators/PostValueApplicator.ts.html | 140 + .../applicators/PreValueApplicator.ts.html | 140 + .../src/applicators/WrapApplicator.ts.html | 143 + docs/file/src/ary.ts.html | 165 + docs/file/src/attempt.ts.html | 171 + docs/file/src/before.ts.html | 173 + docs/file/src/beforeAll.ts.html | 176 + docs/file/src/bind.ts.html | 172 + docs/file/src/bindAll.ts.html | 203 + docs/file/src/curry.ts.html | 171 + docs/file/src/curryAll.ts.html | 169 + .../curryRight.ts.html} | 113 +- docs/file/src/curryRightAll.ts.html | 169 + .../debounce.js.html => src/debounce.ts.html} | 119 +- .../debounceAll.ts.html} | 119 +- docs/file/src/defer.ts.html | 169 + docs/file/src/delay.ts.html | 182 + docs/file/src/factory.ts.html | 137 + docs/file/src/factory/DecoratorConfig.ts.html | 176 + .../file/src/factory/DecoratorFactory.ts.html | 335 + docs/file/src/factory/common.ts.html | 171 + docs/file/src/flip.ts.html | 174 + docs/file/src/flow.ts.html | 174 + docs/file/src/flowRight.ts.html | 174 + .../index.js.html => src/index.ts.html} | 102 +- docs/file/src/memoize.ts.html | 174 + docs/file/src/memoizeAll.ts.html | 150 + docs/file/src/mixin.ts.html | 164 + docs/file/src/negate.ts.html | 168 + docs/file/src/once.ts.html | 163 + docs/file/src/onceAll.ts.html | 164 + docs/file/src/overArgs.ts.html | 167 + docs/file/src/partial.ts.html | 170 + docs/file/src/partialRight.ts.html | 148 + docs/file/src/rearg.ts.html | 153 + docs/file/src/rest.ts.html | 144 + docs/file/src/shared.ts.html | 168 + docs/file/src/spread.ts.html | 144 + docs/file/src/tap.ts.html | 147 + docs/file/src/throttle.ts.html | 156 + docs/file/src/throttleAll.ts.html | 148 + docs/file/src/unary.ts.html | 144 + docs/file/src/utils.ts.html | 144 + .../src/utils/CompositeKeyWeakMap.ts.html | 183 + docs/file/src/utils/assignAll.ts.html | 183 + docs/file/src/utils/bind.ts.html | 147 + docs/file/src/utils/copyMetaData.ts.html | 148 + docs/file/src/utils/isDecoratorArgs.ts.html | 145 + docs/file/src/utils/isPrototypeAccess.ts.html | 139 + docs/file/src/utils/log.ts.html | 145 + docs/file/src/utils/resolveFunction.ts.html | 164 + docs/file/src/utils/returnAtIndex.ts.html | 150 + docs/file/src/utils/wrapConstructor.ts.html | 169 + docs/file/src/wrap.ts.html | 153 + docs/function/index.html | 3133 +- docs/identifiers.html | 1254 +- docs/image/github.png | Bin 4268 -> 0 bytes docs/image/manual-badge.svg | 12 +- docs/index.html | 222 +- docs/index.json | 6838 +++ docs/lint.json | 1 + docs/package.json | 67 - docs/script/inner-link.js | 3 +- docs/script/manual.js | 3 +- docs/script/prettify/prettify.js | 74 +- docs/script/search_index.js | 2738 +- docs/script/test-summary.js | 4 +- docs/source.html | 798 +- docs/test-file/buildDocs/after.spec.js.html | 149 - .../test-file/buildDocs/afterAll.spec.js.html | 136 - docs/test-file/buildDocs/ary.spec.js.html | 125 - docs/test-file/buildDocs/attempt.spec.js.html | 132 - docs/test-file/buildDocs/before.spec.js.html | 140 - .../buildDocs/beforeAll.spec.js.html | 140 - docs/test-file/buildDocs/bind.spec.js.html | 146 - docs/test-file/buildDocs/bindAll.spec.js.html | 155 - .../buildDocs/combinationTest.spec.js.html | 184 - docs/test-file/buildDocs/curry.spec.js.html | 157 - .../test-file/buildDocs/curryAll.spec.js.html | 154 - .../buildDocs/curryRight.spec.js.html | 142 - .../buildDocs/curryRightAll.spec.js.html | 126 - .../test-file/buildDocs/debounce.spec.js.html | 169 - .../buildDocs/debounceAll.spec.js.html | 138 - docs/test-file/buildDocs/defer.spec.js.html | 159 - docs/test-file/buildDocs/delay.spec.js.html | 159 - docs/test-file/buildDocs/flip.spec.js.html | 125 - docs/test-file/buildDocs/flow.spec.js.html | 148 - .../buildDocs/flowRight.spec.js.html | 148 - docs/test-file/buildDocs/memoize.spec.js.html | 222 - .../buildDocs/memoizeAll.spec.js.html | 160 - docs/test-file/buildDocs/mixin.spec.js.html | 127 - docs/test-file/buildDocs/negate.spec.js.html | 125 - docs/test-file/buildDocs/once.spec.js.html | 134 - .../test-file/buildDocs/overArgs.spec.js.html | 126 - docs/test-file/buildDocs/partial.spec.js.html | 129 - .../buildDocs/partialRight.spec.js.html | 129 - docs/test-file/buildDocs/rearg.spec.js.html | 125 - docs/test-file/buildDocs/rest.spec.js.html | 127 - docs/test-file/buildDocs/spread.spec.js.html | 126 - docs/test-file/buildDocs/tap.spec.js.html | 125 - .../test-file/buildDocs/throttle.spec.js.html | 191 - docs/test-file/buildDocs/unary.spec.js.html | 125 - docs/test-file/buildDocs/wrap.spec.js.html | 128 - docs/test-file/src/after.spec.ts.html | 179 + docs/test-file/src/afterAll.spec.ts.html | 166 + docs/test-file/src/ary.spec.ts.html | 151 + docs/test-file/src/attempt.spec.ts.html | 177 + docs/test-file/src/before.spec.ts.html | 170 + docs/test-file/src/beforeAll.spec.ts.html | 170 + docs/test-file/src/bind.spec.ts.html | 216 + docs/test-file/src/bindAll.spec.ts.html | 263 + .../src/combinationTest.spec.ts.html | 222 + docs/test-file/src/curry.spec.ts.html | 200 + docs/test-file/src/curryAll.spec.ts.html | 198 + docs/test-file/src/curryRight.spec.ts.html | 183 + docs/test-file/src/curryRightAll.spec.ts.html | 167 + docs/test-file/src/debounce.spec.ts.html | 202 + docs/test-file/src/debounceAll.spec.ts.html | 168 + docs/test-file/src/defer.spec.ts.html | 242 + docs/test-file/src/delay.spec.ts.html | 191 + docs/test-file/src/flip.spec.ts.html | 167 + docs/test-file/src/flow.spec.ts.html | 179 + docs/test-file/src/flowRight.spec.ts.html | 179 + docs/test-file/src/memoize.spec.ts.html | 302 + docs/test-file/src/memoizeAll.spec.ts.html | 220 + docs/test-file/src/mixin.spec.ts.html | 155 + docs/test-file/src/negate.spec.ts.html | 180 + docs/test-file/src/once.spec.ts.html | 164 + docs/test-file/src/overArgs.spec.ts.html | 153 + docs/test-file/src/partial.spec.ts.html | 157 + docs/test-file/src/partialRight.spec.ts.html | 156 + docs/test-file/src/rearg.spec.ts.html | 167 + docs/test-file/src/rest.spec.ts.html | 168 + docs/test-file/src/spread.spec.ts.html | 167 + docs/test-file/src/tap.spec.ts.html | 165 + docs/test-file/src/throttle.spec.ts.html | 250 + docs/test-file/src/unary.spec.ts.html | 165 + .../src/utils/isDecoratorArgs.spec.ts.html | 190 + .../src/utils/wrapConstructor.spec.ts.html | 147 + docs/test-file/src/wrap.spec.ts.html | 155 + docs/test.html | 837 +- docs/variable/index.html | 1072 +- 346 files changed, 146514 insertions(+), 414283 deletions(-) create mode 100644 docs/ast/source/.external-ecmascript.js.json rename docs/ast/source/{beforeAll.js.json => after.ts.json} (61%) create mode 100644 docs/ast/source/afterAll.ts.json rename docs/ast/source/{wrap.js.json => applicators.ts.json} (54%) delete mode 100644 docs/ast/source/applicators/Applicator.js.json create mode 100644 docs/ast/source/applicators/Applicator.ts.json rename docs/ast/source/applicators/{BindApplicator.js.json => BindApplicator.ts.json} (78%) rename docs/ast/source/applicators/{ComposeApplicator.js.json => ComposeApplicator.ts.json} (79%) rename docs/ast/source/applicators/{InvokeApplicator.js.json => InvokeApplicator.ts.json} (76%) rename docs/ast/source/applicators/{MemoizeApplicator.js.json => MemoizeApplicator.ts.json} (68%) rename docs/ast/source/applicators/{PartialApplicator.js.json => PartialApplicator.ts.json} (79%) rename docs/ast/{test/wrap.spec.js.json => source/applicators/PartialValueApplicator.ts.json} (56%) rename docs/ast/source/applicators/{PartialedApplicator.js.json => PartialedApplicator.ts.json} (74%) rename docs/ast/source/applicators/{PostValueApplicator.js.json => PostValueApplicator.ts.json} (75%) rename docs/ast/source/applicators/{PreValueApplicator.js.json => PreValueApplicator.ts.json} (76%) rename docs/ast/source/applicators/{WrapApplicator.js.json => WrapApplicator.ts.json} (79%) delete mode 100644 docs/ast/source/ary.js.json create mode 100644 docs/ast/source/ary.ts.json rename docs/ast/source/{attempt.js.json => attempt.ts.json} (77%) delete mode 100644 docs/ast/source/before.js.json rename docs/ast/source/{flow.js.json => before.ts.json} (61%) create mode 100644 docs/ast/source/beforeAll.ts.json rename docs/ast/source/{bind.js.json => bind.ts.json} (80%) rename docs/ast/source/{bindAll.js.json => bindAll.ts.json} (65%) rename docs/ast/source/{curry.js.json => curry.ts.json} (82%) rename docs/ast/source/{curryAll.js.json => curryAll.ts.json} (82%) rename docs/ast/source/{curryRight.js.json => curryRight.ts.json} (81%) rename docs/ast/source/{curryRightAll.js.json => curryRightAll.ts.json} (82%) delete mode 100644 docs/ast/source/debounce.js.json create mode 100644 docs/ast/source/debounce.ts.json delete mode 100644 docs/ast/source/debounceAll.js.json create mode 100644 docs/ast/source/debounceAll.ts.json rename docs/ast/source/{defer.js.json => defer.ts.json} (79%) rename docs/ast/source/{delay.js.json => delay.ts.json} (55%) rename docs/ast/source/{factory/index.js.json => factory.ts.json} (86%) rename docs/ast/source/factory/{DecoratorConfig.js.json => DecoratorConfig.ts.json} (65%) rename docs/ast/source/factory/{DecoratorFactory.js.json => DecoratorFactory.ts.json} (64%) rename docs/ast/source/factory/{common.js.json => common.ts.json} (99%) rename docs/ast/source/{flowRight.js.json => flip.ts.json} (61%) create mode 100644 docs/ast/source/flow.ts.json create mode 100644 docs/ast/source/flowRight.ts.json rename docs/ast/source/{index.js.json => index.ts.json} (100%) rename docs/ast/source/{memoize.js.json => memoize.ts.json} (69%) rename docs/ast/source/{memoizeAll.js.json => memoizeAll.ts.json} (83%) rename docs/ast/source/{mixin.js.json => mixin.ts.json} (72%) delete mode 100644 docs/ast/source/negate.js.json rename docs/ast/source/{after.js.json => negate.ts.json} (70%) rename docs/ast/source/{once.js.json => once.ts.json} (74%) delete mode 100644 docs/ast/source/onceAll.js.json rename docs/ast/source/{flip.js.json => onceAll.ts.json} (71%) delete mode 100644 docs/ast/source/overArgs.js.json create mode 100644 docs/ast/source/overArgs.ts.json create mode 100644 docs/ast/source/partial.ts.json delete mode 100644 docs/ast/source/partialRight.js.json rename docs/ast/source/{partial.js.json => partialRight.ts.json} (58%) delete mode 100644 docs/ast/source/rearg.js.json create mode 100644 docs/ast/source/rearg.ts.json rename docs/ast/source/{rest.js.json => rest.ts.json} (80%) rename docs/ast/source/{shared.js.json => shared.ts.json} (100%) rename docs/ast/source/{spread.js.json => spread.ts.json} (81%) rename docs/ast/source/{tap.js.json => tap.ts.json} (88%) rename docs/ast/source/{throttle.js.json => throttle.ts.json} (81%) delete mode 100644 docs/ast/source/throttleAll.js.json create mode 100644 docs/ast/source/throttleAll.ts.json rename docs/ast/source/{unary.js.json => unary.ts.json} (80%) rename docs/ast/source/{applicators/index.js.json => utils.ts.json} (86%) rename docs/ast/source/utils/{CompositeKeyWeakMap.js.json => CompositeKeyWeakMap.ts.json} (79%) create mode 100644 docs/ast/source/utils/assignAll.ts.json rename docs/ast/source/utils/{bind.js.json => bind.ts.json} (82%) rename docs/ast/source/utils/{copyMetaData.js.json => copyMetaData.ts.json} (65%) delete mode 100644 docs/ast/source/utils/index.js.json create mode 100644 docs/ast/source/utils/isDecoratorArgs.ts.json create mode 100644 docs/ast/source/utils/isPrototypeAccess.ts.json rename docs/ast/source/utils/{log.js.json => log.ts.json} (69%) rename docs/ast/source/utils/{resolveFunction.js.json => resolveFunction.ts.json} (76%) rename docs/ast/source/utils/{returnAtIndex.js.json => returnAtIndex.ts.json} (74%) create mode 100644 docs/ast/source/utils/wrapConstructor.ts.json rename docs/ast/source/{afterAll.js.json => wrap.ts.json} (64%) delete mode 100644 docs/ast/test/after.spec.js.json delete mode 100644 docs/ast/test/afterAll.spec.js.json delete mode 100644 docs/ast/test/ary.spec.js.json delete mode 100644 docs/ast/test/attempt.spec.js.json delete mode 100644 docs/ast/test/before.spec.js.json delete mode 100644 docs/ast/test/beforeAll.spec.js.json delete mode 100644 docs/ast/test/bind.spec.js.json delete mode 100644 docs/ast/test/bindAll.spec.js.json delete mode 100644 docs/ast/test/combinationTest.spec.js.json delete mode 100644 docs/ast/test/curry.spec.js.json delete mode 100644 docs/ast/test/curryAll.spec.js.json delete mode 100644 docs/ast/test/curryRight.spec.js.json delete mode 100644 docs/ast/test/curryRightAll.spec.js.json delete mode 100644 docs/ast/test/debounce.spec.js.json delete mode 100644 docs/ast/test/debounceAll.spec.js.json delete mode 100644 docs/ast/test/defer.spec.js.json delete mode 100644 docs/ast/test/delay.spec.js.json delete mode 100644 docs/ast/test/flip.spec.js.json delete mode 100644 docs/ast/test/flow.spec.js.json delete mode 100644 docs/ast/test/flowRight.spec.js.json delete mode 100644 docs/ast/test/memoize.spec.js.json delete mode 100644 docs/ast/test/memoizeAll.spec.js.json delete mode 100644 docs/ast/test/mixin.spec.js.json delete mode 100644 docs/ast/test/negate.spec.js.json delete mode 100644 docs/ast/test/once.spec.js.json delete mode 100644 docs/ast/test/overArgs.spec.js.json delete mode 100644 docs/ast/test/partial.spec.js.json delete mode 100644 docs/ast/test/partialRight.spec.js.json delete mode 100644 docs/ast/test/rearg.spec.js.json delete mode 100644 docs/ast/test/rest.spec.js.json delete mode 100644 docs/ast/test/spread.spec.js.json delete mode 100644 docs/ast/test/tap.spec.js.json delete mode 100644 docs/ast/test/throttle.spec.js.json delete mode 100644 docs/ast/test/unary.spec.js.json delete mode 100644 docs/class/buildDocs/applicators/Applicator.js~Applicator.html create mode 100644 docs/class/src/applicators/Applicator.ts~Applicator.html rename docs/class/{buildDocs/applicators/BindApplicator.js~BindApplicator.html => src/applicators/BindApplicator.ts~BindApplicator.html} (50%) rename docs/class/{buildDocs/applicators/ComposeApplicator.js~ComposeApplicator.html => src/applicators/ComposeApplicator.ts~ComposeApplicator.html} (52%) rename docs/class/{buildDocs/applicators/InvokeApplicator.js~InvokeApplicator.html => src/applicators/InvokeApplicator.ts~InvokeApplicator.html} (50%) rename docs/class/{buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator.html => src/applicators/MemoizeApplicator.ts~MemoizeApplicator.html} (50%) rename docs/class/{buildDocs/applicators/PartialApplicator.js~PartialApplicator.html => src/applicators/PartialApplicator.ts~PartialApplicator.html} (50%) create mode 100644 docs/class/src/applicators/PartialValueApplicator.ts~PartialValueApplicator.html rename docs/class/{buildDocs/applicators/PartialedApplicator.js~PartialedApplicator.html => src/applicators/PartialedApplicator.ts~PartialedApplicator.html} (50%) rename docs/class/{buildDocs/applicators/PostValueApplicator.js~PostValueApplicator.html => src/applicators/PostValueApplicator.ts~PostValueApplicator.html} (50%) rename docs/class/{buildDocs/applicators/PreValueApplicator.js~PreValueApplicator.html => src/applicators/PreValueApplicator.ts~PreValueApplicator.html} (50%) rename docs/class/{buildDocs/applicators/WrapApplicator.js~WrapApplicator.html => src/applicators/WrapApplicator.ts~WrapApplicator.html} (50%) rename docs/class/{buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html => src/factory/DecoratorConfig.ts~DecoratorConfig.html} (50%) rename docs/class/{buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory.html => src/factory/DecoratorFactory.ts~InternalDecoratorFactory.html} (52%) create mode 100644 docs/class/src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap.html create mode 100644 docs/css/github.css create mode 100644 docs/css/identifiers.css create mode 100644 docs/css/manual.css create mode 100644 docs/css/search.css create mode 100644 docs/css/source.css create mode 100644 docs/css/test.css delete mode 100644 docs/dump.json delete mode 100644 docs/file/buildDocs/after.js.html delete mode 100644 docs/file/buildDocs/afterAll.js.html delete mode 100644 docs/file/buildDocs/applicators/Applicator.js.html delete mode 100644 docs/file/buildDocs/applicators/BindApplicator.js.html delete mode 100644 docs/file/buildDocs/applicators/ComposeApplicator.js.html delete mode 100644 docs/file/buildDocs/applicators/InvokeApplicator.js.html delete mode 100644 docs/file/buildDocs/applicators/MemoizeApplicator.js.html delete mode 100644 docs/file/buildDocs/applicators/PartialApplicator.js.html delete mode 100644 docs/file/buildDocs/applicators/PartialedApplicator.js.html delete mode 100644 docs/file/buildDocs/applicators/PostValueApplicator.js.html delete mode 100644 docs/file/buildDocs/applicators/PreValueApplicator.js.html delete mode 100644 docs/file/buildDocs/applicators/WrapApplicator.js.html delete mode 100644 docs/file/buildDocs/applicators/index.js.html delete mode 100644 docs/file/buildDocs/ary.js.html delete mode 100644 docs/file/buildDocs/attempt.js.html delete mode 100644 docs/file/buildDocs/before.js.html delete mode 100644 docs/file/buildDocs/beforeAll.js.html delete mode 100644 docs/file/buildDocs/bind.js.html delete mode 100644 docs/file/buildDocs/bindAll.js.html delete mode 100644 docs/file/buildDocs/curry.js.html delete mode 100644 docs/file/buildDocs/curryAll.js.html delete mode 100644 docs/file/buildDocs/curryRightAll.js.html delete mode 100644 docs/file/buildDocs/defer.js.html delete mode 100644 docs/file/buildDocs/delay.js.html delete mode 100644 docs/file/buildDocs/factory/DecoratorConfig.js.html delete mode 100644 docs/file/buildDocs/factory/DecoratorFactory.js.html delete mode 100644 docs/file/buildDocs/factory/common.js.html delete mode 100644 docs/file/buildDocs/factory/index.js.html delete mode 100644 docs/file/buildDocs/flip.js.html delete mode 100644 docs/file/buildDocs/flow.js.html delete mode 100644 docs/file/buildDocs/flowRight.js.html delete mode 100644 docs/file/buildDocs/memoize.js.html delete mode 100644 docs/file/buildDocs/memoizeAll.js.html delete mode 100644 docs/file/buildDocs/mixin.js.html delete mode 100644 docs/file/buildDocs/negate.js.html delete mode 100644 docs/file/buildDocs/once.js.html delete mode 100644 docs/file/buildDocs/onceAll.js.html delete mode 100644 docs/file/buildDocs/overArgs.js.html delete mode 100644 docs/file/buildDocs/partial.js.html delete mode 100644 docs/file/buildDocs/partialRight.js.html delete mode 100644 docs/file/buildDocs/rearg.js.html delete mode 100644 docs/file/buildDocs/rest.js.html delete mode 100644 docs/file/buildDocs/shared.js.html delete mode 100644 docs/file/buildDocs/spread.js.html delete mode 100644 docs/file/buildDocs/tap.js.html delete mode 100644 docs/file/buildDocs/throttle.js.html delete mode 100644 docs/file/buildDocs/throttleAll.js.html delete mode 100644 docs/file/buildDocs/unary.js.html delete mode 100644 docs/file/buildDocs/utils/CompositeKeyWeakMap.js.html delete mode 100644 docs/file/buildDocs/utils/bind.js.html delete mode 100644 docs/file/buildDocs/utils/copyMetaData.js.html delete mode 100644 docs/file/buildDocs/utils/index.js.html delete mode 100644 docs/file/buildDocs/utils/log.js.html delete mode 100644 docs/file/buildDocs/utils/resolveFunction.js.html delete mode 100644 docs/file/buildDocs/utils/returnAtIndex.js.html delete mode 100644 docs/file/buildDocs/wrap.js.html create mode 100644 docs/file/src/after.ts.html create mode 100644 docs/file/src/afterAll.ts.html create mode 100644 docs/file/src/applicators.ts.html create mode 100644 docs/file/src/applicators/Applicator.ts.html create mode 100644 docs/file/src/applicators/BindApplicator.ts.html create mode 100644 docs/file/src/applicators/ComposeApplicator.ts.html create mode 100644 docs/file/src/applicators/InvokeApplicator.ts.html create mode 100644 docs/file/src/applicators/MemoizeApplicator.ts.html create mode 100644 docs/file/src/applicators/PartialApplicator.ts.html create mode 100644 docs/file/src/applicators/PartialValueApplicator.ts.html create mode 100644 docs/file/src/applicators/PartialedApplicator.ts.html create mode 100644 docs/file/src/applicators/PostValueApplicator.ts.html create mode 100644 docs/file/src/applicators/PreValueApplicator.ts.html create mode 100644 docs/file/src/applicators/WrapApplicator.ts.html create mode 100644 docs/file/src/ary.ts.html create mode 100644 docs/file/src/attempt.ts.html create mode 100644 docs/file/src/before.ts.html create mode 100644 docs/file/src/beforeAll.ts.html create mode 100644 docs/file/src/bind.ts.html create mode 100644 docs/file/src/bindAll.ts.html create mode 100644 docs/file/src/curry.ts.html create mode 100644 docs/file/src/curryAll.ts.html rename docs/file/{buildDocs/curryRight.js.html => src/curryRight.ts.html} (50%) create mode 100644 docs/file/src/curryRightAll.ts.html rename docs/file/{buildDocs/debounce.js.html => src/debounce.ts.html} (50%) rename docs/file/{buildDocs/debounceAll.js.html => src/debounceAll.ts.html} (50%) create mode 100644 docs/file/src/defer.ts.html create mode 100644 docs/file/src/delay.ts.html create mode 100644 docs/file/src/factory.ts.html create mode 100644 docs/file/src/factory/DecoratorConfig.ts.html create mode 100644 docs/file/src/factory/DecoratorFactory.ts.html create mode 100644 docs/file/src/factory/common.ts.html create mode 100644 docs/file/src/flip.ts.html create mode 100644 docs/file/src/flow.ts.html create mode 100644 docs/file/src/flowRight.ts.html rename docs/file/{buildDocs/index.js.html => src/index.ts.html} (51%) create mode 100644 docs/file/src/memoize.ts.html create mode 100644 docs/file/src/memoizeAll.ts.html create mode 100644 docs/file/src/mixin.ts.html create mode 100644 docs/file/src/negate.ts.html create mode 100644 docs/file/src/once.ts.html create mode 100644 docs/file/src/onceAll.ts.html create mode 100644 docs/file/src/overArgs.ts.html create mode 100644 docs/file/src/partial.ts.html create mode 100644 docs/file/src/partialRight.ts.html create mode 100644 docs/file/src/rearg.ts.html create mode 100644 docs/file/src/rest.ts.html create mode 100644 docs/file/src/shared.ts.html create mode 100644 docs/file/src/spread.ts.html create mode 100644 docs/file/src/tap.ts.html create mode 100644 docs/file/src/throttle.ts.html create mode 100644 docs/file/src/throttleAll.ts.html create mode 100644 docs/file/src/unary.ts.html create mode 100644 docs/file/src/utils.ts.html create mode 100644 docs/file/src/utils/CompositeKeyWeakMap.ts.html create mode 100644 docs/file/src/utils/assignAll.ts.html create mode 100644 docs/file/src/utils/bind.ts.html create mode 100644 docs/file/src/utils/copyMetaData.ts.html create mode 100644 docs/file/src/utils/isDecoratorArgs.ts.html create mode 100644 docs/file/src/utils/isPrototypeAccess.ts.html create mode 100644 docs/file/src/utils/log.ts.html create mode 100644 docs/file/src/utils/resolveFunction.ts.html create mode 100644 docs/file/src/utils/returnAtIndex.ts.html create mode 100644 docs/file/src/utils/wrapConstructor.ts.html create mode 100644 docs/file/src/wrap.ts.html delete mode 100644 docs/image/github.png create mode 100644 docs/index.json create mode 100644 docs/lint.json delete mode 100644 docs/package.json delete mode 100644 docs/test-file/buildDocs/after.spec.js.html delete mode 100644 docs/test-file/buildDocs/afterAll.spec.js.html delete mode 100644 docs/test-file/buildDocs/ary.spec.js.html delete mode 100644 docs/test-file/buildDocs/attempt.spec.js.html delete mode 100644 docs/test-file/buildDocs/before.spec.js.html delete mode 100644 docs/test-file/buildDocs/beforeAll.spec.js.html delete mode 100644 docs/test-file/buildDocs/bind.spec.js.html delete mode 100644 docs/test-file/buildDocs/bindAll.spec.js.html delete mode 100644 docs/test-file/buildDocs/combinationTest.spec.js.html delete mode 100644 docs/test-file/buildDocs/curry.spec.js.html delete mode 100644 docs/test-file/buildDocs/curryAll.spec.js.html delete mode 100644 docs/test-file/buildDocs/curryRight.spec.js.html delete mode 100644 docs/test-file/buildDocs/curryRightAll.spec.js.html delete mode 100644 docs/test-file/buildDocs/debounce.spec.js.html delete mode 100644 docs/test-file/buildDocs/debounceAll.spec.js.html delete mode 100644 docs/test-file/buildDocs/defer.spec.js.html delete mode 100644 docs/test-file/buildDocs/delay.spec.js.html delete mode 100644 docs/test-file/buildDocs/flip.spec.js.html delete mode 100644 docs/test-file/buildDocs/flow.spec.js.html delete mode 100644 docs/test-file/buildDocs/flowRight.spec.js.html delete mode 100644 docs/test-file/buildDocs/memoize.spec.js.html delete mode 100644 docs/test-file/buildDocs/memoizeAll.spec.js.html delete mode 100644 docs/test-file/buildDocs/mixin.spec.js.html delete mode 100644 docs/test-file/buildDocs/negate.spec.js.html delete mode 100644 docs/test-file/buildDocs/once.spec.js.html delete mode 100644 docs/test-file/buildDocs/overArgs.spec.js.html delete mode 100644 docs/test-file/buildDocs/partial.spec.js.html delete mode 100644 docs/test-file/buildDocs/partialRight.spec.js.html delete mode 100644 docs/test-file/buildDocs/rearg.spec.js.html delete mode 100644 docs/test-file/buildDocs/rest.spec.js.html delete mode 100644 docs/test-file/buildDocs/spread.spec.js.html delete mode 100644 docs/test-file/buildDocs/tap.spec.js.html delete mode 100644 docs/test-file/buildDocs/throttle.spec.js.html delete mode 100644 docs/test-file/buildDocs/unary.spec.js.html delete mode 100644 docs/test-file/buildDocs/wrap.spec.js.html create mode 100644 docs/test-file/src/after.spec.ts.html create mode 100644 docs/test-file/src/afterAll.spec.ts.html create mode 100644 docs/test-file/src/ary.spec.ts.html create mode 100644 docs/test-file/src/attempt.spec.ts.html create mode 100644 docs/test-file/src/before.spec.ts.html create mode 100644 docs/test-file/src/beforeAll.spec.ts.html create mode 100644 docs/test-file/src/bind.spec.ts.html create mode 100644 docs/test-file/src/bindAll.spec.ts.html create mode 100644 docs/test-file/src/combinationTest.spec.ts.html create mode 100644 docs/test-file/src/curry.spec.ts.html create mode 100644 docs/test-file/src/curryAll.spec.ts.html create mode 100644 docs/test-file/src/curryRight.spec.ts.html create mode 100644 docs/test-file/src/curryRightAll.spec.ts.html create mode 100644 docs/test-file/src/debounce.spec.ts.html create mode 100644 docs/test-file/src/debounceAll.spec.ts.html create mode 100644 docs/test-file/src/defer.spec.ts.html create mode 100644 docs/test-file/src/delay.spec.ts.html create mode 100644 docs/test-file/src/flip.spec.ts.html create mode 100644 docs/test-file/src/flow.spec.ts.html create mode 100644 docs/test-file/src/flowRight.spec.ts.html create mode 100644 docs/test-file/src/memoize.spec.ts.html create mode 100644 docs/test-file/src/memoizeAll.spec.ts.html create mode 100644 docs/test-file/src/mixin.spec.ts.html create mode 100644 docs/test-file/src/negate.spec.ts.html create mode 100644 docs/test-file/src/once.spec.ts.html create mode 100644 docs/test-file/src/overArgs.spec.ts.html create mode 100644 docs/test-file/src/partial.spec.ts.html create mode 100644 docs/test-file/src/partialRight.spec.ts.html create mode 100644 docs/test-file/src/rearg.spec.ts.html create mode 100644 docs/test-file/src/rest.spec.ts.html create mode 100644 docs/test-file/src/spread.spec.ts.html create mode 100644 docs/test-file/src/tap.spec.ts.html create mode 100644 docs/test-file/src/throttle.spec.ts.html create mode 100644 docs/test-file/src/unary.spec.ts.html create mode 100644 docs/test-file/src/utils/isDecoratorArgs.spec.ts.html create mode 100644 docs/test-file/src/utils/wrapConstructor.spec.ts.html create mode 100644 docs/test-file/src/wrap.spec.ts.html diff --git a/docs/ast/source/.external-ecmascript.js.json b/docs/ast/source/.external-ecmascript.js.json new file mode 100644 index 0000000..21893b9 --- /dev/null +++ b/docs/ast/source/.external-ecmascript.js.json @@ -0,0 +1,2802 @@ +{ + "type": "File", + "start": 0, + "end": 6058, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 193, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 6058, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 193, + "column": 0 + } + }, + "sourceType": "module", + "body": [], + "directives": [], + "leadingComments": null, + "innerComments": [ + { + "type": "CommentLine", + "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", + "start": 0, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Value properties", + "start": 85, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", + "start": 105, + "end": 226, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", + "start": 228, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", + "start": 341, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", + "start": 466, + "end": 579, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Fundamental objects", + "start": 581, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 604, + "end": 721, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 722, + "end": 839, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 841, + "end": 962, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 963, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1086, + "end": 1205, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1206, + "end": 1325, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", + "start": 1327, + "end": 1444, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", + "start": 1446, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", + "start": 1563, + "end": 1686, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", + "start": 1688, + "end": 1819, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", + "start": 1821, + "end": 1946, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", + "start": 1948, + "end": 2081, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", + "start": 2083, + "end": 2210, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", + "start": 2212, + "end": 2335, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", + "start": 2337, + "end": 2458, + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Numbers and dates", + "start": 2460, + "end": 2480, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2481, + "end": 2598, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2599, + "end": 2716, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", + "start": 2718, + "end": 2831, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Text processing", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 90, + "column": 0 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2852, + "end": 2969, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2970, + "end": 3087, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", + "start": 3089, + "end": 3206, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Indexed collections", + "start": 3208, + "end": 3230, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", + "start": 3231, + "end": 3346, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", + "start": 3348, + "end": 3471, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", + "start": 3472, + "end": 3597, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", + "start": 3599, + "end": 3738, + "loc": { + "start": { + "line": 114, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", + "start": 3740, + "end": 3865, + "loc": { + "start": { + "line": 118, + "column": 0 + }, + "end": { + "line": 120, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", + "start": 3867, + "end": 3994, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", + "start": 3996, + "end": 4121, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 128, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", + "start": 4123, + "end": 4250, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", + "start": 4252, + "end": 4381, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", + "start": 4383, + "end": 4512, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Keyed collections", + "start": 4514, + "end": 4534, + "loc": { + "start": { + "line": 142, + "column": 0 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", + "start": 4535, + "end": 4646, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", + "start": 4648, + "end": 4759, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", + "start": 4761, + "end": 4880, + "loc": { + "start": { + "line": 151, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", + "start": 4882, + "end": 5001, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Structured data", + "start": 5003, + "end": 5021, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", + "start": 5022, + "end": 5149, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 162, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", + "start": 5151, + "end": 5272, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 166, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", + "start": 5274, + "end": 5387, + "loc": { + "start": { + "line": 168, + "column": 0 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Control abstraction objects", + "start": 5389, + "end": 5419, + "loc": { + "start": { + "line": 172, + "column": 0 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", + "start": 5420, + "end": 5539, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", + "start": 5541, + "end": 5664, + "loc": { + "start": { + "line": 177, + "column": 0 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", + "start": 5666, + "end": 5805, + "loc": { + "start": { + "line": 181, + "column": 0 + }, + "end": { + "line": 183, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Reflection", + "start": 5807, + "end": 5820, + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", + "start": 5821, + "end": 5940, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 188, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", + "start": 5942, + "end": 6057, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + } + } + ] + }, + "comments": [ + { + "type": "CommentLine", + "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", + "start": 0, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Value properties", + "start": 85, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", + "start": 105, + "end": 226, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", + "start": 228, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", + "start": 341, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", + "start": 466, + "end": 579, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Fundamental objects", + "start": 581, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 604, + "end": 721, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 722, + "end": 839, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 841, + "end": 962, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 963, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1086, + "end": 1205, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1206, + "end": 1325, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", + "start": 1327, + "end": 1444, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", + "start": 1446, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", + "start": 1563, + "end": 1686, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", + "start": 1688, + "end": 1819, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", + "start": 1821, + "end": 1946, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", + "start": 1948, + "end": 2081, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", + "start": 2083, + "end": 2210, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", + "start": 2212, + "end": 2335, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", + "start": 2337, + "end": 2458, + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Numbers and dates", + "start": 2460, + "end": 2480, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2481, + "end": 2598, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2599, + "end": 2716, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", + "start": 2718, + "end": 2831, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Text processing", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 90, + "column": 0 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2852, + "end": 2969, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2970, + "end": 3087, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", + "start": 3089, + "end": 3206, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Indexed collections", + "start": 3208, + "end": 3230, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", + "start": 3231, + "end": 3346, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", + "start": 3348, + "end": 3471, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", + "start": 3472, + "end": 3597, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", + "start": 3599, + "end": 3738, + "loc": { + "start": { + "line": 114, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", + "start": 3740, + "end": 3865, + "loc": { + "start": { + "line": 118, + "column": 0 + }, + "end": { + "line": 120, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", + "start": 3867, + "end": 3994, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", + "start": 3996, + "end": 4121, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 128, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", + "start": 4123, + "end": 4250, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", + "start": 4252, + "end": 4381, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", + "start": 4383, + "end": 4512, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Keyed collections", + "start": 4514, + "end": 4534, + "loc": { + "start": { + "line": 142, + "column": 0 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", + "start": 4535, + "end": 4646, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", + "start": 4648, + "end": 4759, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", + "start": 4761, + "end": 4880, + "loc": { + "start": { + "line": 151, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", + "start": 4882, + "end": 5001, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Structured data", + "start": 5003, + "end": 5021, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", + "start": 5022, + "end": 5149, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 162, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", + "start": 5151, + "end": 5272, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 166, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", + "start": 5274, + "end": 5387, + "loc": { + "start": { + "line": 168, + "column": 0 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Control abstraction objects", + "start": 5389, + "end": 5419, + "loc": { + "start": { + "line": 172, + "column": 0 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", + "start": 5420, + "end": 5539, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", + "start": 5541, + "end": 5664, + "loc": { + "start": { + "line": 177, + "column": 0 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", + "start": 5666, + "end": 5805, + "loc": { + "start": { + "line": 181, + "column": 0 + }, + "end": { + "line": 183, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Reflection", + "start": 5807, + "end": 5820, + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", + "start": 5821, + "end": 5940, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 188, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", + "start": 5942, + "end": 6057, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentLine", + "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", + "start": 0, + "end": 83, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Value properties", + "start": 85, + "end": 104, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", + "start": 105, + "end": 226, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", + "start": 228, + "end": 339, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", + "start": 341, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", + "start": 466, + "end": 579, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Fundamental objects", + "start": 581, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 604, + "end": 721, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 23, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", + "start": 722, + "end": 839, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 841, + "end": 962, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", + "start": 963, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1086, + "end": 1205, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 37, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", + "start": 1206, + "end": 1325, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 40, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", + "start": 1327, + "end": 1444, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 44, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", + "start": 1446, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", + "start": 1563, + "end": 1686, + "loc": { + "start": { + "line": 50, + "column": 0 + }, + "end": { + "line": 52, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", + "start": 1688, + "end": 1819, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", + "start": 1821, + "end": 1946, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 60, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", + "start": 1948, + "end": 2081, + "loc": { + "start": { + "line": 62, + "column": 0 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", + "start": 2083, + "end": 2210, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", + "start": 2212, + "end": 2335, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 72, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", + "start": 2337, + "end": 2458, + "loc": { + "start": { + "line": 74, + "column": 0 + }, + "end": { + "line": 76, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Numbers and dates", + "start": 2460, + "end": 2480, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2481, + "end": 2598, + "loc": { + "start": { + "line": 79, + "column": 0 + }, + "end": { + "line": 81, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", + "start": 2599, + "end": 2716, + "loc": { + "start": { + "line": 82, + "column": 0 + }, + "end": { + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", + "start": 2718, + "end": 2831, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 88, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Text processing", + "start": 2833, + "end": 2851, + "loc": { + "start": { + "line": 90, + "column": 0 + }, + "end": { + "line": 90, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2852, + "end": 2969, + "loc": { + "start": { + "line": 91, + "column": 0 + }, + "end": { + "line": 93, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", + "start": 2970, + "end": 3087, + "loc": { + "start": { + "line": 94, + "column": 0 + }, + "end": { + "line": 96, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", + "start": 3089, + "end": 3206, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 100, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Indexed collections", + "start": 3208, + "end": 3230, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 22 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", + "start": 3231, + "end": 3346, + "loc": { + "start": { + "line": 103, + "column": 0 + }, + "end": { + "line": 105, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", + "start": 3348, + "end": 3471, + "loc": { + "start": { + "line": 107, + "column": 0 + }, + "end": { + "line": 109, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", + "start": 3472, + "end": 3597, + "loc": { + "start": { + "line": 110, + "column": 0 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", + "start": 3599, + "end": 3738, + "loc": { + "start": { + "line": 114, + "column": 0 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", + "start": 3740, + "end": 3865, + "loc": { + "start": { + "line": 118, + "column": 0 + }, + "end": { + "line": 120, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", + "start": 3867, + "end": 3994, + "loc": { + "start": { + "line": 122, + "column": 0 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", + "start": 3996, + "end": 4121, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 128, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", + "start": 4123, + "end": 4250, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", + "start": 4252, + "end": 4381, + "loc": { + "start": { + "line": 134, + "column": 0 + }, + "end": { + "line": 136, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", + "start": 4383, + "end": 4512, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 140, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Keyed collections", + "start": 4514, + "end": 4534, + "loc": { + "start": { + "line": 142, + "column": 0 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", + "start": 4535, + "end": 4646, + "loc": { + "start": { + "line": 143, + "column": 0 + }, + "end": { + "line": 145, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", + "start": 4648, + "end": 4759, + "loc": { + "start": { + "line": 147, + "column": 0 + }, + "end": { + "line": 149, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", + "start": 4761, + "end": 4880, + "loc": { + "start": { + "line": 151, + "column": 0 + }, + "end": { + "line": 153, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", + "start": 4882, + "end": 5001, + "loc": { + "start": { + "line": 155, + "column": 0 + }, + "end": { + "line": 157, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Structured data", + "start": 5003, + "end": 5021, + "loc": { + "start": { + "line": 159, + "column": 0 + }, + "end": { + "line": 159, + "column": 18 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", + "start": 5022, + "end": 5149, + "loc": { + "start": { + "line": 160, + "column": 0 + }, + "end": { + "line": 162, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", + "start": 5151, + "end": 5272, + "loc": { + "start": { + "line": 164, + "column": 0 + }, + "end": { + "line": 166, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", + "start": 5274, + "end": 5387, + "loc": { + "start": { + "line": 168, + "column": 0 + }, + "end": { + "line": 170, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Control abstraction objects", + "start": 5389, + "end": 5419, + "loc": { + "start": { + "line": 172, + "column": 0 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", + "start": 5420, + "end": 5539, + "loc": { + "start": { + "line": 173, + "column": 0 + }, + "end": { + "line": 175, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", + "start": 5541, + "end": 5664, + "loc": { + "start": { + "line": 177, + "column": 0 + }, + "end": { + "line": 179, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", + "start": 5666, + "end": 5805, + "loc": { + "start": { + "line": 181, + "column": 0 + }, + "end": { + "line": 183, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Reflection", + "start": 5807, + "end": 5820, + "loc": { + "start": { + "line": 185, + "column": 0 + }, + "end": { + "line": 185, + "column": 13 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", + "start": 5821, + "end": 5940, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 188, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", + "start": 5942, + "end": 6057, + "loc": { + "start": { + "line": 190, + "column": 0 + }, + "end": { + "line": 192, + "column": 3 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6058, + "end": 6058, + "loc": { + "start": { + "line": 193, + "column": 0 + }, + "end": { + "line": 193, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/beforeAll.js.json b/docs/ast/source/after.ts.json similarity index 61% rename from docs/ast/source/beforeAll.js.json rename to docs/ast/source/after.ts.json index 1449a89..d412c2f 100644 --- a/docs/ast/source/beforeAll.js.json +++ b/docs/ast/source/after.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 965, + "end": 555, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 34, + "line": 19, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 965, + "end": 555, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 34, + "line": 19, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 32, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 32 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 15, + "end": 24, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 15 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 15, + "end": 24, "loc": { "start": { "line": 1, @@ -68,16 +68,16 @@ }, "end": { "line": 1, - "column": 15 + "column": 24 }, - "identifierName": "before" + "identifierName": "DecoratorConfig" }, - "name": "before" + "name": "DecoratorConfig" }, "local": { "type": "Identifier", "start": 9, - "end": 15, + "end": 24, "loc": { "start": { "line": 1, @@ -85,39 +85,88 @@ }, "end": { "line": 1, - "column": 15 + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 }, - "identifierName": "before" + "identifierName": "DecoratorFactory" }, - "name": "before" + "name": "DecoratorFactory" } } ], "source": { "type": "StringLiteral", - "start": 23, - "end": 31, + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 23 + "column": 50 }, "end": { "line": 1, - "column": 31 + "column": 61 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" + "rawValue": "./factory", + "raw": "'./factory'" }, - "value": "lodash" + "value": "./factory" } }, { "type": "ImportDeclaration", - "start": 33, - "end": 95, + "start": 63, + "end": 115, "loc": { "start": { "line": 2, @@ -125,14 +174,14 @@ }, "end": { "line": 2, - "column": 62 + "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 42, - "end": 57, + "start": 72, + "end": 91, "loc": { "start": { "line": 2, @@ -140,13 +189,13 @@ }, "end": { "line": 2, - "column": 24 + "column": 28 } }, "imported": { "type": "Identifier", - "start": 42, - "end": 57, + "start": 72, + "end": 91, "loc": { "start": { "line": 2, @@ -154,16 +203,16 @@ }, "end": { "line": 2, - "column": 24 + "column": 28 }, - "identifierName": "DecoratorConfig" + "identifierName": "PostValueApplicator" }, - "name": "DecoratorConfig" + "name": "PostValueApplicator" }, "local": { "type": "Identifier", - "start": 42, - "end": 57, + "start": 72, + "end": 91, "loc": { "start": { "line": 2, @@ -171,88 +220,39 @@ }, "end": { "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 + "column": 28 }, - "identifierName": "DecoratorFactory" + "identifierName": "PostValueApplicator" }, - "name": "DecoratorFactory" + "name": "PostValueApplicator" } } ], "source": { "type": "StringLiteral", - "start": 83, - "end": 94, + "start": 99, + "end": 114, "loc": { "start": { "line": 2, - "column": 50 + "column": 36 }, "end": { "line": 2, - "column": 61 + "column": 51 } }, "extra": { - "rawValue": "./factory", - "raw": "'./factory'" + "rawValue": "./applicators", + "raw": "'./applicators'" }, - "value": "./factory" + "value": "./applicators" } }, { - "type": "ImportDeclaration", - "start": 96, - "end": 148, + "type": "Identifier", + "start": 116, + "end": 248, "loc": { "start": { "line": 3, @@ -260,93 +260,454 @@ }, "end": { "line": 3, - "column": 52 + "column": 132 } }, - "specifiers": [ + "declarations": [ { - "type": "ImportSpecifier", - "start": 105, - "end": 124, + "type": "VariableDeclarator", + "start": 122, + "end": 247, "loc": { "start": { "line": 3, - "column": 9 + "column": 6 }, "end": { "line": 3, - "column": 28 + "column": 131 } }, - "imported": { + "id": { "type": "Identifier", - "start": 105, - "end": 124, + "start": 122, + "end": 131, "loc": { "start": { "line": 3, - "column": 9 + "column": 6 }, "end": { "line": 3, - "column": 28 + "column": 15 }, - "identifierName": "PostValueApplicator" + "identifierName": "decorator" }, - "name": "PostValueApplicator" + "name": "decorator" }, - "local": { - "type": "Identifier", - "start": 105, - "end": 124, + "init": { + "type": "CallExpression", + "start": 134, + "end": 247, "loc": { "start": { "line": 3, - "column": 9 + "column": 18 }, "end": { "line": 3, - "column": 28 + "column": 131 + } + }, + "callee": { + "type": "MemberExpression", + "start": 134, + "end": 174, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } }, - "identifierName": "PostValueApplicator" + "object": { + "type": "Identifier", + "start": 134, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 151, + "end": 174, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false }, - "name": "PostValueApplicator" + "arguments": [ + { + "type": "NewExpression", + "start": 175, + "end": 246, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 130 + } + }, + "callee": { + "type": "Identifier", + "start": 179, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 195, + "end": 200, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 84 + }, + "identifierName": "after" + }, + "name": "after" + }, + { + "type": "NewExpression", + "start": 202, + "end": 227, + "loc": { + "start": { + "line": 3, + "column": 86 + }, + "end": { + "line": 3, + "column": 111 + } + }, + "callee": { + "type": "Identifier", + "start": 206, + "end": 225, + "loc": { + "start": { + "line": 3, + "column": 90 + }, + "end": { + "line": 3, + "column": 109 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 229, + "end": 245, + "loc": { + "start": { + "line": 3, + "column": 113 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 231, + "end": 243, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 127 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 231, + "end": 237, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 121 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 239, + "end": 243, + "loc": { + "start": { + "line": 3, + "column": 123 + }, + "end": { + "line": 3, + "column": 127 + } + }, + "value": true + } + } + ] + } + ] + } + ] } } ], - "source": { - "type": "StringLiteral", - "start": 132, - "end": 147, + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 448, + "end": 501, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 455, + "end": 501, "loc": { "start": { - "line": 3, - "column": 36 + "line": 14, + "column": 7 }, "end": { - "line": 3, - "column": 51 + "line": 16, + "column": 1 } }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" + "id": { + "type": "Identifier", + "start": 464, + "end": 469, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 21 + }, + "identifierName": "After" + }, + "name": "After", + "leadingComments": null }, - "value": "./applicators" + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 470, + "end": 471, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 23 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 473, + "end": 501, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 479, + "end": 499, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 24 + } + }, + "argument": { + "type": "CallExpression", + "start": 486, + "end": 498, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 23 + } + }, + "callee": { + "type": "Identifier", + "start": 486, + "end": 495, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 496, + "end": 497, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 22 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @lineNumber\n * 28\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 249, + "end": 447, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] }, - "trailingComments": [ + "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @BeforeAll(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n\n * myClass2.fn();\n *\n * calls === 3; // => true\n ", - "start": 149, - "end": 770, + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @lineNumber\n * 28\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 249, + "end": 447, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 30, + "line": 13, "column": 3 } } @@ -355,107 +716,207 @@ }, { "type": "ExportNamedDeclaration", - "start": 771, - "end": 903, + "start": 502, + "end": 528, "loc": { "start": { - "line": 31, + "line": 17, "column": 0 }, "end": { - "line": 31, - "column": 132 + "line": 17, + "column": 26 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 511, + "end": 525, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 23 + } + }, + "local": { + "type": "Identifier", + "start": 511, + "end": 516, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 14 + }, + "identifierName": "After" + }, + "name": "After" + }, + "exported": { + "type": "Identifier", + "start": 520, + "end": 525, + "loc": { + "start": { + "line": 17, + "column": 18 + }, + "end": { + "line": 17, + "column": 23 + }, + "identifierName": "after" + }, + "name": "after" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 529, + "end": 554, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 544, + "end": 553, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 529, + "end": 554, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 } }, - "specifiers": [], - "source": null, "declaration": { "type": "VariableDeclaration", - "start": 778, - "end": 903, + "start": 116, + "end": 248, "loc": { "start": { - "line": 31, - "column": 7 + "line": 3, + "column": 0 }, "end": { - "line": 31, + "line": 3, "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 784, - "end": 902, + "start": 122, + "end": 247, "loc": { "start": { - "line": 31, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 31, + "line": 3, "column": 131 } }, "id": { "type": "Identifier", - "start": 784, - "end": 793, + "start": 122, + "end": 131, "loc": { "start": { - "line": 31, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 31, - "column": 22 + "line": 3, + "column": 15 }, - "identifierName": "BeforeAll" + "identifierName": "decorator" }, - "name": "BeforeAll", - "leadingComments": null + "name": "decorator" }, "init": { "type": "CallExpression", - "start": 796, - "end": 902, + "start": 134, + "end": 247, "loc": { "start": { - "line": 31, - "column": 25 + "line": 3, + "column": 18 }, "end": { - "line": 31, + "line": 3, "column": 131 } }, "callee": { "type": "MemberExpression", - "start": 796, - "end": 828, + "start": 134, + "end": 174, "loc": { "start": { - "line": 31, - "column": 25 + "line": 3, + "column": 18 }, "end": { - "line": 31, - "column": 57 + "line": 3, + "column": 58 } }, "object": { "type": "Identifier", - "start": 796, - "end": 812, + "start": 134, + "end": 150, "loc": { "start": { - "line": 31, - "column": 25 + "line": 3, + "column": 18 }, "end": { - "line": 31, - "column": 41 + "line": 3, + "column": 34 }, "identifierName": "DecoratorFactory" }, @@ -463,50 +924,50 @@ }, "property": { "type": "Identifier", - "start": 813, - "end": 828, + "start": 151, + "end": 174, "loc": { "start": { - "line": 31, - "column": 42 + "line": 3, + "column": 35 }, "end": { - "line": 31, - "column": 57 + "line": 3, + "column": 58 }, - "identifierName": "createDecorator" + "identifierName": "createInstanceDecorator" }, - "name": "createDecorator" + "name": "createInstanceDecorator" }, "computed": false }, "arguments": [ { "type": "NewExpression", - "start": 829, - "end": 901, + "start": 175, + "end": 246, "loc": { "start": { - "line": 31, - "column": 58 + "line": 3, + "column": 59 }, "end": { - "line": 31, + "line": 3, "column": 130 } }, "callee": { "type": "Identifier", - "start": 833, - "end": 848, + "start": 179, + "end": 194, "loc": { "start": { - "line": 31, - "column": 62 + "line": 3, + "column": 63 }, "end": { - "line": 31, - "column": 77 + "line": 3, + "column": 78 }, "identifierName": "DecoratorConfig" }, @@ -515,46 +976,46 @@ "arguments": [ { "type": "Identifier", - "start": 849, - "end": 855, + "start": 195, + "end": 200, "loc": { "start": { - "line": 31, - "column": 78 + "line": 3, + "column": 79 }, "end": { - "line": 31, + "line": 3, "column": 84 }, - "identifierName": "before" + "identifierName": "after" }, - "name": "before" + "name": "after" }, { "type": "NewExpression", - "start": 857, - "end": 882, + "start": 202, + "end": 227, "loc": { "start": { - "line": 31, + "line": 3, "column": 86 }, "end": { - "line": 31, + "line": 3, "column": 111 } }, "callee": { "type": "Identifier", - "start": 861, - "end": 880, + "start": 206, + "end": 225, "loc": { "start": { - "line": 31, + "line": 3, "column": 90 }, "end": { - "line": 31, + "line": 3, "column": 109 }, "identifierName": "PostValueApplicator" @@ -565,30 +1026,30 @@ }, { "type": "ObjectExpression", - "start": 884, - "end": 900, + "start": 229, + "end": 245, "loc": { "start": { - "line": 31, + "line": 3, "column": 113 }, "end": { - "line": 31, + "line": 3, "column": 129 } }, "properties": [ { "type": "ObjectProperty", - "start": 886, - "end": 898, + "start": 231, + "end": 243, "loc": { "start": { - "line": 31, + "line": 3, "column": 115 }, "end": { - "line": 31, + "line": 3, "column": 127 } }, @@ -597,15 +1058,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 886, - "end": 892, + "start": 231, + "end": 237, "loc": { "start": { - "line": 31, + "line": 3, "column": 115 }, "end": { - "line": 31, + "line": 3, "column": 121 }, "identifierName": "setter" @@ -614,15 +1075,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 894, - "end": 898, + "start": 239, + "end": 243, "loc": { "start": { - "line": 31, + "line": 3, "column": 123 }, "end": { - "line": 31, + "line": 3, "column": 127 } }, @@ -634,150 +1095,29 @@ ] } ] - }, - "leadingComments": null + } } ], "kind": "const", - "leadingComments": [ + "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @BeforeAll(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n\n * myClass2.fn();\n *\n * calls === 3; // => true\n ", - "start": 149, - "end": 770, + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @lineNumber\n * 28\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 249, + "end": 447, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 30, + "line": 13, "column": 3 } } } ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @BeforeAll(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n\n * myClass2.fn();\n *\n * calls === 3; // => true\n ", - "start": 149, - "end": 770, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 30, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 904, - "end": 938, - "loc": { - "start": { - "line": 32, - "column": 0 - }, - "end": { - "line": 32, - "column": 34 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 913, - "end": 935, - "loc": { - "start": { - "line": 32, - "column": 9 - }, - "end": { - "line": 32, - "column": 31 - } - }, - "local": { - "type": "Identifier", - "start": 913, - "end": 922, - "loc": { - "start": { - "line": 32, - "column": 9 - }, - "end": { - "line": 32, - "column": 18 - }, - "identifierName": "BeforeAll" - }, - "name": "BeforeAll" - }, - "exported": { - "type": "Identifier", - "start": 926, - "end": 935, - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 31 - }, - "identifierName": "beforeAll" - }, - "name": "beforeAll" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 939, - "end": 964, - "loc": { - "start": { - "line": 33, - "column": 0 - }, - "end": { - "line": 33, - "column": 25 - } - }, - "declaration": { - "type": "Identifier", - "start": 954, - "end": 963, - "loc": { - "start": { - "line": 33, - "column": 15 - }, - "end": { - "line": 33, - "column": 24 - }, - "identifierName": "BeforeAll" - }, - "name": "BeforeAll", - "leadingComments": [], - "trailingComments": [] + "leadingComments": [] } } ], @@ -786,16 +1126,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @BeforeAll(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n\n * myClass2.fn();\n *\n * calls === 3; // => true\n ", - "start": 149, - "end": 770, + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @lineNumber\n * 28\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 249, + "end": 447, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 30, + "line": 13, "column": 3 } } @@ -807,7 +1147,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -867,9 +1207,9 @@ "postfix": false, "binop": null }, - "value": "before", + "value": "DecoratorConfig", "start": 9, - "end": 15, + "end": 24, "loc": { "start": { "line": 1, @@ -877,7 +1217,59 @@ }, "end": { "line": 1, - "column": 15 + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 } } }, @@ -893,16 +1285,16 @@ "postfix": false, "binop": null }, - "start": 16, - "end": 17, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 16 + "column": 43 }, "end": { "line": 1, - "column": 17 + "column": 44 } } }, @@ -919,16 +1311,16 @@ "binop": null }, "value": "from", - "start": 18, - "end": 22, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 18 + "column": 45 }, "end": { "line": 1, - "column": 22 + "column": 49 } } }, @@ -945,129 +1337,234 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 23, - "end": 31, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 23 + "column": 50 }, "end": { "line": 1, - "column": 31 + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PostValueApplicator", + "start": 72, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 28 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 31, - "end": 32, + "start": 92, + "end": 93, "loc": { "start": { - "line": 1, - "column": 31 + "line": 2, + "column": 29 }, "end": { - "line": 1, - "column": 32 + "line": 2, + "column": 30 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 33, - "end": 39, + "value": "from", + "start": 94, + "end": 98, "loc": { "start": { "line": 2, - "column": 0 + "column": 31 }, "end": { "line": 2, - "column": 6 + "column": 35 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 40, - "end": 41, + "value": "./applicators", + "start": 99, + "end": 114, "loc": { "start": { "line": 2, - "column": 7 + "column": 36 }, "end": { "line": 2, - "column": 8 + "column": 51 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 42, - "end": 57, + "start": 114, + "end": 115, "loc": { "start": { "line": 2, - "column": 9 + "column": 51 }, "end": { "line": 2, - "column": 24 + "column": 52 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1077,16 +1574,17 @@ "binop": null, "updateContext": null }, - "start": 57, - "end": 58, + "value": "const", + "start": 116, + "end": 121, "loc": { "start": { - "line": 2, - "column": 24 + "line": 3, + "column": 0 }, "end": { - "line": 2, - "column": 25 + "line": 3, + "column": 5 } } }, @@ -1102,42 +1600,44 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 59, - "end": 75, + "value": "decorator", + "start": 122, + "end": 131, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 6 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 15 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 76, - "end": 77, + "value": "=", + "start": 132, + "end": 133, "loc": { "start": { - "line": 2, - "column": 43 + "line": 3, + "column": 16 }, "end": { - "line": 2, - "column": 44 + "line": 3, + "column": 17 } } }, @@ -1153,25 +1653,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 78, - "end": 82, + "value": "DecoratorFactory", + "start": 134, + "end": 150, "loc": { "start": { - "line": 2, - "column": 45 + "line": 3, + "column": 18 }, "end": { - "line": 2, - "column": 49 + "line": 3, + "column": 34 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1180,77 +1680,74 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 83, - "end": 94, + "start": 150, + "end": 151, "loc": { "start": { - "line": 2, - "column": 50 + "line": 3, + "column": 34 }, "end": { - "line": 2, - "column": 61 + "line": 3, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 94, - "end": 95, + "value": "createInstanceDecorator", + "start": 151, + "end": 174, "loc": { "start": { - "line": 2, - "column": 61 + "line": 3, + "column": 35 }, "end": { - "line": 2, - "column": 62 + "line": 3, + "column": 58 } } }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 96, - "end": 102, + "start": 174, + "end": 175, "loc": { "start": { "line": 3, - "column": 0 + "column": 58 }, "end": { "line": 3, - "column": 6 + "column": 59 } } }, { "type": { - "label": "{", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1258,18 +1755,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 103, - "end": 104, + "value": "new", + "start": 175, + "end": 178, "loc": { "start": { "line": 3, - "column": 7 + "column": 59 }, "end": { "line": 3, - "column": 8 + "column": 62 } } }, @@ -1285,25 +1784,25 @@ "postfix": false, "binop": null }, - "value": "PostValueApplicator", - "start": 105, - "end": 124, + "value": "DecoratorConfig", + "start": 179, + "end": 194, "loc": { "start": { "line": 3, - "column": 9 + "column": 63 }, "end": { "line": 3, - "column": 28 + "column": 78 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1311,16 +1810,16 @@ "postfix": false, "binop": null }, - "start": 125, - "end": 126, + "start": 194, + "end": 195, "loc": { "start": { "line": 3, - "column": 29 + "column": 78 }, "end": { "line": 3, - "column": 30 + "column": 79 } } }, @@ -1336,25 +1835,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 127, - "end": 131, + "value": "after", + "start": 195, + "end": 200, "loc": { "start": { "line": 3, - "column": 31 + "column": 79 }, "end": { "line": 3, - "column": 35 + "column": 84 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1363,25 +1862,25 @@ "binop": null, "updateContext": null }, - "value": "./applicators", - "start": 132, - "end": 147, + "start": 200, + "end": 201, "loc": { "start": { "line": 3, - "column": 36 + "column": 84 }, "end": { "line": 3, - "column": 51 + "column": 85 } } }, { "type": { - "label": ";", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1390,67 +1889,74 @@ "binop": null, "updateContext": null }, - "start": 147, - "end": 148, + "value": "new", + "start": 202, + "end": 205, "loc": { "start": { "line": 3, - "column": 51 + "column": 86 }, "end": { "line": 3, - "column": 52 + "column": 89 } } }, { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @BeforeAll(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n\n * myClass2.fn();\n *\n * calls === 3; // => true\n ", - "start": 149, - "end": 770, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PostValueApplicator", + "start": 206, + "end": 225, "loc": { "start": { - "line": 4, - "column": 0 + "line": 3, + "column": 90 }, "end": { - "line": 30, - "column": 3 + "line": 3, + "column": 109 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 771, - "end": 777, + "start": 225, + "end": 226, "loc": { "start": { - "line": 31, - "column": 0 + "line": 3, + "column": 109 }, "end": { - "line": 31, - "column": 6 + "line": 3, + "column": 110 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1458,73 +1964,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 778, - "end": 783, + "start": 226, + "end": 227, "loc": { "start": { - "line": 31, - "column": 7 + "line": 3, + "column": 110 }, "end": { - "line": 31, - "column": 12 + "line": 3, + "column": 111 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "BeforeAll", - "start": 784, - "end": 793, + "start": 227, + "end": 228, "loc": { "start": { - "line": 31, - "column": 13 + "line": 3, + "column": 111 }, "end": { - "line": 31, - "column": 22 + "line": 3, + "column": 112 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 794, - "end": 795, + "start": 229, + "end": 230, "loc": { "start": { - "line": 31, - "column": 23 + "line": 3, + "column": 113 }, "end": { - "line": 31, - "column": 24 + "line": 3, + "column": 114 } } }, @@ -1540,24 +2042,24 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 796, - "end": 812, + "value": "setter", + "start": 231, + "end": 237, "loc": { "start": { - "line": 31, - "column": 25 + "line": 3, + "column": 115 }, "end": { - "line": 31, - "column": 41 + "line": 3, + "column": 121 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1567,22 +2069,23 @@ "binop": null, "updateContext": null }, - "start": 812, - "end": 813, + "start": 237, + "end": 238, "loc": { "start": { - "line": 31, - "column": 41 + "line": 3, + "column": 121 }, "end": { - "line": 31, - "column": 42 + "line": 3, + "column": 122 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1590,27 +2093,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "createDecorator", - "start": 813, - "end": 828, + "value": "true", + "start": 239, + "end": 243, "loc": { "start": { - "line": 31, - "column": 42 + "line": 3, + "column": 123 }, "end": { - "line": 31, - "column": 57 + "line": 3, + "column": 127 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1618,52 +2122,49 @@ "postfix": false, "binop": null }, - "start": 828, - "end": 829, + "start": 244, + "end": 245, "loc": { "start": { - "line": 31, - "column": 57 + "line": 3, + "column": 128 }, "end": { - "line": 31, - "column": 58 + "line": 3, + "column": 129 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 829, - "end": 832, + "start": 245, + "end": 246, "loc": { "start": { - "line": 31, - "column": 58 + "line": 3, + "column": 129 }, "end": { - "line": 31, - "column": 61 + "line": 3, + "column": 130 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1671,75 +2172,66 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 833, - "end": 848, + "start": 246, + "end": 247, "loc": { "start": { - "line": 31, - "column": 62 + "line": 3, + "column": 130 }, "end": { - "line": 31, - "column": 77 + "line": 3, + "column": 131 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 848, - "end": 849, + "start": 247, + "end": 248, "loc": { "start": { - "line": 31, - "column": 77 + "line": 3, + "column": 131 }, "end": { - "line": 31, - "column": 78 + "line": 3, + "column": 132 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "before", - "start": 849, - "end": 855, + "type": "CommentBlock", + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @lineNumber\n * 28\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 249, + "end": 447, "loc": { "start": { - "line": 31, - "column": 78 + "line": 4, + "column": 0 }, "end": { - "line": 31, - "column": 84 + "line": 13, + "column": 3 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1749,44 +2241,44 @@ "binop": null, "updateContext": null }, - "start": 855, - "end": 856, + "value": "export", + "start": 448, + "end": 454, "loc": { "start": { - "line": 31, - "column": 84 + "line": 14, + "column": 0 }, "end": { - "line": 31, - "column": 85 + "line": 14, + "column": 6 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "function", + "keyword": "function", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 857, - "end": 860, + "value": "function", + "start": 455, + "end": 463, "loc": { "start": { - "line": 31, - "column": 86 + "line": 14, + "column": 7 }, "end": { - "line": 31, - "column": 89 + "line": 14, + "column": 15 } } }, @@ -1802,17 +2294,17 @@ "postfix": false, "binop": null }, - "value": "PostValueApplicator", - "start": 861, - "end": 880, + "value": "After", + "start": 464, + "end": 469, "loc": { "start": { - "line": 31, - "column": 90 + "line": 14, + "column": 16 }, "end": { - "line": 31, - "column": 109 + "line": 14, + "column": 21 } } }, @@ -1828,24 +2320,24 @@ "postfix": false, "binop": null }, - "start": 880, - "end": 881, + "start": 469, + "end": 470, "loc": { "start": { - "line": 31, - "column": 109 + "line": 14, + "column": 21 }, "end": { - "line": 31, - "column": 110 + "line": 14, + "column": 22 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1853,42 +2345,42 @@ "postfix": false, "binop": null }, - "start": 881, - "end": 882, + "value": "n", + "start": 470, + "end": 471, "loc": { "start": { - "line": 31, - "column": 110 + "line": 14, + "column": 22 }, "end": { - "line": 31, - "column": 111 + "line": 14, + "column": 23 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 882, - "end": 883, + "start": 471, + "end": 472, "loc": { "start": { - "line": 31, - "column": 111 + "line": 14, + "column": 23 }, "end": { - "line": 31, - "column": 112 + "line": 14, + "column": 24 } } }, @@ -1904,104 +2396,103 @@ "postfix": false, "binop": null }, - "start": 884, - "end": 885, + "start": 473, + "end": 474, "loc": { "start": { - "line": 31, - "column": 113 + "line": 14, + "column": 25 }, "end": { - "line": 31, - "column": 114 + "line": 14, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "setter", - "start": 886, - "end": 892, + "value": "return", + "start": 479, + "end": 485, "loc": { "start": { - "line": 31, - "column": 115 + "line": 15, + "column": 4 }, "end": { - "line": 31, - "column": 121 + "line": 15, + "column": 10 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 892, - "end": 893, + "value": "decorator", + "start": 486, + "end": 495, "loc": { "start": { - "line": 31, - "column": 121 + "line": 15, + "column": 11 }, "end": { - "line": 31, - "column": 122 + "line": 15, + "column": 20 } } }, { "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 894, - "end": 898, + "start": 495, + "end": 496, "loc": { "start": { - "line": 31, - "column": 123 + "line": 15, + "column": 20 }, "end": { - "line": 31, - "column": 127 + "line": 15, + "column": 21 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2009,16 +2500,17 @@ "postfix": false, "binop": null }, - "start": 899, - "end": 900, + "value": "n", + "start": 496, + "end": 497, "loc": { "start": { - "line": 31, - "column": 128 + "line": 15, + "column": 21 }, "end": { - "line": 31, - "column": 129 + "line": 15, + "column": 22 } } }, @@ -2034,67 +2526,67 @@ "postfix": false, "binop": null }, - "start": 900, - "end": 901, + "start": 497, + "end": 498, "loc": { "start": { - "line": 31, - "column": 129 + "line": 15, + "column": 22 }, "end": { - "line": 31, - "column": 130 + "line": 15, + "column": 23 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 901, - "end": 902, + "start": 498, + "end": 499, "loc": { "start": { - "line": 31, - "column": 130 + "line": 15, + "column": 23 }, "end": { - "line": 31, - "column": 131 + "line": 15, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 902, - "end": 903, + "start": 500, + "end": 501, "loc": { "start": { - "line": 31, - "column": 131 + "line": 16, + "column": 0 }, "end": { - "line": 31, - "column": 132 + "line": 16, + "column": 1 } } }, @@ -2113,15 +2605,15 @@ "updateContext": null }, "value": "export", - "start": 904, - "end": 910, + "start": 502, + "end": 508, "loc": { "start": { - "line": 32, + "line": 17, "column": 0 }, "end": { - "line": 32, + "line": 17, "column": 6 } } @@ -2138,15 +2630,15 @@ "postfix": false, "binop": null }, - "start": 911, - "end": 912, + "start": 509, + "end": 510, "loc": { "start": { - "line": 32, + "line": 17, "column": 7 }, "end": { - "line": 32, + "line": 17, "column": 8 } } @@ -2163,17 +2655,17 @@ "postfix": false, "binop": null }, - "value": "BeforeAll", - "start": 913, - "end": 922, + "value": "After", + "start": 511, + "end": 516, "loc": { "start": { - "line": 32, + "line": 17, "column": 9 }, "end": { - "line": 32, - "column": 18 + "line": 17, + "column": 14 } } }, @@ -2190,16 +2682,16 @@ "binop": null }, "value": "as", - "start": 923, - "end": 925, + "start": 517, + "end": 519, "loc": { "start": { - "line": 32, - "column": 19 + "line": 17, + "column": 15 }, "end": { - "line": 32, - "column": 21 + "line": 17, + "column": 17 } } }, @@ -2215,17 +2707,17 @@ "postfix": false, "binop": null }, - "value": "beforeAll", - "start": 926, - "end": 935, + "value": "after", + "start": 520, + "end": 525, "loc": { "start": { - "line": 32, - "column": 22 + "line": 17, + "column": 18 }, "end": { - "line": 32, - "column": 31 + "line": 17, + "column": 23 } } }, @@ -2241,16 +2733,16 @@ "postfix": false, "binop": null }, - "start": 936, - "end": 937, + "start": 526, + "end": 527, "loc": { "start": { - "line": 32, - "column": 32 + "line": 17, + "column": 24 }, "end": { - "line": 32, - "column": 33 + "line": 17, + "column": 25 } } }, @@ -2267,16 +2759,16 @@ "binop": null, "updateContext": null }, - "start": 937, - "end": 938, + "start": 527, + "end": 528, "loc": { "start": { - "line": 32, - "column": 33 + "line": 17, + "column": 25 }, "end": { - "line": 32, - "column": 34 + "line": 17, + "column": 26 } } }, @@ -2295,15 +2787,15 @@ "updateContext": null }, "value": "export", - "start": 939, - "end": 945, + "start": 529, + "end": 535, "loc": { "start": { - "line": 33, + "line": 18, "column": 0 }, "end": { - "line": 33, + "line": 18, "column": 6 } } @@ -2323,15 +2815,15 @@ "updateContext": null }, "value": "default", - "start": 946, - "end": 953, + "start": 536, + "end": 543, "loc": { "start": { - "line": 33, + "line": 18, "column": 7 }, "end": { - "line": 33, + "line": 18, "column": 14 } } @@ -2348,16 +2840,16 @@ "postfix": false, "binop": null }, - "value": "BeforeAll", - "start": 954, - "end": 963, + "value": "decorator", + "start": 544, + "end": 553, "loc": { "start": { - "line": 33, + "line": 18, "column": 15 }, "end": { - "line": 33, + "line": 18, "column": 24 } } @@ -2375,15 +2867,15 @@ "binop": null, "updateContext": null }, - "start": 963, - "end": 964, + "start": 553, + "end": 554, "loc": { "start": { - "line": 33, + "line": 18, "column": 24 }, "end": { - "line": 33, + "line": 18, "column": 25 } } @@ -2401,15 +2893,15 @@ "binop": null, "updateContext": null }, - "start": 965, - "end": 965, + "start": 555, + "end": 555, "loc": { "start": { - "line": 34, + "line": 19, "column": 0 }, "end": { - "line": 34, + "line": 19, "column": 0 } } diff --git a/docs/ast/source/afterAll.ts.json b/docs/ast/source/afterAll.ts.json new file mode 100644 index 0000000..871ff1b --- /dev/null +++ b/docs/ast/source/afterAll.ts.json @@ -0,0 +1,2910 @@ +{ + "type": "File", + "start": 0, + "end": 629, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 629, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 115, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 52 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 28 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 28 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 28 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 99, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 51 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 116, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 122, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "id": { + "type": "Identifier", + "start": 122, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 134, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "callee": { + "type": "MemberExpression", + "start": 134, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 134, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 151, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 167, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 122 + } + }, + "callee": { + "type": "Identifier", + "start": 171, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 187, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 76 + }, + "identifierName": "after" + }, + "name": "after" + }, + { + "type": "NewExpression", + "start": 194, + "end": 219, + "loc": { + "start": { + "line": 3, + "column": 78 + }, + "end": { + "line": 3, + "column": 103 + } + }, + "callee": { + "type": "Identifier", + "start": 198, + "end": 217, + "loc": { + "start": { + "line": 3, + "column": 82 + }, + "end": { + "line": 3, + "column": 101 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 221, + "end": 237, + "loc": { + "start": { + "line": 3, + "column": 105 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 223, + "end": 235, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 119 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 223, + "end": 229, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 113 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 231, + "end": 235, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 119 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 513, + "end": 569, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 520, + "end": 569, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 529, + "end": 537, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 24 + }, + "identifierName": "AfterAll" + }, + "name": "AfterAll", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 538, + "end": 539, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 26 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 541, + "end": 569, + "loc": { + "start": { + "line": 15, + "column": 28 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 547, + "end": 567, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 24 + } + }, + "argument": { + "type": "CallExpression", + "start": 554, + "end": 566, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 23 + } + }, + "callee": { + "type": "Identifier", + "start": 554, + "end": 563, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 564, + "end": 565, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 22 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @lineNumber\n * 33\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 241, + "end": 512, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @lineNumber\n * 33\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 241, + "end": 512, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 570, + "end": 602, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 32 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 579, + "end": 599, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 29 + } + }, + "local": { + "type": "Identifier", + "start": 579, + "end": 587, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 17 + }, + "identifierName": "AfterAll" + }, + "name": "AfterAll" + }, + "exported": { + "type": "Identifier", + "start": 591, + "end": 599, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 29 + }, + "identifierName": "afterAll" + }, + "name": "afterAll" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 603, + "end": 628, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 618, + "end": 627, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 603, + "end": 628, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 116, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 122, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "id": { + "type": "Identifier", + "start": 122, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 134, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "callee": { + "type": "MemberExpression", + "start": 134, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 134, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 151, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 167, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 122 + } + }, + "callee": { + "type": "Identifier", + "start": 171, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 187, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 76 + }, + "identifierName": "after" + }, + "name": "after" + }, + { + "type": "NewExpression", + "start": 194, + "end": 219, + "loc": { + "start": { + "line": 3, + "column": 78 + }, + "end": { + "line": 3, + "column": 103 + } + }, + "callee": { + "type": "Identifier", + "start": 198, + "end": 217, + "loc": { + "start": { + "line": 3, + "column": 82 + }, + "end": { + "line": 3, + "column": 101 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 221, + "end": 237, + "loc": { + "start": { + "line": 3, + "column": 105 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 223, + "end": 235, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 119 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 223, + "end": 229, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 113 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 231, + "end": 235, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 119 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @lineNumber\n * 33\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 241, + "end": 512, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @lineNumber\n * 33\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 241, + "end": 512, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PostValueApplicator", + "start": 72, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 92, + "end": 93, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 94, + "end": 98, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 99, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 114, + "end": 115, + "loc": { + "start": { + "line": 2, + "column": 51 + }, + "end": { + "line": 2, + "column": 52 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 116, + "end": 121, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 122, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 132, + "end": 133, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 134, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 150, + "end": 151, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createDecorator", + "start": 151, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 166, + "end": 167, + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 167, + "end": 170, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 171, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 186, + "end": 187, + "loc": { + "start": { + "line": 3, + "column": 70 + }, + "end": { + "line": 3, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "after", + "start": 187, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 76 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 192, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 77 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 194, + "end": 197, + "loc": { + "start": { + "line": 3, + "column": 78 + }, + "end": { + "line": 3, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PostValueApplicator", + "start": 198, + "end": 217, + "loc": { + "start": { + "line": 3, + "column": 82 + }, + "end": { + "line": 3, + "column": 101 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 217, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 101 + }, + "end": { + "line": 3, + "column": 102 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 218, + "end": 219, + "loc": { + "start": { + "line": 3, + "column": 102 + }, + "end": { + "line": 3, + "column": 103 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 219, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 103 + }, + "end": { + "line": 3, + "column": 104 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 3, + "column": 105 + }, + "end": { + "line": 3, + "column": 106 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setter", + "start": 223, + "end": 229, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 113 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 229, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 113 + }, + "end": { + "line": 3, + "column": 114 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 231, + "end": 235, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 119 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 236, + "end": 237, + "loc": { + "start": { + "line": 3, + "column": 120 + }, + "end": { + "line": 3, + "column": 121 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 121 + }, + "end": { + "line": 3, + "column": 122 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 238, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 122 + }, + "end": { + "line": 3, + "column": 123 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 239, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 123 + }, + "end": { + "line": 3, + "column": 124 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @lineNumber\n * 33\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 241, + "end": 512, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 513, + "end": 519, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 520, + "end": 528, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "AfterAll", + "start": 529, + "end": 537, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 537, + "end": 538, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 538, + "end": 539, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 539, + "end": 540, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 541, + "end": 542, + "loc": { + "start": { + "line": 15, + "column": 28 + }, + "end": { + "line": 15, + "column": 29 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 547, + "end": 553, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 554, + "end": 563, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 563, + "end": 564, + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 564, + "end": 565, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 565, + "end": 566, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 568, + "end": 569, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 570, + "end": 576, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 577, + "end": 578, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "AfterAll", + "start": 579, + "end": 587, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 588, + "end": 590, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "afterAll", + "start": 591, + "end": 599, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 600, + "end": 601, + "loc": { + "start": { + "line": 18, + "column": 30 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 601, + "end": 602, + "loc": { + "start": { + "line": 18, + "column": 31 + }, + "end": { + "line": 18, + "column": 32 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 603, + "end": 609, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 610, + "end": 617, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 618, + "end": 627, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 627, + "end": 628, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 629, + "end": 629, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/wrap.js.json b/docs/ast/source/applicators.ts.json similarity index 54% rename from docs/ast/source/wrap.js.json rename to docs/ast/source/applicators.ts.json index a841e47..7558b7d 100644 --- a/docs/ast/source/wrap.js.json +++ b/docs/ast/source/applicators.ts.json @@ -1,37 +1,37 @@ { "type": "File", "start": 0, - "end": 291, + "end": 535, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 12, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 291, + "end": 535, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 12, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "ImportDeclaration", + "type": "ExportAllDeclaration", "start": 0, - "end": 30, + "end": 41, "loc": { "start": { "line": 1, @@ -39,85 +39,34 @@ }, "end": { "line": 1, - "column": 30 + "column": 41 } }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - }, - "identifierName": "wrap" - }, - "name": "wrap" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - }, - "identifierName": "wrap" - }, - "name": "wrap" - } - } - ], "source": { "type": "StringLiteral", - "start": 21, - "end": 29, + "start": 14, + "end": 40, "loc": { "start": { "line": 1, - "column": 21 + "column": 14 }, "end": { "line": 1, - "column": 29 + "column": 40 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" + "rawValue": "./applicators/Applicator", + "raw": "'./applicators/Applicator'" }, - "value": "lodash" + "value": "./applicators/Applicator" } }, { - "type": "ImportDeclaration", - "start": 31, - "end": 93, + "type": "ExportAllDeclaration", + "start": 42, + "end": 90, "loc": { "start": { "line": 2, @@ -125,134 +74,34 @@ }, "end": { "line": 2, - "column": 62 + "column": 48 } }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 57, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 57, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 57, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], "source": { "type": "StringLiteral", - "start": 81, - "end": 92, + "start": 56, + "end": 89, "loc": { "start": { "line": 2, - "column": 50 + "column": 14 }, "end": { "line": 2, - "column": 61 + "column": 47 } }, "extra": { - "rawValue": "./factory", - "raw": "'./factory'" + "rawValue": "./applicators/ComposeApplicator", + "raw": "'./applicators/ComposeApplicator'" }, - "value": "./factory" + "value": "./applicators/ComposeApplicator" } }, { - "type": "ImportDeclaration", - "start": 94, - "end": 141, + "type": "ExportAllDeclaration", + "start": 91, + "end": 139, "loc": { "start": { "line": 3, @@ -260,85 +109,34 @@ }, "end": { "line": 3, - "column": 47 + "column": 48 } }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 103, - "end": 117, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 23 - } - }, - "imported": { - "type": "Identifier", - "start": 103, - "end": 117, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 23 - }, - "identifierName": "WrapApplicator" - }, - "name": "WrapApplicator" - }, - "local": { - "type": "Identifier", - "start": 103, - "end": 117, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 23 - }, - "identifierName": "WrapApplicator" - }, - "name": "WrapApplicator" - } - } - ], "source": { "type": "StringLiteral", - "start": 125, - "end": 140, + "start": 105, + "end": 138, "loc": { "start": { "line": 3, - "column": 31 + "column": 14 }, "end": { "line": 3, - "column": 46 + "column": 47 } }, "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" + "rawValue": "./applicators/PartialApplicator", + "raw": "'./applicators/PartialApplicator'" }, - "value": "./applicators" + "value": "./applicators/PartialApplicator" } }, { - "type": "ExportNamedDeclaration", - "start": 142, - "end": 244, + "type": "ExportAllDeclaration", + "start": 140, + "end": 190, "loc": { "start": { "line": 4, @@ -346,219 +144,34 @@ }, "end": { "line": 4, - "column": 102 + "column": 50 } }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 149, - "end": 244, + "source": { + "type": "StringLiteral", + "start": 154, + "end": 189, "loc": { "start": { "line": 4, - "column": 7 + "column": 14 }, "end": { "line": 4, - "column": 102 + "column": 49 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 155, - "end": 243, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 101 - } - }, - "id": { - "type": "Identifier", - "start": 155, - "end": 159, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 17 - }, - "identifierName": "Wrap" - }, - "name": "Wrap" - }, - "init": { - "type": "CallExpression", - "start": 162, - "end": 243, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 101 - } - }, - "callee": { - "type": "MemberExpression", - "start": 162, - "end": 194, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 52 - } - }, - "object": { - "type": "Identifier", - "start": 162, - "end": 178, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 36 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 179, - "end": 194, - "loc": { - "start": { - "line": 4, - "column": 37 - }, - "end": { - "line": 4, - "column": 52 - }, - "identifierName": "createDecorator" - }, - "name": "createDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 195, - "end": 242, - "loc": { - "start": { - "line": 4, - "column": 53 - }, - "end": { - "line": 4, - "column": 100 - } - }, - "callee": { - "type": "Identifier", - "start": 199, - "end": 214, - "loc": { - "start": { - "line": 4, - "column": 57 - }, - "end": { - "line": 4, - "column": 72 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 215, - "end": 219, - "loc": { - "start": { - "line": 4, - "column": 73 - }, - "end": { - "line": 4, - "column": 77 - }, - "identifierName": "wrap" - }, - "name": "wrap" - }, - { - "type": "NewExpression", - "start": 221, - "end": 241, - "loc": { - "start": { - "line": 4, - "column": 79 - }, - "end": { - "line": 4, - "column": 99 - } - }, - "callee": { - "type": "Identifier", - "start": 225, - "end": 239, - "loc": { - "start": { - "line": 4, - "column": 83 - }, - "end": { - "line": 4, - "column": 97 - }, - "identifierName": "WrapApplicator" - }, - "name": "WrapApplicator" - }, - "arguments": [] - } - ] - } - ] - } - } - ], - "kind": "const", - "leadingComments": [], - "trailingComments": [] + "extra": { + "rawValue": "./applicators/PartialedApplicator", + "raw": "'./applicators/PartialedApplicator'" + }, + "value": "./applicators/PartialedApplicator" } }, { - "type": "ExportNamedDeclaration", - "start": 245, - "end": 269, + "type": "ExportAllDeclaration", + "start": 191, + "end": 244, "loc": { "start": { "line": 5, @@ -566,67 +179,34 @@ }, "end": { "line": 5, - "column": 24 + "column": 53 } }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 254, - "end": 266, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 21 - } - }, - "local": { - "type": "Identifier", - "start": 254, - "end": 258, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 13 - }, - "identifierName": "Wrap" - }, - "name": "Wrap" + "source": { + "type": "StringLiteral", + "start": 205, + "end": 243, + "loc": { + "start": { + "line": 5, + "column": 14 }, - "exported": { - "type": "Identifier", - "start": 262, - "end": 266, - "loc": { - "start": { - "line": 5, - "column": 17 - }, - "end": { - "line": 5, - "column": 21 - }, - "identifierName": "wrap" - }, - "name": "wrap" + "end": { + "line": 5, + "column": 52 } - } - ], - "source": null + }, + "extra": { + "rawValue": "./applicators/PartialValueApplicator", + "raw": "'./applicators/PartialValueApplicator'" + }, + "value": "./applicators/PartialValueApplicator" + } }, { - "type": "ExportDefaultDeclaration", - "start": 270, - "end": 290, + "type": "ExportAllDeclaration", + "start": 245, + "end": 295, "loc": { "start": { "line": 6, @@ -634,27 +214,203 @@ }, "end": { "line": 6, - "column": 20 + "column": 50 } }, - "declaration": { - "type": "Identifier", - "start": 285, - "end": 289, + "source": { + "type": "StringLiteral", + "start": 259, + "end": 294, "loc": { "start": { "line": 6, - "column": 15 + "column": 14 }, "end": { "line": 6, - "column": 19 + "column": 49 + } + }, + "extra": { + "rawValue": "./applicators/PostValueApplicator", + "raw": "'./applicators/PostValueApplicator'" + }, + "value": "./applicators/PostValueApplicator" + } + }, + { + "type": "ExportAllDeclaration", + "start": 296, + "end": 345, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 49 + } + }, + "source": { + "type": "StringLiteral", + "start": 310, + "end": 344, + "loc": { + "start": { + "line": 7, + "column": 14 }, - "identifierName": "Wrap" + "end": { + "line": 7, + "column": 48 + } }, - "name": "Wrap", - "leadingComments": [], - "trailingComments": [] + "extra": { + "rawValue": "./applicators/PreValueApplicator", + "raw": "'./applicators/PreValueApplicator'" + }, + "value": "./applicators/PreValueApplicator" + } + }, + { + "type": "ExportAllDeclaration", + "start": 346, + "end": 391, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 45 + } + }, + "source": { + "type": "StringLiteral", + "start": 360, + "end": 390, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 44 + } + }, + "extra": { + "rawValue": "./applicators/WrapApplicator", + "raw": "'./applicators/WrapApplicator'" + }, + "value": "./applicators/WrapApplicator" + } + }, + { + "type": "ExportAllDeclaration", + "start": 392, + "end": 437, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 45 + } + }, + "source": { + "type": "StringLiteral", + "start": 406, + "end": 436, + "loc": { + "start": { + "line": 9, + "column": 14 + }, + "end": { + "line": 9, + "column": 44 + } + }, + "extra": { + "rawValue": "./applicators/BindApplicator", + "raw": "'./applicators/BindApplicator'" + }, + "value": "./applicators/BindApplicator" + } + }, + { + "type": "ExportAllDeclaration", + "start": 438, + "end": 485, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 47 + } + }, + "source": { + "type": "StringLiteral", + "start": 452, + "end": 484, + "loc": { + "start": { + "line": 10, + "column": 14 + }, + "end": { + "line": 10, + "column": 46 + } + }, + "extra": { + "rawValue": "./applicators/InvokeApplicator", + "raw": "'./applicators/InvokeApplicator'" + }, + "value": "./applicators/InvokeApplicator" + } + }, + { + "type": "ExportAllDeclaration", + "start": 486, + "end": 534, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 48 + } + }, + "source": { + "type": "StringLiteral", + "start": 500, + "end": 533, + "loc": { + "start": { + "line": 11, + "column": 14 + }, + "end": { + "line": 11, + "column": 47 + } + }, + "extra": { + "rawValue": "./applicators/MemoizeApplicator", + "raw": "'./applicators/MemoizeApplicator'" + }, + "value": "./applicators/MemoizeApplicator" } } ], @@ -664,8 +420,8 @@ "tokens": [ { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -676,7 +432,7 @@ "binop": null, "updateContext": null }, - "value": "import", + "value": "export", "start": 0, "end": 6, "loc": { @@ -692,16 +448,18 @@ }, { "type": { - "label": "{", + "label": "*", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, + "value": "*", "start": 7, "end": 8, "loc": { @@ -727,7 +485,7 @@ "postfix": false, "binop": null }, - "value": "wrap", + "value": "from", "start": 9, "end": 13, "loc": { @@ -743,18 +501,20 @@ }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, + "value": "./applicators/Applicator", "start": 14, - "end": 15, + "end": 40, "loc": { "start": { "line": 1, @@ -762,41 +522,15 @@ }, "end": { "line": 1, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 16, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 20 + "column": 40 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -805,24 +539,24 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 21, - "end": 29, + "start": 40, + "end": 41, "loc": { "start": { "line": 1, - "column": 21 + "column": 40 }, "end": { "line": 1, - "column": 29 + "column": 41 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -832,51 +566,51 @@ "binop": null, "updateContext": null }, - "start": 29, - "end": 30, + "value": "export", + "start": 42, + "end": 48, "loc": { "start": { - "line": 1, - "column": 29 + "line": 2, + "column": 0 }, "end": { - "line": 1, - "column": 30 + "line": 2, + "column": 6 } } }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, + "label": "*", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "import", - "start": 31, - "end": 37, + "value": "*", + "start": 49, + "end": 50, "loc": { "start": { "line": 2, - "column": 0 + "column": 7 }, "end": { "line": 2, - "column": 6 + "column": 8 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -885,22 +619,23 @@ "postfix": false, "binop": null }, - "start": 38, - "end": 39, + "value": "from", + "start": 51, + "end": 55, "loc": { "start": { "line": 2, - "column": 7 + "column": 9 }, "end": { "line": 2, - "column": 8 + "column": 13 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -908,25 +643,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 40, - "end": 55, + "value": "./applicators/ComposeApplicator", + "start": 56, + "end": 89, "loc": { "start": { "line": 2, - "column": 9 + "column": 14 }, "end": { "line": 2, - "column": 24 + "column": 47 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -937,67 +673,71 @@ "binop": null, "updateContext": null }, - "start": 55, - "end": 56, + "start": 89, + "end": 90, "loc": { "start": { "line": 2, - "column": 24 + "column": 47 }, "end": { "line": 2, - "column": 25 + "column": 48 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorFactory", - "start": 57, - "end": 73, + "value": "export", + "start": 91, + "end": 97, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 0 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 6 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "*", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 74, - "end": 75, + "value": "*", + "start": 98, + "end": 99, "loc": { "start": { - "line": 2, - "column": 43 + "line": 3, + "column": 7 }, "end": { - "line": 2, - "column": 44 + "line": 3, + "column": 8 } } }, @@ -1014,16 +754,16 @@ "binop": null }, "value": "from", - "start": 76, - "end": 80, + "start": 100, + "end": 104, "loc": { "start": { - "line": 2, - "column": 45 + "line": 3, + "column": 9 }, "end": { - "line": 2, - "column": 49 + "line": 3, + "column": 13 } } }, @@ -1040,17 +780,17 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 81, - "end": 92, + "value": "./applicators/PartialApplicator", + "start": 105, + "end": 138, "loc": { "start": { - "line": 2, - "column": 50 + "line": 3, + "column": 14 }, "end": { - "line": 2, - "column": 61 + "line": 3, + "column": 47 } } }, @@ -1067,23 +807,23 @@ "binop": null, "updateContext": null }, - "start": 92, - "end": 93, + "start": 138, + "end": 139, "loc": { "start": { - "line": 2, - "column": 61 + "line": 3, + "column": 47 }, "end": { - "line": 2, - "column": 62 + "line": 3, + "column": 48 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1094,41 +834,43 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 94, - "end": 100, + "value": "export", + "start": 140, + "end": 146, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 6 } } }, { "type": { - "label": "{", + "label": "*", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 101, - "end": 102, + "value": "*", + "start": 147, + "end": 148, "loc": { "start": { - "line": 3, + "line": 4, "column": 7 }, "end": { - "line": 3, + "line": 4, "column": 8 } } @@ -1145,42 +887,125 @@ "postfix": false, "binop": null }, - "value": "WrapApplicator", - "start": 103, - "end": 117, + "value": "from", + "start": 149, + "end": 153, "loc": { "start": { - "line": 3, + "line": 4, "column": 9 }, "end": { - "line": 3, - "column": 23 + "line": 4, + "column": 13 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators/PartialedApplicator", + "start": 154, + "end": 189, + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 118, - "end": 119, + "start": 189, + "end": 190, "loc": { "start": { - "line": 3, - "column": 24 + "line": 4, + "column": 49 }, "end": { - "line": 3, - "column": 25 + "line": 4, + "column": 50 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 191, + "end": 197, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 198, + "end": 199, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 8 } } }, @@ -1197,16 +1022,16 @@ "binop": null }, "value": "from", - "start": 120, - "end": 124, + "start": 200, + "end": 204, "loc": { "start": { - "line": 3, - "column": 26 + "line": 5, + "column": 9 }, "end": { - "line": 3, - "column": 30 + "line": 5, + "column": 13 } } }, @@ -1223,17 +1048,17 @@ "binop": null, "updateContext": null }, - "value": "./applicators", - "start": 125, - "end": 140, + "value": "./applicators/PartialValueApplicator", + "start": 205, + "end": 243, "loc": { "start": { - "line": 3, - "column": 31 + "line": 5, + "column": 14 }, "end": { - "line": 3, - "column": 46 + "line": 5, + "column": 52 } } }, @@ -1250,16 +1075,16 @@ "binop": null, "updateContext": null }, - "start": 140, - "end": 141, + "start": 243, + "end": 244, "loc": { "start": { - "line": 3, - "column": 46 + "line": 5, + "column": 52 }, "end": { - "line": 3, - "column": 47 + "line": 5, + "column": 53 } } }, @@ -1278,44 +1103,43 @@ "updateContext": null }, "value": "export", - "start": 142, - "end": 148, + "start": 245, + "end": 251, "loc": { "start": { - "line": 4, + "line": 6, "column": 0 }, "end": { - "line": 4, + "line": 6, "column": 6 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "*", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "const", - "start": 149, - "end": 154, + "value": "*", + "start": 252, + "end": 253, "loc": { "start": { - "line": 4, + "line": 6, "column": 7 }, "end": { - "line": 4, - "column": 12 + "line": 6, + "column": 8 } } }, @@ -1331,96 +1155,125 @@ "postfix": false, "binop": null }, - "value": "Wrap", - "start": 155, - "end": 159, + "value": "from", + "start": 254, + "end": 258, "loc": { "start": { - "line": 4, + "line": 6, + "column": 9 + }, + "end": { + "line": 6, "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators/PostValueApplicator", + "start": 259, + "end": 294, + "loc": { + "start": { + "line": 6, + "column": 14 }, "end": { - "line": 4, - "column": 17 + "line": 6, + "column": 49 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 160, - "end": 161, + "start": 294, + "end": 295, "loc": { "start": { - "line": 4, - "column": 18 + "line": 6, + "column": 49 }, "end": { - "line": 4, - "column": 19 + "line": 6, + "column": 50 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorFactory", - "start": 162, - "end": 178, + "value": "export", + "start": 296, + "end": 302, "loc": { "start": { - "line": 4, - "column": 20 + "line": 7, + "column": 0 }, "end": { - "line": 4, - "column": 36 + "line": 7, + "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "*", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 178, - "end": 179, + "value": "*", + "start": 303, + "end": 304, "loc": { "start": { - "line": 4, - "column": 36 + "line": 7, + "column": 7 }, "end": { - "line": 4, - "column": 37 + "line": 7, + "column": 8 } } }, @@ -1436,51 +1289,52 @@ "postfix": false, "binop": null }, - "value": "createDecorator", - "start": 179, - "end": 194, + "value": "from", + "start": 305, + "end": 309, "loc": { "start": { - "line": 4, - "column": 37 + "line": 7, + "column": 9 }, "end": { - "line": 4, - "column": 52 + "line": 7, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 194, - "end": 195, + "value": "./applicators/PreValueApplicator", + "start": 310, + "end": 344, "loc": { "start": { - "line": 4, - "column": 52 + "line": 7, + "column": 14 }, "end": { - "line": 4, - "column": 53 + "line": 7, + "column": 48 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1489,68 +1343,71 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 195, - "end": 198, + "start": 344, + "end": 345, "loc": { "start": { - "line": 4, - "column": 53 + "line": 7, + "column": 48 }, "end": { - "line": 4, - "column": 56 + "line": 7, + "column": 49 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 199, - "end": 214, + "value": "export", + "start": 346, + "end": 352, "loc": { "start": { - "line": 4, - "column": 57 + "line": 8, + "column": 0 }, "end": { - "line": 4, - "column": 72 + "line": 8, + "column": 6 } } }, { "type": { - "label": "(", + "label": "*", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 214, - "end": 215, + "value": "*", + "start": 353, + "end": 354, "loc": { "start": { - "line": 4, - "column": 72 + "line": 8, + "column": 7 }, "end": { - "line": 4, - "column": 73 + "line": 8, + "column": 8 } } }, @@ -1566,25 +1423,25 @@ "postfix": false, "binop": null }, - "value": "wrap", - "start": 215, - "end": 219, + "value": "from", + "start": 355, + "end": 359, "loc": { "start": { - "line": 4, - "column": 73 + "line": 8, + "column": 9 }, "end": { - "line": 4, - "column": 77 + "line": 8, + "column": 13 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1593,25 +1450,25 @@ "binop": null, "updateContext": null }, - "start": 219, - "end": 220, + "value": "./applicators/WrapApplicator", + "start": 360, + "end": 390, "loc": { "start": { - "line": 4, - "column": 77 + "line": 8, + "column": 14 }, "end": { - "line": 4, - "column": 78 + "line": 8, + "column": 44 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1620,101 +1477,79 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 221, - "end": 224, + "start": 390, + "end": 391, "loc": { "start": { - "line": 4, - "column": 79 + "line": 8, + "column": 44 }, "end": { - "line": 4, - "column": 82 + "line": 8, + "column": 45 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "WrapApplicator", - "start": 225, - "end": 239, + "value": "export", + "start": 392, + "end": 398, "loc": { "start": { - "line": 4, - "column": 83 + "line": 9, + "column": 0 }, "end": { - "line": 4, - "column": 97 + "line": 9, + "column": 6 } } }, { "type": { - "label": "(", + "label": "*", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 239, - "end": 240, - "loc": { - "start": { - "line": 4, - "column": 97 - }, - "end": { - "line": 4, - "column": 98 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 240, - "end": 241, + "value": "*", + "start": 399, + "end": 400, "loc": { "start": { - "line": 4, - "column": 98 + "line": 9, + "column": 7 }, "end": { - "line": 4, - "column": 99 + "line": 9, + "column": 8 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1722,41 +1557,44 @@ "postfix": false, "binop": null }, - "start": 241, - "end": 242, + "value": "from", + "start": 401, + "end": 405, "loc": { "start": { - "line": 4, - "column": 99 + "line": 9, + "column": 9 }, "end": { - "line": 4, - "column": 100 + "line": 9, + "column": 13 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 242, - "end": 243, + "value": "./applicators/BindApplicator", + "start": 406, + "end": 436, "loc": { "start": { - "line": 4, - "column": 100 + "line": 9, + "column": 14 }, "end": { - "line": 4, - "column": 101 + "line": 9, + "column": 44 } } }, @@ -1773,16 +1611,16 @@ "binop": null, "updateContext": null }, - "start": 243, - "end": 244, + "start": 436, + "end": 437, "loc": { "start": { - "line": 4, - "column": 101 + "line": 9, + "column": 44 }, "end": { - "line": 4, - "column": 102 + "line": 9, + "column": 45 } } }, @@ -1801,40 +1639,42 @@ "updateContext": null }, "value": "export", - "start": 245, - "end": 251, + "start": 438, + "end": 444, "loc": { "start": { - "line": 5, + "line": 10, "column": 0 }, "end": { - "line": 5, + "line": 10, "column": 6 } } }, { "type": { - "label": "{", + "label": "*", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 252, - "end": 253, + "value": "*", + "start": 445, + "end": 446, "loc": { "start": { - "line": 5, + "line": 10, "column": 7 }, "end": { - "line": 5, + "line": 10, "column": 8 } } @@ -1851,23 +1691,23 @@ "postfix": false, "binop": null }, - "value": "Wrap", - "start": 254, - "end": 258, + "value": "from", + "start": 447, + "end": 451, "loc": { "start": { - "line": 5, + "line": 10, "column": 9 }, "end": { - "line": 5, + "line": 10, "column": 13 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1875,51 +1715,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "as", - "start": 259, - "end": 261, + "value": "./applicators/InvokeApplicator", + "start": 452, + "end": 484, "loc": { "start": { - "line": 5, + "line": 10, "column": 14 }, "end": { - "line": 5, - "column": 16 + "line": 10, + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wrap", - "start": 262, - "end": 266, + "start": 484, + "end": 485, "loc": { "start": { - "line": 5, - "column": 17 + "line": 10, + "column": 46 }, "end": { - "line": 5, - "column": 21 + "line": 10, + "column": 47 } } }, { "type": { - "label": "}", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1927,24 +1769,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 267, - "end": 268, + "value": "export", + "start": 486, + "end": 492, "loc": { "start": { - "line": 5, - "column": 22 + "line": 11, + "column": 0 }, "end": { - "line": 5, - "column": 23 + "line": 11, + "column": 6 } } }, { "type": { - "label": ";", + "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1952,56 +1796,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 268, - "end": 269, + "value": "*", + "start": 493, + "end": 494, "loc": { "start": { - "line": 5, - "column": 23 + "line": 11, + "column": 7 }, "end": { - "line": 5, - "column": 24 + "line": 11, + "column": 8 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 270, - "end": 276, + "value": "from", + "start": 495, + "end": 499, "loc": { "start": { - "line": 6, - "column": 0 + "line": 11, + "column": 9 }, "end": { - "line": 6, - "column": 6 + "line": 11, + "column": 13 } } }, { "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2010,43 +1852,17 @@ "binop": null, "updateContext": null }, - "value": "default", - "start": 277, - "end": 284, + "value": "./applicators/MemoizeApplicator", + "start": 500, + "end": 533, "loc": { "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, + "line": 11, "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Wrap", - "start": 285, - "end": 289, - "loc": { - "start": { - "line": 6, - "column": 15 }, "end": { - "line": 6, - "column": 19 + "line": 11, + "column": 47 } } }, @@ -2063,16 +1879,16 @@ "binop": null, "updateContext": null }, - "start": 289, - "end": 290, + "start": 533, + "end": 534, "loc": { "start": { - "line": 6, - "column": 19 + "line": 11, + "column": 47 }, "end": { - "line": 6, - "column": 20 + "line": 11, + "column": 48 } } }, @@ -2089,15 +1905,15 @@ "binop": null, "updateContext": null }, - "start": 291, - "end": 291, + "start": 535, + "end": 535, "loc": { "start": { - "line": 7, + "line": 12, "column": 0 }, "end": { - "line": 7, + "line": 12, "column": 0 } } diff --git a/docs/ast/source/applicators/Applicator.js.json b/docs/ast/source/applicators/Applicator.js.json deleted file mode 100644 index e27edd6..0000000 --- a/docs/ast/source/applicators/Applicator.js.json +++ /dev/null @@ -1,263 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ExportNamedDeclaration", - "start": 0, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 1 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "ClassDeclaration", - "start": 7, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 2, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 13, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 23 - }, - "identifierName": "Applicator" - }, - "name": "Applicator" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 24, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 2, - "column": 1 - } - }, - "body": [] - }, - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 7, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Applicator", - "start": 13, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 24, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 26, - "end": 27, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 1 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 28, - "end": 28, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/applicators/Applicator.ts.json b/docs/ast/source/applicators/Applicator.ts.json new file mode 100644 index 0000000..4437dec --- /dev/null +++ b/docs/ast/source/applicators/Applicator.ts.json @@ -0,0 +1,620 @@ +{ + "type": "File", + "start": 0, + "end": 114, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 114, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ExportNamedDeclaration", + "start": 0, + "end": 45, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 45 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 9, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 25 + } + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 25 + }, + "identifierName": "ApplicateOptions" + }, + "name": "ApplicateOptions" + }, + "exported": { + "type": "Identifier", + "start": 9, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 25 + }, + "identifierName": "ApplicateOptions" + }, + "name": "ApplicateOptions" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 33, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 33 + }, + "end": { + "line": 1, + "column": 44 + } + }, + "extra": { + "rawValue": "../shared", + "raw": "'../shared'" + }, + "value": "../shared" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", + "start": 46, + "end": 85, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 86, + "end": 113, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 9, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "ClassDeclaration", + "start": 93, + "end": 113, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 9, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 99, + "end": 109, + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 23 + }, + "identifierName": "Applicator" + }, + "name": "Applicator", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 110, + "end": 113, + "loc": { + "start": { + "line": 8, + "column": 24 + }, + "end": { + "line": 9, + "column": 1 + } + }, + "body": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", + "start": 46, + "end": 85, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", + "start": 46, + "end": 85, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", + "start": 46, + "end": 85, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ApplicateOptions", + "start": 9, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 26, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 28, + "end": 32, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../shared", + "start": 33, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 33 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 44, + "end": 45, + "loc": { + "start": { + "line": 1, + "column": 44 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", + "start": 46, + "end": 85, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 86, + "end": 92, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 93, + "end": 98, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Applicator", + "start": 99, + "end": 109, + "loc": { + "start": { + "line": 8, + "column": 13 + }, + "end": { + "line": 8, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 110, + "end": 111, + "loc": { + "start": { + "line": 8, + "column": 24 + }, + "end": { + "line": 8, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 112, + "end": 113, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 114, + "end": 114, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/applicators/BindApplicator.js.json b/docs/ast/source/applicators/BindApplicator.ts.json similarity index 78% rename from docs/ast/source/applicators/BindApplicator.js.json rename to docs/ast/source/applicators/BindApplicator.ts.json index d1a4fc3..28329c9 100644 --- a/docs/ast/source/applicators/BindApplicator.js.json +++ b/docs/ast/source/applicators/BindApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 279, + "end": 425, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 24, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 279, + "end": 425, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 24, "column": 0 } }, @@ -112,19 +112,37 @@ "raw": "'./Applicator'" }, "value": "./Applicator" - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 43, - "end": 278, + "start": 83, + "end": 424, "loc": { "start": { - "line": 2, + "line": 8, "column": 0 }, "end": { - "line": 9, + "line": 23, "column": 1 } }, @@ -132,46 +150,47 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 50, - "end": 278, + "start": 90, + "end": 424, "loc": { "start": { - "line": 2, + "line": 8, "column": 7 }, "end": { - "line": 9, + "line": 23, "column": 1 } }, "id": { "type": "Identifier", - "start": 56, - "end": 70, + "start": 96, + "end": 110, "loc": { "start": { - "line": 2, + "line": 8, "column": 13 }, "end": { - "line": 2, + "line": 8, "column": 27 }, "identifierName": "BindApplicator" }, - "name": "BindApplicator" + "name": "BindApplicator", + "leadingComments": null }, "superClass": { "type": "Identifier", - "start": 79, - "end": 89, + "start": 119, + "end": 129, "loc": { "start": { - "line": 2, + "line": 8, "column": 36 }, "end": { - "line": 2, + "line": 8, "column": 46 }, "identifierName": "Applicator" @@ -180,52 +199,53 @@ }, "body": { "type": "ClassBody", - "start": 90, - "end": 278, + "start": 130, + "end": 424, "loc": { "start": { - "line": 2, + "line": 8, "column": 47 }, "end": { - "line": 9, + "line": 23, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 96, - "end": 276, + "start": 250, + "end": 422, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 8, + "line": 22, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 96, - "end": 101, + "start": 250, + "end": 255, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 3, + "line": 17, "column": 9 }, "identifierName": "apply" }, - "name": "apply" + "name": "apply", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -234,30 +254,30 @@ "params": [ { "type": "ObjectPattern", - "start": 102, - "end": 156, + "start": 256, + "end": 302, "loc": { "start": { - "line": 3, + "line": 17, "column": 10 }, "end": { - "line": 3, - "column": 64 + "line": 17, + "column": 56 } }, "properties": [ { "type": "ObjectProperty", - "start": 104, - "end": 109, + "start": 258, + "end": 263, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 17 } }, @@ -266,15 +286,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 104, - "end": 109, + "start": 258, + "end": 263, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 17 }, "identifierName": "value" @@ -283,15 +303,15 @@ }, "value": { "type": "Identifier", - "start": 104, - "end": 109, + "start": 258, + "end": 263, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 17 }, "identifierName": "value" @@ -304,15 +324,15 @@ }, { "type": "ObjectProperty", - "start": 111, - "end": 130, + "start": 265, + "end": 284, "loc": { "start": { - "line": 3, + "line": 17, "column": 19 }, "end": { - "line": 3, + "line": 17, "column": 38 } }, @@ -321,15 +341,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 111, - "end": 117, + "start": 265, + "end": 271, "loc": { "start": { - "line": 3, + "line": 17, "column": 19 }, "end": { - "line": 3, + "line": 17, "column": 25 }, "identifierName": "config" @@ -338,30 +358,30 @@ }, "value": { "type": "ObjectPattern", - "start": 119, - "end": 130, + "start": 273, + "end": 284, "loc": { "start": { - "line": 3, + "line": 17, "column": 27 }, "end": { - "line": 3, + "line": 17, "column": 38 } }, "properties": [ { "type": "ObjectProperty", - "start": 121, - "end": 128, + "start": 275, + "end": 282, "loc": { "start": { - "line": 3, + "line": 17, "column": 29 }, "end": { - "line": 3, + "line": 17, "column": 36 } }, @@ -370,15 +390,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 121, - "end": 128, + "start": 275, + "end": 282, "loc": { "start": { - "line": 3, + "line": 17, "column": 29 }, "end": { - "line": 3, + "line": 17, "column": 36 }, "identifierName": "execute" @@ -387,15 +407,15 @@ }, "value": { "type": "Identifier", - "start": 121, - "end": 128, + "start": 275, + "end": 282, "loc": { "start": { - "line": 3, + "line": 17, "column": 29 }, "end": { - "line": 3, + "line": 17, "column": 36 }, "identifierName": "execute" @@ -411,15 +431,15 @@ }, { "type": "ObjectProperty", - "start": 132, - "end": 136, + "start": 286, + "end": 290, "loc": { "start": { - "line": 3, + "line": 17, "column": 40 }, "end": { - "line": 3, + "line": 17, "column": 44 } }, @@ -428,15 +448,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 132, - "end": 136, + "start": 286, + "end": 290, "loc": { "start": { - "line": 3, + "line": 17, "column": 40 }, "end": { - "line": 3, + "line": 17, "column": 44 }, "identifierName": "args" @@ -445,15 +465,15 @@ }, "value": { "type": "Identifier", - "start": 132, - "end": 136, + "start": 286, + "end": 290, "loc": { "start": { - "line": 3, + "line": 17, "column": 40 }, "end": { - "line": 3, + "line": 17, "column": 44 }, "identifierName": "args" @@ -466,15 +486,15 @@ }, { "type": "ObjectProperty", - "start": 138, - "end": 146, + "start": 292, + "end": 300, "loc": { "start": { - "line": 3, + "line": 17, "column": 46 }, "end": { - "line": 3, + "line": 17, "column": 54 } }, @@ -483,15 +503,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 138, - "end": 146, + "start": 292, + "end": 300, "loc": { "start": { - "line": 3, + "line": 17, "column": 46 }, "end": { - "line": 3, + "line": 17, "column": 54 }, "identifierName": "instance" @@ -500,15 +520,15 @@ }, "value": { "type": "Identifier", - "start": 138, - "end": 146, + "start": 292, + "end": 300, "loc": { "start": { - "line": 3, + "line": 17, "column": 46 }, "end": { - "line": 3, + "line": 17, "column": 54 }, "identifierName": "instance" @@ -518,105 +538,50 @@ "extra": { "shorthand": true } - }, - { - "type": "ObjectProperty", - "start": 148, - "end": 154, - "loc": { - "start": { - "line": 3, - "column": 56 - }, - "end": { - "line": 3, - "column": 62 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 148, - "end": 154, - "loc": { - "start": { - "line": 3, - "column": 56 - }, - "end": { - "line": 3, - "column": 62 - }, - "identifierName": "target" - }, - "name": "target" - }, - "value": { - "type": "Identifier", - "start": 148, - "end": 154, - "loc": { - "start": { - "line": 3, - "column": 56 - }, - "end": { - "line": 3, - "column": 62 - }, - "identifierName": "target" - }, - "name": "target" - }, - "extra": { - "shorthand": true - } } ] } ], "body": { "type": "BlockStatement", - "start": 158, - "end": 276, + "start": 304, + "end": 422, "loc": { "start": { - "line": 3, - "column": 66 + "line": 17, + "column": 58 }, "end": { - "line": 8, + "line": 22, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 168, - "end": 220, + "start": 314, + "end": 366, "loc": { "start": { - "line": 4, + "line": 18, "column": 8 }, "end": { - "line": 6, + "line": 20, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 172, - "end": 181, + "start": 318, + "end": 327, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 21 } }, @@ -624,15 +589,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 173, - "end": 181, + "start": 319, + "end": 327, "loc": { "start": { - "line": 4, + "line": 18, "column": 13 }, "end": { - "line": 4, + "line": 18, "column": 21 }, "identifierName": "instance" @@ -645,44 +610,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 183, - "end": 220, + "start": 329, + "end": 366, "loc": { "start": { - "line": 4, + "line": 18, "column": 23 }, "end": { - "line": 6, + "line": 20, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 197, - "end": 210, + "start": 343, + "end": 356, "loc": { "start": { - "line": 5, + "line": 19, "column": 12 }, "end": { - "line": 5, + "line": 19, "column": 25 } }, "argument": { "type": "Identifier", - "start": 204, - "end": 209, + "start": 350, + "end": 355, "loc": { "start": { - "line": 5, + "line": 19, "column": 19 }, "end": { - "line": 5, + "line": 19, "column": 24 }, "identifierName": "value" @@ -697,43 +662,43 @@ }, { "type": "ReturnStatement", - "start": 229, - "end": 270, + "start": 375, + "end": 416, "loc": { "start": { - "line": 7, + "line": 21, "column": 8 }, "end": { - "line": 7, + "line": 21, "column": 49 } }, "argument": { "type": "CallExpression", - "start": 236, - "end": 269, + "start": 382, + "end": 415, "loc": { "start": { - "line": 7, + "line": 21, "column": 15 }, "end": { - "line": 7, + "line": 21, "column": 48 } }, "callee": { "type": "Identifier", - "start": 236, - "end": 243, + "start": 382, + "end": 389, "loc": { "start": { - "line": 7, + "line": 21, "column": 15 }, "end": { - "line": 7, + "line": 21, "column": 22 }, "identifierName": "execute" @@ -743,15 +708,15 @@ "arguments": [ { "type": "Identifier", - "start": 244, - "end": 249, + "start": 390, + "end": 395, "loc": { "start": { - "line": 7, + "line": 21, "column": 23 }, "end": { - "line": 7, + "line": 21, "column": 28 }, "identifierName": "value" @@ -760,15 +725,15 @@ }, { "type": "Identifier", - "start": 251, - "end": 259, + "start": 397, + "end": 405, "loc": { "start": { - "line": 7, + "line": 21, "column": 30 }, "end": { - "line": 7, + "line": 21, "column": 38 }, "identifierName": "instance" @@ -777,29 +742,29 @@ }, { "type": "SpreadElement", - "start": 261, - "end": 268, + "start": 407, + "end": 414, "loc": { "start": { - "line": 7, + "line": 21, "column": 40 }, "end": { - "line": 7, + "line": 21, "column": 47 } }, "argument": { "type": "Identifier", - "start": 264, - "end": 268, + "start": 410, + "end": 414, "loc": { "start": { - "line": 7, + "line": 21, "column": 43 }, "end": { - "line": 7, + "line": 21, "column": 47 }, "identifierName": "args" @@ -812,25 +777,111 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 136, + "end": 245, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] } ] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 136, + "end": 245, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1008,6 +1059,22 @@ } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -1023,15 +1090,15 @@ "updateContext": null }, "value": "export", - "start": 43, - "end": 49, + "start": 83, + "end": 89, "loc": { "start": { - "line": 2, + "line": 8, "column": 0 }, "end": { - "line": 2, + "line": 8, "column": 6 } } @@ -1051,15 +1118,15 @@ "updateContext": null }, "value": "class", - "start": 50, - "end": 55, + "start": 90, + "end": 95, "loc": { "start": { - "line": 2, + "line": 8, "column": 7 }, "end": { - "line": 2, + "line": 8, "column": 12 } } @@ -1077,15 +1144,15 @@ "binop": null }, "value": "BindApplicator", - "start": 56, - "end": 70, + "start": 96, + "end": 110, "loc": { "start": { - "line": 2, + "line": 8, "column": 13 }, "end": { - "line": 2, + "line": 8, "column": 27 } } @@ -1105,15 +1172,15 @@ "updateContext": null }, "value": "extends", - "start": 71, - "end": 78, + "start": 111, + "end": 118, "loc": { "start": { - "line": 2, + "line": 8, "column": 28 }, "end": { - "line": 2, + "line": 8, "column": 35 } } @@ -1131,15 +1198,15 @@ "binop": null }, "value": "Applicator", - "start": 79, - "end": 89, + "start": 119, + "end": 129, "loc": { "start": { - "line": 2, + "line": 8, "column": 36 }, "end": { - "line": 2, + "line": 8, "column": 46 } } @@ -1156,19 +1223,35 @@ "postfix": false, "binop": null }, - "start": 90, - "end": 91, + "start": 130, + "end": 131, "loc": { "start": { - "line": 2, + "line": 8, "column": 47 }, "end": { - "line": 2, + "line": 8, "column": 48 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 136, + "end": 245, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -1182,15 +1265,15 @@ "binop": null }, "value": "apply", - "start": 96, - "end": 101, + "start": 250, + "end": 255, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 3, + "line": 17, "column": 9 } } @@ -1207,15 +1290,15 @@ "postfix": false, "binop": null }, - "start": 101, - "end": 102, + "start": 255, + "end": 256, "loc": { "start": { - "line": 3, + "line": 17, "column": 9 }, "end": { - "line": 3, + "line": 17, "column": 10 } } @@ -1232,15 +1315,15 @@ "postfix": false, "binop": null }, - "start": 102, - "end": 103, + "start": 256, + "end": 257, "loc": { "start": { - "line": 3, + "line": 17, "column": 10 }, "end": { - "line": 3, + "line": 17, "column": 11 } } @@ -1258,15 +1341,15 @@ "binop": null }, "value": "value", - "start": 104, - "end": 109, + "start": 258, + "end": 263, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 17 } } @@ -1284,15 +1367,15 @@ "binop": null, "updateContext": null }, - "start": 109, - "end": 110, + "start": 263, + "end": 264, "loc": { "start": { - "line": 3, + "line": 17, "column": 17 }, "end": { - "line": 3, + "line": 17, "column": 18 } } @@ -1310,15 +1393,15 @@ "binop": null }, "value": "config", - "start": 111, - "end": 117, + "start": 265, + "end": 271, "loc": { "start": { - "line": 3, + "line": 17, "column": 19 }, "end": { - "line": 3, + "line": 17, "column": 25 } } @@ -1336,15 +1419,15 @@ "binop": null, "updateContext": null }, - "start": 117, - "end": 118, + "start": 271, + "end": 272, "loc": { "start": { - "line": 3, + "line": 17, "column": 25 }, "end": { - "line": 3, + "line": 17, "column": 26 } } @@ -1361,15 +1444,15 @@ "postfix": false, "binop": null }, - "start": 119, - "end": 120, + "start": 273, + "end": 274, "loc": { "start": { - "line": 3, + "line": 17, "column": 27 }, "end": { - "line": 3, + "line": 17, "column": 28 } } @@ -1387,15 +1470,15 @@ "binop": null }, "value": "execute", - "start": 121, - "end": 128, + "start": 275, + "end": 282, "loc": { "start": { - "line": 3, + "line": 17, "column": 29 }, "end": { - "line": 3, + "line": 17, "column": 36 } } @@ -1412,15 +1495,15 @@ "postfix": false, "binop": null }, - "start": 129, - "end": 130, + "start": 283, + "end": 284, "loc": { "start": { - "line": 3, + "line": 17, "column": 37 }, "end": { - "line": 3, + "line": 17, "column": 38 } } @@ -1438,15 +1521,15 @@ "binop": null, "updateContext": null }, - "start": 130, - "end": 131, + "start": 284, + "end": 285, "loc": { "start": { - "line": 3, + "line": 17, "column": 38 }, "end": { - "line": 3, + "line": 17, "column": 39 } } @@ -1464,15 +1547,15 @@ "binop": null }, "value": "args", - "start": 132, - "end": 136, + "start": 286, + "end": 290, "loc": { "start": { - "line": 3, + "line": 17, "column": 40 }, "end": { - "line": 3, + "line": 17, "column": 44 } } @@ -1490,15 +1573,15 @@ "binop": null, "updateContext": null }, - "start": 136, - "end": 137, + "start": 290, + "end": 291, "loc": { "start": { - "line": 3, + "line": 17, "column": 44 }, "end": { - "line": 3, + "line": 17, "column": 45 } } @@ -1516,68 +1599,16 @@ "binop": null }, "value": "instance", - "start": 138, - "end": 146, + "start": 292, + "end": 300, "loc": { "start": { - "line": 3, + "line": 17, "column": 46 }, "end": { - "line": 3, - "column": 54 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 146, - "end": 147, - "loc": { - "start": { - "line": 3, + "line": 17, "column": 54 - }, - "end": { - "line": 3, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "target", - "start": 148, - "end": 154, - "loc": { - "start": { - "line": 3, - "column": 56 - }, - "end": { - "line": 3, - "column": 62 } } }, @@ -1593,16 +1624,16 @@ "postfix": false, "binop": null }, - "start": 155, - "end": 156, + "start": 301, + "end": 302, "loc": { "start": { - "line": 3, - "column": 63 + "line": 17, + "column": 55 }, "end": { - "line": 3, - "column": 64 + "line": 17, + "column": 56 } } }, @@ -1618,16 +1649,16 @@ "postfix": false, "binop": null }, - "start": 156, - "end": 157, + "start": 302, + "end": 303, "loc": { "start": { - "line": 3, - "column": 64 + "line": 17, + "column": 56 }, "end": { - "line": 3, - "column": 65 + "line": 17, + "column": 57 } } }, @@ -1643,16 +1674,16 @@ "postfix": false, "binop": null }, - "start": 158, - "end": 159, + "start": 304, + "end": 305, "loc": { "start": { - "line": 3, - "column": 66 + "line": 17, + "column": 58 }, "end": { - "line": 3, - "column": 67 + "line": 17, + "column": 59 } } }, @@ -1671,15 +1702,15 @@ "updateContext": null }, "value": "if", - "start": 168, - "end": 170, + "start": 314, + "end": 316, "loc": { "start": { - "line": 4, + "line": 18, "column": 8 }, "end": { - "line": 4, + "line": 18, "column": 10 } } @@ -1696,15 +1727,15 @@ "postfix": false, "binop": null }, - "start": 171, - "end": 172, + "start": 317, + "end": 318, "loc": { "start": { - "line": 4, + "line": 18, "column": 11 }, "end": { - "line": 4, + "line": 18, "column": 12 } } @@ -1723,15 +1754,15 @@ "updateContext": null }, "value": "!", - "start": 172, - "end": 173, + "start": 318, + "end": 319, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 13 } } @@ -1749,15 +1780,15 @@ "binop": null }, "value": "instance", - "start": 173, - "end": 181, + "start": 319, + "end": 327, "loc": { "start": { - "line": 4, + "line": 18, "column": 13 }, "end": { - "line": 4, + "line": 18, "column": 21 } } @@ -1774,15 +1805,15 @@ "postfix": false, "binop": null }, - "start": 181, - "end": 182, + "start": 327, + "end": 328, "loc": { "start": { - "line": 4, + "line": 18, "column": 21 }, "end": { - "line": 4, + "line": 18, "column": 22 } } @@ -1799,15 +1830,15 @@ "postfix": false, "binop": null }, - "start": 183, - "end": 184, + "start": 329, + "end": 330, "loc": { "start": { - "line": 4, + "line": 18, "column": 23 }, "end": { - "line": 4, + "line": 18, "column": 24 } } @@ -1827,15 +1858,15 @@ "updateContext": null }, "value": "return", - "start": 197, - "end": 203, + "start": 343, + "end": 349, "loc": { "start": { - "line": 5, + "line": 19, "column": 12 }, "end": { - "line": 5, + "line": 19, "column": 18 } } @@ -1853,15 +1884,15 @@ "binop": null }, "value": "value", - "start": 204, - "end": 209, + "start": 350, + "end": 355, "loc": { "start": { - "line": 5, + "line": 19, "column": 19 }, "end": { - "line": 5, + "line": 19, "column": 24 } } @@ -1879,15 +1910,15 @@ "binop": null, "updateContext": null }, - "start": 209, - "end": 210, + "start": 355, + "end": 356, "loc": { "start": { - "line": 5, + "line": 19, "column": 24 }, "end": { - "line": 5, + "line": 19, "column": 25 } } @@ -1904,15 +1935,15 @@ "postfix": false, "binop": null }, - "start": 219, - "end": 220, + "start": 365, + "end": 366, "loc": { "start": { - "line": 6, + "line": 20, "column": 8 }, "end": { - "line": 6, + "line": 20, "column": 9 } } @@ -1932,15 +1963,15 @@ "updateContext": null }, "value": "return", - "start": 229, - "end": 235, + "start": 375, + "end": 381, "loc": { "start": { - "line": 7, + "line": 21, "column": 8 }, "end": { - "line": 7, + "line": 21, "column": 14 } } @@ -1958,15 +1989,15 @@ "binop": null }, "value": "execute", - "start": 236, - "end": 243, + "start": 382, + "end": 389, "loc": { "start": { - "line": 7, + "line": 21, "column": 15 }, "end": { - "line": 7, + "line": 21, "column": 22 } } @@ -1983,15 +2014,15 @@ "postfix": false, "binop": null }, - "start": 243, - "end": 244, + "start": 389, + "end": 390, "loc": { "start": { - "line": 7, + "line": 21, "column": 22 }, "end": { - "line": 7, + "line": 21, "column": 23 } } @@ -2009,15 +2040,15 @@ "binop": null }, "value": "value", - "start": 244, - "end": 249, + "start": 390, + "end": 395, "loc": { "start": { - "line": 7, + "line": 21, "column": 23 }, "end": { - "line": 7, + "line": 21, "column": 28 } } @@ -2035,15 +2066,15 @@ "binop": null, "updateContext": null }, - "start": 249, - "end": 250, + "start": 395, + "end": 396, "loc": { "start": { - "line": 7, + "line": 21, "column": 28 }, "end": { - "line": 7, + "line": 21, "column": 29 } } @@ -2061,15 +2092,15 @@ "binop": null }, "value": "instance", - "start": 251, - "end": 259, + "start": 397, + "end": 405, "loc": { "start": { - "line": 7, + "line": 21, "column": 30 }, "end": { - "line": 7, + "line": 21, "column": 38 } } @@ -2087,15 +2118,15 @@ "binop": null, "updateContext": null }, - "start": 259, - "end": 260, + "start": 405, + "end": 406, "loc": { "start": { - "line": 7, + "line": 21, "column": 38 }, "end": { - "line": 7, + "line": 21, "column": 39 } } @@ -2113,15 +2144,15 @@ "binop": null, "updateContext": null }, - "start": 261, - "end": 264, + "start": 407, + "end": 410, "loc": { "start": { - "line": 7, + "line": 21, "column": 40 }, "end": { - "line": 7, + "line": 21, "column": 43 } } @@ -2139,15 +2170,15 @@ "binop": null }, "value": "args", - "start": 264, - "end": 268, + "start": 410, + "end": 414, "loc": { "start": { - "line": 7, + "line": 21, "column": 43 }, "end": { - "line": 7, + "line": 21, "column": 47 } } @@ -2164,15 +2195,15 @@ "postfix": false, "binop": null }, - "start": 268, - "end": 269, + "start": 414, + "end": 415, "loc": { "start": { - "line": 7, + "line": 21, "column": 47 }, "end": { - "line": 7, + "line": 21, "column": 48 } } @@ -2190,15 +2221,15 @@ "binop": null, "updateContext": null }, - "start": 269, - "end": 270, + "start": 415, + "end": 416, "loc": { "start": { - "line": 7, + "line": 21, "column": 48 }, "end": { - "line": 7, + "line": 21, "column": 49 } } @@ -2215,15 +2246,15 @@ "postfix": false, "binop": null }, - "start": 275, - "end": 276, + "start": 421, + "end": 422, "loc": { "start": { - "line": 8, + "line": 22, "column": 4 }, "end": { - "line": 8, + "line": 22, "column": 5 } } @@ -2240,15 +2271,15 @@ "postfix": false, "binop": null }, - "start": 277, - "end": 278, + "start": 423, + "end": 424, "loc": { "start": { - "line": 9, + "line": 23, "column": 0 }, "end": { - "line": 9, + "line": 23, "column": 1 } } @@ -2266,15 +2297,15 @@ "binop": null, "updateContext": null }, - "start": 279, - "end": 279, + "start": 425, + "end": 425, "loc": { "start": { - "line": 10, + "line": 24, "column": 0 }, "end": { - "line": 10, + "line": 24, "column": 0 } } diff --git a/docs/ast/source/applicators/ComposeApplicator.js.json b/docs/ast/source/applicators/ComposeApplicator.ts.json similarity index 79% rename from docs/ast/source/applicators/ComposeApplicator.js.json rename to docs/ast/source/applicators/ComposeApplicator.ts.json index 71f15c0..b25f507 100644 --- a/docs/ast/source/applicators/ComposeApplicator.js.json +++ b/docs/ast/source/applicators/ComposeApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 827, + "end": 1042, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 28, + "line": 49, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 827, + "end": 1042, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 28, + "line": 49, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 34, + "end": 42, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 34 + "column": 42 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 17, + "end": 19, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 17 + "column": 19 } }, "imported": { "type": "Identifier", "start": 9, - "end": 17, + "end": 19, "loc": { "start": { "line": 1, @@ -68,16 +68,16 @@ }, "end": { "line": 1, - "column": 17 + "column": 19 }, - "identifierName": "identity" + "identifierName": "Applicator" }, - "name": "identity" + "name": "Applicator" }, "local": { "type": "Identifier", "start": 9, - "end": 17, + "end": 19, "loc": { "start": { "line": 1, @@ -85,39 +85,39 @@ }, "end": { "line": 1, - "column": 17 + "column": 19 }, - "identifierName": "identity" + "identifierName": "Applicator" }, - "name": "identity" + "name": "Applicator" } } ], "source": { "type": "StringLiteral", - "start": 25, - "end": 33, + "start": 27, + "end": 41, "loc": { "start": { "line": 1, - "column": 25 + "column": 27 }, "end": { "line": 1, - "column": 33 + "column": 41 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" + "rawValue": "./Applicator", + "raw": "'./Applicator'" }, - "value": "lodash" + "value": "./Applicator" } }, { "type": "ImportDeclaration", - "start": 35, - "end": 77, + "start": 43, + "end": 86, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 42 + "column": 43 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 44, - "end": 54, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -140,13 +140,13 @@ }, "end": { "line": 2, - "column": 19 + "column": 24 } }, "imported": { "type": "Identifier", - "start": 44, - "end": 54, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -154,16 +154,16 @@ }, "end": { "line": 2, - "column": 19 + "column": 24 }, - "identifierName": "Applicator" + "identifierName": "resolveFunction" }, - "name": "Applicator" + "name": "resolveFunction" }, "local": { "type": "Identifier", - "start": 44, - "end": 54, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -171,132 +171,64 @@ }, "end": { "line": 2, - "column": 19 + "column": 24 }, - "identifierName": "Applicator" + "identifierName": "resolveFunction" }, - "name": "Applicator" + "name": "resolveFunction" } } ], "source": { "type": "StringLiteral", - "start": 62, - "end": 76, + "start": 75, + "end": 85, "loc": { "start": { "line": 2, - "column": 27 + "column": 32 }, "end": { "line": 2, - "column": 41 + "column": 42 } }, "extra": { - "rawValue": "./Applicator", - "raw": "'./Applicator'" - }, - "value": "./Applicator" - } - }, - { - "type": "ImportDeclaration", - "start": 78, - "end": 121, - "loc": { - "start": { - "line": 3, - "column": 0 + "rawValue": "../utils", + "raw": "'../utils'" }, - "end": { - "line": 3, - "column": 43 - } + "value": "../utils" }, - "specifiers": [ + "trailingComments": [ { - "type": "ImportSpecifier", + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", "start": 87, - "end": 102, + "end": 126, "loc": { "start": { "line": 3, - "column": 9 + "column": 0 }, "end": { - "line": 3, - "column": 24 + "line": 8, + "column": 3 } - }, - "imported": { - "type": "Identifier", - "start": 87, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 24 - }, - "identifierName": "resolveFunction" - }, - "name": "resolveFunction" - }, - "local": { - "type": "Identifier", - "start": 87, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 24 - }, - "identifierName": "resolveFunction" - }, - "name": "resolveFunction" } } - ], - "source": { - "type": "StringLiteral", - "start": 110, - "end": 120, - "loc": { - "start": { - "line": 3, - "column": 32 - }, - "end": { - "line": 3, - "column": 42 - } - }, - "extra": { - "rawValue": "../utils", - "raw": "'../utils'" - }, - "value": "../utils" - } + ] }, { "type": "ExportNamedDeclaration", - "start": 122, - "end": 826, + "start": 127, + "end": 1041, "loc": { "start": { - "line": 4, + "line": 9, "column": 0 }, "end": { - "line": 27, + "line": 48, "column": 1 } }, @@ -304,46 +236,47 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 129, - "end": 826, + "start": 134, + "end": 1041, "loc": { "start": { - "line": 4, + "line": 9, "column": 7 }, "end": { - "line": 27, + "line": 48, "column": 1 } }, "id": { "type": "Identifier", - "start": 135, - "end": 152, + "start": 140, + "end": 157, "loc": { "start": { - "line": 4, + "line": 9, "column": 13 }, "end": { - "line": 4, + "line": 9, "column": 30 }, "identifierName": "ComposeApplicator" }, - "name": "ComposeApplicator" + "name": "ComposeApplicator", + "leadingComments": null }, "superClass": { "type": "Identifier", - "start": 161, - "end": 171, + "start": 166, + "end": 176, "loc": { "start": { - "line": 4, + "line": 9, "column": 39 }, "end": { - "line": 4, + "line": 9, "column": 49 }, "identifierName": "Applicator" @@ -352,52 +285,52 @@ }, "body": { "type": "ClassBody", - "start": 172, - "end": 826, + "start": 177, + "end": 1041, "loc": { "start": { - "line": 4, + "line": 9, "column": 50 }, "end": { - "line": 27, + "line": 48, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 178, - "end": 260, + "start": 183, + "end": 265, "loc": { "start": { - "line": 5, + "line": 10, "column": 4 }, "end": { - "line": 8, + "line": 13, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 178, - "end": 189, + "start": 183, + "end": 194, "loc": { "start": { - "line": 5, + "line": 10, "column": 4 }, "end": { - "line": 5, + "line": 10, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -406,29 +339,29 @@ "params": [ { "type": "AssignmentPattern", - "start": 190, - "end": 202, + "start": 195, + "end": 207, "loc": { "start": { - "line": 5, + "line": 10, "column": 16 }, "end": { - "line": 5, + "line": 10, "column": 28 } }, "left": { "type": "Identifier", - "start": 190, - "end": 197, + "start": 195, + "end": 202, "loc": { "start": { - "line": 5, + "line": 10, "column": 16 }, "end": { - "line": 5, + "line": 10, "column": 23 }, "identifierName": "_config" @@ -437,15 +370,15 @@ }, "right": { "type": "ObjectExpression", - "start": 200, - "end": 202, + "start": 205, + "end": 207, "loc": { "start": { - "line": 5, + "line": 10, "column": 26 }, "end": { - "line": 5, + "line": 10, "column": 28 } }, @@ -455,58 +388,58 @@ ], "body": { "type": "BlockStatement", - "start": 204, - "end": 260, + "start": 209, + "end": 265, "loc": { "start": { - "line": 5, + "line": 10, "column": 30 }, "end": { - "line": 8, + "line": 13, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 214, - "end": 222, + "start": 219, + "end": 227, "loc": { "start": { - "line": 6, + "line": 11, "column": 8 }, "end": { - "line": 6, + "line": 11, "column": 16 } }, "expression": { "type": "CallExpression", - "start": 214, - "end": 221, + "start": 219, + "end": 226, "loc": { "start": { - "line": 6, + "line": 11, "column": 8 }, "end": { - "line": 6, + "line": 11, "column": 15 } }, "callee": { "type": "Super", - "start": 214, - "end": 219, + "start": 219, + "end": 224, "loc": { "start": { - "line": 6, + "line": 11, "column": 8 }, "end": { - "line": 6, + "line": 11, "column": 13 } } @@ -516,73 +449,73 @@ }, { "type": "ExpressionStatement", - "start": 231, - "end": 254, + "start": 236, + "end": 259, "loc": { "start": { - "line": 7, + "line": 12, "column": 8 }, "end": { - "line": 7, + "line": 12, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 231, - "end": 253, + "start": 236, + "end": 258, "loc": { "start": { - "line": 7, + "line": 12, "column": 8 }, "end": { - "line": 7, + "line": 12, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 231, - "end": 243, + "start": 236, + "end": 248, "loc": { "start": { - "line": 7, + "line": 12, "column": 8 }, "end": { - "line": 7, + "line": 12, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 231, - "end": 235, + "start": 236, + "end": 240, "loc": { "start": { - "line": 7, + "line": 12, "column": 8 }, "end": { - "line": 7, + "line": 12, "column": 12 } } }, "property": { "type": "Identifier", - "start": 236, - "end": 243, + "start": 241, + "end": 248, "loc": { "start": { - "line": 7, + "line": 12, "column": 13 }, "end": { - "line": 7, + "line": 12, "column": 20 }, "identifierName": "_config" @@ -593,15 +526,15 @@ }, "right": { "type": "Identifier", - "start": 246, - "end": 253, + "start": 251, + "end": 258, "loc": { "start": { - "line": 7, + "line": 12, "column": 23 }, "end": { - "line": 7, + "line": 12, "column": 30 }, "identifierName": "_config" @@ -611,42 +544,61 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 11\n * @type\n * {boolean}\n ", + "start": 270, + "end": 360, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 265, - "end": 326, + "start": 365, + "end": 426, "loc": { "start": { - "line": 9, + "line": 22, "column": 4 }, "end": { - "line": 11, + "line": 24, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 269, - "end": 273, + "start": 369, + "end": 373, "loc": { "start": { - "line": 9, + "line": 22, "column": 8 }, "end": { - "line": 9, + "line": 22, "column": 12 }, "identifierName": "post" }, "name": "post" }, - "static": false, "kind": "get", "id": null, "generator": false, @@ -655,101 +607,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 276, - "end": 326, + "start": 376, + "end": 426, "loc": { "start": { - "line": 9, + "line": 22, "column": 15 }, "end": { - "line": 11, + "line": 24, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 286, - "end": 320, + "start": 386, + "end": 420, "loc": { "start": { - "line": 10, + "line": 23, "column": 8 }, "end": { - "line": 10, + "line": 23, "column": 42 } }, "argument": { "type": "BinaryExpression", - "start": 293, - "end": 319, + "start": 393, + "end": 419, "loc": { "start": { - "line": 10, + "line": 23, "column": 15 }, "end": { - "line": 10, + "line": 23, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 293, - "end": 310, + "start": 393, + "end": 410, "loc": { "start": { - "line": 10, + "line": 23, "column": 15 }, "end": { - "line": 10, + "line": 23, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 293, - "end": 305, + "start": 393, + "end": 405, "loc": { "start": { - "line": 10, + "line": 23, "column": 15 }, "end": { - "line": 10, + "line": 23, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 293, - "end": 297, + "start": 393, + "end": 397, "loc": { "start": { - "line": 10, + "line": 23, "column": 15 }, "end": { - "line": 10, + "line": 23, "column": 19 } } }, "property": { "type": "Identifier", - "start": 298, - "end": 305, + "start": 398, + "end": 405, "loc": { "start": { - "line": 10, + "line": 23, "column": 20 }, "end": { - "line": 10, + "line": 23, "column": 27 }, "identifierName": "_config" @@ -760,15 +712,15 @@ }, "property": { "type": "Identifier", - "start": 306, - "end": 310, + "start": 406, + "end": 410, "loc": { "start": { - "line": 10, + "line": 23, "column": 28 }, "end": { - "line": 10, + "line": 23, "column": 32 }, "identifierName": "post" @@ -780,15 +732,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 315, - "end": 319, + "start": 415, + "end": 419, "loc": { "start": { - "line": 10, + "line": 23, "column": 37 }, "end": { - "line": 10, + "line": 23, "column": 41 } }, @@ -797,42 +749,80 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 11\n * @type\n * {boolean}\n ", + "start": 270, + "end": 360, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 431, + "end": 541, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 32, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 331, - "end": 824, + "start": 546, + "end": 1039, "loc": { "start": { - "line": 12, + "line": 33, "column": 4 }, "end": { - "line": 26, + "line": 47, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 331, - "end": 336, + "start": 546, + "end": 551, "loc": { "start": { - "line": 12, + "line": 33, "column": 4 }, "end": { - "line": 12, + "line": 33, "column": 9 }, "identifierName": "apply" }, - "name": "apply" + "name": "apply", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -841,30 +831,30 @@ "params": [ { "type": "ObjectPattern", - "start": 337, - "end": 392, + "start": 552, + "end": 607, "loc": { "start": { - "line": 12, + "line": 33, "column": 10 }, "end": { - "line": 12, + "line": 33, "column": 65 } }, "properties": [ { "type": "ObjectProperty", - "start": 339, - "end": 358, + "start": 554, + "end": 573, "loc": { "start": { - "line": 12, + "line": 33, "column": 12 }, "end": { - "line": 12, + "line": 33, "column": 31 } }, @@ -873,15 +863,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 339, - "end": 345, + "start": 554, + "end": 560, "loc": { "start": { - "line": 12, + "line": 33, "column": 12 }, "end": { - "line": 12, + "line": 33, "column": 18 }, "identifierName": "config" @@ -890,30 +880,30 @@ }, "value": { "type": "ObjectPattern", - "start": 347, - "end": 358, + "start": 562, + "end": 573, "loc": { "start": { - "line": 12, + "line": 33, "column": 20 }, "end": { - "line": 12, + "line": 33, "column": 31 } }, "properties": [ { "type": "ObjectProperty", - "start": 349, - "end": 356, + "start": 564, + "end": 571, "loc": { "start": { - "line": 12, + "line": 33, "column": 22 }, "end": { - "line": 12, + "line": 33, "column": 29 } }, @@ -922,15 +912,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 349, - "end": 356, + "start": 564, + "end": 571, "loc": { "start": { - "line": 12, + "line": 33, "column": 22 }, "end": { - "line": 12, + "line": 33, "column": 29 }, "identifierName": "execute" @@ -939,15 +929,15 @@ }, "value": { "type": "Identifier", - "start": 349, - "end": 356, + "start": 564, + "end": 571, "loc": { "start": { - "line": 12, + "line": 33, "column": 22 }, "end": { - "line": 12, + "line": 33, "column": 29 }, "identifierName": "execute" @@ -963,15 +953,15 @@ }, { "type": "ObjectProperty", - "start": 360, - "end": 376, + "start": 575, + "end": 591, "loc": { "start": { - "line": 12, + "line": 33, "column": 33 }, "end": { - "line": 12, + "line": 33, "column": 49 } }, @@ -980,15 +970,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 360, - "end": 365, + "start": 575, + "end": 580, "loc": { "start": { - "line": 12, + "line": 33, "column": 33 }, "end": { - "line": 12, + "line": 33, "column": 38 }, "identifierName": "value" @@ -997,29 +987,29 @@ }, "value": { "type": "AssignmentPattern", - "start": 360, - "end": 376, + "start": 575, + "end": 591, "loc": { "start": { - "line": 12, + "line": 33, "column": 33 }, "end": { - "line": 12, + "line": 33, "column": 49 } }, "left": { "type": "Identifier", - "start": 360, - "end": 365, + "start": 575, + "end": 580, "loc": { "start": { - "line": 12, + "line": 33, "column": 33 }, "end": { - "line": 12, + "line": 33, "column": 38 }, "identifierName": "value" @@ -1028,15 +1018,15 @@ }, "right": { "type": "Identifier", - "start": 368, - "end": 376, + "start": 583, + "end": 591, "loc": { "start": { - "line": 12, + "line": 33, "column": 41 }, "end": { - "line": 12, + "line": 33, "column": 49 }, "identifierName": "identity" @@ -1050,15 +1040,15 @@ }, { "type": "ObjectProperty", - "start": 378, - "end": 382, + "start": 593, + "end": 597, "loc": { "start": { - "line": 12, + "line": 33, "column": 51 }, "end": { - "line": 12, + "line": 33, "column": 55 } }, @@ -1067,15 +1057,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 378, - "end": 382, + "start": 593, + "end": 597, "loc": { "start": { - "line": 12, + "line": 33, "column": 51 }, "end": { - "line": 12, + "line": 33, "column": 55 }, "identifierName": "args" @@ -1084,15 +1074,15 @@ }, "value": { "type": "Identifier", - "start": 378, - "end": 382, + "start": 593, + "end": 597, "loc": { "start": { - "line": 12, + "line": 33, "column": 51 }, "end": { - "line": 12, + "line": 33, "column": 55 }, "identifierName": "args" @@ -1105,15 +1095,15 @@ }, { "type": "ObjectProperty", - "start": 384, - "end": 390, + "start": 599, + "end": 605, "loc": { "start": { - "line": 12, + "line": 33, "column": 57 }, "end": { - "line": 12, + "line": 33, "column": 63 } }, @@ -1122,15 +1112,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 384, - "end": 390, + "start": 599, + "end": 605, "loc": { "start": { - "line": 12, + "line": 33, "column": 57 }, "end": { - "line": 12, + "line": 33, "column": 63 }, "identifierName": "target" @@ -1139,15 +1129,15 @@ }, "value": { "type": "Identifier", - "start": 384, - "end": 390, + "start": 599, + "end": 605, "loc": { "start": { - "line": 12, + "line": 33, "column": 57 }, "end": { - "line": 12, + "line": 33, "column": 63 }, "identifierName": "target" @@ -1163,59 +1153,59 @@ ], "body": { "type": "BlockStatement", - "start": 394, - "end": 824, + "start": 609, + "end": 1039, "loc": { "start": { - "line": 12, + "line": 33, "column": 67 }, "end": { - "line": 26, + "line": 47, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 404, - "end": 428, + "start": 619, + "end": 643, "loc": { "start": { - "line": 13, + "line": 34, "column": 8 }, "end": { - "line": 13, + "line": 34, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 410, - "end": 427, + "start": 625, + "end": 642, "loc": { "start": { - "line": 13, + "line": 34, "column": 14 }, "end": { - "line": 13, + "line": 34, "column": 31 } }, "id": { "type": "Identifier", - "start": 410, - "end": 420, + "start": 625, + "end": 635, "loc": { "start": { - "line": 13, + "line": 34, "column": 14 }, "end": { - "line": 13, + "line": 34, "column": 24 }, "identifierName": "applicator" @@ -1224,15 +1214,15 @@ }, "init": { "type": "ThisExpression", - "start": 423, - "end": 427, + "start": 638, + "end": 642, "loc": { "start": { - "line": 13, + "line": 34, "column": 27 }, "end": { - "line": 13, + "line": 34, "column": 31 } } @@ -1243,29 +1233,29 @@ }, { "type": "ReturnStatement", - "start": 437, - "end": 818, + "start": 652, + "end": 1033, "loc": { "start": { - "line": 14, + "line": 35, "column": 8 }, "end": { - "line": 25, + "line": 46, "column": 10 } }, "argument": { "type": "FunctionExpression", - "start": 444, - "end": 817, + "start": 659, + "end": 1032, "loc": { "start": { - "line": 14, + "line": 35, "column": 15 }, "end": { - "line": 25, + "line": 46, "column": 9 } }, @@ -1276,29 +1266,29 @@ "params": [ { "type": "RestElement", - "start": 454, - "end": 467, + "start": 669, + "end": 682, "loc": { "start": { - "line": 14, + "line": 35, "column": 25 }, "end": { - "line": 14, + "line": 35, "column": 38 } }, "argument": { "type": "Identifier", - "start": 457, - "end": 467, + "start": 672, + "end": 682, "loc": { "start": { - "line": 14, + "line": 35, "column": 28 }, "end": { - "line": 14, + "line": 35, "column": 38 }, "identifierName": "invokeArgs" @@ -1309,59 +1299,59 @@ ], "body": { "type": "BlockStatement", - "start": 469, - "end": 817, + "start": 684, + "end": 1032, "loc": { "start": { - "line": 14, + "line": 35, "column": 40 }, "end": { - "line": 25, + "line": 46, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 483, - "end": 590, + "start": 698, + "end": 805, "loc": { "start": { - "line": 15, + "line": 36, "column": 12 }, "end": { - "line": 17, + "line": 38, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 489, - "end": 589, + "start": 704, + "end": 804, "loc": { "start": { - "line": 15, + "line": 36, "column": 18 }, "end": { - "line": 17, + "line": 38, "column": 13 } }, "id": { "type": "Identifier", - "start": 489, - "end": 494, + "start": 704, + "end": 709, "loc": { "start": { - "line": 15, + "line": 36, "column": 18 }, "end": { - "line": 15, + "line": 36, "column": 23 }, "identifierName": "_args" @@ -1370,72 +1360,72 @@ }, "init": { "type": "ArrayExpression", - "start": 497, - "end": 589, + "start": 712, + "end": 804, "loc": { "start": { - "line": 15, + "line": 36, "column": 26 }, "end": { - "line": 17, + "line": 38, "column": 13 } }, "elements": [ { "type": "SpreadElement", - "start": 515, - "end": 575, + "start": 730, + "end": 790, "loc": { "start": { - "line": 16, + "line": 37, "column": 16 }, "end": { - "line": 16, + "line": 37, "column": 76 } }, "argument": { "type": "CallExpression", - "start": 518, - "end": 575, + "start": 733, + "end": 790, "loc": { "start": { - "line": 16, + "line": 37, "column": 19 }, "end": { - "line": 16, + "line": 37, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 518, - "end": 526, + "start": 733, + "end": 741, "loc": { "start": { - "line": 16, + "line": 37, "column": 19 }, "end": { - "line": 16, + "line": 37, "column": 27 } }, "object": { "type": "Identifier", - "start": 518, - "end": 522, + "start": 733, + "end": 737, "loc": { "start": { - "line": 16, + "line": 37, "column": 19 }, "end": { - "line": 16, + "line": 37, "column": 23 }, "identifierName": "args" @@ -1444,15 +1434,15 @@ }, "property": { "type": "Identifier", - "start": 523, - "end": 526, + "start": 738, + "end": 741, "loc": { "start": { - "line": 16, + "line": 37, "column": 24 }, "end": { - "line": 16, + "line": 37, "column": 27 }, "identifierName": "map" @@ -1464,15 +1454,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 527, - "end": 574, + "start": 742, + "end": 789, "loc": { "start": { - "line": 16, + "line": 37, "column": 28 }, "end": { - "line": 16, + "line": 37, "column": 75 } }, @@ -1483,15 +1473,15 @@ "params": [ { "type": "Identifier", - "start": 527, - "end": 533, + "start": 742, + "end": 748, "loc": { "start": { - "line": 16, + "line": 37, "column": 28 }, "end": { - "line": 16, + "line": 37, "column": 34 }, "identifierName": "method" @@ -1501,29 +1491,29 @@ ], "body": { "type": "CallExpression", - "start": 537, - "end": 574, + "start": 752, + "end": 789, "loc": { "start": { - "line": 16, + "line": 37, "column": 38 }, "end": { - "line": 16, + "line": 37, "column": 75 } }, "callee": { "type": "Identifier", - "start": 537, - "end": 552, + "start": 752, + "end": 767, "loc": { "start": { - "line": 16, + "line": 37, "column": 38 }, "end": { - "line": 16, + "line": 37, "column": 53 }, "identifierName": "resolveFunction" @@ -1533,15 +1523,15 @@ "arguments": [ { "type": "Identifier", - "start": 553, - "end": 559, + "start": 768, + "end": 774, "loc": { "start": { - "line": 16, + "line": 37, "column": 54 }, "end": { - "line": 16, + "line": 37, "column": 60 }, "identifierName": "method" @@ -1550,30 +1540,30 @@ }, { "type": "ThisExpression", - "start": 561, - "end": 565, + "start": 776, + "end": 780, "loc": { "start": { - "line": 16, + "line": 37, "column": 62 }, "end": { - "line": 16, + "line": 37, "column": 66 } } }, { "type": "Identifier", - "start": 567, - "end": 573, + "start": 782, + "end": 788, "loc": { "start": { - "line": 16, + "line": 37, "column": 68 }, "end": { - "line": 16, + "line": 37, "column": 74 }, "identifierName": "target" @@ -1594,43 +1584,43 @@ }, { "type": "IfStatement", - "start": 603, - "end": 745, + "start": 818, + "end": 960, "loc": { "start": { - "line": 18, + "line": 39, "column": 12 }, "end": { - "line": 23, + "line": 44, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 607, - "end": 622, + "start": 822, + "end": 837, "loc": { "start": { - "line": 18, + "line": 39, "column": 16 }, "end": { - "line": 18, + "line": 39, "column": 31 } }, "object": { "type": "Identifier", - "start": 607, - "end": 617, + "start": 822, + "end": 832, "loc": { "start": { - "line": 18, + "line": 39, "column": 16 }, "end": { - "line": 18, + "line": 39, "column": 26 }, "identifierName": "applicator" @@ -1639,15 +1629,15 @@ }, "property": { "type": "Identifier", - "start": 618, - "end": 622, + "start": 833, + "end": 837, "loc": { "start": { - "line": 18, + "line": 39, "column": 27 }, "end": { - "line": 18, + "line": 39, "column": 31 }, "identifierName": "post" @@ -1658,72 +1648,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 624, - "end": 674, + "start": 839, + "end": 889, "loc": { "start": { - "line": 18, + "line": 39, "column": 33 }, "end": { - "line": 20, + "line": 41, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 642, - "end": 660, + "start": 857, + "end": 875, "loc": { "start": { - "line": 19, + "line": 40, "column": 16 }, "end": { - "line": 19, + "line": 40, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 642, - "end": 659, + "start": 857, + "end": 874, "loc": { "start": { - "line": 19, + "line": 40, "column": 16 }, "end": { - "line": 19, + "line": 40, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 642, - "end": 652, + "start": 857, + "end": 867, "loc": { "start": { - "line": 19, + "line": 40, "column": 16 }, "end": { - "line": 19, + "line": 40, "column": 26 } }, "object": { "type": "Identifier", - "start": 642, - "end": 647, + "start": 857, + "end": 862, "loc": { "start": { - "line": 19, + "line": 40, "column": 16 }, "end": { - "line": 19, + "line": 40, "column": 21 }, "identifierName": "_args" @@ -1732,15 +1722,15 @@ }, "property": { "type": "Identifier", - "start": 648, - "end": 652, + "start": 863, + "end": 867, "loc": { "start": { - "line": 19, + "line": 40, "column": 22 }, "end": { - "line": 19, + "line": 40, "column": 26 }, "identifierName": "push" @@ -1752,15 +1742,15 @@ "arguments": [ { "type": "Identifier", - "start": 653, - "end": 658, + "start": 868, + "end": 873, "loc": { "start": { - "line": 19, + "line": 40, "column": 27 }, "end": { - "line": 19, + "line": 40, "column": 32 }, "identifierName": "value" @@ -1775,72 +1765,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 692, - "end": 745, + "start": 907, + "end": 960, "loc": { "start": { - "line": 21, + "line": 42, "column": 17 }, "end": { - "line": 23, + "line": 44, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 710, - "end": 731, + "start": 925, + "end": 946, "loc": { "start": { - "line": 22, + "line": 43, "column": 16 }, "end": { - "line": 22, + "line": 43, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 710, - "end": 730, + "start": 925, + "end": 945, "loc": { "start": { - "line": 22, + "line": 43, "column": 16 }, "end": { - "line": 22, + "line": 43, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 710, - "end": 723, + "start": 925, + "end": 938, "loc": { "start": { - "line": 22, + "line": 43, "column": 16 }, "end": { - "line": 22, + "line": 43, "column": 29 } }, "object": { "type": "Identifier", - "start": 710, - "end": 715, + "start": 925, + "end": 930, "loc": { "start": { - "line": 22, + "line": 43, "column": 16 }, "end": { - "line": 22, + "line": 43, "column": 21 }, "identifierName": "_args" @@ -1849,15 +1839,15 @@ }, "property": { "type": "Identifier", - "start": 716, - "end": 723, + "start": 931, + "end": 938, "loc": { "start": { - "line": 22, + "line": 43, "column": 22 }, "end": { - "line": 22, + "line": 43, "column": 29 }, "identifierName": "unshift" @@ -1869,15 +1859,15 @@ "arguments": [ { "type": "Identifier", - "start": 724, - "end": 729, + "start": 939, + "end": 944, "loc": { "start": { - "line": 22, + "line": 43, "column": 30 }, "end": { - "line": 22, + "line": 43, "column": 35 }, "identifierName": "value" @@ -1893,71 +1883,71 @@ }, { "type": "ReturnStatement", - "start": 758, - "end": 807, + "start": 973, + "end": 1022, "loc": { "start": { - "line": 24, + "line": 45, "column": 12 }, "end": { - "line": 24, + "line": 45, "column": 61 } }, "argument": { "type": "CallExpression", - "start": 765, - "end": 806, + "start": 980, + "end": 1021, "loc": { "start": { - "line": 24, + "line": 45, "column": 19 }, "end": { - "line": 24, + "line": 45, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 765, - "end": 788, + "start": 980, + "end": 1003, "loc": { "start": { - "line": 24, + "line": 45, "column": 19 }, "end": { - "line": 24, + "line": 45, "column": 42 } }, "object": { "type": "CallExpression", - "start": 765, - "end": 782, + "start": 980, + "end": 997, "loc": { "start": { - "line": 24, + "line": 45, "column": 19 }, "end": { - "line": 24, + "line": 45, "column": 36 } }, "callee": { "type": "Identifier", - "start": 765, - "end": 772, + "start": 980, + "end": 987, "loc": { "start": { - "line": 24, + "line": 45, "column": 19 }, "end": { - "line": 24, + "line": 45, "column": 26 }, "identifierName": "execute" @@ -1967,29 +1957,29 @@ "arguments": [ { "type": "SpreadElement", - "start": 773, - "end": 781, + "start": 988, + "end": 996, "loc": { "start": { - "line": 24, + "line": 45, "column": 27 }, "end": { - "line": 24, + "line": 45, "column": 35 } }, "argument": { "type": "Identifier", - "start": 776, - "end": 781, + "start": 991, + "end": 996, "loc": { "start": { - "line": 24, + "line": 45, "column": 30 }, "end": { - "line": 24, + "line": 45, "column": 35 }, "identifierName": "_args" @@ -2001,15 +1991,15 @@ }, "property": { "type": "Identifier", - "start": 783, - "end": 788, + "start": 998, + "end": 1003, "loc": { "start": { - "line": 24, + "line": 45, "column": 37 }, "end": { - "line": 24, + "line": 45, "column": 42 }, "identifierName": "apply" @@ -2021,30 +2011,30 @@ "arguments": [ { "type": "ThisExpression", - "start": 789, - "end": 793, + "start": 1004, + "end": 1008, "loc": { "start": { - "line": 24, + "line": 45, "column": 43 }, "end": { - "line": 24, + "line": 45, "column": 47 } } }, { "type": "Identifier", - "start": 795, - "end": 805, + "start": 1010, + "end": 1020, "loc": { "start": { - "line": 24, + "line": 45, "column": 49 }, "end": { - "line": 24, + "line": 45, "column": 59 }, "identifierName": "invokeArgs" @@ -2061,208 +2051,127 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 431, + "end": 541, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 32, + "column": 7 + } + } + } + ] } ] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], - "tokens": [ + "comments": [ { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", + "start": 87, + "end": 126, "loc": { "start": { - "line": 1, + "line": 3, "column": 0 }, "end": { - "line": 1, - "column": 6 + "line": 8, + "column": 3 } } }, { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "identity", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18, - "end": 19, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 11\n * @type\n * {boolean}\n ", + "start": 270, + "end": 360, "loc": { "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 + "line": 14, + "column": 4 }, "end": { - "line": 1, - "column": 33 + "line": 21, + "column": 7 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 33, - "end": 34, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 431, + "end": 541, "loc": { "start": { - "line": 1, - "column": 33 + "line": 25, + "column": 4 }, "end": { - "line": 1, - "column": 34 + "line": 32, + "column": 7 } } - }, + } + ], + "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2272,15 +2181,15 @@ "updateContext": null }, "value": "import", - "start": 35, - "end": 41, + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, + "line": 1, "column": 6 } } @@ -2297,15 +2206,15 @@ "postfix": false, "binop": null }, - "start": 42, - "end": 43, + "start": 7, + "end": 8, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 2, + "line": 1, "column": 8 } } @@ -2323,15 +2232,15 @@ "binop": null }, "value": "Applicator", - "start": 44, - "end": 54, + "start": 9, + "end": 19, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 19 } } @@ -2348,15 +2257,15 @@ "postfix": false, "binop": null }, - "start": 55, - "end": 56, + "start": 20, + "end": 21, "loc": { "start": { - "line": 2, + "line": 1, "column": 20 }, "end": { - "line": 2, + "line": 1, "column": 21 } } @@ -2374,15 +2283,15 @@ "binop": null }, "value": "from", - "start": 57, - "end": 61, + "start": 22, + "end": 26, "loc": { "start": { - "line": 2, + "line": 1, "column": 22 }, "end": { - "line": 2, + "line": 1, "column": 26 } } @@ -2401,15 +2310,15 @@ "updateContext": null }, "value": "./Applicator", - "start": 62, - "end": 76, + "start": 27, + "end": 41, "loc": { "start": { - "line": 2, + "line": 1, "column": 27 }, "end": { - "line": 2, + "line": 1, "column": 41 } } @@ -2427,15 +2336,15 @@ "binop": null, "updateContext": null }, - "start": 76, - "end": 77, + "start": 41, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 41 }, "end": { - "line": 2, + "line": 1, "column": 42 } } @@ -2445,7 +2354,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2455,15 +2364,15 @@ "updateContext": null }, "value": "import", - "start": 78, - "end": 84, + "start": 43, + "end": 49, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } @@ -2480,15 +2389,15 @@ "postfix": false, "binop": null }, - "start": 85, - "end": 86, + "start": 50, + "end": 51, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, + "line": 2, "column": 8 } } @@ -2506,15 +2415,15 @@ "binop": null }, "value": "resolveFunction", - "start": 87, - "end": 102, + "start": 52, + "end": 67, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 24 } } @@ -2531,15 +2440,15 @@ "postfix": false, "binop": null }, - "start": 103, - "end": 104, + "start": 68, + "end": 69, "loc": { "start": { - "line": 3, + "line": 2, "column": 25 }, "end": { - "line": 3, + "line": 2, "column": 26 } } @@ -2557,15 +2466,15 @@ "binop": null }, "value": "from", - "start": 105, - "end": 109, + "start": 70, + "end": 74, "loc": { "start": { - "line": 3, + "line": 2, "column": 27 }, "end": { - "line": 3, + "line": 2, "column": 31 } } @@ -2584,15 +2493,15 @@ "updateContext": null }, "value": "../utils", - "start": 110, - "end": 120, + "start": 75, + "end": 85, "loc": { "start": { - "line": 3, + "line": 2, "column": 32 }, "end": { - "line": 3, + "line": 2, "column": 42 } } @@ -2610,19 +2519,35 @@ "binop": null, "updateContext": null }, - "start": 120, - "end": 121, + "start": 85, + "end": 86, "loc": { "start": { - "line": 3, + "line": 2, "column": 42 }, "end": { - "line": 3, + "line": 2, "column": 43 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -2638,15 +2563,15 @@ "updateContext": null }, "value": "export", - "start": 122, - "end": 128, + "start": 127, + "end": 133, "loc": { "start": { - "line": 4, + "line": 9, "column": 0 }, "end": { - "line": 4, + "line": 9, "column": 6 } } @@ -2666,15 +2591,15 @@ "updateContext": null }, "value": "class", - "start": 129, - "end": 134, + "start": 134, + "end": 139, "loc": { "start": { - "line": 4, + "line": 9, "column": 7 }, "end": { - "line": 4, + "line": 9, "column": 12 } } @@ -2692,15 +2617,15 @@ "binop": null }, "value": "ComposeApplicator", - "start": 135, - "end": 152, + "start": 140, + "end": 157, "loc": { "start": { - "line": 4, + "line": 9, "column": 13 }, "end": { - "line": 4, + "line": 9, "column": 30 } } @@ -2720,15 +2645,15 @@ "updateContext": null }, "value": "extends", - "start": 153, - "end": 160, + "start": 158, + "end": 165, "loc": { "start": { - "line": 4, + "line": 9, "column": 31 }, "end": { - "line": 4, + "line": 9, "column": 38 } } @@ -2746,15 +2671,15 @@ "binop": null }, "value": "Applicator", - "start": 161, - "end": 171, + "start": 166, + "end": 176, "loc": { "start": { - "line": 4, + "line": 9, "column": 39 }, "end": { - "line": 4, + "line": 9, "column": 49 } } @@ -2771,15 +2696,15 @@ "postfix": false, "binop": null }, - "start": 172, - "end": 173, + "start": 177, + "end": 178, "loc": { "start": { - "line": 4, + "line": 9, "column": 50 }, "end": { - "line": 4, + "line": 9, "column": 51 } } @@ -2797,15 +2722,15 @@ "binop": null }, "value": "constructor", - "start": 178, - "end": 189, + "start": 183, + "end": 194, "loc": { "start": { - "line": 5, + "line": 10, "column": 4 }, "end": { - "line": 5, + "line": 10, "column": 15 } } @@ -2822,15 +2747,15 @@ "postfix": false, "binop": null }, - "start": 189, - "end": 190, + "start": 194, + "end": 195, "loc": { "start": { - "line": 5, + "line": 10, "column": 15 }, "end": { - "line": 5, + "line": 10, "column": 16 } } @@ -2848,15 +2773,15 @@ "binop": null }, "value": "_config", - "start": 190, - "end": 197, + "start": 195, + "end": 202, "loc": { "start": { - "line": 5, + "line": 10, "column": 16 }, "end": { - "line": 5, + "line": 10, "column": 23 } } @@ -2875,15 +2800,15 @@ "updateContext": null }, "value": "=", - "start": 198, - "end": 199, + "start": 203, + "end": 204, "loc": { "start": { - "line": 5, + "line": 10, "column": 24 }, "end": { - "line": 5, + "line": 10, "column": 25 } } @@ -2900,15 +2825,15 @@ "postfix": false, "binop": null }, - "start": 200, - "end": 201, + "start": 205, + "end": 206, "loc": { "start": { - "line": 5, + "line": 10, "column": 26 }, "end": { - "line": 5, + "line": 10, "column": 27 } } @@ -2925,15 +2850,15 @@ "postfix": false, "binop": null }, - "start": 201, - "end": 202, + "start": 206, + "end": 207, "loc": { "start": { - "line": 5, + "line": 10, "column": 27 }, "end": { - "line": 5, + "line": 10, "column": 28 } } @@ -2950,15 +2875,15 @@ "postfix": false, "binop": null }, - "start": 202, - "end": 203, + "start": 207, + "end": 208, "loc": { "start": { - "line": 5, + "line": 10, "column": 28 }, "end": { - "line": 5, + "line": 10, "column": 29 } } @@ -2975,15 +2900,15 @@ "postfix": false, "binop": null }, - "start": 204, - "end": 205, + "start": 209, + "end": 210, "loc": { "start": { - "line": 5, + "line": 10, "column": 30 }, "end": { - "line": 5, + "line": 10, "column": 31 } } @@ -3003,15 +2928,15 @@ "updateContext": null }, "value": "super", - "start": 214, - "end": 219, + "start": 219, + "end": 224, "loc": { "start": { - "line": 6, + "line": 11, "column": 8 }, "end": { - "line": 6, + "line": 11, "column": 13 } } @@ -3028,15 +2953,15 @@ "postfix": false, "binop": null }, - "start": 219, - "end": 220, + "start": 224, + "end": 225, "loc": { "start": { - "line": 6, + "line": 11, "column": 13 }, "end": { - "line": 6, + "line": 11, "column": 14 } } @@ -3053,15 +2978,15 @@ "postfix": false, "binop": null }, - "start": 220, - "end": 221, + "start": 225, + "end": 226, "loc": { "start": { - "line": 6, + "line": 11, "column": 14 }, "end": { - "line": 6, + "line": 11, "column": 15 } } @@ -3079,15 +3004,15 @@ "binop": null, "updateContext": null }, - "start": 221, - "end": 222, + "start": 226, + "end": 227, "loc": { "start": { - "line": 6, + "line": 11, "column": 15 }, "end": { - "line": 6, + "line": 11, "column": 16 } } @@ -3107,15 +3032,15 @@ "updateContext": null }, "value": "this", - "start": 231, - "end": 235, + "start": 236, + "end": 240, "loc": { "start": { - "line": 7, + "line": 12, "column": 8 }, "end": { - "line": 7, + "line": 12, "column": 12 } } @@ -3133,15 +3058,15 @@ "binop": null, "updateContext": null }, - "start": 235, - "end": 236, + "start": 240, + "end": 241, "loc": { "start": { - "line": 7, + "line": 12, "column": 12 }, "end": { - "line": 7, + "line": 12, "column": 13 } } @@ -3159,15 +3084,15 @@ "binop": null }, "value": "_config", - "start": 236, - "end": 243, + "start": 241, + "end": 248, "loc": { "start": { - "line": 7, + "line": 12, "column": 13 }, "end": { - "line": 7, + "line": 12, "column": 20 } } @@ -3186,15 +3111,15 @@ "updateContext": null }, "value": "=", - "start": 244, - "end": 245, + "start": 249, + "end": 250, "loc": { "start": { - "line": 7, + "line": 12, "column": 21 }, "end": { - "line": 7, + "line": 12, "column": 22 } } @@ -3212,15 +3137,15 @@ "binop": null }, "value": "_config", - "start": 246, - "end": 253, + "start": 251, + "end": 258, "loc": { "start": { - "line": 7, + "line": 12, "column": 23 }, "end": { - "line": 7, + "line": 12, "column": 30 } } @@ -3238,15 +3163,15 @@ "binop": null, "updateContext": null }, - "start": 253, - "end": 254, + "start": 258, + "end": 259, "loc": { "start": { - "line": 7, + "line": 12, "column": 30 }, "end": { - "line": 7, + "line": 12, "column": 31 } } @@ -3263,16 +3188,32 @@ "postfix": false, "binop": null }, - "start": 259, - "end": 260, + "start": 264, + "end": 265, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 11\n * @type\n * {boolean}\n ", + "start": 270, + "end": 360, "loc": { "start": { - "line": 8, + "line": 14, "column": 4 }, "end": { - "line": 8, - "column": 5 + "line": 21, + "column": 7 } } }, @@ -3289,15 +3230,15 @@ "binop": null }, "value": "get", - "start": 265, - "end": 268, + "start": 365, + "end": 368, "loc": { "start": { - "line": 9, + "line": 22, "column": 4 }, "end": { - "line": 9, + "line": 22, "column": 7 } } @@ -3315,15 +3256,15 @@ "binop": null }, "value": "post", - "start": 269, - "end": 273, + "start": 369, + "end": 373, "loc": { "start": { - "line": 9, + "line": 22, "column": 8 }, "end": { - "line": 9, + "line": 22, "column": 12 } } @@ -3340,15 +3281,15 @@ "postfix": false, "binop": null }, - "start": 273, - "end": 274, + "start": 373, + "end": 374, "loc": { "start": { - "line": 9, + "line": 22, "column": 12 }, "end": { - "line": 9, + "line": 22, "column": 13 } } @@ -3365,15 +3306,15 @@ "postfix": false, "binop": null }, - "start": 274, - "end": 275, + "start": 374, + "end": 375, "loc": { "start": { - "line": 9, + "line": 22, "column": 13 }, "end": { - "line": 9, + "line": 22, "column": 14 } } @@ -3390,15 +3331,15 @@ "postfix": false, "binop": null }, - "start": 276, - "end": 277, + "start": 376, + "end": 377, "loc": { "start": { - "line": 9, + "line": 22, "column": 15 }, "end": { - "line": 9, + "line": 22, "column": 16 } } @@ -3418,15 +3359,15 @@ "updateContext": null }, "value": "return", - "start": 286, - "end": 292, + "start": 386, + "end": 392, "loc": { "start": { - "line": 10, + "line": 23, "column": 8 }, "end": { - "line": 10, + "line": 23, "column": 14 } } @@ -3446,15 +3387,15 @@ "updateContext": null }, "value": "this", - "start": 293, - "end": 297, + "start": 393, + "end": 397, "loc": { "start": { - "line": 10, + "line": 23, "column": 15 }, "end": { - "line": 10, + "line": 23, "column": 19 } } @@ -3472,15 +3413,15 @@ "binop": null, "updateContext": null }, - "start": 297, - "end": 298, + "start": 397, + "end": 398, "loc": { "start": { - "line": 10, + "line": 23, "column": 19 }, "end": { - "line": 10, + "line": 23, "column": 20 } } @@ -3498,15 +3439,15 @@ "binop": null }, "value": "_config", - "start": 298, - "end": 305, + "start": 398, + "end": 405, "loc": { "start": { - "line": 10, + "line": 23, "column": 20 }, "end": { - "line": 10, + "line": 23, "column": 27 } } @@ -3524,15 +3465,15 @@ "binop": null, "updateContext": null }, - "start": 305, - "end": 306, + "start": 405, + "end": 406, "loc": { "start": { - "line": 10, + "line": 23, "column": 27 }, "end": { - "line": 10, + "line": 23, "column": 28 } } @@ -3550,15 +3491,15 @@ "binop": null }, "value": "post", - "start": 306, - "end": 310, + "start": 406, + "end": 410, "loc": { "start": { - "line": 10, + "line": 23, "column": 28 }, "end": { - "line": 10, + "line": 23, "column": 32 } } @@ -3577,15 +3518,15 @@ "updateContext": null }, "value": "===", - "start": 311, - "end": 314, + "start": 411, + "end": 414, "loc": { "start": { - "line": 10, + "line": 23, "column": 33 }, "end": { - "line": 10, + "line": 23, "column": 36 } } @@ -3605,15 +3546,15 @@ "updateContext": null }, "value": "true", - "start": 315, - "end": 319, + "start": 415, + "end": 419, "loc": { "start": { - "line": 10, + "line": 23, "column": 37 }, "end": { - "line": 10, + "line": 23, "column": 41 } } @@ -3631,15 +3572,15 @@ "binop": null, "updateContext": null }, - "start": 319, - "end": 320, + "start": 419, + "end": 420, "loc": { "start": { - "line": 10, + "line": 23, "column": 41 }, "end": { - "line": 10, + "line": 23, "column": 42 } } @@ -3656,19 +3597,35 @@ "postfix": false, "binop": null }, - "start": 325, - "end": 326, + "start": 425, + "end": 426, "loc": { "start": { - "line": 11, + "line": 24, "column": 4 }, "end": { - "line": 11, + "line": 24, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 431, + "end": 541, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 32, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -3682,15 +3639,15 @@ "binop": null }, "value": "apply", - "start": 331, - "end": 336, + "start": 546, + "end": 551, "loc": { "start": { - "line": 12, + "line": 33, "column": 4 }, "end": { - "line": 12, + "line": 33, "column": 9 } } @@ -3707,15 +3664,15 @@ "postfix": false, "binop": null }, - "start": 336, - "end": 337, + "start": 551, + "end": 552, "loc": { "start": { - "line": 12, + "line": 33, "column": 9 }, "end": { - "line": 12, + "line": 33, "column": 10 } } @@ -3732,15 +3689,15 @@ "postfix": false, "binop": null }, - "start": 337, - "end": 338, + "start": 552, + "end": 553, "loc": { "start": { - "line": 12, + "line": 33, "column": 10 }, "end": { - "line": 12, + "line": 33, "column": 11 } } @@ -3758,15 +3715,15 @@ "binop": null }, "value": "config", - "start": 339, - "end": 345, + "start": 554, + "end": 560, "loc": { "start": { - "line": 12, + "line": 33, "column": 12 }, "end": { - "line": 12, + "line": 33, "column": 18 } } @@ -3784,15 +3741,15 @@ "binop": null, "updateContext": null }, - "start": 345, - "end": 346, + "start": 560, + "end": 561, "loc": { "start": { - "line": 12, + "line": 33, "column": 18 }, "end": { - "line": 12, + "line": 33, "column": 19 } } @@ -3809,15 +3766,15 @@ "postfix": false, "binop": null }, - "start": 347, - "end": 348, + "start": 562, + "end": 563, "loc": { "start": { - "line": 12, + "line": 33, "column": 20 }, "end": { - "line": 12, + "line": 33, "column": 21 } } @@ -3835,15 +3792,15 @@ "binop": null }, "value": "execute", - "start": 349, - "end": 356, + "start": 564, + "end": 571, "loc": { "start": { - "line": 12, + "line": 33, "column": 22 }, "end": { - "line": 12, + "line": 33, "column": 29 } } @@ -3860,15 +3817,15 @@ "postfix": false, "binop": null }, - "start": 357, - "end": 358, + "start": 572, + "end": 573, "loc": { "start": { - "line": 12, + "line": 33, "column": 30 }, "end": { - "line": 12, + "line": 33, "column": 31 } } @@ -3886,15 +3843,15 @@ "binop": null, "updateContext": null }, - "start": 358, - "end": 359, + "start": 573, + "end": 574, "loc": { "start": { - "line": 12, + "line": 33, "column": 31 }, "end": { - "line": 12, + "line": 33, "column": 32 } } @@ -3912,15 +3869,15 @@ "binop": null }, "value": "value", - "start": 360, - "end": 365, + "start": 575, + "end": 580, "loc": { "start": { - "line": 12, + "line": 33, "column": 33 }, "end": { - "line": 12, + "line": 33, "column": 38 } } @@ -3939,15 +3896,15 @@ "updateContext": null }, "value": "=", - "start": 366, - "end": 367, + "start": 581, + "end": 582, "loc": { "start": { - "line": 12, + "line": 33, "column": 39 }, "end": { - "line": 12, + "line": 33, "column": 40 } } @@ -3965,15 +3922,15 @@ "binop": null }, "value": "identity", - "start": 368, - "end": 376, + "start": 583, + "end": 591, "loc": { "start": { - "line": 12, + "line": 33, "column": 41 }, "end": { - "line": 12, + "line": 33, "column": 49 } } @@ -3991,15 +3948,15 @@ "binop": null, "updateContext": null }, - "start": 376, - "end": 377, + "start": 591, + "end": 592, "loc": { "start": { - "line": 12, + "line": 33, "column": 49 }, "end": { - "line": 12, + "line": 33, "column": 50 } } @@ -4017,15 +3974,15 @@ "binop": null }, "value": "args", - "start": 378, - "end": 382, + "start": 593, + "end": 597, "loc": { "start": { - "line": 12, + "line": 33, "column": 51 }, "end": { - "line": 12, + "line": 33, "column": 55 } } @@ -4043,15 +4000,15 @@ "binop": null, "updateContext": null }, - "start": 382, - "end": 383, + "start": 597, + "end": 598, "loc": { "start": { - "line": 12, + "line": 33, "column": 55 }, "end": { - "line": 12, + "line": 33, "column": 56 } } @@ -4069,15 +4026,15 @@ "binop": null }, "value": "target", - "start": 384, - "end": 390, + "start": 599, + "end": 605, "loc": { "start": { - "line": 12, + "line": 33, "column": 57 }, "end": { - "line": 12, + "line": 33, "column": 63 } } @@ -4094,15 +4051,15 @@ "postfix": false, "binop": null }, - "start": 391, - "end": 392, + "start": 606, + "end": 607, "loc": { "start": { - "line": 12, + "line": 33, "column": 64 }, "end": { - "line": 12, + "line": 33, "column": 65 } } @@ -4119,15 +4076,15 @@ "postfix": false, "binop": null }, - "start": 392, - "end": 393, + "start": 607, + "end": 608, "loc": { "start": { - "line": 12, + "line": 33, "column": 65 }, "end": { - "line": 12, + "line": 33, "column": 66 } } @@ -4144,15 +4101,15 @@ "postfix": false, "binop": null }, - "start": 394, - "end": 395, + "start": 609, + "end": 610, "loc": { "start": { - "line": 12, + "line": 33, "column": 67 }, "end": { - "line": 12, + "line": 33, "column": 68 } } @@ -4172,15 +4129,15 @@ "updateContext": null }, "value": "const", - "start": 404, - "end": 409, + "start": 619, + "end": 624, "loc": { "start": { - "line": 13, + "line": 34, "column": 8 }, "end": { - "line": 13, + "line": 34, "column": 13 } } @@ -4198,15 +4155,15 @@ "binop": null }, "value": "applicator", - "start": 410, - "end": 420, + "start": 625, + "end": 635, "loc": { "start": { - "line": 13, + "line": 34, "column": 14 }, "end": { - "line": 13, + "line": 34, "column": 24 } } @@ -4225,15 +4182,15 @@ "updateContext": null }, "value": "=", - "start": 421, - "end": 422, + "start": 636, + "end": 637, "loc": { "start": { - "line": 13, + "line": 34, "column": 25 }, "end": { - "line": 13, + "line": 34, "column": 26 } } @@ -4253,15 +4210,15 @@ "updateContext": null }, "value": "this", - "start": 423, - "end": 427, + "start": 638, + "end": 642, "loc": { "start": { - "line": 13, + "line": 34, "column": 27 }, "end": { - "line": 13, + "line": 34, "column": 31 } } @@ -4279,15 +4236,15 @@ "binop": null, "updateContext": null }, - "start": 427, - "end": 428, + "start": 642, + "end": 643, "loc": { "start": { - "line": 13, + "line": 34, "column": 31 }, "end": { - "line": 13, + "line": 34, "column": 32 } } @@ -4307,15 +4264,15 @@ "updateContext": null }, "value": "return", - "start": 437, - "end": 443, + "start": 652, + "end": 658, "loc": { "start": { - "line": 14, + "line": 35, "column": 8 }, "end": { - "line": 14, + "line": 35, "column": 14 } } @@ -4334,15 +4291,15 @@ "binop": null }, "value": "function", - "start": 444, - "end": 452, + "start": 659, + "end": 667, "loc": { "start": { - "line": 14, + "line": 35, "column": 15 }, "end": { - "line": 14, + "line": 35, "column": 23 } } @@ -4359,15 +4316,15 @@ "postfix": false, "binop": null }, - "start": 453, - "end": 454, + "start": 668, + "end": 669, "loc": { "start": { - "line": 14, + "line": 35, "column": 24 }, "end": { - "line": 14, + "line": 35, "column": 25 } } @@ -4385,15 +4342,15 @@ "binop": null, "updateContext": null }, - "start": 454, - "end": 457, + "start": 669, + "end": 672, "loc": { "start": { - "line": 14, + "line": 35, "column": 25 }, "end": { - "line": 14, + "line": 35, "column": 28 } } @@ -4411,15 +4368,15 @@ "binop": null }, "value": "invokeArgs", - "start": 457, - "end": 467, + "start": 672, + "end": 682, "loc": { "start": { - "line": 14, + "line": 35, "column": 28 }, "end": { - "line": 14, + "line": 35, "column": 38 } } @@ -4436,15 +4393,15 @@ "postfix": false, "binop": null }, - "start": 467, - "end": 468, + "start": 682, + "end": 683, "loc": { "start": { - "line": 14, + "line": 35, "column": 38 }, "end": { - "line": 14, + "line": 35, "column": 39 } } @@ -4461,15 +4418,15 @@ "postfix": false, "binop": null }, - "start": 469, - "end": 470, + "start": 684, + "end": 685, "loc": { "start": { - "line": 14, + "line": 35, "column": 40 }, "end": { - "line": 14, + "line": 35, "column": 41 } } @@ -4489,15 +4446,15 @@ "updateContext": null }, "value": "const", - "start": 483, - "end": 488, + "start": 698, + "end": 703, "loc": { "start": { - "line": 15, + "line": 36, "column": 12 }, "end": { - "line": 15, + "line": 36, "column": 17 } } @@ -4515,15 +4472,15 @@ "binop": null }, "value": "_args", - "start": 489, - "end": 494, + "start": 704, + "end": 709, "loc": { "start": { - "line": 15, + "line": 36, "column": 18 }, "end": { - "line": 15, + "line": 36, "column": 23 } } @@ -4542,15 +4499,15 @@ "updateContext": null }, "value": "=", - "start": 495, - "end": 496, + "start": 710, + "end": 711, "loc": { "start": { - "line": 15, + "line": 36, "column": 24 }, "end": { - "line": 15, + "line": 36, "column": 25 } } @@ -4568,15 +4525,15 @@ "binop": null, "updateContext": null }, - "start": 497, - "end": 498, + "start": 712, + "end": 713, "loc": { "start": { - "line": 15, + "line": 36, "column": 26 }, "end": { - "line": 15, + "line": 36, "column": 27 } } @@ -4594,15 +4551,15 @@ "binop": null, "updateContext": null }, - "start": 515, - "end": 518, + "start": 730, + "end": 733, "loc": { "start": { - "line": 16, + "line": 37, "column": 16 }, "end": { - "line": 16, + "line": 37, "column": 19 } } @@ -4620,15 +4577,15 @@ "binop": null }, "value": "args", - "start": 518, - "end": 522, + "start": 733, + "end": 737, "loc": { "start": { - "line": 16, + "line": 37, "column": 19 }, "end": { - "line": 16, + "line": 37, "column": 23 } } @@ -4646,15 +4603,15 @@ "binop": null, "updateContext": null }, - "start": 522, - "end": 523, + "start": 737, + "end": 738, "loc": { "start": { - "line": 16, + "line": 37, "column": 23 }, "end": { - "line": 16, + "line": 37, "column": 24 } } @@ -4672,15 +4629,15 @@ "binop": null }, "value": "map", - "start": 523, - "end": 526, + "start": 738, + "end": 741, "loc": { "start": { - "line": 16, + "line": 37, "column": 24 }, "end": { - "line": 16, + "line": 37, "column": 27 } } @@ -4697,15 +4654,15 @@ "postfix": false, "binop": null }, - "start": 526, - "end": 527, + "start": 741, + "end": 742, "loc": { "start": { - "line": 16, + "line": 37, "column": 27 }, "end": { - "line": 16, + "line": 37, "column": 28 } } @@ -4723,15 +4680,15 @@ "binop": null }, "value": "method", - "start": 527, - "end": 533, + "start": 742, + "end": 748, "loc": { "start": { - "line": 16, + "line": 37, "column": 28 }, "end": { - "line": 16, + "line": 37, "column": 34 } } @@ -4749,15 +4706,15 @@ "binop": null, "updateContext": null }, - "start": 534, - "end": 536, + "start": 749, + "end": 751, "loc": { "start": { - "line": 16, + "line": 37, "column": 35 }, "end": { - "line": 16, + "line": 37, "column": 37 } } @@ -4775,15 +4732,15 @@ "binop": null }, "value": "resolveFunction", - "start": 537, - "end": 552, + "start": 752, + "end": 767, "loc": { "start": { - "line": 16, + "line": 37, "column": 38 }, "end": { - "line": 16, + "line": 37, "column": 53 } } @@ -4800,15 +4757,15 @@ "postfix": false, "binop": null }, - "start": 552, - "end": 553, + "start": 767, + "end": 768, "loc": { "start": { - "line": 16, + "line": 37, "column": 53 }, "end": { - "line": 16, + "line": 37, "column": 54 } } @@ -4826,15 +4783,15 @@ "binop": null }, "value": "method", - "start": 553, - "end": 559, + "start": 768, + "end": 774, "loc": { "start": { - "line": 16, + "line": 37, "column": 54 }, "end": { - "line": 16, + "line": 37, "column": 60 } } @@ -4852,15 +4809,15 @@ "binop": null, "updateContext": null }, - "start": 559, - "end": 560, + "start": 774, + "end": 775, "loc": { "start": { - "line": 16, + "line": 37, "column": 60 }, "end": { - "line": 16, + "line": 37, "column": 61 } } @@ -4880,15 +4837,15 @@ "updateContext": null }, "value": "this", - "start": 561, - "end": 565, + "start": 776, + "end": 780, "loc": { "start": { - "line": 16, + "line": 37, "column": 62 }, "end": { - "line": 16, + "line": 37, "column": 66 } } @@ -4906,15 +4863,15 @@ "binop": null, "updateContext": null }, - "start": 565, - "end": 566, + "start": 780, + "end": 781, "loc": { "start": { - "line": 16, + "line": 37, "column": 66 }, "end": { - "line": 16, + "line": 37, "column": 67 } } @@ -4932,15 +4889,15 @@ "binop": null }, "value": "target", - "start": 567, - "end": 573, + "start": 782, + "end": 788, "loc": { "start": { - "line": 16, + "line": 37, "column": 68 }, "end": { - "line": 16, + "line": 37, "column": 74 } } @@ -4957,15 +4914,15 @@ "postfix": false, "binop": null }, - "start": 573, - "end": 574, + "start": 788, + "end": 789, "loc": { "start": { - "line": 16, + "line": 37, "column": 74 }, "end": { - "line": 16, + "line": 37, "column": 75 } } @@ -4982,15 +4939,15 @@ "postfix": false, "binop": null }, - "start": 574, - "end": 575, + "start": 789, + "end": 790, "loc": { "start": { - "line": 16, + "line": 37, "column": 75 }, "end": { - "line": 16, + "line": 37, "column": 76 } } @@ -5008,15 +4965,15 @@ "binop": null, "updateContext": null }, - "start": 588, - "end": 589, + "start": 803, + "end": 804, "loc": { "start": { - "line": 17, + "line": 38, "column": 12 }, "end": { - "line": 17, + "line": 38, "column": 13 } } @@ -5034,15 +4991,15 @@ "binop": null, "updateContext": null }, - "start": 589, - "end": 590, + "start": 804, + "end": 805, "loc": { "start": { - "line": 17, + "line": 38, "column": 13 }, "end": { - "line": 17, + "line": 38, "column": 14 } } @@ -5062,15 +5019,15 @@ "updateContext": null }, "value": "if", - "start": 603, - "end": 605, + "start": 818, + "end": 820, "loc": { "start": { - "line": 18, + "line": 39, "column": 12 }, "end": { - "line": 18, + "line": 39, "column": 14 } } @@ -5087,15 +5044,15 @@ "postfix": false, "binop": null }, - "start": 606, - "end": 607, + "start": 821, + "end": 822, "loc": { "start": { - "line": 18, + "line": 39, "column": 15 }, "end": { - "line": 18, + "line": 39, "column": 16 } } @@ -5113,15 +5070,15 @@ "binop": null }, "value": "applicator", - "start": 607, - "end": 617, + "start": 822, + "end": 832, "loc": { "start": { - "line": 18, + "line": 39, "column": 16 }, "end": { - "line": 18, + "line": 39, "column": 26 } } @@ -5139,15 +5096,15 @@ "binop": null, "updateContext": null }, - "start": 617, - "end": 618, + "start": 832, + "end": 833, "loc": { "start": { - "line": 18, + "line": 39, "column": 26 }, "end": { - "line": 18, + "line": 39, "column": 27 } } @@ -5165,15 +5122,15 @@ "binop": null }, "value": "post", - "start": 618, - "end": 622, + "start": 833, + "end": 837, "loc": { "start": { - "line": 18, + "line": 39, "column": 27 }, "end": { - "line": 18, + "line": 39, "column": 31 } } @@ -5190,15 +5147,15 @@ "postfix": false, "binop": null }, - "start": 622, - "end": 623, + "start": 837, + "end": 838, "loc": { "start": { - "line": 18, + "line": 39, "column": 31 }, "end": { - "line": 18, + "line": 39, "column": 32 } } @@ -5215,15 +5172,15 @@ "postfix": false, "binop": null }, - "start": 624, - "end": 625, + "start": 839, + "end": 840, "loc": { "start": { - "line": 18, + "line": 39, "column": 33 }, "end": { - "line": 18, + "line": 39, "column": 34 } } @@ -5241,15 +5198,15 @@ "binop": null }, "value": "_args", - "start": 642, - "end": 647, + "start": 857, + "end": 862, "loc": { "start": { - "line": 19, + "line": 40, "column": 16 }, "end": { - "line": 19, + "line": 40, "column": 21 } } @@ -5267,15 +5224,15 @@ "binop": null, "updateContext": null }, - "start": 647, - "end": 648, + "start": 862, + "end": 863, "loc": { "start": { - "line": 19, + "line": 40, "column": 21 }, "end": { - "line": 19, + "line": 40, "column": 22 } } @@ -5293,15 +5250,15 @@ "binop": null }, "value": "push", - "start": 648, - "end": 652, + "start": 863, + "end": 867, "loc": { "start": { - "line": 19, + "line": 40, "column": 22 }, "end": { - "line": 19, + "line": 40, "column": 26 } } @@ -5318,15 +5275,15 @@ "postfix": false, "binop": null }, - "start": 652, - "end": 653, + "start": 867, + "end": 868, "loc": { "start": { - "line": 19, + "line": 40, "column": 26 }, "end": { - "line": 19, + "line": 40, "column": 27 } } @@ -5344,15 +5301,15 @@ "binop": null }, "value": "value", - "start": 653, - "end": 658, + "start": 868, + "end": 873, "loc": { "start": { - "line": 19, + "line": 40, "column": 27 }, "end": { - "line": 19, + "line": 40, "column": 32 } } @@ -5369,15 +5326,15 @@ "postfix": false, "binop": null }, - "start": 658, - "end": 659, + "start": 873, + "end": 874, "loc": { "start": { - "line": 19, + "line": 40, "column": 32 }, "end": { - "line": 19, + "line": 40, "column": 33 } } @@ -5395,15 +5352,15 @@ "binop": null, "updateContext": null }, - "start": 659, - "end": 660, + "start": 874, + "end": 875, "loc": { "start": { - "line": 19, + "line": 40, "column": 33 }, "end": { - "line": 19, + "line": 40, "column": 34 } } @@ -5420,15 +5377,15 @@ "postfix": false, "binop": null }, - "start": 673, - "end": 674, + "start": 888, + "end": 889, "loc": { "start": { - "line": 20, + "line": 41, "column": 12 }, "end": { - "line": 20, + "line": 41, "column": 13 } } @@ -5448,15 +5405,15 @@ "updateContext": null }, "value": "else", - "start": 687, - "end": 691, + "start": 902, + "end": 906, "loc": { "start": { - "line": 21, + "line": 42, "column": 12 }, "end": { - "line": 21, + "line": 42, "column": 16 } } @@ -5473,15 +5430,15 @@ "postfix": false, "binop": null }, - "start": 692, - "end": 693, + "start": 907, + "end": 908, "loc": { "start": { - "line": 21, + "line": 42, "column": 17 }, "end": { - "line": 21, + "line": 42, "column": 18 } } @@ -5499,15 +5456,15 @@ "binop": null }, "value": "_args", - "start": 710, - "end": 715, + "start": 925, + "end": 930, "loc": { "start": { - "line": 22, + "line": 43, "column": 16 }, "end": { - "line": 22, + "line": 43, "column": 21 } } @@ -5525,15 +5482,15 @@ "binop": null, "updateContext": null }, - "start": 715, - "end": 716, + "start": 930, + "end": 931, "loc": { "start": { - "line": 22, + "line": 43, "column": 21 }, "end": { - "line": 22, + "line": 43, "column": 22 } } @@ -5551,15 +5508,15 @@ "binop": null }, "value": "unshift", - "start": 716, - "end": 723, + "start": 931, + "end": 938, "loc": { "start": { - "line": 22, + "line": 43, "column": 22 }, "end": { - "line": 22, + "line": 43, "column": 29 } } @@ -5576,15 +5533,15 @@ "postfix": false, "binop": null }, - "start": 723, - "end": 724, + "start": 938, + "end": 939, "loc": { "start": { - "line": 22, + "line": 43, "column": 29 }, "end": { - "line": 22, + "line": 43, "column": 30 } } @@ -5602,15 +5559,15 @@ "binop": null }, "value": "value", - "start": 724, - "end": 729, + "start": 939, + "end": 944, "loc": { "start": { - "line": 22, + "line": 43, "column": 30 }, "end": { - "line": 22, + "line": 43, "column": 35 } } @@ -5627,15 +5584,15 @@ "postfix": false, "binop": null }, - "start": 729, - "end": 730, + "start": 944, + "end": 945, "loc": { "start": { - "line": 22, + "line": 43, "column": 35 }, "end": { - "line": 22, + "line": 43, "column": 36 } } @@ -5653,15 +5610,15 @@ "binop": null, "updateContext": null }, - "start": 730, - "end": 731, + "start": 945, + "end": 946, "loc": { "start": { - "line": 22, + "line": 43, "column": 36 }, "end": { - "line": 22, + "line": 43, "column": 37 } } @@ -5678,15 +5635,15 @@ "postfix": false, "binop": null }, - "start": 744, - "end": 745, + "start": 959, + "end": 960, "loc": { "start": { - "line": 23, + "line": 44, "column": 12 }, "end": { - "line": 23, + "line": 44, "column": 13 } } @@ -5706,15 +5663,15 @@ "updateContext": null }, "value": "return", - "start": 758, - "end": 764, + "start": 973, + "end": 979, "loc": { "start": { - "line": 24, + "line": 45, "column": 12 }, "end": { - "line": 24, + "line": 45, "column": 18 } } @@ -5732,15 +5689,15 @@ "binop": null }, "value": "execute", - "start": 765, - "end": 772, + "start": 980, + "end": 987, "loc": { "start": { - "line": 24, + "line": 45, "column": 19 }, "end": { - "line": 24, + "line": 45, "column": 26 } } @@ -5757,15 +5714,15 @@ "postfix": false, "binop": null }, - "start": 772, - "end": 773, + "start": 987, + "end": 988, "loc": { "start": { - "line": 24, + "line": 45, "column": 26 }, "end": { - "line": 24, + "line": 45, "column": 27 } } @@ -5783,15 +5740,15 @@ "binop": null, "updateContext": null }, - "start": 773, - "end": 776, + "start": 988, + "end": 991, "loc": { "start": { - "line": 24, + "line": 45, "column": 27 }, "end": { - "line": 24, + "line": 45, "column": 30 } } @@ -5809,15 +5766,15 @@ "binop": null }, "value": "_args", - "start": 776, - "end": 781, + "start": 991, + "end": 996, "loc": { "start": { - "line": 24, + "line": 45, "column": 30 }, "end": { - "line": 24, + "line": 45, "column": 35 } } @@ -5834,15 +5791,15 @@ "postfix": false, "binop": null }, - "start": 781, - "end": 782, + "start": 996, + "end": 997, "loc": { "start": { - "line": 24, + "line": 45, "column": 35 }, "end": { - "line": 24, + "line": 45, "column": 36 } } @@ -5860,15 +5817,15 @@ "binop": null, "updateContext": null }, - "start": 782, - "end": 783, + "start": 997, + "end": 998, "loc": { "start": { - "line": 24, + "line": 45, "column": 36 }, "end": { - "line": 24, + "line": 45, "column": 37 } } @@ -5886,15 +5843,15 @@ "binop": null }, "value": "apply", - "start": 783, - "end": 788, + "start": 998, + "end": 1003, "loc": { "start": { - "line": 24, + "line": 45, "column": 37 }, "end": { - "line": 24, + "line": 45, "column": 42 } } @@ -5911,15 +5868,15 @@ "postfix": false, "binop": null }, - "start": 788, - "end": 789, + "start": 1003, + "end": 1004, "loc": { "start": { - "line": 24, + "line": 45, "column": 42 }, "end": { - "line": 24, + "line": 45, "column": 43 } } @@ -5939,15 +5896,15 @@ "updateContext": null }, "value": "this", - "start": 789, - "end": 793, + "start": 1004, + "end": 1008, "loc": { "start": { - "line": 24, + "line": 45, "column": 43 }, "end": { - "line": 24, + "line": 45, "column": 47 } } @@ -5965,15 +5922,15 @@ "binop": null, "updateContext": null }, - "start": 793, - "end": 794, + "start": 1008, + "end": 1009, "loc": { "start": { - "line": 24, + "line": 45, "column": 47 }, "end": { - "line": 24, + "line": 45, "column": 48 } } @@ -5991,15 +5948,15 @@ "binop": null }, "value": "invokeArgs", - "start": 795, - "end": 805, + "start": 1010, + "end": 1020, "loc": { "start": { - "line": 24, + "line": 45, "column": 49 }, "end": { - "line": 24, + "line": 45, "column": 59 } } @@ -6016,15 +5973,15 @@ "postfix": false, "binop": null }, - "start": 805, - "end": 806, + "start": 1020, + "end": 1021, "loc": { "start": { - "line": 24, + "line": 45, "column": 59 }, "end": { - "line": 24, + "line": 45, "column": 60 } } @@ -6042,15 +5999,15 @@ "binop": null, "updateContext": null }, - "start": 806, - "end": 807, + "start": 1021, + "end": 1022, "loc": { "start": { - "line": 24, + "line": 45, "column": 60 }, "end": { - "line": 24, + "line": 45, "column": 61 } } @@ -6067,15 +6024,15 @@ "postfix": false, "binop": null }, - "start": 816, - "end": 817, + "start": 1031, + "end": 1032, "loc": { "start": { - "line": 25, + "line": 46, "column": 8 }, "end": { - "line": 25, + "line": 46, "column": 9 } } @@ -6093,15 +6050,15 @@ "binop": null, "updateContext": null }, - "start": 817, - "end": 818, + "start": 1032, + "end": 1033, "loc": { "start": { - "line": 25, + "line": 46, "column": 9 }, "end": { - "line": 25, + "line": 46, "column": 10 } } @@ -6118,15 +6075,15 @@ "postfix": false, "binop": null }, - "start": 823, - "end": 824, + "start": 1038, + "end": 1039, "loc": { "start": { - "line": 26, + "line": 47, "column": 4 }, "end": { - "line": 26, + "line": 47, "column": 5 } } @@ -6143,15 +6100,15 @@ "postfix": false, "binop": null }, - "start": 825, - "end": 826, + "start": 1040, + "end": 1041, "loc": { "start": { - "line": 27, + "line": 48, "column": 0 }, "end": { - "line": 27, + "line": 48, "column": 1 } } @@ -6169,15 +6126,15 @@ "binop": null, "updateContext": null }, - "start": 827, - "end": 827, + "start": 1042, + "end": 1042, "loc": { "start": { - "line": 28, + "line": 49, "column": 0 }, "end": { - "line": 28, + "line": 49, "column": 0 } } diff --git a/docs/ast/source/applicators/InvokeApplicator.js.json b/docs/ast/source/applicators/InvokeApplicator.ts.json similarity index 76% rename from docs/ast/source/applicators/InvokeApplicator.js.json rename to docs/ast/source/applicators/InvokeApplicator.ts.json index 5e145f8..b94ea51 100644 --- a/docs/ast/source/applicators/InvokeApplicator.js.json +++ b/docs/ast/source/applicators/InvokeApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 283, + "end": 429, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 9, + "line": 23, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 283, + "end": 429, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 9, + "line": 23, "column": 0 } }, @@ -112,19 +112,37 @@ "raw": "'./Applicator'" }, "value": "./Applicator" - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 43, - "end": 282, + "start": 83, + "end": 428, "loc": { "start": { - "line": 2, + "line": 8, "column": 0 }, "end": { - "line": 8, + "line": 22, "column": 1 } }, @@ -132,46 +150,47 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 50, - "end": 282, + "start": 90, + "end": 428, "loc": { "start": { - "line": 2, + "line": 8, "column": 7 }, "end": { - "line": 8, + "line": 22, "column": 1 } }, "id": { "type": "Identifier", - "start": 56, - "end": 72, + "start": 96, + "end": 112, "loc": { "start": { - "line": 2, + "line": 8, "column": 13 }, "end": { - "line": 2, + "line": 8, "column": 29 }, "identifierName": "InvokeApplicator" }, - "name": "InvokeApplicator" + "name": "InvokeApplicator", + "leadingComments": null }, "superClass": { "type": "Identifier", - "start": 81, - "end": 91, + "start": 121, + "end": 131, "loc": { "start": { - "line": 2, + "line": 8, "column": 38 }, "end": { - "line": 2, + "line": 8, "column": 48 }, "identifierName": "Applicator" @@ -180,52 +199,53 @@ }, "body": { "type": "ClassBody", - "start": 92, - "end": 282, + "start": 132, + "end": 428, "loc": { "start": { - "line": 2, + "line": 8, "column": 49 }, "end": { - "line": 8, + "line": 22, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 98, - "end": 280, + "start": 252, + "end": 426, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 7, + "line": 21, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 98, - "end": 103, + "start": 252, + "end": 257, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 3, + "line": 17, "column": 9 }, "identifierName": "apply" }, - "name": "apply" + "name": "apply", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -234,30 +254,30 @@ "params": [ { "type": "ObjectPattern", - "start": 104, - "end": 148, + "start": 258, + "end": 294, "loc": { "start": { - "line": 3, + "line": 17, "column": 10 }, "end": { - "line": 3, - "column": 54 + "line": 17, + "column": 46 } }, "properties": [ { "type": "ObjectProperty", - "start": 106, - "end": 110, + "start": 260, + "end": 264, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 16 } }, @@ -266,15 +286,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 106, - "end": 110, + "start": 260, + "end": 264, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 16 }, "identifierName": "args" @@ -283,15 +303,15 @@ }, "value": { "type": "Identifier", - "start": 106, - "end": 110, + "start": 260, + "end": 264, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 16 }, "identifierName": "args" @@ -304,120 +324,65 @@ }, { "type": "ObjectProperty", - "start": 112, - "end": 118, + "start": 266, + "end": 285, "loc": { "start": { - "line": 3, + "line": 17, "column": 18 }, "end": { - "line": 3, - "column": 24 + "line": 17, + "column": 37 } }, "method": false, - "shorthand": true, + "shorthand": false, "computed": false, "key": { "type": "Identifier", - "start": 112, - "end": 118, - "loc": { - "start": { - "line": 3, - "column": 18 - }, - "end": { - "line": 3, - "column": 24 - }, - "identifierName": "target" - }, - "name": "target" - }, - "value": { - "type": "Identifier", - "start": 112, - "end": 118, + "start": 266, + "end": 272, "loc": { "start": { - "line": 3, + "line": 17, "column": 18 }, "end": { - "line": 3, + "line": 17, "column": 24 }, - "identifierName": "target" - }, - "name": "target" - }, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 120, - "end": 139, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 45 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 120, - "end": 126, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 32 - }, "identifierName": "config" }, "name": "config" }, "value": { "type": "ObjectPattern", - "start": 128, - "end": 139, + "start": 274, + "end": 285, "loc": { "start": { - "line": 3, - "column": 34 + "line": 17, + "column": 26 }, "end": { - "line": 3, - "column": 45 + "line": 17, + "column": 37 } }, "properties": [ { "type": "ObjectProperty", - "start": 130, - "end": 137, + "start": 276, + "end": 283, "loc": { "start": { - "line": 3, - "column": 36 + "line": 17, + "column": 28 }, "end": { - "line": 3, - "column": 43 + "line": 17, + "column": 35 } }, "method": false, @@ -425,16 +390,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 130, - "end": 137, + "start": 276, + "end": 283, "loc": { "start": { - "line": 3, - "column": 36 + "line": 17, + "column": 28 }, "end": { - "line": 3, - "column": 43 + "line": 17, + "column": 35 }, "identifierName": "execute" }, @@ -442,16 +407,16 @@ }, "value": { "type": "Identifier", - "start": 130, - "end": 137, + "start": 276, + "end": 283, "loc": { "start": { - "line": 3, - "column": 36 + "line": 17, + "column": 28 }, "end": { - "line": 3, - "column": 43 + "line": 17, + "column": 35 }, "identifierName": "execute" }, @@ -466,16 +431,16 @@ }, { "type": "ObjectProperty", - "start": 141, - "end": 146, + "start": 287, + "end": 292, "loc": { "start": { - "line": 3, - "column": 47 + "line": 17, + "column": 39 }, "end": { - "line": 3, - "column": 52 + "line": 17, + "column": 44 } }, "method": false, @@ -483,16 +448,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 141, - "end": 146, + "start": 287, + "end": 292, "loc": { "start": { - "line": 3, - "column": 47 + "line": 17, + "column": 39 }, "end": { - "line": 3, - "column": 52 + "line": 17, + "column": 44 }, "identifierName": "value" }, @@ -500,16 +465,16 @@ }, "value": { "type": "Identifier", - "start": 141, - "end": 146, + "start": 287, + "end": 292, "loc": { "start": { - "line": 3, - "column": 47 + "line": 17, + "column": 39 }, "end": { - "line": 3, - "column": 52 + "line": 17, + "column": 44 }, "identifierName": "value" }, @@ -524,44 +489,44 @@ ], "body": { "type": "BlockStatement", - "start": 150, - "end": 280, + "start": 296, + "end": 426, "loc": { "start": { - "line": 3, - "column": 56 + "line": 17, + "column": 48 }, "end": { - "line": 7, + "line": 21, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 160, - "end": 274, + "start": 306, + "end": 420, "loc": { "start": { - "line": 4, + "line": 18, "column": 8 }, "end": { - "line": 6, + "line": 20, "column": 10 } }, "argument": { "type": "FunctionExpression", - "start": 167, - "end": 273, + "start": 313, + "end": 419, "loc": { "start": { - "line": 4, + "line": 18, "column": 15 }, "end": { - "line": 6, + "line": 20, "column": 9 } }, @@ -572,29 +537,29 @@ "params": [ { "type": "RestElement", - "start": 177, - "end": 190, + "start": 323, + "end": 336, "loc": { "start": { - "line": 4, + "line": 18, "column": 25 }, "end": { - "line": 4, + "line": 18, "column": 38 } }, "argument": { "type": "Identifier", - "start": 180, - "end": 190, + "start": 326, + "end": 336, "loc": { "start": { - "line": 4, + "line": 18, "column": 28 }, "end": { - "line": 4, + "line": 18, "column": 38 }, "identifierName": "invokeArgs" @@ -605,58 +570,58 @@ ], "body": { "type": "BlockStatement", - "start": 192, - "end": 273, + "start": 338, + "end": 419, "loc": { "start": { - "line": 4, + "line": 18, "column": 40 }, "end": { - "line": 6, + "line": 20, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 206, - "end": 263, + "start": 352, + "end": 409, "loc": { "start": { - "line": 5, + "line": 19, "column": 12 }, "end": { - "line": 5, + "line": 19, "column": 69 } }, "argument": { "type": "CallExpression", - "start": 213, - "end": 262, + "start": 359, + "end": 408, "loc": { "start": { - "line": 5, + "line": 19, "column": 19 }, "end": { - "line": 5, + "line": 19, "column": 68 } }, "callee": { "type": "Identifier", - "start": 213, - "end": 220, + "start": 359, + "end": 366, "loc": { "start": { - "line": 5, + "line": 19, "column": 19 }, "end": { - "line": 5, + "line": 19, "column": 26 }, "identifierName": "execute" @@ -666,43 +631,43 @@ "arguments": [ { "type": "CallExpression", - "start": 221, - "end": 237, + "start": 367, + "end": 383, "loc": { "start": { - "line": 5, + "line": 19, "column": 27 }, "end": { - "line": 5, + "line": 19, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 221, - "end": 231, + "start": 367, + "end": 377, "loc": { "start": { - "line": 5, + "line": 19, "column": 27 }, "end": { - "line": 5, + "line": 19, "column": 37 } }, "object": { "type": "Identifier", - "start": 221, - "end": 226, + "start": 367, + "end": 372, "loc": { "start": { - "line": 5, + "line": 19, "column": 27 }, "end": { - "line": 5, + "line": 19, "column": 32 }, "identifierName": "value" @@ -711,15 +676,15 @@ }, "property": { "type": "Identifier", - "start": 227, - "end": 231, + "start": 373, + "end": 377, "loc": { "start": { - "line": 5, + "line": 19, "column": 33 }, "end": { - "line": 5, + "line": 19, "column": 37 }, "identifierName": "bind" @@ -731,15 +696,15 @@ "arguments": [ { "type": "ThisExpression", - "start": 232, - "end": 236, + "start": 378, + "end": 382, "loc": { "start": { - "line": 5, + "line": 19, "column": 38 }, "end": { - "line": 5, + "line": 19, "column": 42 } } @@ -748,29 +713,29 @@ }, { "type": "SpreadElement", - "start": 239, - "end": 252, + "start": 385, + "end": 398, "loc": { "start": { - "line": 5, + "line": 19, "column": 45 }, "end": { - "line": 5, + "line": 19, "column": 58 } }, "argument": { "type": "Identifier", - "start": 242, - "end": 252, + "start": 388, + "end": 398, "loc": { "start": { - "line": 5, + "line": 19, "column": 48 }, "end": { - "line": 5, + "line": 19, "column": 58 }, "identifierName": "invokeArgs" @@ -780,29 +745,29 @@ }, { "type": "SpreadElement", - "start": 254, - "end": 261, + "start": 400, + "end": 407, "loc": { "start": { - "line": 5, + "line": 19, "column": 60 }, "end": { - "line": 5, + "line": 19, "column": 67 } }, "argument": { "type": "Identifier", - "start": 257, - "end": 261, + "start": 403, + "end": 407, "loc": { "start": { - "line": 5, + "line": 19, "column": 63 }, "end": { - "line": 5, + "line": 19, "column": 67 }, "identifierName": "args" @@ -820,25 +785,111 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 138, + "end": 247, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] } ] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 138, + "end": 247, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1016,6 +1067,22 @@ } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -1031,15 +1098,15 @@ "updateContext": null }, "value": "export", - "start": 43, - "end": 49, + "start": 83, + "end": 89, "loc": { "start": { - "line": 2, + "line": 8, "column": 0 }, "end": { - "line": 2, + "line": 8, "column": 6 } } @@ -1059,15 +1126,15 @@ "updateContext": null }, "value": "class", - "start": 50, - "end": 55, + "start": 90, + "end": 95, "loc": { "start": { - "line": 2, + "line": 8, "column": 7 }, "end": { - "line": 2, + "line": 8, "column": 12 } } @@ -1085,15 +1152,15 @@ "binop": null }, "value": "InvokeApplicator", - "start": 56, - "end": 72, + "start": 96, + "end": 112, "loc": { "start": { - "line": 2, + "line": 8, "column": 13 }, "end": { - "line": 2, + "line": 8, "column": 29 } } @@ -1113,15 +1180,15 @@ "updateContext": null }, "value": "extends", - "start": 73, - "end": 80, + "start": 113, + "end": 120, "loc": { "start": { - "line": 2, + "line": 8, "column": 30 }, "end": { - "line": 2, + "line": 8, "column": 37 } } @@ -1139,15 +1206,15 @@ "binop": null }, "value": "Applicator", - "start": 81, - "end": 91, + "start": 121, + "end": 131, "loc": { "start": { - "line": 2, + "line": 8, "column": 38 }, "end": { - "line": 2, + "line": 8, "column": 48 } } @@ -1164,19 +1231,35 @@ "postfix": false, "binop": null }, - "start": 92, - "end": 93, + "start": 132, + "end": 133, "loc": { "start": { - "line": 2, + "line": 8, "column": 49 }, "end": { - "line": 2, + "line": 8, "column": 50 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 138, + "end": 247, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -1190,15 +1273,15 @@ "binop": null }, "value": "apply", - "start": 98, - "end": 103, + "start": 252, + "end": 257, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 3, + "line": 17, "column": 9 } } @@ -1215,15 +1298,15 @@ "postfix": false, "binop": null }, - "start": 103, - "end": 104, + "start": 257, + "end": 258, "loc": { "start": { - "line": 3, + "line": 17, "column": 9 }, "end": { - "line": 3, + "line": 17, "column": 10 } } @@ -1240,15 +1323,15 @@ "postfix": false, "binop": null }, - "start": 104, - "end": 105, + "start": 258, + "end": 259, "loc": { "start": { - "line": 3, + "line": 17, "column": 10 }, "end": { - "line": 3, + "line": 17, "column": 11 } } @@ -1266,15 +1349,15 @@ "binop": null }, "value": "args", - "start": 106, - "end": 110, + "start": 260, + "end": 264, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 16 } } @@ -1292,15 +1375,15 @@ "binop": null, "updateContext": null }, - "start": 110, - "end": 111, + "start": 264, + "end": 265, "loc": { "start": { - "line": 3, + "line": 17, "column": 16 }, "end": { - "line": 3, + "line": 17, "column": 17 } } @@ -1317,23 +1400,23 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 112, - "end": 118, + "value": "config", + "start": 266, + "end": 272, "loc": { "start": { - "line": 3, + "line": 17, "column": 18 }, "end": { - "line": 3, + "line": 17, "column": 24 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1344,71 +1427,19 @@ "binop": null, "updateContext": null }, - "start": 118, - "end": 119, + "start": 272, + "end": 273, "loc": { "start": { - "line": 3, + "line": 17, "column": 24 }, "end": { - "line": 3, + "line": 17, "column": 25 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "config", - "start": 120, - "end": 126, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 3, - "column": 32 - }, - "end": { - "line": 3, - "column": 33 - } - } - }, { "type": { "label": "{", @@ -1421,16 +1452,16 @@ "postfix": false, "binop": null }, - "start": 128, - "end": 129, + "start": 274, + "end": 275, "loc": { "start": { - "line": 3, - "column": 34 + "line": 17, + "column": 26 }, "end": { - "line": 3, - "column": 35 + "line": 17, + "column": 27 } } }, @@ -1447,16 +1478,16 @@ "binop": null }, "value": "execute", - "start": 130, - "end": 137, + "start": 276, + "end": 283, "loc": { "start": { - "line": 3, - "column": 36 + "line": 17, + "column": 28 }, "end": { - "line": 3, - "column": 43 + "line": 17, + "column": 35 } } }, @@ -1472,16 +1503,16 @@ "postfix": false, "binop": null }, - "start": 138, - "end": 139, + "start": 284, + "end": 285, "loc": { "start": { - "line": 3, - "column": 44 + "line": 17, + "column": 36 }, "end": { - "line": 3, - "column": 45 + "line": 17, + "column": 37 } } }, @@ -1498,16 +1529,16 @@ "binop": null, "updateContext": null }, - "start": 139, - "end": 140, + "start": 285, + "end": 286, "loc": { "start": { - "line": 3, - "column": 45 + "line": 17, + "column": 37 }, "end": { - "line": 3, - "column": 46 + "line": 17, + "column": 38 } } }, @@ -1524,16 +1555,16 @@ "binop": null }, "value": "value", - "start": 141, - "end": 146, + "start": 287, + "end": 292, "loc": { "start": { - "line": 3, - "column": 47 + "line": 17, + "column": 39 }, "end": { - "line": 3, - "column": 52 + "line": 17, + "column": 44 } } }, @@ -1549,16 +1580,16 @@ "postfix": false, "binop": null }, - "start": 147, - "end": 148, + "start": 293, + "end": 294, "loc": { "start": { - "line": 3, - "column": 53 + "line": 17, + "column": 45 }, "end": { - "line": 3, - "column": 54 + "line": 17, + "column": 46 } } }, @@ -1574,16 +1605,16 @@ "postfix": false, "binop": null }, - "start": 148, - "end": 149, + "start": 294, + "end": 295, "loc": { "start": { - "line": 3, - "column": 54 + "line": 17, + "column": 46 }, "end": { - "line": 3, - "column": 55 + "line": 17, + "column": 47 } } }, @@ -1599,16 +1630,16 @@ "postfix": false, "binop": null }, - "start": 150, - "end": 151, + "start": 296, + "end": 297, "loc": { "start": { - "line": 3, - "column": 56 + "line": 17, + "column": 48 }, "end": { - "line": 3, - "column": 57 + "line": 17, + "column": 49 } } }, @@ -1627,15 +1658,15 @@ "updateContext": null }, "value": "return", - "start": 160, - "end": 166, + "start": 306, + "end": 312, "loc": { "start": { - "line": 4, + "line": 18, "column": 8 }, "end": { - "line": 4, + "line": 18, "column": 14 } } @@ -1654,15 +1685,15 @@ "binop": null }, "value": "function", - "start": 167, - "end": 175, + "start": 313, + "end": 321, "loc": { "start": { - "line": 4, + "line": 18, "column": 15 }, "end": { - "line": 4, + "line": 18, "column": 23 } } @@ -1679,15 +1710,15 @@ "postfix": false, "binop": null }, - "start": 176, - "end": 177, + "start": 322, + "end": 323, "loc": { "start": { - "line": 4, + "line": 18, "column": 24 }, "end": { - "line": 4, + "line": 18, "column": 25 } } @@ -1705,15 +1736,15 @@ "binop": null, "updateContext": null }, - "start": 177, - "end": 180, + "start": 323, + "end": 326, "loc": { "start": { - "line": 4, + "line": 18, "column": 25 }, "end": { - "line": 4, + "line": 18, "column": 28 } } @@ -1731,15 +1762,15 @@ "binop": null }, "value": "invokeArgs", - "start": 180, - "end": 190, + "start": 326, + "end": 336, "loc": { "start": { - "line": 4, + "line": 18, "column": 28 }, "end": { - "line": 4, + "line": 18, "column": 38 } } @@ -1756,15 +1787,15 @@ "postfix": false, "binop": null }, - "start": 190, - "end": 191, + "start": 336, + "end": 337, "loc": { "start": { - "line": 4, + "line": 18, "column": 38 }, "end": { - "line": 4, + "line": 18, "column": 39 } } @@ -1781,15 +1812,15 @@ "postfix": false, "binop": null }, - "start": 192, - "end": 193, + "start": 338, + "end": 339, "loc": { "start": { - "line": 4, + "line": 18, "column": 40 }, "end": { - "line": 4, + "line": 18, "column": 41 } } @@ -1809,15 +1840,15 @@ "updateContext": null }, "value": "return", - "start": 206, - "end": 212, + "start": 352, + "end": 358, "loc": { "start": { - "line": 5, + "line": 19, "column": 12 }, "end": { - "line": 5, + "line": 19, "column": 18 } } @@ -1835,15 +1866,15 @@ "binop": null }, "value": "execute", - "start": 213, - "end": 220, + "start": 359, + "end": 366, "loc": { "start": { - "line": 5, + "line": 19, "column": 19 }, "end": { - "line": 5, + "line": 19, "column": 26 } } @@ -1860,15 +1891,15 @@ "postfix": false, "binop": null }, - "start": 220, - "end": 221, + "start": 366, + "end": 367, "loc": { "start": { - "line": 5, + "line": 19, "column": 26 }, "end": { - "line": 5, + "line": 19, "column": 27 } } @@ -1886,15 +1917,15 @@ "binop": null }, "value": "value", - "start": 221, - "end": 226, + "start": 367, + "end": 372, "loc": { "start": { - "line": 5, + "line": 19, "column": 27 }, "end": { - "line": 5, + "line": 19, "column": 32 } } @@ -1912,15 +1943,15 @@ "binop": null, "updateContext": null }, - "start": 226, - "end": 227, + "start": 372, + "end": 373, "loc": { "start": { - "line": 5, + "line": 19, "column": 32 }, "end": { - "line": 5, + "line": 19, "column": 33 } } @@ -1938,15 +1969,15 @@ "binop": null }, "value": "bind", - "start": 227, - "end": 231, + "start": 373, + "end": 377, "loc": { "start": { - "line": 5, + "line": 19, "column": 33 }, "end": { - "line": 5, + "line": 19, "column": 37 } } @@ -1963,15 +1994,15 @@ "postfix": false, "binop": null }, - "start": 231, - "end": 232, + "start": 377, + "end": 378, "loc": { "start": { - "line": 5, + "line": 19, "column": 37 }, "end": { - "line": 5, + "line": 19, "column": 38 } } @@ -1991,15 +2022,15 @@ "updateContext": null }, "value": "this", - "start": 232, - "end": 236, + "start": 378, + "end": 382, "loc": { "start": { - "line": 5, + "line": 19, "column": 38 }, "end": { - "line": 5, + "line": 19, "column": 42 } } @@ -2016,15 +2047,15 @@ "postfix": false, "binop": null }, - "start": 236, - "end": 237, + "start": 382, + "end": 383, "loc": { "start": { - "line": 5, + "line": 19, "column": 42 }, "end": { - "line": 5, + "line": 19, "column": 43 } } @@ -2042,15 +2073,15 @@ "binop": null, "updateContext": null }, - "start": 237, - "end": 238, + "start": 383, + "end": 384, "loc": { "start": { - "line": 5, + "line": 19, "column": 43 }, "end": { - "line": 5, + "line": 19, "column": 44 } } @@ -2068,15 +2099,15 @@ "binop": null, "updateContext": null }, - "start": 239, - "end": 242, + "start": 385, + "end": 388, "loc": { "start": { - "line": 5, + "line": 19, "column": 45 }, "end": { - "line": 5, + "line": 19, "column": 48 } } @@ -2094,15 +2125,15 @@ "binop": null }, "value": "invokeArgs", - "start": 242, - "end": 252, + "start": 388, + "end": 398, "loc": { "start": { - "line": 5, + "line": 19, "column": 48 }, "end": { - "line": 5, + "line": 19, "column": 58 } } @@ -2120,15 +2151,15 @@ "binop": null, "updateContext": null }, - "start": 252, - "end": 253, + "start": 398, + "end": 399, "loc": { "start": { - "line": 5, + "line": 19, "column": 58 }, "end": { - "line": 5, + "line": 19, "column": 59 } } @@ -2146,15 +2177,15 @@ "binop": null, "updateContext": null }, - "start": 254, - "end": 257, + "start": 400, + "end": 403, "loc": { "start": { - "line": 5, + "line": 19, "column": 60 }, "end": { - "line": 5, + "line": 19, "column": 63 } } @@ -2172,15 +2203,15 @@ "binop": null }, "value": "args", - "start": 257, - "end": 261, + "start": 403, + "end": 407, "loc": { "start": { - "line": 5, + "line": 19, "column": 63 }, "end": { - "line": 5, + "line": 19, "column": 67 } } @@ -2197,15 +2228,15 @@ "postfix": false, "binop": null }, - "start": 261, - "end": 262, + "start": 407, + "end": 408, "loc": { "start": { - "line": 5, + "line": 19, "column": 67 }, "end": { - "line": 5, + "line": 19, "column": 68 } } @@ -2223,15 +2254,15 @@ "binop": null, "updateContext": null }, - "start": 262, - "end": 263, + "start": 408, + "end": 409, "loc": { "start": { - "line": 5, + "line": 19, "column": 68 }, "end": { - "line": 5, + "line": 19, "column": 69 } } @@ -2248,15 +2279,15 @@ "postfix": false, "binop": null }, - "start": 272, - "end": 273, + "start": 418, + "end": 419, "loc": { "start": { - "line": 6, + "line": 20, "column": 8 }, "end": { - "line": 6, + "line": 20, "column": 9 } } @@ -2274,15 +2305,15 @@ "binop": null, "updateContext": null }, - "start": 273, - "end": 274, + "start": 419, + "end": 420, "loc": { "start": { - "line": 6, + "line": 20, "column": 9 }, "end": { - "line": 6, + "line": 20, "column": 10 } } @@ -2299,15 +2330,15 @@ "postfix": false, "binop": null }, - "start": 279, - "end": 280, + "start": 425, + "end": 426, "loc": { "start": { - "line": 7, + "line": 21, "column": 4 }, "end": { - "line": 7, + "line": 21, "column": 5 } } @@ -2324,15 +2355,15 @@ "postfix": false, "binop": null }, - "start": 281, - "end": 282, + "start": 427, + "end": 428, "loc": { "start": { - "line": 8, + "line": 22, "column": 0 }, "end": { - "line": 8, + "line": 22, "column": 1 } } @@ -2350,15 +2381,15 @@ "binop": null, "updateContext": null }, - "start": 283, - "end": 283, + "start": 429, + "end": 429, "loc": { "start": { - "line": 9, + "line": 23, "column": 0 }, "end": { - "line": 9, + "line": 23, "column": 0 } } diff --git a/docs/ast/source/applicators/MemoizeApplicator.js.json b/docs/ast/source/applicators/MemoizeApplicator.ts.json similarity index 68% rename from docs/ast/source/applicators/MemoizeApplicator.js.json rename to docs/ast/source/applicators/MemoizeApplicator.ts.json index 4a148f0..943d722 100644 --- a/docs/ast/source/applicators/MemoizeApplicator.js.json +++ b/docs/ast/source/applicators/MemoizeApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 872, + "end": 966, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 23, + "line": 36, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 872, + "end": 966, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 23, + "line": 36, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 46, + "end": 42, "loc": { "start": { "line": 1, @@ -39,7 +39,7 @@ }, "end": { "line": 1, - "column": 46 + "column": 42 } }, "specifiers": [ @@ -70,9 +70,9 @@ "line": 1, "column": 19 }, - "identifierName": "isFunction" + "identifierName": "Applicator" }, - "name": "isFunction" + "name": "Applicator" }, "local": { "type": "Identifier", @@ -87,86 +87,37 @@ "line": 1, "column": 19 }, - "identifierName": "isFunction" - }, - "name": "isFunction" - } - }, - { - "type": "ImportSpecifier", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "imported": { - "type": "Identifier", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - }, - "identifierName": "isObject" - }, - "name": "isObject" - }, - "local": { - "type": "Identifier", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - }, - "identifierName": "isObject" + "identifierName": "Applicator" }, - "name": "isObject" + "name": "Applicator" } } ], "source": { "type": "StringLiteral", - "start": 37, - "end": 45, + "start": 27, + "end": 41, "loc": { "start": { "line": 1, - "column": 37 + "column": 27 }, "end": { "line": 1, - "column": 45 + "column": 41 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" + "rawValue": "./Applicator", + "raw": "'./Applicator'" }, - "value": "lodash" + "value": "./Applicator" } }, { "type": "ImportDeclaration", - "start": 47, - "end": 89, + "start": 43, + "end": 86, "loc": { "start": { "line": 2, @@ -174,14 +125,14 @@ }, "end": { "line": 2, - "column": 42 + "column": 43 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 56, - "end": 66, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -189,13 +140,13 @@ }, "end": { "line": 2, - "column": 19 + "column": 24 } }, "imported": { "type": "Identifier", - "start": 56, - "end": 66, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -203,16 +154,16 @@ }, "end": { "line": 2, - "column": 19 + "column": 24 }, - "identifierName": "Applicator" + "identifierName": "resolveFunction" }, - "name": "Applicator" + "name": "resolveFunction" }, "local": { "type": "Identifier", - "start": 56, - "end": 66, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -220,132 +171,64 @@ }, "end": { "line": 2, - "column": 19 + "column": 24 }, - "identifierName": "Applicator" + "identifierName": "resolveFunction" }, - "name": "Applicator" + "name": "resolveFunction" } } ], "source": { "type": "StringLiteral", - "start": 74, - "end": 88, + "start": 75, + "end": 85, "loc": { "start": { "line": 2, - "column": 27 + "column": 32 }, "end": { "line": 2, - "column": 41 + "column": 42 } }, "extra": { - "rawValue": "./Applicator", - "raw": "'./Applicator'" - }, - "value": "./Applicator" - } - }, - { - "type": "ImportDeclaration", - "start": 90, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 0 + "rawValue": "../utils", + "raw": "'../utils'" }, - "end": { - "line": 3, - "column": 43 - } + "value": "../utils" }, - "specifiers": [ + "trailingComments": [ { - "type": "ImportSpecifier", - "start": 99, - "end": 114, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 7\n ", + "start": 87, + "end": 126, "loc": { "start": { "line": 3, - "column": 9 + "column": 0 }, "end": { - "line": 3, - "column": 24 + "line": 8, + "column": 3 } - }, - "imported": { - "type": "Identifier", - "start": 99, - "end": 114, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 24 - }, - "identifierName": "resolveFunction" - }, - "name": "resolveFunction" - }, - "local": { - "type": "Identifier", - "start": 99, - "end": 114, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 24 - }, - "identifierName": "resolveFunction" - }, - "name": "resolveFunction" } } - ], - "source": { - "type": "StringLiteral", - "start": 122, - "end": 132, - "loc": { - "start": { - "line": 3, - "column": 32 - }, - "end": { - "line": 3, - "column": 42 - } - }, - "extra": { - "rawValue": "../utils", - "raw": "'../utils'" - }, - "value": "../utils" - } + ] }, { "type": "ExportNamedDeclaration", - "start": 134, - "end": 871, + "start": 127, + "end": 965, "loc": { "start": { - "line": 4, + "line": 9, "column": 0 }, "end": { - "line": 22, + "line": 35, "column": 1 } }, @@ -353,46 +236,47 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 141, - "end": 871, + "start": 134, + "end": 965, "loc": { "start": { - "line": 4, + "line": 9, "column": 7 }, "end": { - "line": 22, + "line": 35, "column": 1 } }, "id": { "type": "Identifier", - "start": 147, - "end": 164, + "start": 140, + "end": 157, "loc": { "start": { - "line": 4, + "line": 9, "column": 13 }, "end": { - "line": 4, + "line": 9, "column": 30 }, "identifierName": "MemoizeApplicator" }, - "name": "MemoizeApplicator" + "name": "MemoizeApplicator", + "leadingComments": null }, "superClass": { "type": "Identifier", - "start": 173, - "end": 183, + "start": 166, + "end": 176, "loc": { "start": { - "line": 4, + "line": 9, "column": 39 }, "end": { - "line": 4, + "line": 9, "column": 49 }, "identifierName": "Applicator" @@ -401,52 +285,53 @@ }, "body": { "type": "ClassBody", - "start": 184, - "end": 871, + "start": 177, + "end": 965, "loc": { "start": { - "line": 4, + "line": 9, "column": 50 }, "end": { - "line": 22, + "line": 35, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 190, - "end": 869, + "start": 297, + "end": 963, "loc": { "start": { - "line": 5, + "line": 18, "column": 4 }, "end": { - "line": 21, + "line": 34, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 190, - "end": 195, + "start": 297, + "end": 302, "loc": { "start": { - "line": 5, + "line": 18, "column": 4 }, "end": { - "line": 5, + "line": 18, "column": 9 }, "identifierName": "apply" }, - "name": "apply" + "name": "apply", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -455,30 +340,30 @@ "params": [ { "type": "ObjectPattern", - "start": 196, - "end": 250, + "start": 303, + "end": 364, "loc": { "start": { - "line": 5, + "line": 18, "column": 10 }, "end": { - "line": 5, - "column": 64 + "line": 18, + "column": 71 } }, "properties": [ { "type": "ObjectProperty", - "start": 198, - "end": 203, + "start": 305, + "end": 310, "loc": { "start": { - "line": 5, + "line": 18, "column": 12 }, "end": { - "line": 5, + "line": 18, "column": 17 } }, @@ -487,15 +372,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 198, - "end": 203, + "start": 305, + "end": 310, "loc": { "start": { - "line": 5, + "line": 18, "column": 12 }, "end": { - "line": 5, + "line": 18, "column": 17 }, "identifierName": "value" @@ -504,15 +389,15 @@ }, "value": { "type": "Identifier", - "start": 198, - "end": 203, + "start": 305, + "end": 310, "loc": { "start": { - "line": 5, + "line": 18, "column": 12 }, "end": { - "line": 5, + "line": 18, "column": 17 }, "identifierName": "value" @@ -525,15 +410,15 @@ }, { "type": "ObjectProperty", - "start": 205, - "end": 213, + "start": 312, + "end": 320, "loc": { "start": { - "line": 5, + "line": 18, "column": 19 }, "end": { - "line": 5, + "line": 18, "column": 27 } }, @@ -542,15 +427,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 205, - "end": 213, + "start": 312, + "end": 320, "loc": { "start": { - "line": 5, + "line": 18, "column": 19 }, "end": { - "line": 5, + "line": 18, "column": 27 }, "identifierName": "instance" @@ -559,15 +444,15 @@ }, "value": { "type": "Identifier", - "start": 205, - "end": 213, + "start": 312, + "end": 320, "loc": { "start": { - "line": 5, + "line": 18, "column": 19 }, "end": { - "line": 5, + "line": 18, "column": 27 }, "identifierName": "instance" @@ -580,15 +465,15 @@ }, { "type": "ObjectProperty", - "start": 215, - "end": 234, + "start": 322, + "end": 341, "loc": { "start": { - "line": 5, + "line": 18, "column": 29 }, "end": { - "line": 5, + "line": 18, "column": 48 } }, @@ -597,15 +482,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 215, - "end": 221, + "start": 322, + "end": 328, "loc": { "start": { - "line": 5, + "line": 18, "column": 29 }, "end": { - "line": 5, + "line": 18, "column": 35 }, "identifierName": "config" @@ -614,30 +499,30 @@ }, "value": { "type": "ObjectPattern", - "start": 223, - "end": 234, + "start": 330, + "end": 341, "loc": { "start": { - "line": 5, + "line": 18, "column": 37 }, "end": { - "line": 5, + "line": 18, "column": 48 } }, "properties": [ { "type": "ObjectProperty", - "start": 225, - "end": 232, + "start": 332, + "end": 339, "loc": { "start": { - "line": 5, + "line": 18, "column": 39 }, "end": { - "line": 5, + "line": 18, "column": 46 } }, @@ -646,15 +531,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 225, - "end": 232, + "start": 332, + "end": 339, "loc": { "start": { - "line": 5, + "line": 18, "column": 39 }, "end": { - "line": 5, + "line": 18, "column": 46 }, "identifierName": "execute" @@ -663,15 +548,15 @@ }, "value": { "type": "Identifier", - "start": 225, - "end": 232, + "start": 332, + "end": 339, "loc": { "start": { - "line": 5, + "line": 18, "column": 39 }, "end": { - "line": 5, + "line": 18, "column": 46 }, "identifierName": "execute" @@ -687,32 +572,32 @@ }, { "type": "ObjectProperty", - "start": 236, - "end": 240, + "start": 343, + "end": 354, "loc": { "start": { - "line": 5, + "line": 18, "column": 50 }, "end": { - "line": 5, - "column": 54 + "line": 18, + "column": 61 } }, "method": false, - "shorthand": true, + "shorthand": false, "computed": false, "key": { "type": "Identifier", - "start": 236, - "end": 240, + "start": 343, + "end": 347, "loc": { "start": { - "line": 5, + "line": 18, "column": 50 }, "end": { - "line": 5, + "line": 18, "column": 54 }, "identifierName": "args" @@ -720,38 +605,52 @@ "name": "args" }, "value": { - "type": "Identifier", - "start": 236, - "end": 240, + "type": "ArrayPattern", + "start": 349, + "end": 354, "loc": { "start": { - "line": 5, - "column": 50 + "line": 18, + "column": 56 }, "end": { - "line": 5, - "column": 54 - }, - "identifierName": "args" + "line": 18, + "column": 61 + } }, - "name": "args" - }, - "extra": { - "shorthand": true + "elements": [ + { + "type": "Identifier", + "start": 350, + "end": 353, + "loc": { + "start": { + "line": 18, + "column": 57 + }, + "end": { + "line": 18, + "column": 60 + }, + "identifierName": "arg" + }, + "name": "arg" + } + ] } }, { "type": "ObjectProperty", - "start": 242, - "end": 248, + "start": 356, + "end": 362, "loc": { "start": { - "line": 5, - "column": 56 + "line": 18, + "column": 63 }, "end": { - "line": 5, - "column": 62 + "line": 18, + "column": 69 } }, "method": false, @@ -759,16 +658,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 242, - "end": 248, + "start": 356, + "end": 362, "loc": { "start": { - "line": 5, - "column": 56 + "line": 18, + "column": 63 }, "end": { - "line": 5, - "column": 62 + "line": 18, + "column": 69 }, "identifierName": "target" }, @@ -776,16 +675,16 @@ }, "value": { "type": "Identifier", - "start": 242, - "end": 248, + "start": 356, + "end": 362, "loc": { "start": { - "line": 5, - "column": 56 + "line": 18, + "column": 63 }, "end": { - "line": 5, - "column": 62 + "line": 18, + "column": 69 }, "identifierName": "target" }, @@ -800,59 +699,59 @@ ], "body": { "type": "BlockStatement", - "start": 252, - "end": 869, + "start": 366, + "end": 963, "loc": { "start": { - "line": 5, - "column": 66 + "line": 18, + "column": 73 }, "end": { - "line": 21, + "line": 34, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 262, - "end": 398, + "start": 376, + "end": 496, "loc": { "start": { - "line": 6, + "line": 19, "column": 8 }, "end": { - "line": 6, - "column": 144 + "line": 19, + "column": 128 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 266, - "end": 397, + "start": 380, + "end": 495, "loc": { "start": { - "line": 6, + "line": 19, "column": 12 }, "end": { - "line": 6, - "column": 143 + "line": 19, + "column": 127 } }, "id": { "type": "Identifier", - "start": 266, - "end": 274, + "start": 380, + "end": 388, "loc": { "start": { - "line": 6, + "line": 19, "column": 12 }, "end": { - "line": 6, + "line": 19, "column": 20 }, "identifierName": "resolver" @@ -861,29 +760,29 @@ }, "init": { "type": "CallExpression", - "start": 277, - "end": 397, + "start": 391, + "end": 495, "loc": { "start": { - "line": 6, + "line": 19, "column": 23 }, "end": { - "line": 6, - "column": 143 + "line": 19, + "column": 127 } }, "callee": { "type": "Identifier", - "start": 277, - "end": 292, + "start": 391, + "end": 406, "loc": { "start": { - "line": 6, + "line": 19, "column": 23 }, "end": { - "line": 6, + "line": 19, "column": 38 }, "identifierName": "resolveFunction" @@ -893,43 +792,43 @@ "arguments": [ { "type": "ConditionalExpression", - "start": 293, - "end": 371, + "start": 407, + "end": 469, "loc": { "start": { - "line": 6, + "line": 19, "column": 39 }, "end": { - "line": 6, - "column": 117 + "line": 19, + "column": 101 } }, "test": { "type": "CallExpression", - "start": 293, - "end": 312, + "start": 407, + "end": 422, "loc": { "start": { - "line": 6, + "line": 19, "column": 39 }, "end": { - "line": 6, - "column": 58 + "line": 19, + "column": 54 } }, "callee": { "type": "Identifier", - "start": 293, - "end": 303, + "start": 407, + "end": 417, "loc": { "start": { - "line": 6, + "line": 19, "column": 39 }, "end": { - "line": 6, + "line": 19, "column": 49 }, "identifierName": "isFunction" @@ -938,293 +837,149 @@ }, "arguments": [ { - "type": "MemberExpression", - "start": 304, - "end": 311, + "type": "Identifier", + "start": 418, + "end": 421, "loc": { "start": { - "line": 6, + "line": 19, "column": 50 }, "end": { - "line": 6, - "column": 57 - } - }, - "object": { - "type": "Identifier", - "start": 304, - "end": 308, - "loc": { - "start": { - "line": 6, - "column": 50 - }, - "end": { - "line": 6, - "column": 54 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 6, - "column": 55 - }, - "end": { - "line": 6, - "column": 56 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" + "line": 19, + "column": 53 }, - "value": 0 + "identifierName": "arg" }, - "computed": true + "name": "arg" } ] }, "consequent": { - "type": "MemberExpression", - "start": 315, - "end": 322, + "type": "Identifier", + "start": 425, + "end": 428, "loc": { "start": { - "line": 6, - "column": 61 + "line": 19, + "column": 57 }, "end": { - "line": 6, - "column": 68 - } - }, - "object": { - "type": "Identifier", - "start": 315, - "end": 319, - "loc": { - "start": { - "line": 6, - "column": 61 - }, - "end": { - "line": 6, - "column": 65 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 320, - "end": 321, - "loc": { - "start": { - "line": 6, - "column": 66 - }, - "end": { - "line": 6, - "column": 67 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" + "line": 19, + "column": 60 }, - "value": 0 + "identifierName": "arg" }, - "computed": true + "name": "arg" }, "alternate": { "type": "ConditionalExpression", - "start": 325, - "end": 371, + "start": 431, + "end": 469, "loc": { "start": { - "line": 6, - "column": 71 + "line": 19, + "column": 63 }, "end": { - "line": 6, - "column": 117 + "line": 19, + "column": 101 } }, "test": { "type": "CallExpression", - "start": 325, - "end": 342, + "start": 431, + "end": 448, "loc": { "start": { - "line": 6, - "column": 71 + "line": 19, + "column": 63 }, "end": { - "line": 6, - "column": 88 + "line": 19, + "column": 80 } }, "callee": { "type": "Identifier", - "start": 325, - "end": 333, + "start": 431, + "end": 443, "loc": { "start": { - "line": 6, - "column": 71 + "line": 19, + "column": 63 }, "end": { - "line": 6, - "column": 79 + "line": 19, + "column": 75 }, - "identifierName": "isObject" + "identifierName": "isObjectLike" }, - "name": "isObject" + "name": "isObjectLike" }, "arguments": [ { - "type": "MemberExpression", - "start": 334, - "end": 341, + "type": "Identifier", + "start": 444, + "end": 447, "loc": { "start": { - "line": 6, - "column": 80 + "line": 19, + "column": 76 }, "end": { - "line": 6, - "column": 87 - } - }, - "object": { - "type": "Identifier", - "start": 334, - "end": 338, - "loc": { - "start": { - "line": 6, - "column": 80 - }, - "end": { - "line": 6, - "column": 84 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 339, - "end": 340, - "loc": { - "start": { - "line": 6, - "column": 85 - }, - "end": { - "line": 6, - "column": 86 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" + "line": 19, + "column": 79 }, - "value": 0 + "identifierName": "arg" }, - "computed": true + "name": "arg" } ] }, "consequent": { "type": "MemberExpression", - "start": 345, - "end": 361, + "start": 451, + "end": 463, "loc": { "start": { - "line": 6, - "column": 91 + "line": 19, + "column": 83 }, "end": { - "line": 6, - "column": 107 + "line": 19, + "column": 95 } }, "object": { - "type": "MemberExpression", - "start": 345, - "end": 352, + "type": "Identifier", + "start": 451, + "end": 454, "loc": { "start": { - "line": 6, - "column": 91 + "line": 19, + "column": 83 }, "end": { - "line": 6, - "column": 98 - } - }, - "object": { - "type": "Identifier", - "start": 345, - "end": 349, - "loc": { - "start": { - "line": 6, - "column": 91 - }, - "end": { - "line": 6, - "column": 95 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 350, - "end": 351, - "loc": { - "start": { - "line": 6, - "column": 96 - }, - "end": { - "line": 6, - "column": 97 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" + "line": 19, + "column": 86 }, - "value": 0 + "identifierName": "arg" }, - "computed": true + "name": "arg" }, "property": { "type": "Identifier", - "start": 353, - "end": 361, + "start": 455, + "end": 463, "loc": { "start": { - "line": 6, - "column": 99 + "line": 19, + "column": 87 }, "end": { - "line": 6, - "column": 107 + "line": 19, + "column": 95 }, "identifierName": "resolver" }, @@ -1233,72 +988,36 @@ "computed": false }, "alternate": { - "type": "MemberExpression", - "start": 364, - "end": 371, + "type": "Identifier", + "start": 466, + "end": 469, "loc": { "start": { - "line": 6, - "column": 110 + "line": 19, + "column": 98 }, "end": { - "line": 6, - "column": 117 - } + "line": 19, + "column": 101 + }, + "identifierName": "arg" }, - "object": { - "type": "Identifier", - "start": 364, - "end": 368, - "loc": { - "start": { - "line": 6, - "column": 110 - }, - "end": { - "line": 6, - "column": 114 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 369, - "end": 370, - "loc": { - "start": { - "line": 6, - "column": 115 - }, - "end": { - "line": 6, - "column": 116 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true + "name": "arg" } } }, { "type": "Identifier", - "start": 373, - "end": 381, + "start": 471, + "end": 479, "loc": { "start": { - "line": 6, - "column": 119 + "line": 19, + "column": 103 }, "end": { - "line": 6, - "column": 127 + "line": 19, + "column": 111 }, "identifierName": "instance" }, @@ -1306,16 +1025,16 @@ }, { "type": "Identifier", - "start": 383, - "end": 389, + "start": 481, + "end": 487, "loc": { "start": { - "line": 6, - "column": 129 + "line": 19, + "column": 113 }, "end": { - "line": 6, - "column": 135 + "line": 19, + "column": 119 }, "identifierName": "target" }, @@ -1323,16 +1042,16 @@ }, { "type": "BooleanLiteral", - "start": 391, - "end": 396, + "start": 489, + "end": 494, "loc": { "start": { - "line": 6, - "column": 137 + "line": 19, + "column": 121 }, "end": { - "line": 6, - "column": 142 + "line": 19, + "column": 126 } }, "value": false @@ -1345,43 +1064,43 @@ }, { "type": "IfStatement", - "start": 407, - "end": 492, + "start": 505, + "end": 590, "loc": { "start": { - "line": 7, + "line": 20, "column": 8 }, "end": { - "line": 9, + "line": 22, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 411, - "end": 431, + "start": 509, + "end": 529, "loc": { "start": { - "line": 7, + "line": 20, "column": 12 }, "end": { - "line": 7, + "line": 20, "column": 32 } }, "left": { "type": "Identifier", - "start": 411, - "end": 419, + "start": 509, + "end": 517, "loc": { "start": { - "line": 7, + "line": 20, "column": 12 }, "end": { - "line": 7, + "line": 20, "column": 20 }, "identifierName": "resolver" @@ -1391,15 +1110,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 423, - "end": 431, + "start": 521, + "end": 529, "loc": { "start": { - "line": 7, + "line": 20, "column": 24 }, "end": { - "line": 7, + "line": 20, "column": 32 }, "identifierName": "instance" @@ -1409,59 +1128,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 433, - "end": 492, + "start": 531, + "end": 590, "loc": { "start": { - "line": 7, + "line": 20, "column": 34 }, "end": { - "line": 9, + "line": 22, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 447, - "end": 482, + "start": 545, + "end": 580, "loc": { "start": { - "line": 8, + "line": 21, "column": 12 }, "end": { - "line": 8, + "line": 21, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 447, - "end": 481, + "start": 545, + "end": 579, "loc": { "start": { - "line": 8, + "line": 21, "column": 12 }, "end": { - "line": 8, + "line": 21, "column": 46 } }, "operator": "=", "left": { "type": "Identifier", - "start": 447, - "end": 455, + "start": 545, + "end": 553, "loc": { "start": { - "line": 8, + "line": 21, "column": 12 }, "end": { - "line": 8, + "line": 21, "column": 20 }, "identifierName": "resolver" @@ -1470,43 +1189,43 @@ }, "right": { "type": "CallExpression", - "start": 458, - "end": 481, + "start": 556, + "end": 579, "loc": { "start": { - "line": 8, + "line": 21, "column": 23 }, "end": { - "line": 8, + "line": 21, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 458, - "end": 471, + "start": 556, + "end": 569, "loc": { "start": { - "line": 8, + "line": 21, "column": 23 }, "end": { - "line": 8, + "line": 21, "column": 36 } }, "object": { "type": "Identifier", - "start": 458, - "end": 466, + "start": 556, + "end": 564, "loc": { "start": { - "line": 8, + "line": 21, "column": 23 }, "end": { - "line": 8, + "line": 21, "column": 31 }, "identifierName": "resolver" @@ -1515,15 +1234,15 @@ }, "property": { "type": "Identifier", - "start": 467, - "end": 471, + "start": 565, + "end": 569, "loc": { "start": { - "line": 8, + "line": 21, "column": 32 }, "end": { - "line": 8, + "line": 21, "column": 36 }, "identifierName": "bind" @@ -1535,15 +1254,15 @@ "arguments": [ { "type": "Identifier", - "start": 472, - "end": 480, + "start": 570, + "end": 578, "loc": { "start": { - "line": 8, + "line": 21, "column": 37 }, "end": { - "line": 8, + "line": 21, "column": 45 }, "identifierName": "instance" @@ -1561,44 +1280,44 @@ }, { "type": "VariableDeclaration", - "start": 501, - "end": 571, + "start": 599, + "end": 669, "loc": { "start": { - "line": 10, + "line": 23, "column": 8 }, "end": { - "line": 10, + "line": 23, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 507, - "end": 570, + "start": 605, + "end": 668, "loc": { "start": { - "line": 10, + "line": 23, "column": 14 }, "end": { - "line": 10, + "line": 23, "column": 77 } }, "id": { "type": "Identifier", - "start": 507, - "end": 515, + "start": 605, + "end": 613, "loc": { "start": { - "line": 10, + "line": 23, "column": 14 }, "end": { - "line": 10, + "line": 23, "column": 22 }, "identifierName": "memoized" @@ -1607,29 +1326,29 @@ }, "init": { "type": "ConditionalExpression", - "start": 518, - "end": 570, + "start": 616, + "end": 668, "loc": { "start": { - "line": 10, + "line": 23, "column": 25 }, "end": { - "line": 10, + "line": 23, "column": 77 } }, "test": { "type": "Identifier", - "start": 518, - "end": 526, + "start": 616, + "end": 624, "loc": { "start": { - "line": 10, + "line": 23, "column": 25 }, "end": { - "line": 10, + "line": 23, "column": 33 }, "identifierName": "resolver" @@ -1638,29 +1357,29 @@ }, "consequent": { "type": "CallExpression", - "start": 529, - "end": 553, + "start": 627, + "end": 651, "loc": { "start": { - "line": 10, + "line": 23, "column": 36 }, "end": { - "line": 10, + "line": 23, "column": 60 } }, "callee": { "type": "Identifier", - "start": 529, - "end": 536, + "start": 627, + "end": 634, "loc": { "start": { - "line": 10, + "line": 23, "column": 36 }, "end": { - "line": 10, + "line": 23, "column": 43 }, "identifierName": "execute" @@ -1670,15 +1389,15 @@ "arguments": [ { "type": "Identifier", - "start": 537, - "end": 542, + "start": 635, + "end": 640, "loc": { "start": { - "line": 10, + "line": 23, "column": 44 }, "end": { - "line": 10, + "line": 23, "column": 49 }, "identifierName": "value" @@ -1687,15 +1406,15 @@ }, { "type": "Identifier", - "start": 544, - "end": 552, + "start": 642, + "end": 650, "loc": { "start": { - "line": 10, + "line": 23, "column": 51 }, "end": { - "line": 10, + "line": 23, "column": 59 }, "identifierName": "resolver" @@ -1706,29 +1425,29 @@ }, "alternate": { "type": "CallExpression", - "start": 556, - "end": 570, + "start": 654, + "end": 668, "loc": { "start": { - "line": 10, + "line": 23, "column": 63 }, "end": { - "line": 10, + "line": 23, "column": 77 } }, "callee": { "type": "Identifier", - "start": 556, - "end": 563, + "start": 654, + "end": 661, "loc": { "start": { - "line": 10, + "line": 23, "column": 63 }, "end": { - "line": 10, + "line": 23, "column": 70 }, "identifierName": "execute" @@ -1738,15 +1457,15 @@ "arguments": [ { "type": "Identifier", - "start": 564, - "end": 569, + "start": 662, + "end": 667, "loc": { "start": { - "line": 10, + "line": 23, "column": 71 }, "end": { - "line": 10, + "line": 23, "column": 76 }, "identifierName": "value" @@ -1762,175 +1481,139 @@ }, { "type": "IfStatement", - "start": 580, - "end": 838, + "start": 678, + "end": 932, "loc": { "start": { - "line": 11, + "line": 24, "column": 8 }, "end": { - "line": 19, + "line": 32, "column": 9 } }, "test": { "type": "CallExpression", - "start": 584, - "end": 601, + "start": 682, + "end": 699, "loc": { "start": { - "line": 11, + "line": 24, "column": 12 }, "end": { - "line": 11, + "line": 24, "column": 29 } }, "callee": { "type": "Identifier", - "start": 584, - "end": 592, + "start": 682, + "end": 694, "loc": { "start": { - "line": 11, + "line": 24, "column": 12 }, "end": { - "line": 11, - "column": 20 + "line": 24, + "column": 24 }, - "identifierName": "isObject" + "identifierName": "isObjectLike" }, - "name": "isObject" + "name": "isObjectLike" }, "arguments": [ { - "type": "MemberExpression", - "start": 593, - "end": 600, + "type": "Identifier", + "start": 695, + "end": 698, "loc": { "start": { - "line": 11, - "column": 21 + "line": 24, + "column": 25 }, "end": { - "line": 11, + "line": 24, "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 593, - "end": 597, - "loc": { - "start": { - "line": 11, - "column": 21 - }, - "end": { - "line": 11, - "column": 25 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 598, - "end": 599, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" }, - "value": 0 + "identifierName": "arg" }, - "computed": true + "name": "arg" } ] }, "consequent": { "type": "BlockStatement", - "start": 603, - "end": 838, + "start": 701, + "end": 932, "loc": { "start": { - "line": 11, + "line": 24, "column": 31 }, "end": { - "line": 19, + "line": 32, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 617, - "end": 649, + "start": 715, + "end": 743, "loc": { "start": { - "line": 12, + "line": 25, "column": 12 }, "end": { - "line": 12, - "column": 44 + "line": 25, + "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 623, - "end": 648, + "start": 721, + "end": 742, "loc": { "start": { - "line": 12, + "line": 25, "column": 18 }, "end": { - "line": 12, - "column": 43 + "line": 25, + "column": 39 } }, "id": { "type": "ObjectPattern", - "start": 623, - "end": 638, + "start": 721, + "end": 736, "loc": { "start": { - "line": 12, + "line": 25, "column": 18 }, "end": { - "line": 12, + "line": 25, "column": 33 } }, "properties": [ { "type": "ObjectProperty", - "start": 625, - "end": 630, + "start": 723, + "end": 728, "loc": { "start": { - "line": 12, + "line": 25, "column": 20 }, "end": { - "line": 12, + "line": 25, "column": 25 } }, @@ -1939,15 +1622,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 625, - "end": 630, + "start": 723, + "end": 728, "loc": { "start": { - "line": 12, + "line": 25, "column": 20 }, "end": { - "line": 12, + "line": 25, "column": 25 }, "identifierName": "cache" @@ -1956,15 +1639,15 @@ }, "value": { "type": "Identifier", - "start": 625, - "end": 630, + "start": 723, + "end": 728, "loc": { "start": { - "line": 12, + "line": 25, "column": 20 }, "end": { - "line": 12, + "line": 25, "column": 25 }, "identifierName": "cache" @@ -1977,15 +1660,15 @@ }, { "type": "ObjectProperty", - "start": 632, - "end": 636, + "start": 730, + "end": 734, "loc": { "start": { - "line": 12, + "line": 25, "column": 27 }, "end": { - "line": 12, + "line": 25, "column": 31 } }, @@ -1994,15 +1677,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 632, - "end": 636, + "start": 730, + "end": 734, "loc": { "start": { - "line": 12, + "line": 25, "column": 27 }, "end": { - "line": 12, + "line": 25, "column": 31 }, "identifierName": "type" @@ -2011,15 +1694,15 @@ }, "value": { "type": "Identifier", - "start": 632, - "end": 636, + "start": 730, + "end": 734, "loc": { "start": { - "line": 12, + "line": 25, "column": 27 }, "end": { - "line": 12, + "line": 25, "column": 31 }, "identifierName": "type" @@ -2033,57 +1716,21 @@ ] }, "init": { - "type": "MemberExpression", - "start": 641, - "end": 648, + "type": "Identifier", + "start": 739, + "end": 742, "loc": { "start": { - "line": 12, + "line": 25, "column": 36 }, "end": { - "line": 12, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 641, - "end": 645, - "loc": { - "start": { - "line": 12, - "column": 36 - }, - "end": { - "line": 12, - "column": 40 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 646, - "end": 647, - "loc": { - "start": { - "line": 12, - "column": 41 - }, - "end": { - "line": 12, - "column": 42 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" + "line": 25, + "column": 39 }, - "value": 0 + "identifierName": "arg" }, - "computed": true + "name": "arg" } } ], @@ -2091,29 +1738,29 @@ }, { "type": "IfStatement", - "start": 662, - "end": 828, + "start": 756, + "end": 922, "loc": { "start": { - "line": 13, + "line": 26, "column": 12 }, "end": { - "line": 18, + "line": 31, "column": 13 } }, "test": { "type": "Identifier", - "start": 666, - "end": 671, + "start": 760, + "end": 765, "loc": { "start": { - "line": 13, + "line": 26, "column": 16 }, "end": { - "line": 13, + "line": 26, "column": 21 }, "identifierName": "cache" @@ -2122,73 +1769,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 673, - "end": 728, + "start": 767, + "end": 822, "loc": { "start": { - "line": 13, + "line": 26, "column": 23 }, "end": { - "line": 15, + "line": 28, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 691, - "end": 714, + "start": 785, + "end": 808, "loc": { "start": { - "line": 14, + "line": 27, "column": 16 }, "end": { - "line": 14, + "line": 27, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 691, - "end": 713, + "start": 785, + "end": 807, "loc": { "start": { - "line": 14, + "line": 27, "column": 16 }, "end": { - "line": 14, + "line": 27, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 691, - "end": 705, + "start": 785, + "end": 799, "loc": { "start": { - "line": 14, + "line": 27, "column": 16 }, "end": { - "line": 14, + "line": 27, "column": 30 } }, "object": { "type": "Identifier", - "start": 691, - "end": 699, + "start": 785, + "end": 793, "loc": { "start": { - "line": 14, + "line": 27, "column": 16 }, "end": { - "line": 14, + "line": 27, "column": 24 }, "identifierName": "memoized" @@ -2197,15 +1844,15 @@ }, "property": { "type": "Identifier", - "start": 700, - "end": 705, + "start": 794, + "end": 799, "loc": { "start": { - "line": 14, + "line": 27, "column": 25 }, "end": { - "line": 14, + "line": 27, "column": 30 }, "identifierName": "cache" @@ -2216,15 +1863,15 @@ }, "right": { "type": "Identifier", - "start": 708, - "end": 713, + "start": 802, + "end": 807, "loc": { "start": { - "line": 14, + "line": 27, "column": 33 }, "end": { - "line": 14, + "line": 27, "column": 38 }, "identifierName": "cache" @@ -2238,43 +1885,43 @@ }, "alternate": { "type": "IfStatement", - "start": 746, - "end": 828, + "start": 840, + "end": 922, "loc": { "start": { - "line": 16, + "line": 29, "column": 17 }, "end": { - "line": 18, + "line": 31, "column": 13 } }, "test": { "type": "CallExpression", - "start": 750, - "end": 766, + "start": 844, + "end": 860, "loc": { "start": { - "line": 16, + "line": 29, "column": 21 }, "end": { - "line": 16, + "line": 29, "column": 37 } }, "callee": { "type": "Identifier", - "start": 750, - "end": 760, + "start": 844, + "end": 854, "loc": { "start": { - "line": 16, + "line": 29, "column": 21 }, "end": { - "line": 16, + "line": 29, "column": 31 }, "identifierName": "isFunction" @@ -2284,15 +1931,15 @@ "arguments": [ { "type": "Identifier", - "start": 761, - "end": 765, + "start": 855, + "end": 859, "loc": { "start": { - "line": 16, + "line": 29, "column": 32 }, "end": { - "line": 16, + "line": 29, "column": 36 }, "identifierName": "type" @@ -2303,73 +1950,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 768, - "end": 828, + "start": 862, + "end": 922, "loc": { "start": { - "line": 16, + "line": 29, "column": 39 }, "end": { - "line": 18, + "line": 31, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 786, - "end": 814, + "start": 880, + "end": 908, "loc": { "start": { - "line": 17, + "line": 30, "column": 16 }, "end": { - "line": 17, + "line": 30, "column": 44 } }, "expression": { "type": "AssignmentExpression", - "start": 786, - "end": 813, + "start": 880, + "end": 907, "loc": { "start": { - "line": 17, + "line": 30, "column": 16 }, "end": { - "line": 17, + "line": 30, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 786, - "end": 800, + "start": 880, + "end": 894, "loc": { "start": { - "line": 17, + "line": 30, "column": 16 }, "end": { - "line": 17, + "line": 30, "column": 30 } }, "object": { "type": "Identifier", - "start": 786, - "end": 794, + "start": 880, + "end": 888, "loc": { "start": { - "line": 17, + "line": 30, "column": 16 }, "end": { - "line": 17, + "line": 30, "column": 24 }, "identifierName": "memoized" @@ -2378,15 +2025,15 @@ }, "property": { "type": "Identifier", - "start": 795, - "end": 800, + "start": 889, + "end": 894, "loc": { "start": { - "line": 17, + "line": 30, "column": 25 }, "end": { - "line": 17, + "line": 30, "column": 30 }, "identifierName": "cache" @@ -2397,29 +2044,29 @@ }, "right": { "type": "NewExpression", - "start": 803, - "end": 813, + "start": 897, + "end": 907, "loc": { "start": { - "line": 17, + "line": 30, "column": 33 }, "end": { - "line": 17, + "line": 30, "column": 43 } }, "callee": { "type": "Identifier", - "start": 807, - "end": 811, + "start": 901, + "end": 905, "loc": { "start": { - "line": 17, + "line": 30, "column": 37 }, "end": { - "line": 17, + "line": 30, "column": 41 }, "identifierName": "type" @@ -2443,29 +2090,29 @@ }, { "type": "ReturnStatement", - "start": 847, - "end": 863, + "start": 941, + "end": 957, "loc": { "start": { - "line": 20, + "line": 33, "column": 8 }, "end": { - "line": 20, + "line": 33, "column": 24 } }, "argument": { "type": "Identifier", - "start": 854, - "end": 862, + "start": 948, + "end": 956, "loc": { "start": { - "line": 20, + "line": 33, "column": 15 }, "end": { - "line": 20, + "line": 33, "column": 23 }, "identifierName": "memoized" @@ -2475,25 +2122,111 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 8\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 183, + "end": 292, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ] } ] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 7\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 7\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 7\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 8\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 183, + "end": 292, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2553,7 +2286,7 @@ "postfix": false, "binop": null }, - "value": "isFunction", + "value": "Applicator", "start": 9, "end": 19, "loc": { @@ -2567,58 +2300,6 @@ } } }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isObject", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, { "type": { "label": "}", @@ -2631,16 +2312,16 @@ "postfix": false, "binop": null }, - "start": 30, - "end": 31, + "start": 20, + "end": 21, "loc": { "start": { "line": 1, - "column": 30 + "column": 20 }, "end": { "line": 1, - "column": 31 + "column": 21 } } }, @@ -2657,16 +2338,16 @@ "binop": null }, "value": "from", - "start": 32, - "end": 36, + "start": 22, + "end": 26, "loc": { "start": { "line": 1, - "column": 32 + "column": 22 }, "end": { "line": 1, - "column": 36 + "column": 26 } } }, @@ -2683,17 +2364,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 37, - "end": 45, + "value": "./Applicator", + "start": 27, + "end": 41, "loc": { "start": { "line": 1, - "column": 37 + "column": 27 }, "end": { "line": 1, - "column": 45 + "column": 41 } } }, @@ -2710,16 +2391,16 @@ "binop": null, "updateContext": null }, - "start": 45, - "end": 46, + "start": 41, + "end": 42, "loc": { "start": { "line": 1, - "column": 45 + "column": 41 }, "end": { "line": 1, - "column": 46 + "column": 42 } } }, @@ -2728,7 +2409,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2738,8 +2419,8 @@ "updateContext": null }, "value": "import", - "start": 47, - "end": 53, + "start": 43, + "end": 49, "loc": { "start": { "line": 2, @@ -2763,8 +2444,8 @@ "postfix": false, "binop": null }, - "start": 54, - "end": 55, + "start": 50, + "end": 51, "loc": { "start": { "line": 2, @@ -2788,9 +2469,9 @@ "postfix": false, "binop": null }, - "value": "Applicator", - "start": 56, - "end": 66, + "value": "resolveFunction", + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -2798,7 +2479,7 @@ }, "end": { "line": 2, - "column": 19 + "column": 24 } } }, @@ -2814,16 +2495,16 @@ "postfix": false, "binop": null }, - "start": 67, - "end": 68, + "start": 68, + "end": 69, "loc": { "start": { "line": 2, - "column": 20 + "column": 25 }, "end": { "line": 2, - "column": 21 + "column": 26 } } }, @@ -2840,16 +2521,16 @@ "binop": null }, "value": "from", - "start": 69, - "end": 73, + "start": 70, + "end": 74, "loc": { "start": { "line": 2, - "column": 22 + "column": 27 }, "end": { "line": 2, - "column": 26 + "column": 31 } } }, @@ -2866,17 +2547,17 @@ "binop": null, "updateContext": null }, - "value": "./Applicator", - "start": 74, - "end": 88, + "value": "../utils", + "start": 75, + "end": 85, "loc": { "start": { "line": 2, - "column": 27 + "column": 32 }, "end": { "line": 2, - "column": 41 + "column": 42 } } }, @@ -2893,23 +2574,39 @@ "binop": null, "updateContext": null }, - "start": 88, - "end": 89, + "start": 85, + "end": 86, "loc": { "start": { "line": 2, - "column": 41 + "column": 42 }, "end": { "line": 2, - "column": 42 + "column": 43 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 7\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2920,209 +2617,26 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 90, - "end": 96, + "value": "export", + "start": 127, + "end": 133, "loc": { "start": { - "line": 3, + "line": 9, "column": 0 }, "end": { - "line": 3, + "line": 9, "column": 6 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 97, - "end": 98, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "resolveFunction", - "start": 99, - "end": 114, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 115, - "end": 116, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 117, - "end": 121, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 31 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../utils", - "start": 122, - "end": 132, - "loc": { - "start": { - "line": 3, - "column": 32 - }, - "end": { - "line": 3, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 132, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 42 - }, - "end": { - "line": 3, - "column": 43 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 134, - "end": 140, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3132,15 +2646,15 @@ "updateContext": null }, "value": "class", - "start": 141, - "end": 146, + "start": 134, + "end": 139, "loc": { "start": { - "line": 4, + "line": 9, "column": 7 }, "end": { - "line": 4, + "line": 9, "column": 12 } } @@ -3158,15 +2672,15 @@ "binop": null }, "value": "MemoizeApplicator", - "start": 147, - "end": 164, + "start": 140, + "end": 157, "loc": { "start": { - "line": 4, + "line": 9, "column": 13 }, "end": { - "line": 4, + "line": 9, "column": 30 } } @@ -3186,15 +2700,15 @@ "updateContext": null }, "value": "extends", - "start": 165, - "end": 172, + "start": 158, + "end": 165, "loc": { "start": { - "line": 4, + "line": 9, "column": 31 }, "end": { - "line": 4, + "line": 9, "column": 38 } } @@ -3212,15 +2726,15 @@ "binop": null }, "value": "Applicator", - "start": 173, - "end": 183, + "start": 166, + "end": 176, "loc": { "start": { - "line": 4, + "line": 9, "column": 39 }, "end": { - "line": 4, + "line": 9, "column": 49 } } @@ -3237,19 +2751,35 @@ "postfix": false, "binop": null }, - "start": 184, - "end": 185, + "start": 177, + "end": 178, "loc": { "start": { - "line": 4, + "line": 9, "column": 50 }, "end": { - "line": 4, + "line": 9, "column": 51 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 8\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 183, + "end": 292, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -3263,15 +2793,15 @@ "binop": null }, "value": "apply", - "start": 190, - "end": 195, + "start": 297, + "end": 302, "loc": { "start": { - "line": 5, + "line": 18, "column": 4 }, "end": { - "line": 5, + "line": 18, "column": 9 } } @@ -3288,15 +2818,15 @@ "postfix": false, "binop": null }, - "start": 195, - "end": 196, + "start": 302, + "end": 303, "loc": { "start": { - "line": 5, + "line": 18, "column": 9 }, "end": { - "line": 5, + "line": 18, "column": 10 } } @@ -3313,15 +2843,15 @@ "postfix": false, "binop": null }, - "start": 196, - "end": 197, + "start": 303, + "end": 304, "loc": { "start": { - "line": 5, + "line": 18, "column": 10 }, "end": { - "line": 5, + "line": 18, "column": 11 } } @@ -3339,15 +2869,15 @@ "binop": null }, "value": "value", - "start": 198, - "end": 203, + "start": 305, + "end": 310, "loc": { "start": { - "line": 5, + "line": 18, "column": 12 }, "end": { - "line": 5, + "line": 18, "column": 17 } } @@ -3365,15 +2895,15 @@ "binop": null, "updateContext": null }, - "start": 203, - "end": 204, + "start": 310, + "end": 311, "loc": { "start": { - "line": 5, + "line": 18, "column": 17 }, "end": { - "line": 5, + "line": 18, "column": 18 } } @@ -3391,15 +2921,15 @@ "binop": null }, "value": "instance", - "start": 205, - "end": 213, + "start": 312, + "end": 320, "loc": { "start": { - "line": 5, + "line": 18, "column": 19 }, "end": { - "line": 5, + "line": 18, "column": 27 } } @@ -3417,15 +2947,15 @@ "binop": null, "updateContext": null }, - "start": 213, - "end": 214, + "start": 320, + "end": 321, "loc": { "start": { - "line": 5, + "line": 18, "column": 27 }, "end": { - "line": 5, + "line": 18, "column": 28 } } @@ -3443,15 +2973,15 @@ "binop": null }, "value": "config", - "start": 215, - "end": 221, + "start": 322, + "end": 328, "loc": { "start": { - "line": 5, + "line": 18, "column": 29 }, "end": { - "line": 5, + "line": 18, "column": 35 } } @@ -3469,15 +2999,15 @@ "binop": null, "updateContext": null }, - "start": 221, - "end": 222, + "start": 328, + "end": 329, "loc": { "start": { - "line": 5, + "line": 18, "column": 35 }, "end": { - "line": 5, + "line": 18, "column": 36 } } @@ -3494,15 +3024,15 @@ "postfix": false, "binop": null }, - "start": 223, - "end": 224, + "start": 330, + "end": 331, "loc": { "start": { - "line": 5, + "line": 18, "column": 37 }, "end": { - "line": 5, + "line": 18, "column": 38 } } @@ -3520,15 +3050,15 @@ "binop": null }, "value": "execute", - "start": 225, - "end": 232, + "start": 332, + "end": 339, "loc": { "start": { - "line": 5, + "line": 18, "column": 39 }, "end": { - "line": 5, + "line": 18, "column": 46 } } @@ -3545,15 +3075,15 @@ "postfix": false, "binop": null }, - "start": 233, - "end": 234, + "start": 340, + "end": 341, "loc": { "start": { - "line": 5, + "line": 18, "column": 47 }, "end": { - "line": 5, + "line": 18, "column": 48 } } @@ -3571,15 +3101,15 @@ "binop": null, "updateContext": null }, - "start": 234, - "end": 235, + "start": 341, + "end": 342, "loc": { "start": { - "line": 5, + "line": 18, "column": 48 }, "end": { - "line": 5, + "line": 18, "column": 49 } } @@ -3597,22 +3127,22 @@ "binop": null }, "value": "args", - "start": 236, - "end": 240, + "start": 343, + "end": 347, "loc": { "start": { - "line": 5, + "line": 18, "column": 50 }, "end": { - "line": 5, + "line": 18, "column": 54 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3623,99 +3153,49 @@ "binop": null, "updateContext": null }, - "start": 240, - "end": 241, + "start": 347, + "end": 348, "loc": { "start": { - "line": 5, + "line": 18, "column": 54 }, "end": { - "line": 5, + "line": 18, "column": 55 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "target", - "start": 242, - "end": 248, + "start": 349, + "end": 350, "loc": { "start": { - "line": 5, + "line": 18, "column": 56 }, "end": { - "line": 5, - "column": 62 + "line": 18, + "column": 57 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 249, - "end": 250, - "loc": { - "start": { - "line": 5, - "column": 63 - }, - "end": { - "line": 5, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 250, - "end": 251, - "loc": { - "start": { - "line": 5, - "column": 64 - }, - "end": { - "line": 5, - "column": 65 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3724,23 +3204,23 @@ "postfix": false, "binop": null }, - "start": 252, - "end": 253, + "value": "arg", + "start": 350, + "end": 353, "loc": { "start": { - "line": 5, - "column": 66 + "line": 18, + "column": 57 }, "end": { - "line": 5, - "column": 67 + "line": 18, + "column": 60 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3751,70 +3231,42 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 262, - "end": 265, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "resolver", - "start": 266, - "end": 274, + "start": 353, + "end": 354, "loc": { "start": { - "line": 6, - "column": 12 + "line": 18, + "column": 60 }, "end": { - "line": 6, - "column": 20 + "line": 18, + "column": 61 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 275, - "end": 276, + "start": 354, + "end": 355, "loc": { "start": { - "line": 6, - "column": 21 + "line": 18, + "column": 61 }, "end": { - "line": 6, - "column": 22 + "line": 18, + "column": 62 } } }, @@ -3830,76 +3282,25 @@ "postfix": false, "binop": null }, - "value": "resolveFunction", - "start": 277, - "end": 292, - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 292, - "end": 293, + "value": "target", + "start": 356, + "end": 362, "loc": { "start": { - "line": 6, - "column": 38 + "line": 18, + "column": 63 }, "end": { - "line": 6, - "column": 39 + "line": 18, + "column": 69 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isFunction", - "start": 293, - "end": 303, - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3907,24 +3308,24 @@ "postfix": false, "binop": null }, - "start": 303, - "end": 304, + "start": 363, + "end": 364, "loc": { "start": { - "line": 6, - "column": 49 + "line": 18, + "column": 70 }, "end": { - "line": 6, - "column": 50 + "line": 18, + "column": 71 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3932,23 +3333,22 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 304, - "end": 308, + "start": 364, + "end": 365, "loc": { "start": { - "line": 6, - "column": 50 + "line": 18, + "column": 71 }, "end": { - "line": 6, - "column": 54 + "line": 18, + "column": 72 } } }, { "type": { - "label": "[", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -3956,52 +3356,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 308, - "end": 309, - "loc": { - "start": { - "line": 6, - "column": 54 - }, - "end": { - "line": 6, - "column": 55 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 309, - "end": 310, + "start": 366, + "end": 367, "loc": { "start": { - "line": 6, - "column": 55 + "line": 18, + "column": 73 }, "end": { - "line": 6, - "column": 56 + "line": 18, + "column": 74 } } }, { "type": { - "label": "]", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4012,24 +3385,25 @@ "binop": null, "updateContext": null }, - "start": 310, - "end": 311, + "value": "let", + "start": 376, + "end": 379, "loc": { "start": { - "line": 6, - "column": 56 + "line": 19, + "column": 8 }, "end": { - "line": 6, - "column": 57 + "line": 19, + "column": 11 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4037,42 +3411,44 @@ "postfix": false, "binop": null }, - "start": 311, - "end": 312, + "value": "resolver", + "start": 380, + "end": 388, "loc": { "start": { - "line": 6, - "column": 57 + "line": 19, + "column": 12 }, "end": { - "line": 6, - "column": 58 + "line": 19, + "column": 20 } } }, { "type": { - "label": "?", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 313, - "end": 314, + "value": "=", + "start": 389, + "end": 390, "loc": { "start": { - "line": 6, - "column": 59 + "line": 19, + "column": 21 }, "end": { - "line": 6, - "column": 60 + "line": 19, + "column": 22 } } }, @@ -4088,23 +3464,23 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 315, - "end": 319, + "value": "resolveFunction", + "start": 391, + "end": 406, "loc": { "start": { - "line": 6, - "column": 61 + "line": 19, + "column": 23 }, "end": { - "line": 6, - "column": 65 + "line": 19, + "column": 38 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -4112,98 +3488,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 319, - "end": 320, - "loc": { - "start": { - "line": 6, - "column": 65 - }, - "end": { - "line": 6, - "column": 66 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 320, - "end": 321, - "loc": { - "start": { - "line": 6, - "column": 66 - }, - "end": { - "line": 6, - "column": 67 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 321, - "end": 322, - "loc": { - "start": { - "line": 6, - "column": 67 - }, - "end": { - "line": 6, - "column": 68 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 323, - "end": 324, + "start": 406, + "end": 407, "loc": { "start": { - "line": 6, - "column": 69 + "line": 19, + "column": 38 }, "end": { - "line": 6, - "column": 70 + "line": 19, + "column": 39 } } }, @@ -4219,17 +3515,17 @@ "postfix": false, "binop": null }, - "value": "isObject", - "start": 325, - "end": 333, + "value": "isFunction", + "start": 407, + "end": 417, "loc": { "start": { - "line": 6, - "column": 71 + "line": 19, + "column": 39 }, "end": { - "line": 6, - "column": 79 + "line": 19, + "column": 49 } } }, @@ -4245,16 +3541,16 @@ "postfix": false, "binop": null }, - "start": 333, - "end": 334, + "start": 417, + "end": 418, "loc": { "start": { - "line": 6, - "column": 79 + "line": 19, + "column": 49 }, "end": { - "line": 6, - "column": 80 + "line": 19, + "column": 50 } } }, @@ -4270,77 +3566,49 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 334, - "end": 338, + "value": "arg", + "start": 418, + "end": 421, "loc": { "start": { - "line": 6, - "column": 80 - }, - "end": { - "line": 6, - "column": 84 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 338, - "end": 339, - "loc": { - "start": { - "line": 6, - "column": 84 + "line": 19, + "column": 50 }, "end": { - "line": 6, - "column": 85 + "line": 19, + "column": 53 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 339, - "end": 340, + "start": 421, + "end": 422, "loc": { "start": { - "line": 6, - "column": 85 + "line": 19, + "column": 53 }, "end": { - "line": 6, - "column": 86 + "line": 19, + "column": 54 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4350,24 +3618,24 @@ "binop": null, "updateContext": null }, - "start": 340, - "end": 341, + "start": 423, + "end": 424, "loc": { "start": { - "line": 6, - "column": 86 + "line": 19, + "column": 55 }, "end": { - "line": 6, - "column": 87 + "line": 19, + "column": 56 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4375,22 +3643,23 @@ "postfix": false, "binop": null }, - "start": 341, - "end": 342, + "value": "arg", + "start": 425, + "end": 428, "loc": { "start": { - "line": 6, - "column": 87 + "line": 19, + "column": 57 }, "end": { - "line": 6, - "column": 88 + "line": 19, + "column": 60 } } }, { "type": { - "label": "?", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4401,16 +3670,16 @@ "binop": null, "updateContext": null }, - "start": 343, - "end": 344, + "start": 429, + "end": 430, "loc": { "start": { - "line": 6, - "column": 89 + "line": 19, + "column": 61 }, "end": { - "line": 6, - "column": 90 + "line": 19, + "column": 62 } } }, @@ -4426,23 +3695,23 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 345, - "end": 349, + "value": "isObjectLike", + "start": 431, + "end": 443, "loc": { "start": { - "line": 6, - "column": 91 + "line": 19, + "column": 63 }, "end": { - "line": 6, - "column": 95 + "line": 19, + "column": 75 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -4450,25 +3719,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 349, - "end": 350, + "start": 443, + "end": 444, "loc": { "start": { - "line": 6, - "column": 95 + "line": 19, + "column": 75 }, "end": { - "line": 6, - "column": 96 + "line": 19, + "column": 76 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4476,26 +3744,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 350, - "end": 351, + "value": "arg", + "start": 444, + "end": 447, "loc": { "start": { - "line": 6, - "column": 96 + "line": 19, + "column": 76 }, "end": { - "line": 6, - "column": 97 + "line": 19, + "column": 79 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4503,26 +3770,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 351, - "end": 352, + "start": 447, + "end": 448, "loc": { "start": { - "line": 6, - "column": 97 + "line": 19, + "column": 79 }, "end": { - "line": 6, - "column": 98 + "line": 19, + "column": 80 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4532,16 +3798,16 @@ "binop": null, "updateContext": null }, - "start": 352, - "end": 353, + "start": 449, + "end": 450, "loc": { "start": { - "line": 6, - "column": 98 + "line": 19, + "column": 81 }, "end": { - "line": 6, - "column": 99 + "line": 19, + "column": 82 } } }, @@ -4557,24 +3823,24 @@ "postfix": false, "binop": null }, - "value": "resolver", - "start": 353, - "end": 361, + "value": "arg", + "start": 451, + "end": 454, "loc": { "start": { - "line": 6, - "column": 99 + "line": 19, + "column": 83 }, "end": { - "line": 6, - "column": 107 + "line": 19, + "column": 86 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4584,16 +3850,16 @@ "binop": null, "updateContext": null }, - "start": 362, - "end": 363, + "start": 454, + "end": 455, "loc": { "start": { - "line": 6, - "column": 108 + "line": 19, + "column": 86 }, "end": { - "line": 6, - "column": 109 + "line": 19, + "column": 87 } } }, @@ -4609,25 +3875,25 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 364, - "end": 368, + "value": "resolver", + "start": 455, + "end": 463, "loc": { "start": { - "line": 6, - "column": 110 + "line": 19, + "column": 87 }, "end": { - "line": 6, - "column": 114 + "line": 19, + "column": 95 } } }, { "type": { - "label": "[", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4636,22 +3902,22 @@ "binop": null, "updateContext": null }, - "start": 368, - "end": 369, + "start": 464, + "end": 465, "loc": { "start": { - "line": 6, - "column": 114 + "line": 19, + "column": 96 }, "end": { - "line": 6, - "column": 115 + "line": 19, + "column": 97 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4659,46 +3925,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 369, - "end": 370, - "loc": { - "start": { - "line": 6, - "column": 115 - }, - "end": { - "line": 6, - "column": 116 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 370, - "end": 371, + "value": "arg", + "start": 466, + "end": 469, "loc": { "start": { - "line": 6, - "column": 116 + "line": 19, + "column": 98 }, "end": { - "line": 6, - "column": 117 + "line": 19, + "column": 101 } } }, @@ -4715,16 +3954,16 @@ "binop": null, "updateContext": null }, - "start": 371, - "end": 372, + "start": 469, + "end": 470, "loc": { "start": { - "line": 6, - "column": 117 + "line": 19, + "column": 101 }, "end": { - "line": 6, - "column": 118 + "line": 19, + "column": 102 } } }, @@ -4741,16 +3980,16 @@ "binop": null }, "value": "instance", - "start": 373, - "end": 381, + "start": 471, + "end": 479, "loc": { "start": { - "line": 6, - "column": 119 + "line": 19, + "column": 103 }, "end": { - "line": 6, - "column": 127 + "line": 19, + "column": 111 } } }, @@ -4767,16 +4006,16 @@ "binop": null, "updateContext": null }, - "start": 381, - "end": 382, + "start": 479, + "end": 480, "loc": { "start": { - "line": 6, - "column": 127 + "line": 19, + "column": 111 }, "end": { - "line": 6, - "column": 128 + "line": 19, + "column": 112 } } }, @@ -4793,16 +4032,16 @@ "binop": null }, "value": "target", - "start": 383, - "end": 389, + "start": 481, + "end": 487, "loc": { "start": { - "line": 6, - "column": 129 + "line": 19, + "column": 113 }, "end": { - "line": 6, - "column": 135 + "line": 19, + "column": 119 } } }, @@ -4819,16 +4058,16 @@ "binop": null, "updateContext": null }, - "start": 389, - "end": 390, + "start": 487, + "end": 488, "loc": { "start": { - "line": 6, - "column": 135 + "line": 19, + "column": 119 }, "end": { - "line": 6, - "column": 136 + "line": 19, + "column": 120 } } }, @@ -4847,16 +4086,16 @@ "updateContext": null }, "value": "false", - "start": 391, - "end": 396, + "start": 489, + "end": 494, "loc": { "start": { - "line": 6, - "column": 137 + "line": 19, + "column": 121 }, "end": { - "line": 6, - "column": 142 + "line": 19, + "column": 126 } } }, @@ -4872,16 +4111,16 @@ "postfix": false, "binop": null }, - "start": 396, - "end": 397, + "start": 494, + "end": 495, "loc": { "start": { - "line": 6, - "column": 142 + "line": 19, + "column": 126 }, "end": { - "line": 6, - "column": 143 + "line": 19, + "column": 127 } } }, @@ -4898,16 +4137,16 @@ "binop": null, "updateContext": null }, - "start": 397, - "end": 398, + "start": 495, + "end": 496, "loc": { "start": { - "line": 6, - "column": 143 + "line": 19, + "column": 127 }, "end": { - "line": 6, - "column": 144 + "line": 19, + "column": 128 } } }, @@ -4926,15 +4165,15 @@ "updateContext": null }, "value": "if", - "start": 407, - "end": 409, + "start": 505, + "end": 507, "loc": { "start": { - "line": 7, + "line": 20, "column": 8 }, "end": { - "line": 7, + "line": 20, "column": 10 } } @@ -4951,15 +4190,15 @@ "postfix": false, "binop": null }, - "start": 410, - "end": 411, + "start": 508, + "end": 509, "loc": { "start": { - "line": 7, + "line": 20, "column": 11 }, "end": { - "line": 7, + "line": 20, "column": 12 } } @@ -4977,15 +4216,15 @@ "binop": null }, "value": "resolver", - "start": 411, - "end": 419, + "start": 509, + "end": 517, "loc": { "start": { - "line": 7, + "line": 20, "column": 12 }, "end": { - "line": 7, + "line": 20, "column": 20 } } @@ -5004,15 +4243,15 @@ "updateContext": null }, "value": "&&", - "start": 420, - "end": 422, + "start": 518, + "end": 520, "loc": { "start": { - "line": 7, + "line": 20, "column": 21 }, "end": { - "line": 7, + "line": 20, "column": 23 } } @@ -5030,15 +4269,15 @@ "binop": null }, "value": "instance", - "start": 423, - "end": 431, + "start": 521, + "end": 529, "loc": { "start": { - "line": 7, + "line": 20, "column": 24 }, "end": { - "line": 7, + "line": 20, "column": 32 } } @@ -5055,15 +4294,15 @@ "postfix": false, "binop": null }, - "start": 431, - "end": 432, + "start": 529, + "end": 530, "loc": { "start": { - "line": 7, + "line": 20, "column": 32 }, "end": { - "line": 7, + "line": 20, "column": 33 } } @@ -5080,15 +4319,15 @@ "postfix": false, "binop": null }, - "start": 433, - "end": 434, + "start": 531, + "end": 532, "loc": { "start": { - "line": 7, + "line": 20, "column": 34 }, "end": { - "line": 7, + "line": 20, "column": 35 } } @@ -5106,15 +4345,15 @@ "binop": null }, "value": "resolver", - "start": 447, - "end": 455, + "start": 545, + "end": 553, "loc": { "start": { - "line": 8, + "line": 21, "column": 12 }, "end": { - "line": 8, + "line": 21, "column": 20 } } @@ -5133,15 +4372,15 @@ "updateContext": null }, "value": "=", - "start": 456, - "end": 457, + "start": 554, + "end": 555, "loc": { "start": { - "line": 8, + "line": 21, "column": 21 }, "end": { - "line": 8, + "line": 21, "column": 22 } } @@ -5159,15 +4398,15 @@ "binop": null }, "value": "resolver", - "start": 458, - "end": 466, + "start": 556, + "end": 564, "loc": { "start": { - "line": 8, + "line": 21, "column": 23 }, "end": { - "line": 8, + "line": 21, "column": 31 } } @@ -5185,15 +4424,15 @@ "binop": null, "updateContext": null }, - "start": 466, - "end": 467, + "start": 564, + "end": 565, "loc": { "start": { - "line": 8, + "line": 21, "column": 31 }, "end": { - "line": 8, + "line": 21, "column": 32 } } @@ -5211,15 +4450,15 @@ "binop": null }, "value": "bind", - "start": 467, - "end": 471, + "start": 565, + "end": 569, "loc": { "start": { - "line": 8, + "line": 21, "column": 32 }, "end": { - "line": 8, + "line": 21, "column": 36 } } @@ -5236,15 +4475,15 @@ "postfix": false, "binop": null }, - "start": 471, - "end": 472, + "start": 569, + "end": 570, "loc": { "start": { - "line": 8, + "line": 21, "column": 36 }, "end": { - "line": 8, + "line": 21, "column": 37 } } @@ -5262,15 +4501,15 @@ "binop": null }, "value": "instance", - "start": 472, - "end": 480, + "start": 570, + "end": 578, "loc": { "start": { - "line": 8, + "line": 21, "column": 37 }, "end": { - "line": 8, + "line": 21, "column": 45 } } @@ -5287,15 +4526,15 @@ "postfix": false, "binop": null }, - "start": 480, - "end": 481, + "start": 578, + "end": 579, "loc": { "start": { - "line": 8, + "line": 21, "column": 45 }, "end": { - "line": 8, + "line": 21, "column": 46 } } @@ -5313,15 +4552,15 @@ "binop": null, "updateContext": null }, - "start": 481, - "end": 482, + "start": 579, + "end": 580, "loc": { "start": { - "line": 8, + "line": 21, "column": 46 }, "end": { - "line": 8, + "line": 21, "column": 47 } } @@ -5338,15 +4577,15 @@ "postfix": false, "binop": null }, - "start": 491, - "end": 492, + "start": 589, + "end": 590, "loc": { "start": { - "line": 9, + "line": 22, "column": 8 }, "end": { - "line": 9, + "line": 22, "column": 9 } } @@ -5366,15 +4605,15 @@ "updateContext": null }, "value": "const", - "start": 501, - "end": 506, + "start": 599, + "end": 604, "loc": { "start": { - "line": 10, + "line": 23, "column": 8 }, "end": { - "line": 10, + "line": 23, "column": 13 } } @@ -5392,15 +4631,15 @@ "binop": null }, "value": "memoized", - "start": 507, - "end": 515, + "start": 605, + "end": 613, "loc": { "start": { - "line": 10, + "line": 23, "column": 14 }, "end": { - "line": 10, + "line": 23, "column": 22 } } @@ -5419,15 +4658,15 @@ "updateContext": null }, "value": "=", - "start": 516, - "end": 517, + "start": 614, + "end": 615, "loc": { "start": { - "line": 10, + "line": 23, "column": 23 }, "end": { - "line": 10, + "line": 23, "column": 24 } } @@ -5445,15 +4684,15 @@ "binop": null }, "value": "resolver", - "start": 518, - "end": 526, + "start": 616, + "end": 624, "loc": { "start": { - "line": 10, + "line": 23, "column": 25 }, "end": { - "line": 10, + "line": 23, "column": 33 } } @@ -5471,15 +4710,15 @@ "binop": null, "updateContext": null }, - "start": 527, - "end": 528, + "start": 625, + "end": 626, "loc": { "start": { - "line": 10, + "line": 23, "column": 34 }, "end": { - "line": 10, + "line": 23, "column": 35 } } @@ -5497,15 +4736,15 @@ "binop": null }, "value": "execute", - "start": 529, - "end": 536, + "start": 627, + "end": 634, "loc": { "start": { - "line": 10, + "line": 23, "column": 36 }, "end": { - "line": 10, + "line": 23, "column": 43 } } @@ -5522,15 +4761,15 @@ "postfix": false, "binop": null }, - "start": 536, - "end": 537, + "start": 634, + "end": 635, "loc": { "start": { - "line": 10, + "line": 23, "column": 43 }, "end": { - "line": 10, + "line": 23, "column": 44 } } @@ -5548,15 +4787,15 @@ "binop": null }, "value": "value", - "start": 537, - "end": 542, + "start": 635, + "end": 640, "loc": { "start": { - "line": 10, + "line": 23, "column": 44 }, "end": { - "line": 10, + "line": 23, "column": 49 } } @@ -5574,15 +4813,15 @@ "binop": null, "updateContext": null }, - "start": 542, - "end": 543, + "start": 640, + "end": 641, "loc": { "start": { - "line": 10, + "line": 23, "column": 49 }, "end": { - "line": 10, + "line": 23, "column": 50 } } @@ -5600,15 +4839,15 @@ "binop": null }, "value": "resolver", - "start": 544, - "end": 552, + "start": 642, + "end": 650, "loc": { "start": { - "line": 10, + "line": 23, "column": 51 }, "end": { - "line": 10, + "line": 23, "column": 59 } } @@ -5625,15 +4864,15 @@ "postfix": false, "binop": null }, - "start": 552, - "end": 553, + "start": 650, + "end": 651, "loc": { "start": { - "line": 10, + "line": 23, "column": 59 }, "end": { - "line": 10, + "line": 23, "column": 60 } } @@ -5651,15 +4890,15 @@ "binop": null, "updateContext": null }, - "start": 554, - "end": 555, + "start": 652, + "end": 653, "loc": { "start": { - "line": 10, + "line": 23, "column": 61 }, "end": { - "line": 10, + "line": 23, "column": 62 } } @@ -5677,15 +4916,15 @@ "binop": null }, "value": "execute", - "start": 556, - "end": 563, + "start": 654, + "end": 661, "loc": { "start": { - "line": 10, + "line": 23, "column": 63 }, "end": { - "line": 10, + "line": 23, "column": 70 } } @@ -5702,15 +4941,15 @@ "postfix": false, "binop": null }, - "start": 563, - "end": 564, + "start": 661, + "end": 662, "loc": { "start": { - "line": 10, + "line": 23, "column": 70 }, "end": { - "line": 10, + "line": 23, "column": 71 } } @@ -5728,15 +4967,15 @@ "binop": null }, "value": "value", - "start": 564, - "end": 569, + "start": 662, + "end": 667, "loc": { "start": { - "line": 10, + "line": 23, "column": 71 }, "end": { - "line": 10, + "line": 23, "column": 76 } } @@ -5753,15 +4992,15 @@ "postfix": false, "binop": null }, - "start": 569, - "end": 570, + "start": 667, + "end": 668, "loc": { "start": { - "line": 10, + "line": 23, "column": 76 }, "end": { - "line": 10, + "line": 23, "column": 77 } } @@ -5779,15 +5018,15 @@ "binop": null, "updateContext": null }, - "start": 570, - "end": 571, + "start": 668, + "end": 669, "loc": { "start": { - "line": 10, + "line": 23, "column": 77 }, "end": { - "line": 10, + "line": 23, "column": 78 } } @@ -5807,15 +5046,15 @@ "updateContext": null }, "value": "if", - "start": 580, - "end": 582, + "start": 678, + "end": 680, "loc": { "start": { - "line": 11, + "line": 24, "column": 8 }, "end": { - "line": 11, + "line": 24, "column": 10 } } @@ -5832,15 +5071,15 @@ "postfix": false, "binop": null }, - "start": 583, - "end": 584, + "start": 681, + "end": 682, "loc": { "start": { - "line": 11, + "line": 24, "column": 11 }, "end": { - "line": 11, + "line": 24, "column": 12 } } @@ -5857,17 +5096,17 @@ "postfix": false, "binop": null }, - "value": "isObject", - "start": 584, - "end": 592, + "value": "isObjectLike", + "start": 682, + "end": 694, "loc": { "start": { - "line": 11, + "line": 24, "column": 12 }, "end": { - "line": 11, - "column": 20 + "line": 24, + "column": 24 } } }, @@ -5883,16 +5122,16 @@ "postfix": false, "binop": null }, - "start": 592, - "end": 593, + "start": 694, + "end": 695, "loc": { "start": { - "line": 11, - "column": 20 + "line": 24, + "column": 24 }, "end": { - "line": 11, - "column": 21 + "line": 24, + "column": 25 } } }, @@ -5908,95 +5147,16 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 593, - "end": 597, - "loc": { - "start": { - "line": 11, - "column": 21 - }, - "end": { - "line": 11, - "column": 25 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 597, - "end": 598, + "value": "arg", + "start": 695, + "end": 698, "loc": { "start": { - "line": 11, + "line": 24, "column": 25 }, "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 598, - "end": 599, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 599, - "end": 600, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, + "line": 24, "column": 28 } } @@ -6013,15 +5173,15 @@ "postfix": false, "binop": null }, - "start": 600, - "end": 601, + "start": 698, + "end": 699, "loc": { "start": { - "line": 11, + "line": 24, "column": 28 }, "end": { - "line": 11, + "line": 24, "column": 29 } } @@ -6038,15 +5198,15 @@ "postfix": false, "binop": null }, - "start": 601, - "end": 602, + "start": 699, + "end": 700, "loc": { "start": { - "line": 11, + "line": 24, "column": 29 }, "end": { - "line": 11, + "line": 24, "column": 30 } } @@ -6063,15 +5223,15 @@ "postfix": false, "binop": null }, - "start": 603, - "end": 604, + "start": 701, + "end": 702, "loc": { "start": { - "line": 11, + "line": 24, "column": 31 }, "end": { - "line": 11, + "line": 24, "column": 32 } } @@ -6091,15 +5251,15 @@ "updateContext": null }, "value": "const", - "start": 617, - "end": 622, + "start": 715, + "end": 720, "loc": { "start": { - "line": 12, + "line": 25, "column": 12 }, "end": { - "line": 12, + "line": 25, "column": 17 } } @@ -6116,15 +5276,15 @@ "postfix": false, "binop": null }, - "start": 623, - "end": 624, + "start": 721, + "end": 722, "loc": { "start": { - "line": 12, + "line": 25, "column": 18 }, "end": { - "line": 12, + "line": 25, "column": 19 } } @@ -6142,15 +5302,15 @@ "binop": null }, "value": "cache", - "start": 625, - "end": 630, + "start": 723, + "end": 728, "loc": { "start": { - "line": 12, + "line": 25, "column": 20 }, "end": { - "line": 12, + "line": 25, "column": 25 } } @@ -6168,15 +5328,15 @@ "binop": null, "updateContext": null }, - "start": 630, - "end": 631, + "start": 728, + "end": 729, "loc": { "start": { - "line": 12, + "line": 25, "column": 25 }, "end": { - "line": 12, + "line": 25, "column": 26 } } @@ -6194,15 +5354,15 @@ "binop": null }, "value": "type", - "start": 632, - "end": 636, + "start": 730, + "end": 734, "loc": { "start": { - "line": 12, + "line": 25, "column": 27 }, "end": { - "line": 12, + "line": 25, "column": 31 } } @@ -6219,15 +5379,15 @@ "postfix": false, "binop": null }, - "start": 637, - "end": 638, + "start": 735, + "end": 736, "loc": { "start": { - "line": 12, + "line": 25, "column": 32 }, "end": { - "line": 12, + "line": 25, "column": 33 } } @@ -6246,15 +5406,15 @@ "updateContext": null }, "value": "=", - "start": 639, - "end": 640, + "start": 737, + "end": 738, "loc": { "start": { - "line": 12, + "line": 25, "column": 34 }, "end": { - "line": 12, + "line": 25, "column": 35 } } @@ -6271,96 +5431,17 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 641, - "end": 645, + "value": "arg", + "start": 739, + "end": 742, "loc": { "start": { - "line": 12, + "line": 25, "column": 36 }, "end": { - "line": 12, - "column": 40 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 645, - "end": 646, - "loc": { - "start": { - "line": 12, - "column": 40 - }, - "end": { - "line": 12, - "column": 41 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 646, - "end": 647, - "loc": { - "start": { - "line": 12, - "column": 41 - }, - "end": { - "line": 12, - "column": 42 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 647, - "end": 648, - "loc": { - "start": { - "line": 12, - "column": 42 - }, - "end": { - "line": 12, - "column": 43 + "line": 25, + "column": 39 } } }, @@ -6377,16 +5458,16 @@ "binop": null, "updateContext": null }, - "start": 648, - "end": 649, + "start": 742, + "end": 743, "loc": { "start": { - "line": 12, - "column": 43 + "line": 25, + "column": 39 }, "end": { - "line": 12, - "column": 44 + "line": 25, + "column": 40 } } }, @@ -6405,15 +5486,15 @@ "updateContext": null }, "value": "if", - "start": 662, - "end": 664, + "start": 756, + "end": 758, "loc": { "start": { - "line": 13, + "line": 26, "column": 12 }, "end": { - "line": 13, + "line": 26, "column": 14 } } @@ -6430,15 +5511,15 @@ "postfix": false, "binop": null }, - "start": 665, - "end": 666, + "start": 759, + "end": 760, "loc": { "start": { - "line": 13, + "line": 26, "column": 15 }, "end": { - "line": 13, + "line": 26, "column": 16 } } @@ -6456,15 +5537,15 @@ "binop": null }, "value": "cache", - "start": 666, - "end": 671, + "start": 760, + "end": 765, "loc": { "start": { - "line": 13, + "line": 26, "column": 16 }, "end": { - "line": 13, + "line": 26, "column": 21 } } @@ -6481,15 +5562,15 @@ "postfix": false, "binop": null }, - "start": 671, - "end": 672, + "start": 765, + "end": 766, "loc": { "start": { - "line": 13, + "line": 26, "column": 21 }, "end": { - "line": 13, + "line": 26, "column": 22 } } @@ -6506,15 +5587,15 @@ "postfix": false, "binop": null }, - "start": 673, - "end": 674, + "start": 767, + "end": 768, "loc": { "start": { - "line": 13, + "line": 26, "column": 23 }, "end": { - "line": 13, + "line": 26, "column": 24 } } @@ -6532,15 +5613,15 @@ "binop": null }, "value": "memoized", - "start": 691, - "end": 699, + "start": 785, + "end": 793, "loc": { "start": { - "line": 14, + "line": 27, "column": 16 }, "end": { - "line": 14, + "line": 27, "column": 24 } } @@ -6558,15 +5639,15 @@ "binop": null, "updateContext": null }, - "start": 699, - "end": 700, + "start": 793, + "end": 794, "loc": { "start": { - "line": 14, + "line": 27, "column": 24 }, "end": { - "line": 14, + "line": 27, "column": 25 } } @@ -6584,15 +5665,15 @@ "binop": null }, "value": "cache", - "start": 700, - "end": 705, + "start": 794, + "end": 799, "loc": { "start": { - "line": 14, + "line": 27, "column": 25 }, "end": { - "line": 14, + "line": 27, "column": 30 } } @@ -6611,15 +5692,15 @@ "updateContext": null }, "value": "=", - "start": 706, - "end": 707, + "start": 800, + "end": 801, "loc": { "start": { - "line": 14, + "line": 27, "column": 31 }, "end": { - "line": 14, + "line": 27, "column": 32 } } @@ -6637,15 +5718,15 @@ "binop": null }, "value": "cache", - "start": 708, - "end": 713, + "start": 802, + "end": 807, "loc": { "start": { - "line": 14, + "line": 27, "column": 33 }, "end": { - "line": 14, + "line": 27, "column": 38 } } @@ -6663,15 +5744,15 @@ "binop": null, "updateContext": null }, - "start": 713, - "end": 714, + "start": 807, + "end": 808, "loc": { "start": { - "line": 14, + "line": 27, "column": 38 }, "end": { - "line": 14, + "line": 27, "column": 39 } } @@ -6688,15 +5769,15 @@ "postfix": false, "binop": null }, - "start": 727, - "end": 728, + "start": 821, + "end": 822, "loc": { "start": { - "line": 15, + "line": 28, "column": 12 }, "end": { - "line": 15, + "line": 28, "column": 13 } } @@ -6716,15 +5797,15 @@ "updateContext": null }, "value": "else", - "start": 741, - "end": 745, + "start": 835, + "end": 839, "loc": { "start": { - "line": 16, + "line": 29, "column": 12 }, "end": { - "line": 16, + "line": 29, "column": 16 } } @@ -6744,15 +5825,15 @@ "updateContext": null }, "value": "if", - "start": 746, - "end": 748, + "start": 840, + "end": 842, "loc": { "start": { - "line": 16, + "line": 29, "column": 17 }, "end": { - "line": 16, + "line": 29, "column": 19 } } @@ -6769,15 +5850,15 @@ "postfix": false, "binop": null }, - "start": 749, - "end": 750, + "start": 843, + "end": 844, "loc": { "start": { - "line": 16, + "line": 29, "column": 20 }, "end": { - "line": 16, + "line": 29, "column": 21 } } @@ -6795,15 +5876,15 @@ "binop": null }, "value": "isFunction", - "start": 750, - "end": 760, + "start": 844, + "end": 854, "loc": { "start": { - "line": 16, + "line": 29, "column": 21 }, "end": { - "line": 16, + "line": 29, "column": 31 } } @@ -6820,15 +5901,15 @@ "postfix": false, "binop": null }, - "start": 760, - "end": 761, + "start": 854, + "end": 855, "loc": { "start": { - "line": 16, + "line": 29, "column": 31 }, "end": { - "line": 16, + "line": 29, "column": 32 } } @@ -6846,15 +5927,15 @@ "binop": null }, "value": "type", - "start": 761, - "end": 765, + "start": 855, + "end": 859, "loc": { "start": { - "line": 16, + "line": 29, "column": 32 }, "end": { - "line": 16, + "line": 29, "column": 36 } } @@ -6871,15 +5952,15 @@ "postfix": false, "binop": null }, - "start": 765, - "end": 766, + "start": 859, + "end": 860, "loc": { "start": { - "line": 16, + "line": 29, "column": 36 }, "end": { - "line": 16, + "line": 29, "column": 37 } } @@ -6896,15 +5977,15 @@ "postfix": false, "binop": null }, - "start": 766, - "end": 767, + "start": 860, + "end": 861, "loc": { "start": { - "line": 16, + "line": 29, "column": 37 }, "end": { - "line": 16, + "line": 29, "column": 38 } } @@ -6921,15 +6002,15 @@ "postfix": false, "binop": null }, - "start": 768, - "end": 769, + "start": 862, + "end": 863, "loc": { "start": { - "line": 16, + "line": 29, "column": 39 }, "end": { - "line": 16, + "line": 29, "column": 40 } } @@ -6947,15 +6028,15 @@ "binop": null }, "value": "memoized", - "start": 786, - "end": 794, + "start": 880, + "end": 888, "loc": { "start": { - "line": 17, + "line": 30, "column": 16 }, "end": { - "line": 17, + "line": 30, "column": 24 } } @@ -6973,15 +6054,15 @@ "binop": null, "updateContext": null }, - "start": 794, - "end": 795, + "start": 888, + "end": 889, "loc": { "start": { - "line": 17, + "line": 30, "column": 24 }, "end": { - "line": 17, + "line": 30, "column": 25 } } @@ -6999,15 +6080,15 @@ "binop": null }, "value": "cache", - "start": 795, - "end": 800, + "start": 889, + "end": 894, "loc": { "start": { - "line": 17, + "line": 30, "column": 25 }, "end": { - "line": 17, + "line": 30, "column": 30 } } @@ -7026,15 +6107,15 @@ "updateContext": null }, "value": "=", - "start": 801, - "end": 802, + "start": 895, + "end": 896, "loc": { "start": { - "line": 17, + "line": 30, "column": 31 }, "end": { - "line": 17, + "line": 30, "column": 32 } } @@ -7054,15 +6135,15 @@ "updateContext": null }, "value": "new", - "start": 803, - "end": 806, + "start": 897, + "end": 900, "loc": { "start": { - "line": 17, + "line": 30, "column": 33 }, "end": { - "line": 17, + "line": 30, "column": 36 } } @@ -7080,15 +6161,15 @@ "binop": null }, "value": "type", - "start": 807, - "end": 811, + "start": 901, + "end": 905, "loc": { "start": { - "line": 17, + "line": 30, "column": 37 }, "end": { - "line": 17, + "line": 30, "column": 41 } } @@ -7105,15 +6186,15 @@ "postfix": false, "binop": null }, - "start": 811, - "end": 812, + "start": 905, + "end": 906, "loc": { "start": { - "line": 17, + "line": 30, "column": 41 }, "end": { - "line": 17, + "line": 30, "column": 42 } } @@ -7130,15 +6211,15 @@ "postfix": false, "binop": null }, - "start": 812, - "end": 813, + "start": 906, + "end": 907, "loc": { "start": { - "line": 17, + "line": 30, "column": 42 }, "end": { - "line": 17, + "line": 30, "column": 43 } } @@ -7156,15 +6237,15 @@ "binop": null, "updateContext": null }, - "start": 813, - "end": 814, + "start": 907, + "end": 908, "loc": { "start": { - "line": 17, + "line": 30, "column": 43 }, "end": { - "line": 17, + "line": 30, "column": 44 } } @@ -7181,15 +6262,15 @@ "postfix": false, "binop": null }, - "start": 827, - "end": 828, + "start": 921, + "end": 922, "loc": { "start": { - "line": 18, + "line": 31, "column": 12 }, "end": { - "line": 18, + "line": 31, "column": 13 } } @@ -7206,15 +6287,15 @@ "postfix": false, "binop": null }, - "start": 837, - "end": 838, + "start": 931, + "end": 932, "loc": { "start": { - "line": 19, + "line": 32, "column": 8 }, "end": { - "line": 19, + "line": 32, "column": 9 } } @@ -7234,15 +6315,15 @@ "updateContext": null }, "value": "return", - "start": 847, - "end": 853, + "start": 941, + "end": 947, "loc": { "start": { - "line": 20, + "line": 33, "column": 8 }, "end": { - "line": 20, + "line": 33, "column": 14 } } @@ -7260,15 +6341,15 @@ "binop": null }, "value": "memoized", - "start": 854, - "end": 862, + "start": 948, + "end": 956, "loc": { "start": { - "line": 20, + "line": 33, "column": 15 }, "end": { - "line": 20, + "line": 33, "column": 23 } } @@ -7286,15 +6367,15 @@ "binop": null, "updateContext": null }, - "start": 862, - "end": 863, + "start": 956, + "end": 957, "loc": { "start": { - "line": 20, + "line": 33, "column": 23 }, "end": { - "line": 20, + "line": 33, "column": 24 } } @@ -7311,15 +6392,15 @@ "postfix": false, "binop": null }, - "start": 868, - "end": 869, + "start": 962, + "end": 963, "loc": { "start": { - "line": 21, + "line": 34, "column": 4 }, "end": { - "line": 21, + "line": 34, "column": 5 } } @@ -7336,15 +6417,15 @@ "postfix": false, "binop": null }, - "start": 870, - "end": 871, + "start": 964, + "end": 965, "loc": { "start": { - "line": 22, + "line": 35, "column": 0 }, "end": { - "line": 22, + "line": 35, "column": 1 } } @@ -7362,15 +6443,15 @@ "binop": null, "updateContext": null }, - "start": 872, - "end": 872, + "start": 966, + "end": 966, "loc": { "start": { - "line": 23, + "line": 36, "column": 0 }, "end": { - "line": 23, + "line": 36, "column": 0 } } diff --git a/docs/ast/source/applicators/PartialApplicator.js.json b/docs/ast/source/applicators/PartialApplicator.ts.json similarity index 79% rename from docs/ast/source/applicators/PartialApplicator.js.json rename to docs/ast/source/applicators/PartialApplicator.ts.json index d50089b..8f31773 100644 --- a/docs/ast/source/applicators/PartialApplicator.js.json +++ b/docs/ast/source/applicators/PartialApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 361, + "end": 515, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 24, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 361, + "end": 515, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 24, "column": 0 } }, @@ -198,19 +198,37 @@ "raw": "'../utils'" }, "value": "../utils" - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 87, - "end": 360, + "start": 127, + "end": 514, "loc": { "start": { - "line": 3, + "line": 9, "column": 0 }, "end": { - "line": 9, + "line": 23, "column": 1 } }, @@ -218,46 +236,47 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 94, - "end": 360, + "start": 134, + "end": 514, "loc": { "start": { - "line": 3, + "line": 9, "column": 7 }, "end": { - "line": 9, + "line": 23, "column": 1 } }, "id": { "type": "Identifier", - "start": 100, - "end": 117, + "start": 140, + "end": 157, "loc": { "start": { - "line": 3, + "line": 9, "column": 13 }, "end": { - "line": 3, + "line": 9, "column": 30 }, "identifierName": "PartialApplicator" }, - "name": "PartialApplicator" + "name": "PartialApplicator", + "leadingComments": null }, "superClass": { "type": "Identifier", - "start": 126, - "end": 136, + "start": 166, + "end": 176, "loc": { "start": { - "line": 3, + "line": 9, "column": 39 }, "end": { - "line": 3, + "line": 9, "column": 49 }, "identifierName": "Applicator" @@ -266,52 +285,53 @@ }, "body": { "type": "ClassBody", - "start": 137, - "end": 360, + "start": 177, + "end": 514, "loc": { "start": { - "line": 3, + "line": 9, "column": 50 }, "end": { - "line": 9, + "line": 23, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 143, - "end": 358, + "start": 297, + "end": 512, "loc": { "start": { - "line": 4, + "line": 18, "column": 4 }, "end": { - "line": 8, + "line": 22, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 143, - "end": 148, + "start": 297, + "end": 302, "loc": { "start": { - "line": 4, + "line": 18, "column": 4 }, "end": { - "line": 4, + "line": 18, "column": 9 }, "identifierName": "apply" }, - "name": "apply" + "name": "apply", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -320,30 +340,30 @@ "params": [ { "type": "ObjectPattern", - "start": 149, - "end": 186, + "start": 303, + "end": 340, "loc": { "start": { - "line": 4, + "line": 18, "column": 10 }, "end": { - "line": 4, + "line": 18, "column": 47 } }, "properties": [ { "type": "ObjectProperty", - "start": 151, - "end": 155, + "start": 305, + "end": 309, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 16 } }, @@ -352,15 +372,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 151, - "end": 155, + "start": 305, + "end": 309, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 16 }, "identifierName": "args" @@ -369,15 +389,15 @@ }, "value": { "type": "Identifier", - "start": 151, - "end": 155, + "start": 305, + "end": 309, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 16 }, "identifierName": "args" @@ -390,15 +410,15 @@ }, { "type": "ObjectProperty", - "start": 157, - "end": 163, + "start": 311, + "end": 317, "loc": { "start": { - "line": 4, + "line": 18, "column": 18 }, "end": { - "line": 4, + "line": 18, "column": 24 } }, @@ -407,15 +427,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 157, - "end": 163, + "start": 311, + "end": 317, "loc": { "start": { - "line": 4, + "line": 18, "column": 18 }, "end": { - "line": 4, + "line": 18, "column": 24 }, "identifierName": "target" @@ -424,15 +444,15 @@ }, "value": { "type": "Identifier", - "start": 157, - "end": 163, + "start": 311, + "end": 317, "loc": { "start": { - "line": 4, + "line": 18, "column": 18 }, "end": { - "line": 4, + "line": 18, "column": 24 }, "identifierName": "target" @@ -445,15 +465,15 @@ }, { "type": "ObjectProperty", - "start": 165, - "end": 184, + "start": 319, + "end": 338, "loc": { "start": { - "line": 4, + "line": 18, "column": 26 }, "end": { - "line": 4, + "line": 18, "column": 45 } }, @@ -462,15 +482,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 165, - "end": 171, + "start": 319, + "end": 325, "loc": { "start": { - "line": 4, + "line": 18, "column": 26 }, "end": { - "line": 4, + "line": 18, "column": 32 }, "identifierName": "config" @@ -479,30 +499,30 @@ }, "value": { "type": "ObjectPattern", - "start": 173, - "end": 184, + "start": 327, + "end": 338, "loc": { "start": { - "line": 4, + "line": 18, "column": 34 }, "end": { - "line": 4, + "line": 18, "column": 45 } }, "properties": [ { "type": "ObjectProperty", - "start": 175, - "end": 182, + "start": 329, + "end": 336, "loc": { "start": { - "line": 4, + "line": 18, "column": 36 }, "end": { - "line": 4, + "line": 18, "column": 43 } }, @@ -511,15 +531,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 175, - "end": 182, + "start": 329, + "end": 336, "loc": { "start": { - "line": 4, + "line": 18, "column": 36 }, "end": { - "line": 4, + "line": 18, "column": 43 }, "identifierName": "execute" @@ -528,15 +548,15 @@ }, "value": { "type": "Identifier", - "start": 175, - "end": 182, + "start": 329, + "end": 336, "loc": { "start": { - "line": 4, + "line": 18, "column": 36 }, "end": { - "line": 4, + "line": 18, "column": 43 }, "identifierName": "execute" @@ -555,44 +575,44 @@ ], "body": { "type": "BlockStatement", - "start": 188, - "end": 358, + "start": 342, + "end": 512, "loc": { "start": { - "line": 4, + "line": 18, "column": 49 }, "end": { - "line": 8, + "line": 22, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 198, - "end": 352, + "start": 352, + "end": 506, "loc": { "start": { - "line": 5, + "line": 19, "column": 8 }, "end": { - "line": 7, + "line": 21, "column": 10 } }, "argument": { "type": "FunctionExpression", - "start": 205, - "end": 351, + "start": 359, + "end": 505, "loc": { "start": { - "line": 5, + "line": 19, "column": 15 }, "end": { - "line": 7, + "line": 21, "column": 9 } }, @@ -603,29 +623,29 @@ "params": [ { "type": "RestElement", - "start": 215, - "end": 228, + "start": 369, + "end": 382, "loc": { "start": { - "line": 5, + "line": 19, "column": 25 }, "end": { - "line": 5, + "line": 19, "column": 38 } }, "argument": { "type": "Identifier", - "start": 218, - "end": 228, + "start": 372, + "end": 382, "loc": { "start": { - "line": 5, + "line": 19, "column": 28 }, "end": { - "line": 5, + "line": 19, "column": 38 }, "identifierName": "invokeArgs" @@ -636,86 +656,86 @@ ], "body": { "type": "BlockStatement", - "start": 230, - "end": 351, + "start": 384, + "end": 505, "loc": { "start": { - "line": 5, + "line": 19, "column": 40 }, "end": { - "line": 7, + "line": 21, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 244, - "end": 341, + "start": 398, + "end": 495, "loc": { "start": { - "line": 6, + "line": 20, "column": 12 }, "end": { - "line": 6, + "line": 20, "column": 109 } }, "argument": { "type": "CallExpression", - "start": 251, - "end": 340, + "start": 405, + "end": 494, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 108 } }, "callee": { "type": "MemberExpression", - "start": 251, - "end": 322, + "start": 405, + "end": 476, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 90 } }, "object": { "type": "CallExpression", - "start": 251, - "end": 316, + "start": 405, + "end": 470, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 84 } }, "callee": { "type": "Identifier", - "start": 251, - "end": 258, + "start": 405, + "end": 412, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 26 }, "identifierName": "execute" @@ -725,29 +745,29 @@ "arguments": [ { "type": "CallExpression", - "start": 259, - "end": 297, + "start": 413, + "end": 451, "loc": { "start": { - "line": 6, + "line": 20, "column": 27 }, "end": { - "line": 6, + "line": 20, "column": 65 } }, "callee": { "type": "Identifier", - "start": 259, - "end": 274, + "start": 413, + "end": 428, "loc": { "start": { - "line": 6, + "line": 20, "column": 27 }, "end": { - "line": 6, + "line": 20, "column": 42 }, "identifierName": "resolveFunction" @@ -757,29 +777,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 275, - "end": 282, + "start": 429, + "end": 436, "loc": { "start": { - "line": 6, + "line": 20, "column": 43 }, "end": { - "line": 6, + "line": 20, "column": 50 } }, "object": { "type": "Identifier", - "start": 275, - "end": 279, + "start": 429, + "end": 433, "loc": { "start": { - "line": 6, + "line": 20, "column": 43 }, "end": { - "line": 6, + "line": 20, "column": 47 }, "identifierName": "args" @@ -788,15 +808,15 @@ }, "property": { "type": "NumericLiteral", - "start": 280, - "end": 281, + "start": 434, + "end": 435, "loc": { "start": { - "line": 6, + "line": 20, "column": 48 }, "end": { - "line": 6, + "line": 20, "column": 49 } }, @@ -810,30 +830,30 @@ }, { "type": "ThisExpression", - "start": 284, - "end": 288, + "start": 438, + "end": 442, "loc": { "start": { - "line": 6, + "line": 20, "column": 52 }, "end": { - "line": 6, + "line": 20, "column": 56 } } }, { "type": "Identifier", - "start": 290, - "end": 296, + "start": 444, + "end": 450, "loc": { "start": { - "line": 6, + "line": 20, "column": 58 }, "end": { - "line": 6, + "line": 20, "column": 64 }, "identifierName": "target" @@ -844,57 +864,57 @@ }, { "type": "SpreadElement", - "start": 299, - "end": 315, + "start": 453, + "end": 469, "loc": { "start": { - "line": 6, + "line": 20, "column": 67 }, "end": { - "line": 6, + "line": 20, "column": 83 } }, "argument": { "type": "CallExpression", - "start": 302, - "end": 315, + "start": 456, + "end": 469, "loc": { "start": { - "line": 6, + "line": 20, "column": 70 }, "end": { - "line": 6, + "line": 20, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 302, - "end": 312, + "start": 456, + "end": 466, "loc": { "start": { - "line": 6, + "line": 20, "column": 70 }, "end": { - "line": 6, + "line": 20, "column": 80 } }, "object": { "type": "Identifier", - "start": 302, - "end": 306, + "start": 456, + "end": 460, "loc": { "start": { - "line": 6, + "line": 20, "column": 70 }, "end": { - "line": 6, + "line": 20, "column": 74 }, "identifierName": "args" @@ -903,15 +923,15 @@ }, "property": { "type": "Identifier", - "start": 307, - "end": 312, + "start": 461, + "end": 466, "loc": { "start": { - "line": 6, + "line": 20, "column": 75 }, "end": { - "line": 6, + "line": 20, "column": 80 }, "identifierName": "slice" @@ -923,15 +943,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 313, - "end": 314, + "start": 467, + "end": 468, "loc": { "start": { - "line": 6, + "line": 20, "column": 81 }, "end": { - "line": 6, + "line": 20, "column": 82 } }, @@ -948,15 +968,15 @@ }, "property": { "type": "Identifier", - "start": 317, - "end": 322, + "start": 471, + "end": 476, "loc": { "start": { - "line": 6, + "line": 20, "column": 85 }, "end": { - "line": 6, + "line": 20, "column": 90 }, "identifierName": "apply" @@ -968,30 +988,30 @@ "arguments": [ { "type": "ThisExpression", - "start": 323, - "end": 327, + "start": 477, + "end": 481, "loc": { "start": { - "line": 6, + "line": 20, "column": 91 }, "end": { - "line": 6, + "line": 20, "column": 95 } } }, { "type": "Identifier", - "start": 329, - "end": 339, + "start": 483, + "end": 493, "loc": { "start": { - "line": 6, + "line": 20, "column": 97 }, "end": { - "line": 6, + "line": 20, "column": 107 }, "identifierName": "invokeArgs" @@ -1008,25 +1028,111 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 183, + "end": 292, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ] } ] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 183, + "end": 292, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1209,7 +1315,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1387,6 +1493,22 @@ } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -1402,15 +1524,15 @@ "updateContext": null }, "value": "export", - "start": 87, - "end": 93, + "start": 127, + "end": 133, "loc": { "start": { - "line": 3, + "line": 9, "column": 0 }, "end": { - "line": 3, + "line": 9, "column": 6 } } @@ -1430,15 +1552,15 @@ "updateContext": null }, "value": "class", - "start": 94, - "end": 99, + "start": 134, + "end": 139, "loc": { "start": { - "line": 3, + "line": 9, "column": 7 }, "end": { - "line": 3, + "line": 9, "column": 12 } } @@ -1456,15 +1578,15 @@ "binop": null }, "value": "PartialApplicator", - "start": 100, - "end": 117, + "start": 140, + "end": 157, "loc": { "start": { - "line": 3, + "line": 9, "column": 13 }, "end": { - "line": 3, + "line": 9, "column": 30 } } @@ -1484,15 +1606,15 @@ "updateContext": null }, "value": "extends", - "start": 118, - "end": 125, + "start": 158, + "end": 165, "loc": { "start": { - "line": 3, + "line": 9, "column": 31 }, "end": { - "line": 3, + "line": 9, "column": 38 } } @@ -1510,15 +1632,15 @@ "binop": null }, "value": "Applicator", - "start": 126, - "end": 136, + "start": 166, + "end": 176, "loc": { "start": { - "line": 3, + "line": 9, "column": 39 }, "end": { - "line": 3, + "line": 9, "column": 49 } } @@ -1535,19 +1657,35 @@ "postfix": false, "binop": null }, - "start": 137, - "end": 138, + "start": 177, + "end": 178, "loc": { "start": { - "line": 3, + "line": 9, "column": 50 }, "end": { - "line": 3, + "line": 9, "column": 51 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 183, + "end": 292, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -1561,15 +1699,15 @@ "binop": null }, "value": "apply", - "start": 143, - "end": 148, + "start": 297, + "end": 302, "loc": { "start": { - "line": 4, + "line": 18, "column": 4 }, "end": { - "line": 4, + "line": 18, "column": 9 } } @@ -1586,15 +1724,15 @@ "postfix": false, "binop": null }, - "start": 148, - "end": 149, + "start": 302, + "end": 303, "loc": { "start": { - "line": 4, + "line": 18, "column": 9 }, "end": { - "line": 4, + "line": 18, "column": 10 } } @@ -1611,15 +1749,15 @@ "postfix": false, "binop": null }, - "start": 149, - "end": 150, + "start": 303, + "end": 304, "loc": { "start": { - "line": 4, + "line": 18, "column": 10 }, "end": { - "line": 4, + "line": 18, "column": 11 } } @@ -1637,15 +1775,15 @@ "binop": null }, "value": "args", - "start": 151, - "end": 155, + "start": 305, + "end": 309, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 16 } } @@ -1663,15 +1801,15 @@ "binop": null, "updateContext": null }, - "start": 155, - "end": 156, + "start": 309, + "end": 310, "loc": { "start": { - "line": 4, + "line": 18, "column": 16 }, "end": { - "line": 4, + "line": 18, "column": 17 } } @@ -1689,15 +1827,15 @@ "binop": null }, "value": "target", - "start": 157, - "end": 163, + "start": 311, + "end": 317, "loc": { "start": { - "line": 4, + "line": 18, "column": 18 }, "end": { - "line": 4, + "line": 18, "column": 24 } } @@ -1715,15 +1853,15 @@ "binop": null, "updateContext": null }, - "start": 163, - "end": 164, + "start": 317, + "end": 318, "loc": { "start": { - "line": 4, + "line": 18, "column": 24 }, "end": { - "line": 4, + "line": 18, "column": 25 } } @@ -1741,15 +1879,15 @@ "binop": null }, "value": "config", - "start": 165, - "end": 171, + "start": 319, + "end": 325, "loc": { "start": { - "line": 4, + "line": 18, "column": 26 }, "end": { - "line": 4, + "line": 18, "column": 32 } } @@ -1767,15 +1905,15 @@ "binop": null, "updateContext": null }, - "start": 171, - "end": 172, + "start": 325, + "end": 326, "loc": { "start": { - "line": 4, + "line": 18, "column": 32 }, "end": { - "line": 4, + "line": 18, "column": 33 } } @@ -1792,15 +1930,15 @@ "postfix": false, "binop": null }, - "start": 173, - "end": 174, + "start": 327, + "end": 328, "loc": { "start": { - "line": 4, + "line": 18, "column": 34 }, "end": { - "line": 4, + "line": 18, "column": 35 } } @@ -1818,15 +1956,15 @@ "binop": null }, "value": "execute", - "start": 175, - "end": 182, + "start": 329, + "end": 336, "loc": { "start": { - "line": 4, + "line": 18, "column": 36 }, "end": { - "line": 4, + "line": 18, "column": 43 } } @@ -1843,15 +1981,15 @@ "postfix": false, "binop": null }, - "start": 183, - "end": 184, + "start": 337, + "end": 338, "loc": { "start": { - "line": 4, + "line": 18, "column": 44 }, "end": { - "line": 4, + "line": 18, "column": 45 } } @@ -1868,15 +2006,15 @@ "postfix": false, "binop": null }, - "start": 185, - "end": 186, + "start": 339, + "end": 340, "loc": { "start": { - "line": 4, + "line": 18, "column": 46 }, "end": { - "line": 4, + "line": 18, "column": 47 } } @@ -1893,15 +2031,15 @@ "postfix": false, "binop": null }, - "start": 186, - "end": 187, + "start": 340, + "end": 341, "loc": { "start": { - "line": 4, + "line": 18, "column": 47 }, "end": { - "line": 4, + "line": 18, "column": 48 } } @@ -1918,15 +2056,15 @@ "postfix": false, "binop": null }, - "start": 188, - "end": 189, + "start": 342, + "end": 343, "loc": { "start": { - "line": 4, + "line": 18, "column": 49 }, "end": { - "line": 4, + "line": 18, "column": 50 } } @@ -1946,15 +2084,15 @@ "updateContext": null }, "value": "return", - "start": 198, - "end": 204, + "start": 352, + "end": 358, "loc": { "start": { - "line": 5, + "line": 19, "column": 8 }, "end": { - "line": 5, + "line": 19, "column": 14 } } @@ -1973,15 +2111,15 @@ "binop": null }, "value": "function", - "start": 205, - "end": 213, + "start": 359, + "end": 367, "loc": { "start": { - "line": 5, + "line": 19, "column": 15 }, "end": { - "line": 5, + "line": 19, "column": 23 } } @@ -1998,15 +2136,15 @@ "postfix": false, "binop": null }, - "start": 214, - "end": 215, + "start": 368, + "end": 369, "loc": { "start": { - "line": 5, + "line": 19, "column": 24 }, "end": { - "line": 5, + "line": 19, "column": 25 } } @@ -2024,15 +2162,15 @@ "binop": null, "updateContext": null }, - "start": 215, - "end": 218, + "start": 369, + "end": 372, "loc": { "start": { - "line": 5, + "line": 19, "column": 25 }, "end": { - "line": 5, + "line": 19, "column": 28 } } @@ -2050,15 +2188,15 @@ "binop": null }, "value": "invokeArgs", - "start": 218, - "end": 228, + "start": 372, + "end": 382, "loc": { "start": { - "line": 5, + "line": 19, "column": 28 }, "end": { - "line": 5, + "line": 19, "column": 38 } } @@ -2075,15 +2213,15 @@ "postfix": false, "binop": null }, - "start": 228, - "end": 229, + "start": 382, + "end": 383, "loc": { "start": { - "line": 5, + "line": 19, "column": 38 }, "end": { - "line": 5, + "line": 19, "column": 39 } } @@ -2100,15 +2238,15 @@ "postfix": false, "binop": null }, - "start": 230, - "end": 231, + "start": 384, + "end": 385, "loc": { "start": { - "line": 5, + "line": 19, "column": 40 }, "end": { - "line": 5, + "line": 19, "column": 41 } } @@ -2128,15 +2266,15 @@ "updateContext": null }, "value": "return", - "start": 244, - "end": 250, + "start": 398, + "end": 404, "loc": { "start": { - "line": 6, + "line": 20, "column": 12 }, "end": { - "line": 6, + "line": 20, "column": 18 } } @@ -2154,15 +2292,15 @@ "binop": null }, "value": "execute", - "start": 251, - "end": 258, + "start": 405, + "end": 412, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 26 } } @@ -2179,15 +2317,15 @@ "postfix": false, "binop": null }, - "start": 258, - "end": 259, + "start": 412, + "end": 413, "loc": { "start": { - "line": 6, + "line": 20, "column": 26 }, "end": { - "line": 6, + "line": 20, "column": 27 } } @@ -2205,15 +2343,15 @@ "binop": null }, "value": "resolveFunction", - "start": 259, - "end": 274, + "start": 413, + "end": 428, "loc": { "start": { - "line": 6, + "line": 20, "column": 27 }, "end": { - "line": 6, + "line": 20, "column": 42 } } @@ -2230,15 +2368,15 @@ "postfix": false, "binop": null }, - "start": 274, - "end": 275, + "start": 428, + "end": 429, "loc": { "start": { - "line": 6, + "line": 20, "column": 42 }, "end": { - "line": 6, + "line": 20, "column": 43 } } @@ -2256,15 +2394,15 @@ "binop": null }, "value": "args", - "start": 275, - "end": 279, + "start": 429, + "end": 433, "loc": { "start": { - "line": 6, + "line": 20, "column": 43 }, "end": { - "line": 6, + "line": 20, "column": 47 } } @@ -2282,15 +2420,15 @@ "binop": null, "updateContext": null }, - "start": 279, - "end": 280, + "start": 433, + "end": 434, "loc": { "start": { - "line": 6, + "line": 20, "column": 47 }, "end": { - "line": 6, + "line": 20, "column": 48 } } @@ -2309,15 +2447,15 @@ "updateContext": null }, "value": 0, - "start": 280, - "end": 281, + "start": 434, + "end": 435, "loc": { "start": { - "line": 6, + "line": 20, "column": 48 }, "end": { - "line": 6, + "line": 20, "column": 49 } } @@ -2335,15 +2473,15 @@ "binop": null, "updateContext": null }, - "start": 281, - "end": 282, + "start": 435, + "end": 436, "loc": { "start": { - "line": 6, + "line": 20, "column": 49 }, "end": { - "line": 6, + "line": 20, "column": 50 } } @@ -2361,15 +2499,15 @@ "binop": null, "updateContext": null }, - "start": 282, - "end": 283, + "start": 436, + "end": 437, "loc": { "start": { - "line": 6, + "line": 20, "column": 50 }, "end": { - "line": 6, + "line": 20, "column": 51 } } @@ -2389,15 +2527,15 @@ "updateContext": null }, "value": "this", - "start": 284, - "end": 288, + "start": 438, + "end": 442, "loc": { "start": { - "line": 6, + "line": 20, "column": 52 }, "end": { - "line": 6, + "line": 20, "column": 56 } } @@ -2415,15 +2553,15 @@ "binop": null, "updateContext": null }, - "start": 288, - "end": 289, + "start": 442, + "end": 443, "loc": { "start": { - "line": 6, + "line": 20, "column": 56 }, "end": { - "line": 6, + "line": 20, "column": 57 } } @@ -2441,15 +2579,15 @@ "binop": null }, "value": "target", - "start": 290, - "end": 296, + "start": 444, + "end": 450, "loc": { "start": { - "line": 6, + "line": 20, "column": 58 }, "end": { - "line": 6, + "line": 20, "column": 64 } } @@ -2466,15 +2604,15 @@ "postfix": false, "binop": null }, - "start": 296, - "end": 297, + "start": 450, + "end": 451, "loc": { "start": { - "line": 6, + "line": 20, "column": 64 }, "end": { - "line": 6, + "line": 20, "column": 65 } } @@ -2492,15 +2630,15 @@ "binop": null, "updateContext": null }, - "start": 297, - "end": 298, + "start": 451, + "end": 452, "loc": { "start": { - "line": 6, + "line": 20, "column": 65 }, "end": { - "line": 6, + "line": 20, "column": 66 } } @@ -2518,15 +2656,15 @@ "binop": null, "updateContext": null }, - "start": 299, - "end": 302, + "start": 453, + "end": 456, "loc": { "start": { - "line": 6, + "line": 20, "column": 67 }, "end": { - "line": 6, + "line": 20, "column": 70 } } @@ -2544,15 +2682,15 @@ "binop": null }, "value": "args", - "start": 302, - "end": 306, + "start": 456, + "end": 460, "loc": { "start": { - "line": 6, + "line": 20, "column": 70 }, "end": { - "line": 6, + "line": 20, "column": 74 } } @@ -2570,15 +2708,15 @@ "binop": null, "updateContext": null }, - "start": 306, - "end": 307, + "start": 460, + "end": 461, "loc": { "start": { - "line": 6, + "line": 20, "column": 74 }, "end": { - "line": 6, + "line": 20, "column": 75 } } @@ -2596,15 +2734,15 @@ "binop": null }, "value": "slice", - "start": 307, - "end": 312, + "start": 461, + "end": 466, "loc": { "start": { - "line": 6, + "line": 20, "column": 75 }, "end": { - "line": 6, + "line": 20, "column": 80 } } @@ -2621,15 +2759,15 @@ "postfix": false, "binop": null }, - "start": 312, - "end": 313, + "start": 466, + "end": 467, "loc": { "start": { - "line": 6, + "line": 20, "column": 80 }, "end": { - "line": 6, + "line": 20, "column": 81 } } @@ -2648,15 +2786,15 @@ "updateContext": null }, "value": 1, - "start": 313, - "end": 314, + "start": 467, + "end": 468, "loc": { "start": { - "line": 6, + "line": 20, "column": 81 }, "end": { - "line": 6, + "line": 20, "column": 82 } } @@ -2673,15 +2811,15 @@ "postfix": false, "binop": null }, - "start": 314, - "end": 315, + "start": 468, + "end": 469, "loc": { "start": { - "line": 6, + "line": 20, "column": 82 }, "end": { - "line": 6, + "line": 20, "column": 83 } } @@ -2698,15 +2836,15 @@ "postfix": false, "binop": null }, - "start": 315, - "end": 316, + "start": 469, + "end": 470, "loc": { "start": { - "line": 6, + "line": 20, "column": 83 }, "end": { - "line": 6, + "line": 20, "column": 84 } } @@ -2724,15 +2862,15 @@ "binop": null, "updateContext": null }, - "start": 316, - "end": 317, + "start": 470, + "end": 471, "loc": { "start": { - "line": 6, + "line": 20, "column": 84 }, "end": { - "line": 6, + "line": 20, "column": 85 } } @@ -2750,15 +2888,15 @@ "binop": null }, "value": "apply", - "start": 317, - "end": 322, + "start": 471, + "end": 476, "loc": { "start": { - "line": 6, + "line": 20, "column": 85 }, "end": { - "line": 6, + "line": 20, "column": 90 } } @@ -2775,15 +2913,15 @@ "postfix": false, "binop": null }, - "start": 322, - "end": 323, + "start": 476, + "end": 477, "loc": { "start": { - "line": 6, + "line": 20, "column": 90 }, "end": { - "line": 6, + "line": 20, "column": 91 } } @@ -2803,15 +2941,15 @@ "updateContext": null }, "value": "this", - "start": 323, - "end": 327, + "start": 477, + "end": 481, "loc": { "start": { - "line": 6, + "line": 20, "column": 91 }, "end": { - "line": 6, + "line": 20, "column": 95 } } @@ -2829,15 +2967,15 @@ "binop": null, "updateContext": null }, - "start": 327, - "end": 328, + "start": 481, + "end": 482, "loc": { "start": { - "line": 6, + "line": 20, "column": 95 }, "end": { - "line": 6, + "line": 20, "column": 96 } } @@ -2855,15 +2993,15 @@ "binop": null }, "value": "invokeArgs", - "start": 329, - "end": 339, + "start": 483, + "end": 493, "loc": { "start": { - "line": 6, + "line": 20, "column": 97 }, "end": { - "line": 6, + "line": 20, "column": 107 } } @@ -2880,15 +3018,15 @@ "postfix": false, "binop": null }, - "start": 339, - "end": 340, + "start": 493, + "end": 494, "loc": { "start": { - "line": 6, + "line": 20, "column": 107 }, "end": { - "line": 6, + "line": 20, "column": 108 } } @@ -2906,15 +3044,15 @@ "binop": null, "updateContext": null }, - "start": 340, - "end": 341, + "start": 494, + "end": 495, "loc": { "start": { - "line": 6, + "line": 20, "column": 108 }, "end": { - "line": 6, + "line": 20, "column": 109 } } @@ -2931,15 +3069,15 @@ "postfix": false, "binop": null }, - "start": 350, - "end": 351, + "start": 504, + "end": 505, "loc": { "start": { - "line": 7, + "line": 21, "column": 8 }, "end": { - "line": 7, + "line": 21, "column": 9 } } @@ -2957,15 +3095,15 @@ "binop": null, "updateContext": null }, - "start": 351, - "end": 352, + "start": 505, + "end": 506, "loc": { "start": { - "line": 7, + "line": 21, "column": 9 }, "end": { - "line": 7, + "line": 21, "column": 10 } } @@ -2982,15 +3120,15 @@ "postfix": false, "binop": null }, - "start": 357, - "end": 358, + "start": 511, + "end": 512, "loc": { "start": { - "line": 8, + "line": 22, "column": 4 }, "end": { - "line": 8, + "line": 22, "column": 5 } } @@ -3007,15 +3145,15 @@ "postfix": false, "binop": null }, - "start": 359, - "end": 360, + "start": 513, + "end": 514, "loc": { "start": { - "line": 9, + "line": 23, "column": 0 }, "end": { - "line": 9, + "line": 23, "column": 1 } } @@ -3033,15 +3171,15 @@ "binop": null, "updateContext": null }, - "start": 361, - "end": 361, + "start": 515, + "end": 515, "loc": { "start": { - "line": 10, + "line": 24, "column": 0 }, "end": { - "line": 10, + "line": 24, "column": 0 } } diff --git a/docs/ast/test/wrap.spec.js.json b/docs/ast/source/applicators/PartialValueApplicator.ts.json similarity index 56% rename from docs/ast/test/wrap.spec.js.json rename to docs/ast/source/applicators/PartialValueApplicator.ts.json index 9f609f5..de389ec 100644 --- a/docs/ast/test/wrap.spec.js.json +++ b/docs/ast/source/applicators/PartialValueApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 524, + "end": 696, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 21, + "line": 30, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 524, + "end": 696, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 21, + "line": 30, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 33, + "end": 42, "loc": { "start": { "line": 1, @@ -39,68 +39,85 @@ }, "end": { "line": 1, - "column": 33 + "column": 42 } }, "specifiers": [ { - "type": "ImportNamespaceSpecifier", - "start": 7, + "type": "ImportSpecifier", + "start": 9, "end": 19, "loc": { "start": { "line": 1, - "column": 7 + "column": 9 }, "end": { "line": 1, "column": 19 } }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 19, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 19 + }, + "identifierName": "Applicator" + }, + "name": "Applicator" + }, "local": { "type": "Identifier", - "start": 12, + "start": 9, "end": 19, "loc": { "start": { "line": 1, - "column": 12 + "column": 9 }, "end": { "line": 1, "column": 19 }, - "identifierName": "tslib_1" + "identifierName": "Applicator" }, - "name": "tslib_1" + "name": "Applicator" } } ], "source": { "type": "StringLiteral", - "start": 25, - "end": 32, + "start": 27, + "end": 41, "loc": { "start": { "line": 1, - "column": 25 + "column": 27 }, "end": { "line": 1, - "column": 32 + "column": 41 } }, "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" + "rawValue": "./Applicator", + "raw": "'./Applicator'" }, - "value": "tslib" + "value": "./Applicator" } }, { "type": "ImportDeclaration", - "start": 34, - "end": 64, + "start": 43, + "end": 86, "loc": { "start": { "line": 2, @@ -108,14 +125,14 @@ }, "end": { "line": 2, - "column": 30 + "column": 43 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 43, - "end": 49, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -123,13 +140,13 @@ }, "end": { "line": 2, - "column": 15 + "column": 24 } }, "imported": { "type": "Identifier", - "start": 43, - "end": 49, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -137,16 +154,16 @@ }, "end": { "line": 2, - "column": 15 + "column": 24 }, - "identifierName": "expect" + "identifierName": "resolveFunction" }, - "name": "expect" + "name": "resolveFunction" }, "local": { "type": "Identifier", - "start": 43, - "end": 49, + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -154,1227 +171,1395 @@ }, "end": { "line": 2, - "column": 15 + "column": 24 }, - "identifierName": "expect" + "identifierName": "resolveFunction" }, - "name": "expect" + "name": "resolveFunction" } } ], "source": { "type": "StringLiteral", - "start": 57, - "end": 63, + "start": 75, + "end": 85, "loc": { "start": { "line": 2, - "column": 23 + "column": 32 }, "end": { "line": 2, - "column": 29 + "column": 42 } }, "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 + "rawValue": "../utils", + "raw": "'../utils'" }, - "end": { - "line": 3, - "column": 30 - } + "value": "../utils" }, - "specifiers": [ + "trailingComments": [ { - "type": "ImportSpecifier", - "start": 74, - "end": 78, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", + "start": 87, + "end": 126, "loc": { "start": { "line": 3, - "column": 9 + "column": 0 }, "end": { - "line": 3, - "column": 13 + "line": 8, + "column": 3 } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Wrap" - }, - "name": "Wrap" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Wrap" - }, - "name": "Wrap" } } - ], - "source": { - "type": "StringLiteral", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - }, - "extra": { - "rawValue": "./wrap", - "raw": "'./wrap'" - }, - "value": "./wrap" - } + ] }, { - "type": "ExpressionStatement", - "start": 96, - "end": 523, + "type": "ExportNamedDeclaration", + "start": 127, + "end": 695, "loc": { "start": { - "line": 4, + "line": 9, "column": 0 }, "end": { - "line": 20, - "column": 3 + "line": 29, + "column": 1 } }, - "expression": { - "type": "CallExpression", - "start": 96, - "end": 522, + "specifiers": [], + "source": null, + "declaration": { + "type": "ClassDeclaration", + "start": 134, + "end": 695, "loc": { "start": { - "line": 4, - "column": 0 + "line": 9, + "column": 7 }, "end": { - "line": 20, - "column": 2 + "line": 29, + "column": 1 } }, - "callee": { + "id": { "type": "Identifier", - "start": 96, - "end": 104, + "start": 140, + "end": 162, "loc": { "start": { - "line": 4, - "column": 0 + "line": 9, + "column": 13 }, "end": { - "line": 4, - "column": 8 + "line": 9, + "column": 35 }, - "identifierName": "describe" + "identifierName": "PartialValueApplicator" }, - "name": "describe" + "name": "PartialValueApplicator", + "leadingComments": null }, - "arguments": [ - { - "type": "StringLiteral", - "start": 105, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 15 - } + "superClass": { + "type": "Identifier", + "start": 171, + "end": 181, + "loc": { + "start": { + "line": 9, + "column": 44 }, - "extra": { - "rawValue": "wrap", - "raw": "'wrap'" + "end": { + "line": 9, + "column": 54 }, - "value": "wrap" + "identifierName": "Applicator" }, - { - "type": "ArrowFunctionExpression", - "start": 113, - "end": 521, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 20, - "column": 1 - } + "name": "Applicator" + }, + "body": { + "type": "ClassBody", + "start": 182, + "end": 695, + "loc": { + "start": { + "line": 9, + "column": 55 }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 119, - "end": 521, + "end": { + "line": 29, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 302, + "end": 693, "loc": { "start": { - "line": 4, - "column": 23 + "line": 18, + "column": 4 }, "end": { - "line": 20, - "column": 1 + "line": 28, + "column": 5 } }, - "body": [ + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 302, + "end": 307, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 9 + }, + "identifierName": "apply" + }, + "name": "apply", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 125, - "end": 519, + "type": "ObjectPattern", + "start": 308, + "end": 352, "loc": { "start": { - "line": 5, - "column": 4 + "line": 18, + "column": 10 }, "end": { - "line": 19, - "column": 7 + "line": 18, + "column": 54 } }, - "expression": { - "type": "CallExpression", - "start": 125, - "end": 518, - "loc": { - "start": { - "line": 5, - "column": 4 + "properties": [ + { + "type": "ObjectProperty", + "start": 310, + "end": 314, + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 16 + } }, - "end": { - "line": 19, - "column": 6 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 310, + "end": 314, + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 16 + }, + "identifierName": "args" + }, + "name": "args" + }, + "value": { + "type": "Identifier", + "start": 310, + "end": 314, + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 16 + }, + "identifierName": "args" + }, + "name": "args" + }, + "extra": { + "shorthand": true } }, - "callee": { - "type": "Identifier", - "start": 125, - "end": 127, + { + "type": "ObjectProperty", + "start": 316, + "end": 322, "loc": { "start": { - "line": 5, - "column": 4 + "line": 18, + "column": 18 }, "end": { - "line": 5, - "column": 6 + "line": 18, + "column": 24 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 316, + "end": 322, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 24 + }, + "identifierName": "target" + }, + "name": "target" + }, + "value": { + "type": "Identifier", + "start": 316, + "end": 322, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 24 + }, + "identifierName": "target" }, - "identifierName": "it" + "name": "target" }, - "name": "it" + "extra": { + "shorthand": true + } }, - "arguments": [ - { - "type": "StringLiteral", - "start": 128, - "end": 154, + { + "type": "ObjectProperty", + "start": 324, + "end": 329, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 31 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 324, + "end": 329, "loc": { "start": { - "line": 5, - "column": 7 + "line": 18, + "column": 26 }, "end": { - "line": 5, - "column": 33 - } + "line": 18, + "column": 31 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 324, + "end": 329, + "loc": { + "start": { + "line": 18, + "column": 26 + }, + "end": { + "line": 18, + "column": 31 + }, + "identifierName": "value" + }, + "name": "value" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 331, + "end": 350, + "loc": { + "start": { + "line": 18, + "column": 33 }, - "extra": { - "rawValue": "should wrap the function", - "raw": "'should wrap the function'" + "end": { + "line": 18, + "column": 52 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 331, + "end": 337, + "loc": { + "start": { + "line": 18, + "column": 33 + }, + "end": { + "line": 18, + "column": 39 + }, + "identifierName": "config" }, - "value": "should wrap the function" + "name": "config" }, - { - "type": "ArrowFunctionExpression", - "start": 156, - "end": 517, + "value": { + "type": "ObjectPattern", + "start": 339, + "end": 350, "loc": { "start": { - "line": 5, - "column": 35 + "line": 18, + "column": 41 }, "end": { - "line": 19, - "column": 5 + "line": 18, + "column": 52 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 341, + "end": 348, + "loc": { + "start": { + "line": 18, + "column": 43 + }, + "end": { + "line": 18, + "column": 50 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 341, + "end": 348, + "loc": { + "start": { + "line": 18, + "column": 43 + }, + "end": { + "line": 18, + "column": 50 + }, + "identifierName": "execute" + }, + "name": "execute" + }, + "value": { + "type": "Identifier", + "start": 341, + "end": 348, + "loc": { + "start": { + "line": 18, + "column": 43 + }, + "end": { + "line": 18, + "column": 50 + }, + "identifierName": "execute" + }, + "name": "execute" + }, + "extra": { + "shorthand": true + } } + ] + } + } + ] + } + ], + "body": { + "type": "BlockStatement", + "start": 354, + "end": 693, + "loc": { + "start": { + "line": 18, + "column": 56 + }, + "end": { + "line": 28, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 364, + "end": 687, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 27, + "column": 10 + } + }, + "argument": { + "type": "FunctionExpression", + "start": 371, + "end": 686, + "loc": { + "start": { + "line": 19, + "column": 15 }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 162, - "end": 517, + "end": { + "line": 27, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 381, + "end": 394, "loc": { "start": { - "line": 5, - "column": 41 + "line": 19, + "column": 25 }, "end": { "line": 19, - "column": 5 + "column": 38 } }, - "body": [ - { - "type": "ClassDeclaration", - "start": 172, - "end": 330, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } + "argument": { + "type": "Identifier", + "start": 384, + "end": 394, + "loc": { + "start": { + "line": 19, + "column": 28 + }, + "end": { + "line": 19, + "column": 38 }, - "id": { - "type": "Identifier", - "start": 178, - "end": 185, + "identifierName": "invokeArgs" + }, + "name": "invokeArgs" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 396, + "end": 686, + "loc": { + "start": { + "line": 19, + "column": 40 + }, + "end": { + "line": 27, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 410, + "end": 425, + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 27 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 414, + "end": 424, "loc": { "start": { - "line": 6, - "column": 14 + "line": 20, + "column": 16 }, "end": { - "line": 6, - "column": 21 + "line": 20, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 414, + "end": 416, + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 18 + }, + "identifierName": "fn" }, - "identifierName": "MyClass" + "name": "fn" }, - "name": "MyClass" + "init": { + "type": "Identifier", + "start": 419, + "end": 424, + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 20, + "column": 26 + }, + "identifierName": "value" + }, + "name": "value" + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 438, + "end": 455, + "loc": { + "start": { + "line": 21, + "column": 12 }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 186, - "end": 330, + "end": { + "line": 21, + "column": 29 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 442, + "end": 454, "loc": { "start": { - "line": 6, - "column": 22 + "line": 21, + "column": 16 }, "end": { - "line": 13, - "column": 9 + "line": 21, + "column": 28 } }, - "body": [ - { - "type": "ClassMethod", - "start": 200, - "end": 260, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } + "id": { + "type": "Identifier", + "start": 442, + "end": 450, + "loc": { + "start": { + "line": 21, + "column": 16 }, - "computed": false, - "key": { - "type": "Identifier", - "start": 200, - "end": 203, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - }, - "identifierName": "fn2" - }, - "name": "fn2" + "end": { + "line": 21, + "column": 24 }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 204, - "end": 206, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - { - "type": "Identifier", - "start": 208, - "end": 211, - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 23 - }, - "identifierName": "arg" - }, - "name": "arg" - } - ], - "body": { - "type": "BlockStatement", - "start": 213, - "end": 260, - "loc": { - "start": { - "line": 7, - "column": 25 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 231, - "end": 246, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 31 - } - }, - "argument": { - "type": "CallExpression", - "start": 238, - "end": 245, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 238, - "end": 240, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "arguments": [ - { - "type": "Identifier", - "start": 241, - "end": 244, - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 8, - "column": 29 - }, - "identifierName": "arg" - }, - "name": "arg" - } - ] - } - } - ], - "directives": [] - } + "identifierName": "argIndex" }, - { - "type": "ClassMethod", - "start": 273, - "end": 320, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 273, - "end": 275, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" + "name": "argIndex" + }, + "init": { + "type": "NumericLiteral", + "start": 453, + "end": 454, + "loc": { + "start": { + "line": 21, + "column": 27 }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 276, - "end": 277, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 16 - }, - "identifierName": "n" - }, - "name": "n" - } - ], - "body": { - "type": "BlockStatement", - "start": 279, - "end": 320, - "loc": { - "start": { - "line": 10, - "column": 18 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 297, - "end": 306, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 25 - } - }, - "argument": { - "type": "Identifier", - "start": 304, - "end": 305, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 24 - }, - "identifierName": "n" - }, - "name": "n" - } - } - ], - "directives": [] + "end": { + "line": 21, + "column": 28 } - } - ] + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 468, + "end": 595, + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 25, + "column": 13 } }, - { - "type": "ExpressionStatement", - "start": 339, - "end": 426, + "test": { + "type": "UnaryExpression", + "start": 472, + "end": 487, "loc": { "start": { - "line": 14, - "column": 8 + "line": 22, + "column": 16 }, "end": { - "line": 16, - "column": 43 + "line": 22, + "column": 31 } }, - "expression": { + "operator": "!", + "prefix": true, + "argument": { "type": "CallExpression", - "start": 339, - "end": 425, + "start": 473, + "end": 487, "loc": { "start": { - "line": 14, - "column": 8 + "line": 22, + "column": 17 }, "end": { - "line": 16, - "column": 42 + "line": 22, + "column": 31 } }, "callee": { - "type": "MemberExpression", - "start": 339, - "end": 357, + "type": "Identifier", + "start": 473, + "end": 483, "loc": { "start": { - "line": 14, - "column": 8 + "line": 22, + "column": 17 }, "end": { - "line": 14, - "column": 26 - } + "line": 22, + "column": 27 + }, + "identifierName": "isFunction" }, - "object": { + "name": "isFunction" + }, + "arguments": [ + { "type": "Identifier", - "start": 339, - "end": 346, + "start": 484, + "end": 486, "loc": { "start": { - "line": 14, - "column": 8 + "line": 22, + "column": 28 }, "end": { - "line": 14, - "column": 15 + "line": 22, + "column": 30 }, - "identifierName": "tslib_1" + "identifierName": "fn" }, - "name": "tslib_1" + "name": "fn" + } + ] + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 489, + "end": 595, + "loc": { + "start": { + "line": 22, + "column": 33 + }, + "end": { + "line": 25, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 507, + "end": 551, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 60 + } }, - "property": { - "type": "Identifier", - "start": 347, - "end": 357, + "expression": { + "type": "AssignmentExpression", + "start": 507, + "end": 550, "loc": { "start": { - "line": 14, + "line": 23, "column": 16 }, "end": { - "line": 14, - "column": 26 - }, - "identifierName": "__decorate" + "line": 23, + "column": 59 + } }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 358, - "end": 392, - "loc": { - "start": { - "line": 14, - "column": 27 + "operator": "=", + "left": { + "type": "Identifier", + "start": 507, + "end": 509, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 18 + }, + "identifierName": "fn" }, - "end": { - "line": 16, - "column": 9 - } + "name": "fn" }, - "elements": [ - { - "type": "CallExpression", - "start": 372, - "end": 382, + "right": { + "type": "CallExpression", + "start": 512, + "end": 550, + "loc": { + "start": { + "line": 23, + "column": 21 + }, + "end": { + "line": 23, + "column": 59 + } + }, + "callee": { + "type": "Identifier", + "start": 512, + "end": 527, "loc": { "start": { - "line": 15, - "column": 12 + "line": 23, + "column": 21 }, "end": { - "line": 15, - "column": 22 - } + "line": 23, + "column": 36 + }, + "identifierName": "resolveFunction" }, - "callee": { - "type": "Identifier", - "start": 372, - "end": 376, + "name": "resolveFunction" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 528, + "end": 535, "loc": { "start": { - "line": 15, - "column": 12 + "line": 23, + "column": 37 }, "end": { - "line": 15, - "column": 16 + "line": 23, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 528, + "end": 532, + "loc": { + "start": { + "line": 23, + "column": 37 + }, + "end": { + "line": 23, + "column": 41 + }, + "identifierName": "args" }, - "identifierName": "Wrap" + "name": "args" }, - "name": "Wrap" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 377, - "end": 381, + "property": { + "type": "NumericLiteral", + "start": 533, + "end": 534, "loc": { "start": { - "line": 15, - "column": 17 + "line": 23, + "column": 42 }, "end": { - "line": 15, - "column": 21 + "line": 23, + "column": 43 } }, "extra": { - "rawValue": "fn", - "raw": "'fn'" + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + { + "type": "ThisExpression", + "start": 537, + "end": 541, + "loc": { + "start": { + "line": 23, + "column": 46 }, - "value": "fn" + "end": { + "line": 23, + "column": 50 + } } - ] - } - ] + }, + { + "type": "Identifier", + "start": 543, + "end": 549, + "loc": { + "start": { + "line": 23, + "column": 52 + }, + "end": { + "line": 23, + "column": 58 + }, + "identifierName": "target" + }, + "name": "target" + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 568, + "end": 581, + "loc": { + "start": { + "line": 24, + "column": 16 + }, + "end": { + "line": 24, + "column": 29 + } }, - { - "type": "MemberExpression", - "start": 394, - "end": 411, + "expression": { + "type": "AssignmentExpression", + "start": 568, + "end": 580, "loc": { "start": { - "line": 16, - "column": 11 + "line": 24, + "column": 16 }, "end": { - "line": 16, + "line": 24, "column": 28 } }, - "object": { + "operator": "=", + "left": { "type": "Identifier", - "start": 394, - "end": 401, + "start": 568, + "end": 576, "loc": { "start": { - "line": 16, - "column": 11 + "line": 24, + "column": 16 }, "end": { - "line": 16, - "column": 18 + "line": 24, + "column": 24 }, - "identifierName": "MyClass" + "identifierName": "argIndex" }, - "name": "MyClass" + "name": "argIndex" }, - "property": { - "type": "Identifier", - "start": 402, - "end": 411, + "right": { + "type": "NumericLiteral", + "start": 579, + "end": 580, "loc": { "start": { - "line": 16, - "column": 19 + "line": 24, + "column": 27 }, "end": { - "line": 16, + "line": 24, "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 413, - "end": 418, - "loc": { - "start": { - "line": 16, - "column": 30 + } }, - "end": { - "line": 16, - "column": 35 - } - }, - "extra": { - "rawValue": "fn2", - "raw": "\"fn2\"" - }, - "value": "fn2" - }, - { - "type": "NullLiteral", - "start": 420, - "end": 424, - "loc": { - "start": { - "line": 16, - "column": 37 + "extra": { + "rawValue": 1, + "raw": "1" }, - "end": { - "line": 16, - "column": 41 - } + "value": 1 } } - ] + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 608, + "end": 676, + "loc": { + "start": { + "line": 26, + "column": 12 + }, + "end": { + "line": 26, + "column": 80 } }, - { - "type": "VariableDeclaration", - "start": 435, - "end": 465, + "argument": { + "type": "CallExpression", + "start": 615, + "end": 675, "loc": { "start": { - "line": 17, - "column": 8 + "line": 26, + "column": 19 }, "end": { - "line": 17, - "column": 38 + "line": 26, + "column": 79 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 441, - "end": 464, + "callee": { + "type": "MemberExpression", + "start": 615, + "end": 657, + "loc": { + "start": { + "line": 26, + "column": 19 + }, + "end": { + "line": 26, + "column": 61 + } + }, + "object": { + "type": "CallExpression", + "start": 615, + "end": 651, "loc": { "start": { - "line": 17, - "column": 14 + "line": 26, + "column": 19 }, "end": { - "line": 17, - "column": 37 + "line": 26, + "column": 55 } }, - "id": { + "callee": { "type": "Identifier", - "start": 441, - "end": 448, + "start": 615, + "end": 622, "loc": { "start": { - "line": 17, - "column": 14 + "line": 26, + "column": 19 }, "end": { - "line": 17, - "column": 21 + "line": 26, + "column": 26 }, - "identifierName": "myClass" + "identifierName": "execute" }, - "name": "myClass" + "name": "execute" }, - "init": { - "type": "NewExpression", - "start": 451, - "end": 464, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "callee": { + "arguments": [ + { "type": "Identifier", - "start": 455, - "end": 462, + "start": 623, + "end": 625, "loc": { "start": { - "line": 17, - "column": 28 + "line": 26, + "column": 27 }, "end": { - "line": 17, - "column": 35 + "line": 26, + "column": 29 }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 474, - "end": 511, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 474, - "end": 510, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 474, - "end": 506, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 474, - "end": 500, - "loc": { - "start": { - "line": 18, - "column": 8 + "identifierName": "fn" }, - "end": { - "line": 18, - "column": 34 - } + "name": "fn" }, - "object": { - "type": "CallExpression", - "start": 474, - "end": 497, + { + "type": "SpreadElement", + "start": 627, + "end": 650, "loc": { "start": { - "line": 18, - "column": 8 + "line": 26, + "column": 31 }, "end": { - "line": 18, - "column": 31 + "line": 26, + "column": 54 } }, - "callee": { - "type": "Identifier", - "start": 474, - "end": 480, + "argument": { + "type": "CallExpression", + "start": 630, + "end": 650, "loc": { "start": { - "line": 18, - "column": 8 + "line": 26, + "column": 34 }, "end": { - "line": 18, - "column": 14 - }, - "identifierName": "expect" + "line": 26, + "column": 54 + } }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 481, - "end": 496, + "callee": { + "type": "MemberExpression", + "start": 630, + "end": 640, "loc": { "start": { - "line": 18, - "column": 15 + "line": 26, + "column": 34 }, "end": { - "line": 18, - "column": 30 + "line": 26, + "column": 44 } }, - "callee": { - "type": "MemberExpression", - "start": 481, - "end": 492, + "object": { + "type": "Identifier", + "start": 630, + "end": 634, "loc": { "start": { - "line": 18, - "column": 15 + "line": 26, + "column": 34 }, "end": { - "line": 18, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 481, - "end": 488, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 22 - }, - "identifierName": "myClass" + "line": 26, + "column": 38 }, - "name": "myClass" + "identifierName": "args" }, - "property": { - "type": "Identifier", - "start": 489, - "end": 492, - "loc": { - "start": { - "line": 18, - "column": 23 - }, - "end": { - "line": 18, - "column": 26 - }, - "identifierName": "fn2" + "name": "args" + }, + "property": { + "type": "Identifier", + "start": 635, + "end": 640, + "loc": { + "start": { + "line": 26, + "column": 39 }, - "name": "fn2" + "end": { + "line": 26, + "column": 44 + }, + "identifierName": "slice" }, - "computed": false + "name": "slice" }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 493, - "end": 495, - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 18, - "column": 29 - } + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 641, + "end": 649, + "loc": { + "start": { + "line": 26, + "column": 45 }, - "extra": { - "rawValue": 50, - "raw": "50" + "end": { + "line": 26, + "column": 53 }, - "value": 50 - } - ] - } - ] + "identifierName": "argIndex" + }, + "name": "argIndex" + } + ] + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 652, + "end": 657, + "loc": { + "start": { + "line": 26, + "column": 56 }, - "property": { - "type": "Identifier", - "start": 498, - "end": 500, - "loc": { - "start": { - "line": 18, - "column": 32 - }, - "end": { - "line": 18, - "column": 34 - }, - "identifierName": "to" - }, - "name": "to" + "end": { + "line": 26, + "column": 61 }, - "computed": false + "identifierName": "apply" }, - "property": { - "type": "Identifier", - "start": 501, - "end": 506, - "loc": { - "start": { - "line": 18, - "column": 35 - }, - "end": { - "line": 18, - "column": 40 - }, - "identifierName": "equal" + "name": "apply" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 658, + "end": 662, + "loc": { + "start": { + "line": 26, + "column": 62 }, - "name": "equal" - }, - "computed": false + "end": { + "line": 26, + "column": 66 + } + } }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 507, - "end": 509, - "loc": { - "start": { - "line": 18, - "column": 41 - }, - "end": { - "line": 18, - "column": 43 - } + { + "type": "Identifier", + "start": 664, + "end": 674, + "loc": { + "start": { + "line": 26, + "column": 68 }, - "extra": { - "rawValue": 50, - "raw": "50" + "end": { + "line": 26, + "column": 78 }, - "value": 50 - } - ] - } + "identifierName": "invokeArgs" + }, + "name": "invokeArgs" + } + ] } - ], - "directives": [] - } + } + ], + "directives": [] } - ], - "_esdocTestId": 100, - "_esdocTestName": "it100" + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 7\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 188, + "end": 297, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } } } - ], - "directives": [] + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } } } ], - "_esdocTestId": 99, - "_esdocTestName": "describe99" - } + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 7\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 188, + "end": 297, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1399,18 +1584,16 @@ }, { "type": { - "label": "*", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", "start": 7, "end": 8, "loc": { @@ -1436,9 +1619,9 @@ "postfix": false, "binop": null }, - "value": "as", + "value": "Applicator", "start": 9, - "end": 11, + "end": 19, "loc": { "start": { "line": 1, @@ -1446,15 +1629,15 @@ }, "end": { "line": 1, - "column": 11 + "column": 19 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1462,17 +1645,16 @@ "postfix": false, "binop": null }, - "value": "tslib_1", - "start": 12, - "end": 19, + "start": 20, + "end": 21, "loc": { "start": { "line": 1, - "column": 12 + "column": 20 }, "end": { "line": 1, - "column": 19 + "column": 21 } } }, @@ -1489,16 +1671,16 @@ "binop": null }, "value": "from", - "start": 20, - "end": 24, + "start": 22, + "end": 26, "loc": { "start": { "line": 1, - "column": 20 + "column": 22 }, "end": { "line": 1, - "column": 24 + "column": 26 } } }, @@ -1515,17 +1697,17 @@ "binop": null, "updateContext": null }, - "value": "tslib", - "start": 25, - "end": 32, + "value": "./Applicator", + "start": 27, + "end": 41, "loc": { "start": { "line": 1, - "column": 25 + "column": 27 }, "end": { "line": 1, - "column": 32 + "column": 41 } } }, @@ -1542,16 +1724,16 @@ "binop": null, "updateContext": null }, - "start": 32, - "end": 33, + "start": 41, + "end": 42, "loc": { "start": { "line": 1, - "column": 32 + "column": 41 }, "end": { "line": 1, - "column": 33 + "column": 42 } } }, @@ -1560,7 +1742,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1570,8 +1752,8 @@ "updateContext": null }, "value": "import", - "start": 34, - "end": 40, + "start": 43, + "end": 49, "loc": { "start": { "line": 2, @@ -1595,8 +1777,8 @@ "postfix": false, "binop": null }, - "start": 41, - "end": 42, + "start": 50, + "end": 51, "loc": { "start": { "line": 2, @@ -1620,9 +1802,9 @@ "postfix": false, "binop": null }, - "value": "expect", - "start": 43, - "end": 49, + "value": "resolveFunction", + "start": 52, + "end": 67, "loc": { "start": { "line": 2, @@ -1630,7 +1812,7 @@ }, "end": { "line": 2, - "column": 15 + "column": 24 } } }, @@ -1646,16 +1828,16 @@ "postfix": false, "binop": null }, - "start": 50, - "end": 51, + "start": 68, + "end": 69, "loc": { "start": { "line": 2, - "column": 16 + "column": 25 }, "end": { "line": 2, - "column": 17 + "column": 26 } } }, @@ -1672,16 +1854,16 @@ "binop": null }, "value": "from", - "start": 52, - "end": 56, + "start": 70, + "end": 74, "loc": { "start": { "line": 2, - "column": 18 + "column": 27 }, "end": { "line": 2, - "column": 22 + "column": 31 } } }, @@ -1698,17 +1880,17 @@ "binop": null, "updateContext": null }, - "value": "chai", - "start": 57, - "end": 63, + "value": "../utils", + "start": 75, + "end": 85, "loc": { "start": { "line": 2, - "column": 23 + "column": 32 }, "end": { "line": 2, - "column": 29 + "column": 42 } } }, @@ -1725,101 +1907,39 @@ "binop": null, "updateContext": null }, - "start": 63, - "end": 64, + "start": 85, + "end": 86, "loc": { "start": { "line": 2, - "column": 29 + "column": 42 }, "end": { "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 + "column": 43 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Wrap", - "start": 74, - "end": 78, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n ", + "start": 87, + "end": 126, "loc": { "start": { "line": 3, - "column": 9 + "column": 0 }, "end": { - "line": 3, - "column": 13 + "line": 8, + "column": 3 } } }, { "type": { - "label": "}", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1827,50 +1947,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 79, - "end": 80, + "value": "export", + "start": 127, + "end": 133, "loc": { "start": { - "line": 3, - "column": 14 + "line": 9, + "column": 0 }, "end": { - "line": 3, - "column": 15 + "line": 9, + "column": 6 } } }, { "type": { - "label": "name", + "label": "class", + "keyword": "class", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 81, - "end": 85, + "value": "class", + "start": 134, + "end": 139, "loc": { "start": { - "line": 3, - "column": 16 + "line": 9, + "column": 7 }, "end": { - "line": 3, - "column": 20 + "line": 9, + "column": 12 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1878,26 +2002,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./wrap", - "start": 86, - "end": 94, + "value": "PartialValueApplicator", + "start": 140, + "end": 162, "loc": { "start": { - "line": 3, - "column": 21 + "line": 9, + "column": 13 }, "end": { - "line": 3, - "column": 29 + "line": 9, + "column": 35 } } }, { "type": { - "label": ";", + "label": "extends", + "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1908,16 +2032,17 @@ "binop": null, "updateContext": null }, - "start": 94, - "end": 95, + "value": "extends", + "start": 163, + "end": 170, "loc": { "start": { - "line": 3, - "column": 29 + "line": 9, + "column": 36 }, "end": { - "line": 3, - "column": 30 + "line": 9, + "column": 43 } } }, @@ -1933,23 +2058,23 @@ "postfix": false, "binop": null }, - "value": "describe", - "start": 96, - "end": 104, + "value": "Applicator", + "start": 171, + "end": 181, "loc": { "start": { - "line": 4, - "column": 0 + "line": 9, + "column": 44 }, "end": { - "line": 4, - "column": 8 + "line": 9, + "column": 54 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1959,22 +2084,38 @@ "postfix": false, "binop": null }, - "start": 104, - "end": 105, + "start": 182, + "end": 183, "loc": { "start": { - "line": 4, - "column": 8 + "line": 9, + "column": 55 }, "end": { - "line": 4, - "column": 9 + "line": 9, + "column": 56 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 7\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 188, + "end": 297, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1982,52 +2123,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "wrap", - "start": 105, - "end": 111, + "value": "apply", + "start": 302, + "end": 307, "loc": { "start": { - "line": 4, - "column": 9 + "line": 18, + "column": 4 }, "end": { - "line": 4, - "column": 15 + "line": 18, + "column": 9 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 111, - "end": 112, + "start": 307, + "end": 308, "loc": { "start": { - "line": 4, - "column": 15 + "line": 18, + "column": 9 }, "end": { - "line": 4, - "column": 16 + "line": 18, + "column": 10 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -2037,24 +2176,24 @@ "postfix": false, "binop": null }, - "start": 113, - "end": 114, + "start": 308, + "end": 309, "loc": { "start": { - "line": 4, - "column": 17 + "line": 18, + "column": 10 }, "end": { - "line": 4, - "column": 18 + "line": 18, + "column": 11 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2062,22 +2201,23 @@ "postfix": false, "binop": null }, - "start": 114, - "end": 115, + "value": "args", + "start": 310, + "end": 314, "loc": { "start": { - "line": 4, - "column": 18 + "line": 18, + "column": 12 }, "end": { - "line": 4, - "column": 19 + "line": 18, + "column": 16 } } }, { "type": { - "label": "=>", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2088,23 +2228,23 @@ "binop": null, "updateContext": null }, - "start": 116, - "end": 118, + "start": 314, + "end": 315, "loc": { "start": { - "line": 4, - "column": 20 + "line": 18, + "column": 16 }, "end": { - "line": 4, - "column": 22 + "line": 18, + "column": 17 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2113,49 +2253,50 @@ "postfix": false, "binop": null }, - "start": 119, - "end": 120, + "value": "target", + "start": 316, + "end": 322, "loc": { "start": { - "line": 4, - "column": 23 + "line": 18, + "column": 18 }, "end": { - "line": 4, + "line": 18, "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "it", - "start": 125, - "end": 127, + "start": 322, + "end": 323, "loc": { "start": { - "line": 5, - "column": 4 + "line": 18, + "column": 24 }, "end": { - "line": 5, - "column": 6 + "line": 18, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2164,24 +2305,25 @@ "postfix": false, "binop": null }, - "start": 127, - "end": 128, + "value": "value", + "start": 324, + "end": 329, "loc": { "start": { - "line": 5, - "column": 6 + "line": 18, + "column": 26 }, "end": { - "line": 5, - "column": 7 + "line": 18, + "column": 31 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2190,76 +2332,76 @@ "binop": null, "updateContext": null }, - "value": "should wrap the function", - "start": 128, - "end": 154, + "start": 329, + "end": 330, "loc": { "start": { - "line": 5, - "column": 7 + "line": 18, + "column": 31 }, "end": { - "line": 5, - "column": 33 + "line": 18, + "column": 32 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 154, - "end": 155, + "value": "config", + "start": 331, + "end": 337, "loc": { "start": { - "line": 5, + "line": 18, "column": 33 }, "end": { - "line": 5, - "column": 34 + "line": 18, + "column": 39 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 156, - "end": 157, + "start": 337, + "end": 338, "loc": { "start": { - "line": 5, - "column": 35 + "line": 18, + "column": 39 }, "end": { - "line": 5, - "column": 36 + "line": 18, + "column": 40 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2267,50 +2409,50 @@ "postfix": false, "binop": null }, - "start": 157, - "end": 158, + "start": 339, + "end": 340, "loc": { "start": { - "line": 5, - "column": 36 + "line": 18, + "column": 41 }, "end": { - "line": 5, - "column": 37 + "line": 18, + "column": 42 } } }, { "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 159, - "end": 161, + "value": "execute", + "start": 341, + "end": 348, "loc": { "start": { - "line": 5, - "column": 38 + "line": 18, + "column": 43 }, "end": { - "line": 5, - "column": 40 + "line": 18, + "column": 50 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2318,23 +2460,22 @@ "postfix": false, "binop": null }, - "start": 162, - "end": 163, + "start": 349, + "end": 350, "loc": { "start": { - "line": 5, - "column": 41 + "line": 18, + "column": 51 }, "end": { - "line": 5, - "column": 42 + "line": 18, + "column": 52 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2342,28 +2483,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 172, - "end": 177, + "start": 351, + "end": 352, "loc": { "start": { - "line": 6, - "column": 8 + "line": 18, + "column": 53 }, "end": { - "line": 6, - "column": 13 + "line": 18, + "column": 54 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2371,17 +2510,16 @@ "postfix": false, "binop": null }, - "value": "MyClass", - "start": 178, - "end": 185, + "start": 352, + "end": 353, "loc": { "start": { - "line": 6, - "column": 14 + "line": 18, + "column": 54 }, "end": { - "line": 6, - "column": 21 + "line": 18, + "column": 55 } } }, @@ -2397,49 +2535,52 @@ "postfix": false, "binop": null }, - "start": 186, - "end": 187, + "start": 354, + "end": 355, "loc": { "start": { - "line": 6, - "column": 22 + "line": 18, + "column": 56 }, "end": { - "line": 6, - "column": 23 + "line": 18, + "column": 57 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fn2", - "start": 200, - "end": 203, + "value": "return", + "start": 364, + "end": 370, "loc": { "start": { - "line": 7, - "column": 12 + "line": 19, + "column": 8 }, "end": { - "line": 7, - "column": 15 + "line": 19, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "function", + "keyword": "function", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2448,23 +2589,24 @@ "postfix": false, "binop": null }, - "start": 203, - "end": 204, + "value": "function", + "start": 371, + "end": 379, "loc": { "start": { - "line": 7, + "line": 19, "column": 15 }, "end": { - "line": 7, - "column": 16 + "line": 19, + "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2473,23 +2615,22 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 204, - "end": 206, + "start": 380, + "end": 381, "loc": { "start": { - "line": 7, - "column": 16 + "line": 19, + "column": 24 }, "end": { - "line": 7, - "column": 18 + "line": 19, + "column": 25 } } }, { "type": { - "label": ",", + "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2500,16 +2641,16 @@ "binop": null, "updateContext": null }, - "start": 206, - "end": 207, + "start": 381, + "end": 384, "loc": { "start": { - "line": 7, - "column": 18 + "line": 19, + "column": 25 }, "end": { - "line": 7, - "column": 19 + "line": 19, + "column": 28 } } }, @@ -2525,17 +2666,17 @@ "postfix": false, "binop": null }, - "value": "arg", - "start": 208, - "end": 211, + "value": "invokeArgs", + "start": 384, + "end": 394, "loc": { "start": { - "line": 7, - "column": 20 + "line": 19, + "column": 28 }, "end": { - "line": 7, - "column": 23 + "line": 19, + "column": 38 } } }, @@ -2551,16 +2692,16 @@ "postfix": false, "binop": null }, - "start": 211, - "end": 212, + "start": 394, + "end": 395, "loc": { "start": { - "line": 7, - "column": 23 + "line": 19, + "column": 38 }, "end": { - "line": 7, - "column": 24 + "line": 19, + "column": 39 } } }, @@ -2576,24 +2717,24 @@ "postfix": false, "binop": null }, - "start": 213, - "end": 214, + "start": 396, + "end": 397, "loc": { "start": { - "line": 7, - "column": 25 + "line": 19, + "column": 40 }, "end": { - "line": 7, - "column": 26 + "line": 19, + "column": 41 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2603,17 +2744,17 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 231, - "end": 237, + "value": "let", + "start": 410, + "end": 413, "loc": { "start": { - "line": 8, - "column": 16 + "line": 20, + "column": 12 }, "end": { - "line": 8, - "column": 22 + "line": 20, + "column": 15 } } }, @@ -2630,41 +2771,43 @@ "binop": null }, "value": "fn", - "start": 238, - "end": 240, + "start": 414, + "end": 416, "loc": { "start": { - "line": 8, - "column": 23 + "line": 20, + "column": 16 }, "end": { - "line": 8, - "column": 25 + "line": 20, + "column": 18 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 240, - "end": 241, + "value": "=", + "start": 417, + "end": 418, "loc": { "start": { - "line": 8, - "column": 25 + "line": 20, + "column": 19 }, "end": { - "line": 8, - "column": 26 + "line": 20, + "column": 20 } } }, @@ -2680,42 +2823,17 @@ "postfix": false, "binop": null }, - "value": "arg", - "start": 241, - "end": 244, - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 244, - "end": 245, + "value": "value", + "start": 419, + "end": 424, "loc": { "start": { - "line": 8, - "column": 29 + "line": 20, + "column": 21 }, "end": { - "line": 8, - "column": 30 + "line": 20, + "column": 26 } } }, @@ -2732,22 +2850,23 @@ "binop": null, "updateContext": null }, - "start": 245, - "end": 246, + "start": 424, + "end": 425, "loc": { "start": { - "line": 8, - "column": 30 + "line": 20, + "column": 26 }, "end": { - "line": 8, - "column": 31 + "line": 20, + "column": 27 } } }, { "type": { - "label": "}", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2755,18 +2874,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 259, - "end": 260, + "value": "let", + "start": 438, + "end": 441, "loc": { "start": { - "line": 9, + "line": 21, "column": 12 }, "end": { - "line": 9, - "column": 13 + "line": 21, + "column": 15 } } }, @@ -2782,48 +2903,50 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 273, - "end": 275, + "value": "argIndex", + "start": 442, + "end": 450, "loc": { "start": { - "line": 10, - "column": 12 + "line": 21, + "column": 16 }, "end": { - "line": 10, - "column": 14 + "line": 21, + "column": 24 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 275, - "end": 276, + "value": "=", + "start": 451, + "end": 452, "loc": { "start": { - "line": 10, - "column": 14 + "line": 21, + "column": 25 }, "end": { - "line": 10, - "column": 15 + "line": 21, + "column": 26 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2831,77 +2954,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "n", - "start": 276, - "end": 277, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 277, - "end": 278, + "value": 0, + "start": 453, + "end": 454, "loc": { "start": { - "line": 10, - "column": 16 + "line": 21, + "column": 27 }, "end": { - "line": 10, - "column": 17 + "line": 21, + "column": 28 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 279, - "end": 280, + "start": 454, + "end": 455, "loc": { "start": { - "line": 10, - "column": 18 + "line": 21, + "column": 28 }, "end": { - "line": 10, - "column": 19 + "line": 21, + "column": 29 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2911,24 +3011,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 297, - "end": 303, + "value": "if", + "start": 468, + "end": 470, "loc": { "start": { - "line": 11, - "column": 16 + "line": 22, + "column": 12 }, "end": { - "line": 11, - "column": 22 + "line": 22, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2937,51 +3037,51 @@ "postfix": false, "binop": null }, - "value": "n", - "start": 304, - "end": 305, + "start": 471, + "end": 472, "loc": { "start": { - "line": 11, - "column": 23 + "line": 22, + "column": 15 }, "end": { - "line": 11, - "column": 24 + "line": 22, + "column": 16 } } }, { "type": { - "label": ";", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 305, - "end": 306, + "value": "!", + "start": 472, + "end": 473, "loc": { "start": { - "line": 11, - "column": 24 + "line": 22, + "column": 16 }, "end": { - "line": 11, - "column": 25 + "line": 22, + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2989,24 +3089,25 @@ "postfix": false, "binop": null }, - "start": 319, - "end": 320, + "value": "isFunction", + "start": 473, + "end": 483, "loc": { "start": { - "line": 12, - "column": 12 + "line": 22, + "column": 17 }, "end": { - "line": 12, - "column": 13 + "line": 22, + "column": 27 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3014,16 +3115,16 @@ "postfix": false, "binop": null }, - "start": 329, - "end": 330, + "start": 483, + "end": 484, "loc": { "start": { - "line": 13, - "column": 8 + "line": 22, + "column": 27 }, "end": { - "line": 13, - "column": 9 + "line": 22, + "column": 28 } } }, @@ -3039,23 +3140,23 @@ "postfix": false, "binop": null }, - "value": "tslib_1", - "start": 339, - "end": 346, + "value": "fn", + "start": 484, + "end": 486, "loc": { "start": { - "line": 14, - "column": 8 + "line": 22, + "column": 28 }, "end": { - "line": 14, - "column": 15 + "line": 22, + "column": 30 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3063,27 +3164,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 346, - "end": 347, + "start": 486, + "end": 487, "loc": { "start": { - "line": 14, - "column": 15 + "line": 22, + "column": 30 }, "end": { - "line": 14, - "column": 16 + "line": 22, + "column": 31 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3091,23 +3191,22 @@ "postfix": false, "binop": null }, - "value": "__decorate", - "start": 347, - "end": 357, + "start": 487, + "end": 488, "loc": { "start": { - "line": 14, - "column": 16 + "line": 22, + "column": 31 }, "end": { - "line": 14, - "column": 26 + "line": 22, + "column": 32 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -3117,75 +3216,76 @@ "postfix": false, "binop": null }, - "start": 357, - "end": 358, + "start": 489, + "end": 490, "loc": { "start": { - "line": 14, - "column": 26 + "line": 22, + "column": 33 }, "end": { - "line": 14, - "column": 27 + "line": 22, + "column": 34 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 358, - "end": 359, + "value": "fn", + "start": 507, + "end": 509, "loc": { "start": { - "line": 14, - "column": 27 + "line": 23, + "column": 16 }, "end": { - "line": 14, - "column": 28 + "line": 23, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Wrap", - "start": 372, - "end": 376, + "value": "=", + "start": 510, + "end": 511, "loc": { "start": { - "line": 15, - "column": 12 + "line": 23, + "column": 19 }, "end": { - "line": 15, - "column": 16 + "line": 23, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3194,51 +3294,50 @@ "postfix": false, "binop": null }, - "start": 376, - "end": 377, + "value": "resolveFunction", + "start": 512, + "end": 527, "loc": { "start": { - "line": 15, - "column": 16 + "line": 23, + "column": 21 }, "end": { - "line": 15, - "column": 17 + "line": 23, + "column": 36 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "fn", - "start": 377, - "end": 381, + "start": 527, + "end": 528, "loc": { "start": { - "line": 15, - "column": 17 + "line": 23, + "column": 36 }, "end": { - "line": 15, - "column": 21 + "line": 23, + "column": 37 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3246,24 +3345,25 @@ "postfix": false, "binop": null }, - "start": 381, - "end": 382, + "value": "args", + "start": 528, + "end": 532, "loc": { "start": { - "line": 15, - "column": 21 + "line": 23, + "column": 37 }, "end": { - "line": 15, - "column": 22 + "line": 23, + "column": 41 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3272,24 +3372,24 @@ "binop": null, "updateContext": null }, - "start": 391, - "end": 392, + "start": 532, + "end": 533, "loc": { "start": { - "line": 16, - "column": 8 + "line": 23, + "column": 41 }, "end": { - "line": 16, - "column": 9 + "line": 23, + "column": 42 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3298,49 +3398,50 @@ "binop": null, "updateContext": null }, - "start": 392, - "end": 393, + "value": 0, + "start": 533, + "end": 534, "loc": { "start": { - "line": 16, - "column": 9 + "line": 23, + "column": 42 }, "end": { - "line": 16, - "column": 10 + "line": 23, + "column": 43 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "MyClass", - "start": 394, - "end": 401, + "start": 534, + "end": 535, "loc": { "start": { - "line": 16, - "column": 11 + "line": 23, + "column": 43 }, "end": { - "line": 16, - "column": 18 + "line": 23, + "column": 44 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3350,22 +3451,23 @@ "binop": null, "updateContext": null }, - "start": 401, - "end": 402, + "start": 535, + "end": 536, "loc": { "start": { - "line": 16, - "column": 18 + "line": 23, + "column": 44 }, "end": { - "line": 16, - "column": 19 + "line": 23, + "column": 45 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3373,19 +3475,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prototype", - "start": 402, - "end": 411, + "value": "this", + "start": 537, + "end": 541, "loc": { "start": { - "line": 16, - "column": 19 + "line": 23, + "column": 46 }, "end": { - "line": 16, - "column": 28 + "line": 23, + "column": 50 } } }, @@ -3402,22 +3505,22 @@ "binop": null, "updateContext": null }, - "start": 411, - "end": 412, + "start": 541, + "end": 542, "loc": { "start": { - "line": 16, - "column": 28 + "line": 23, + "column": 50 }, "end": { - "line": 16, - "column": 29 + "line": 23, + "column": 51 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3425,55 +3528,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "fn2", - "start": 413, - "end": 418, + "value": "target", + "start": 543, + "end": 549, "loc": { "start": { - "line": 16, - "column": 30 + "line": 23, + "column": 52 }, "end": { - "line": 16, - "column": 35 + "line": 23, + "column": 58 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 418, - "end": 419, + "start": 549, + "end": 550, "loc": { "start": { - "line": 16, - "column": 35 + "line": 23, + "column": 58 }, "end": { - "line": 16, - "column": 36 + "line": 23, + "column": 59 } } }, { "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3482,25 +3582,24 @@ "binop": null, "updateContext": null }, - "value": "null", - "start": 420, - "end": 424, + "start": 550, + "end": 551, "loc": { "start": { - "line": 16, - "column": 37 + "line": 23, + "column": 59 }, "end": { - "line": 16, - "column": 41 + "line": 23, + "column": 60 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3508,51 +3607,52 @@ "postfix": false, "binop": null }, - "start": 424, - "end": 425, + "value": "argIndex", + "start": 568, + "end": 576, "loc": { "start": { - "line": 16, - "column": 41 + "line": 24, + "column": 16 }, "end": { - "line": 16, - "column": 42 + "line": 24, + "column": 24 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 425, - "end": 426, + "value": "=", + "start": 577, + "end": 578, "loc": { "start": { - "line": 16, - "column": 42 + "line": 24, + "column": 25 }, "end": { - "line": 16, - "column": 43 + "line": 24, + "column": 26 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3561,79 +3661,77 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 435, - "end": 440, + "value": 1, + "start": 579, + "end": 580, "loc": { "start": { - "line": 17, - "column": 8 + "line": 24, + "column": 27 }, "end": { - "line": 17, - "column": 13 + "line": 24, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "myClass", - "start": 441, - "end": 448, + "start": 580, + "end": 581, "loc": { "start": { - "line": 17, - "column": 14 + "line": 24, + "column": 28 }, "end": { - "line": 17, - "column": 21 + "line": 24, + "column": 29 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 449, - "end": 450, + "start": 594, + "end": 595, "loc": { "start": { - "line": 17, - "column": 22 + "line": 25, + "column": 12 }, "end": { - "line": 17, - "column": 23 + "line": 25, + "column": 13 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3642,17 +3740,17 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 451, - "end": 454, + "value": "return", + "start": 608, + "end": 614, "loc": { "start": { - "line": 17, - "column": 24 + "line": 26, + "column": 12 }, "end": { - "line": 17, - "column": 27 + "line": 26, + "column": 18 } } }, @@ -3668,17 +3766,17 @@ "postfix": false, "binop": null }, - "value": "MyClass", - "start": 455, - "end": 462, + "value": "execute", + "start": 615, + "end": 622, "loc": { "start": { - "line": 17, - "column": 28 + "line": 26, + "column": 19 }, "end": { - "line": 17, - "column": 35 + "line": 26, + "column": 26 } } }, @@ -3694,24 +3792,24 @@ "postfix": false, "binop": null }, - "start": 462, - "end": 463, + "start": 622, + "end": 623, "loc": { "start": { - "line": 17, - "column": 35 + "line": 26, + "column": 26 }, "end": { - "line": 17, - "column": 36 + "line": 26, + "column": 27 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3719,22 +3817,23 @@ "postfix": false, "binop": null }, - "start": 463, - "end": 464, + "value": "fn", + "start": 623, + "end": 625, "loc": { "start": { - "line": 17, - "column": 36 + "line": 26, + "column": 27 }, "end": { - "line": 17, - "column": 37 + "line": 26, + "column": 29 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3745,67 +3844,42 @@ "binop": null, "updateContext": null }, - "start": 464, - "end": 465, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 474, - "end": 480, + "start": 625, + "end": 626, "loc": { "start": { - "line": 18, - "column": 8 + "line": 26, + "column": 29 }, "end": { - "line": 18, - "column": 14 + "line": 26, + "column": 30 } } }, { "type": { - "label": "(", + "label": "...", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 480, - "end": 481, + "start": 627, + "end": 630, "loc": { "start": { - "line": 18, - "column": 14 + "line": 26, + "column": 31 }, "end": { - "line": 18, - "column": 15 + "line": 26, + "column": 34 } } }, @@ -3821,17 +3895,17 @@ "postfix": false, "binop": null }, - "value": "myClass", - "start": 481, - "end": 488, + "value": "args", + "start": 630, + "end": 634, "loc": { "start": { - "line": 18, - "column": 15 + "line": 26, + "column": 34 }, "end": { - "line": 18, - "column": 22 + "line": 26, + "column": 38 } } }, @@ -3848,16 +3922,16 @@ "binop": null, "updateContext": null }, - "start": 488, - "end": 489, + "start": 634, + "end": 635, "loc": { "start": { - "line": 18, - "column": 22 + "line": 26, + "column": 38 }, "end": { - "line": 18, - "column": 23 + "line": 26, + "column": 39 } } }, @@ -3873,17 +3947,17 @@ "postfix": false, "binop": null }, - "value": "fn2", - "start": 489, - "end": 492, + "value": "slice", + "start": 635, + "end": 640, "loc": { "start": { - "line": 18, - "column": 23 + "line": 26, + "column": 39 }, "end": { - "line": 18, - "column": 26 + "line": 26, + "column": 44 } } }, @@ -3899,22 +3973,22 @@ "postfix": false, "binop": null }, - "start": 492, - "end": 493, + "start": 640, + "end": 641, "loc": { "start": { - "line": 18, - "column": 26 + "line": 26, + "column": 44 }, "end": { - "line": 18, - "column": 27 + "line": 26, + "column": 45 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3922,20 +3996,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 50, - "start": 493, - "end": 495, + "value": "argIndex", + "start": 641, + "end": 649, "loc": { "start": { - "line": 18, - "column": 27 + "line": 26, + "column": 45 }, "end": { - "line": 18, - "column": 29 + "line": 26, + "column": 53 } } }, @@ -3951,16 +4024,16 @@ "postfix": false, "binop": null }, - "start": 495, - "end": 496, + "start": 649, + "end": 650, "loc": { "start": { - "line": 18, - "column": 29 + "line": 26, + "column": 53 }, "end": { - "line": 18, - "column": 30 + "line": 26, + "column": 54 } } }, @@ -3976,16 +4049,16 @@ "postfix": false, "binop": null }, - "start": 496, - "end": 497, + "start": 650, + "end": 651, "loc": { "start": { - "line": 18, - "column": 30 + "line": 26, + "column": 54 }, "end": { - "line": 18, - "column": 31 + "line": 26, + "column": 55 } } }, @@ -4002,16 +4075,16 @@ "binop": null, "updateContext": null }, - "start": 497, - "end": 498, + "start": 651, + "end": 652, "loc": { "start": { - "line": 18, - "column": 31 + "line": 26, + "column": 55 }, "end": { - "line": 18, - "column": 32 + "line": 26, + "column": 56 } } }, @@ -4027,49 +4100,49 @@ "postfix": false, "binop": null }, - "value": "to", - "start": 498, - "end": 500, + "value": "apply", + "start": 652, + "end": 657, "loc": { "start": { - "line": 18, - "column": 32 + "line": 26, + "column": 56 }, "end": { - "line": 18, - "column": 34 + "line": 26, + "column": 61 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 500, - "end": 501, + "start": 657, + "end": 658, "loc": { "start": { - "line": 18, - "column": 34 + "line": 26, + "column": 61 }, "end": { - "line": 18, - "column": 35 + "line": 26, + "column": 62 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4077,50 +4150,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "equal", - "start": 501, - "end": 506, + "value": "this", + "start": 658, + "end": 662, "loc": { "start": { - "line": 18, - "column": 35 + "line": 26, + "column": 62 }, "end": { - "line": 18, - "column": 40 + "line": 26, + "column": 66 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 506, - "end": 507, + "start": 662, + "end": 663, "loc": { "start": { - "line": 18, - "column": 40 + "line": 26, + "column": 66 }, "end": { - "line": 18, - "column": 41 + "line": 26, + "column": 67 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4128,20 +4203,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 50, - "start": 507, - "end": 509, + "value": "invokeArgs", + "start": 664, + "end": 674, "loc": { "start": { - "line": 18, - "column": 41 + "line": 26, + "column": 68 }, "end": { - "line": 18, - "column": 43 + "line": 26, + "column": 78 } } }, @@ -4157,16 +4231,16 @@ "postfix": false, "binop": null }, - "start": 509, - "end": 510, + "start": 674, + "end": 675, "loc": { "start": { - "line": 18, - "column": 43 + "line": 26, + "column": 78 }, "end": { - "line": 18, - "column": 44 + "line": 26, + "column": 79 } } }, @@ -4183,16 +4257,16 @@ "binop": null, "updateContext": null }, - "start": 510, - "end": 511, + "start": 675, + "end": 676, "loc": { "start": { - "line": 18, - "column": 44 + "line": 26, + "column": 79 }, "end": { - "line": 18, - "column": 45 + "line": 26, + "column": 80 } } }, @@ -4208,41 +4282,16 @@ "postfix": false, "binop": null }, - "start": 516, - "end": 517, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 517, - "end": 518, + "start": 685, + "end": 686, "loc": { "start": { - "line": 19, - "column": 5 + "line": 27, + "column": 8 }, "end": { - "line": 19, - "column": 6 + "line": 27, + "column": 9 } } }, @@ -4259,16 +4308,16 @@ "binop": null, "updateContext": null }, - "start": 518, - "end": 519, + "start": 686, + "end": 687, "loc": { "start": { - "line": 19, - "column": 6 + "line": 27, + "column": 9 }, "end": { - "line": 19, - "column": 7 + "line": 27, + "column": 10 } } }, @@ -4284,22 +4333,22 @@ "postfix": false, "binop": null }, - "start": 520, - "end": 521, + "start": 692, + "end": 693, "loc": { "start": { - "line": 20, - "column": 0 + "line": 28, + "column": 4 }, "end": { - "line": 20, - "column": 1 + "line": 28, + "column": 5 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4309,42 +4358,16 @@ "postfix": false, "binop": null }, - "start": 521, - "end": 522, - "loc": { - "start": { - "line": 20, - "column": 1 - }, - "end": { - "line": 20, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 522, - "end": 523, + "start": 694, + "end": 695, "loc": { "start": { - "line": 20, - "column": 2 + "line": 29, + "column": 0 }, "end": { - "line": 20, - "column": 3 + "line": 29, + "column": 1 } } }, @@ -4361,15 +4384,15 @@ "binop": null, "updateContext": null }, - "start": 524, - "end": 524, + "start": 696, + "end": 696, "loc": { "start": { - "line": 21, + "line": 30, "column": 0 }, "end": { - "line": 21, + "line": 30, "column": 0 } } diff --git a/docs/ast/source/applicators/PartialedApplicator.js.json b/docs/ast/source/applicators/PartialedApplicator.ts.json similarity index 74% rename from docs/ast/source/applicators/PartialedApplicator.js.json rename to docs/ast/source/applicators/PartialedApplicator.ts.json index 9ae5e92..c38f092 100644 --- a/docs/ast/source/applicators/PartialedApplicator.js.json +++ b/docs/ast/source/applicators/PartialedApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 238, + "end": 461, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 22, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 238, + "end": 461, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 22, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 33, + "end": 42, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 33 + "column": 42 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 16, + "end": 19, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 16 + "column": 19 } }, "imported": { "type": "Identifier", "start": 9, - "end": 16, + "end": 19, "loc": { "start": { "line": 1, @@ -68,16 +68,16 @@ }, "end": { "line": 1, - "column": 16 + "column": 19 }, - "identifierName": "partial" + "identifierName": "Applicator" }, - "name": "partial" + "name": "Applicator" }, "local": { "type": "Identifier", "start": 9, - "end": 16, + "end": 19, "loc": { "start": { "line": 1, @@ -85,132 +85,64 @@ }, "end": { "line": 1, - "column": 16 + "column": 19 }, - "identifierName": "partial" + "identifierName": "Applicator" }, - "name": "partial" + "name": "Applicator" } } ], "source": { "type": "StringLiteral", - "start": 24, - "end": 32, + "start": 27, + "end": 41, "loc": { "start": { "line": 1, - "column": 24 + "column": 27 }, "end": { "line": 1, - "column": 32 + "column": 41 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 76, - "loc": { - "start": { - "line": 2, - "column": 0 + "rawValue": "./Applicator", + "raw": "'./Applicator'" }, - "end": { - "line": 2, - "column": 42 - } + "value": "./Applicator" }, - "specifiers": [ + "trailingComments": [ { - "type": "ImportSpecifier", + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", "start": 43, - "end": 53, + "end": 82, "loc": { "start": { "line": 2, - "column": 9 + "column": 0 }, "end": { - "line": 2, - "column": 19 + "line": 7, + "column": 3 } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 19 - }, - "identifierName": "Applicator" - }, - "name": "Applicator" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 19 - }, - "identifierName": "Applicator" - }, - "name": "Applicator" } } - ], - "source": { - "type": "StringLiteral", - "start": 61, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 27 - }, - "end": { - "line": 2, - "column": 41 - } - }, - "extra": { - "rawValue": "./Applicator", - "raw": "'./Applicator'" - }, - "value": "./Applicator" - } + ] }, { "type": "ExportNamedDeclaration", - "start": 77, - "end": 237, + "start": 83, + "end": 460, "loc": { "start": { - "line": 3, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 21, "column": 1 } }, @@ -218,46 +150,47 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 84, - "end": 237, + "start": 90, + "end": 460, "loc": { "start": { - "line": 3, + "line": 8, "column": 7 }, "end": { - "line": 7, + "line": 21, "column": 1 } }, "id": { "type": "Identifier", - "start": 90, - "end": 109, + "start": 96, + "end": 115, "loc": { "start": { - "line": 3, + "line": 8, "column": 13 }, "end": { - "line": 3, + "line": 8, "column": 32 }, "identifierName": "PartialedApplicator" }, - "name": "PartialedApplicator" + "name": "PartialedApplicator", + "leadingComments": null }, "superClass": { "type": "Identifier", - "start": 118, - "end": 128, + "start": 124, + "end": 134, "loc": { "start": { - "line": 3, + "line": 8, "column": 41 }, "end": { - "line": 3, + "line": 8, "column": 51 }, "identifierName": "Applicator" @@ -266,52 +199,53 @@ }, "body": { "type": "ClassBody", - "start": 129, - "end": 237, + "start": 135, + "end": 460, "loc": { "start": { - "line": 3, + "line": 8, "column": 52 }, "end": { - "line": 7, + "line": 21, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 135, - "end": 235, + "start": 255, + "end": 458, "loc": { "start": { - "line": 4, + "line": 17, "column": 4 }, "end": { - "line": 6, + "line": 20, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 135, - "end": 140, + "start": 255, + "end": 260, "loc": { "start": { - "line": 4, + "line": 17, "column": 4 }, "end": { - "line": 4, + "line": 17, "column": 9 }, "identifierName": "apply" }, - "name": "apply" + "name": "apply", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -320,30 +254,30 @@ "params": [ { "type": "ObjectPattern", - "start": 141, - "end": 177, + "start": 261, + "end": 297, "loc": { "start": { - "line": 4, + "line": 17, "column": 10 }, "end": { - "line": 4, + "line": 17, "column": 46 } }, "properties": [ { "type": "ObjectProperty", - "start": 143, - "end": 162, + "start": 263, + "end": 282, "loc": { "start": { - "line": 4, + "line": 17, "column": 12 }, "end": { - "line": 4, + "line": 17, "column": 31 } }, @@ -352,15 +286,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 143, - "end": 149, + "start": 263, + "end": 269, "loc": { "start": { - "line": 4, + "line": 17, "column": 12 }, "end": { - "line": 4, + "line": 17, "column": 18 }, "identifierName": "config" @@ -369,30 +303,30 @@ }, "value": { "type": "ObjectPattern", - "start": 151, - "end": 162, + "start": 271, + "end": 282, "loc": { "start": { - "line": 4, + "line": 17, "column": 20 }, "end": { - "line": 4, + "line": 17, "column": 31 } }, "properties": [ { "type": "ObjectProperty", - "start": 153, - "end": 160, + "start": 273, + "end": 280, "loc": { "start": { - "line": 4, + "line": 17, "column": 22 }, "end": { - "line": 4, + "line": 17, "column": 29 } }, @@ -401,15 +335,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 153, - "end": 160, + "start": 273, + "end": 280, "loc": { "start": { - "line": 4, + "line": 17, "column": 22 }, "end": { - "line": 4, + "line": 17, "column": 29 }, "identifierName": "execute" @@ -418,15 +352,15 @@ }, "value": { "type": "Identifier", - "start": 153, - "end": 160, + "start": 273, + "end": 280, "loc": { "start": { - "line": 4, + "line": 17, "column": 22 }, "end": { - "line": 4, + "line": 17, "column": 29 }, "identifierName": "execute" @@ -442,15 +376,15 @@ }, { "type": "ObjectProperty", - "start": 164, - "end": 169, + "start": 284, + "end": 289, "loc": { "start": { - "line": 4, + "line": 17, "column": 33 }, "end": { - "line": 4, + "line": 17, "column": 38 } }, @@ -459,15 +393,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 164, - "end": 169, + "start": 284, + "end": 289, "loc": { "start": { - "line": 4, + "line": 17, "column": 33 }, "end": { - "line": 4, + "line": 17, "column": 38 }, "identifierName": "value" @@ -476,15 +410,15 @@ }, "value": { "type": "Identifier", - "start": 164, - "end": 169, + "start": 284, + "end": 289, "loc": { "start": { - "line": 4, + "line": 17, "column": 33 }, "end": { - "line": 4, + "line": 17, "column": 38 }, "identifierName": "value" @@ -497,15 +431,15 @@ }, { "type": "ObjectProperty", - "start": 171, - "end": 175, + "start": 291, + "end": 295, "loc": { "start": { - "line": 4, + "line": 17, "column": 40 }, "end": { - "line": 4, + "line": 17, "column": 44 } }, @@ -514,15 +448,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 171, - "end": 175, + "start": 291, + "end": 295, "loc": { "start": { - "line": 4, + "line": 17, "column": 40 }, "end": { - "line": 4, + "line": 17, "column": 44 }, "identifierName": "args" @@ -531,15 +465,15 @@ }, "value": { "type": "Identifier", - "start": 171, - "end": 175, + "start": 291, + "end": 295, "loc": { "start": { - "line": 4, + "line": 17, "column": 40 }, "end": { - "line": 4, + "line": 17, "column": 44 }, "identifierName": "args" @@ -555,76 +489,77 @@ ], "body": { "type": "BlockStatement", - "start": 179, - "end": 235, + "start": 299, + "end": 458, "loc": { "start": { - "line": 4, + "line": 17, "column": 48 }, "end": { - "line": 6, + "line": 20, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 189, - "end": 229, + "start": 412, + "end": 452, "loc": { "start": { - "line": 5, + "line": 19, "column": 8 }, "end": { - "line": 5, + "line": 19, "column": 48 } }, "argument": { "type": "CallExpression", - "start": 196, - "end": 228, + "start": 419, + "end": 451, "loc": { "start": { - "line": 5, + "line": 19, "column": 15 }, "end": { - "line": 5, + "line": 19, "column": 47 } }, "callee": { "type": "Identifier", - "start": 196, - "end": 203, + "start": 419, + "end": 426, "loc": { "start": { - "line": 5, + "line": 19, "column": 15 }, "end": { - "line": 5, + "line": 19, "column": 22 }, "identifierName": "partial" }, - "name": "partial" + "name": "partial", + "leadingComments": null }, "arguments": [ { "type": "Identifier", - "start": 204, - "end": 211, + "start": 427, + "end": 434, "loc": { "start": { - "line": 5, + "line": 19, "column": 23 }, "end": { - "line": 5, + "line": 19, "column": 30 }, "identifierName": "execute" @@ -633,15 +568,15 @@ }, { "type": "Identifier", - "start": 213, - "end": 218, + "start": 436, + "end": 441, "loc": { "start": { - "line": 5, + "line": 19, "column": 32 }, "end": { - "line": 5, + "line": 19, "column": 37 }, "identifierName": "value" @@ -650,29 +585,29 @@ }, { "type": "SpreadElement", - "start": 220, - "end": 227, + "start": 443, + "end": 450, "loc": { "start": { - "line": 5, + "line": 19, "column": 39 }, "end": { - "line": 5, + "line": 19, "column": 46 } }, "argument": { "type": "Identifier", - "start": 223, - "end": 227, + "start": 446, + "end": 450, "loc": { "start": { - "line": 5, + "line": 19, "column": 42 }, "end": { - "line": 5, + "line": 19, "column": 46 }, "identifierName": "args" @@ -680,213 +615,151 @@ "name": "args" } } - ] - } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " The `partial` function is over-constrained and generics locks proper use of rest parameter.", + "start": 309, + "end": 403, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 102 + } + } + } + ] } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 141, + "end": 250, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] } ] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], - "tokens": [ + "comments": [ { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", + "start": 43, + "end": 82, "loc": { "start": { - "line": 1, + "line": 2, "column": 0 }, "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "partial", - "start": 9, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 19, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 23 + "line": 7, + "column": 3 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 24, - "end": 32, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 141, + "end": 250, "loc": { "start": { - "line": 1, - "column": 24 + "line": 9, + "column": 4 }, "end": { - "line": 1, - "column": 32 + "line": 16, + "column": 7 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, + "type": "CommentLine", + "value": " The `partial` function is over-constrained and generics locks proper use of rest parameter.", + "start": 309, + "end": 403, "loc": { "start": { - "line": 1, - "column": 32 + "line": 18, + "column": 8 }, "end": { - "line": 1, - "column": 33 + "line": 18, + "column": 102 } } - }, + } + ], + "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -896,15 +769,15 @@ "updateContext": null }, "value": "import", - "start": 34, - "end": 40, + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, + "line": 1, "column": 6 } } @@ -921,15 +794,15 @@ "postfix": false, "binop": null }, - "start": 41, - "end": 42, + "start": 7, + "end": 8, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 2, + "line": 1, "column": 8 } } @@ -947,15 +820,15 @@ "binop": null }, "value": "Applicator", - "start": 43, - "end": 53, + "start": 9, + "end": 19, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 19 } } @@ -972,15 +845,15 @@ "postfix": false, "binop": null }, - "start": 54, - "end": 55, + "start": 20, + "end": 21, "loc": { "start": { - "line": 2, + "line": 1, "column": 20 }, "end": { - "line": 2, + "line": 1, "column": 21 } } @@ -998,15 +871,15 @@ "binop": null }, "value": "from", - "start": 56, - "end": 60, + "start": 22, + "end": 26, "loc": { "start": { - "line": 2, + "line": 1, "column": 22 }, "end": { - "line": 2, + "line": 1, "column": 26 } } @@ -1025,15 +898,15 @@ "updateContext": null }, "value": "./Applicator", - "start": 61, - "end": 75, + "start": 27, + "end": 41, "loc": { "start": { - "line": 2, + "line": 1, "column": 27 }, "end": { - "line": 2, + "line": 1, "column": 41 } } @@ -1051,19 +924,35 @@ "binop": null, "updateContext": null }, - "start": 75, - "end": 76, + "start": 41, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 41 }, "end": { - "line": 2, + "line": 1, "column": 42 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -1079,15 +968,15 @@ "updateContext": null }, "value": "export", - "start": 77, - "end": 83, + "start": 83, + "end": 89, "loc": { "start": { - "line": 3, + "line": 8, "column": 0 }, "end": { - "line": 3, + "line": 8, "column": 6 } } @@ -1107,15 +996,15 @@ "updateContext": null }, "value": "class", - "start": 84, - "end": 89, + "start": 90, + "end": 95, "loc": { "start": { - "line": 3, + "line": 8, "column": 7 }, "end": { - "line": 3, + "line": 8, "column": 12 } } @@ -1133,15 +1022,15 @@ "binop": null }, "value": "PartialedApplicator", - "start": 90, - "end": 109, + "start": 96, + "end": 115, "loc": { "start": { - "line": 3, + "line": 8, "column": 13 }, "end": { - "line": 3, + "line": 8, "column": 32 } } @@ -1161,15 +1050,15 @@ "updateContext": null }, "value": "extends", - "start": 110, - "end": 117, + "start": 116, + "end": 123, "loc": { "start": { - "line": 3, + "line": 8, "column": 33 }, "end": { - "line": 3, + "line": 8, "column": 40 } } @@ -1187,15 +1076,15 @@ "binop": null }, "value": "Applicator", - "start": 118, - "end": 128, + "start": 124, + "end": 134, "loc": { "start": { - "line": 3, + "line": 8, "column": 41 }, "end": { - "line": 3, + "line": 8, "column": 51 } } @@ -1212,19 +1101,35 @@ "postfix": false, "binop": null }, - "start": 129, - "end": 130, + "start": 135, + "end": 136, "loc": { "start": { - "line": 3, + "line": 8, "column": 52 }, "end": { - "line": 3, + "line": 8, "column": 53 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 6\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 141, + "end": 250, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -1238,15 +1143,15 @@ "binop": null }, "value": "apply", - "start": 135, - "end": 140, + "start": 255, + "end": 260, "loc": { "start": { - "line": 4, + "line": 17, "column": 4 }, "end": { - "line": 4, + "line": 17, "column": 9 } } @@ -1263,15 +1168,15 @@ "postfix": false, "binop": null }, - "start": 140, - "end": 141, + "start": 260, + "end": 261, "loc": { "start": { - "line": 4, + "line": 17, "column": 9 }, "end": { - "line": 4, + "line": 17, "column": 10 } } @@ -1288,15 +1193,15 @@ "postfix": false, "binop": null }, - "start": 141, - "end": 142, + "start": 261, + "end": 262, "loc": { "start": { - "line": 4, + "line": 17, "column": 10 }, "end": { - "line": 4, + "line": 17, "column": 11 } } @@ -1314,15 +1219,15 @@ "binop": null }, "value": "config", - "start": 143, - "end": 149, + "start": 263, + "end": 269, "loc": { "start": { - "line": 4, + "line": 17, "column": 12 }, "end": { - "line": 4, + "line": 17, "column": 18 } } @@ -1340,15 +1245,15 @@ "binop": null, "updateContext": null }, - "start": 149, - "end": 150, + "start": 269, + "end": 270, "loc": { "start": { - "line": 4, + "line": 17, "column": 18 }, "end": { - "line": 4, + "line": 17, "column": 19 } } @@ -1365,15 +1270,15 @@ "postfix": false, "binop": null }, - "start": 151, - "end": 152, + "start": 271, + "end": 272, "loc": { "start": { - "line": 4, + "line": 17, "column": 20 }, "end": { - "line": 4, + "line": 17, "column": 21 } } @@ -1391,15 +1296,15 @@ "binop": null }, "value": "execute", - "start": 153, - "end": 160, + "start": 273, + "end": 280, "loc": { "start": { - "line": 4, + "line": 17, "column": 22 }, "end": { - "line": 4, + "line": 17, "column": 29 } } @@ -1416,15 +1321,15 @@ "postfix": false, "binop": null }, - "start": 161, - "end": 162, + "start": 281, + "end": 282, "loc": { "start": { - "line": 4, + "line": 17, "column": 30 }, "end": { - "line": 4, + "line": 17, "column": 31 } } @@ -1442,15 +1347,15 @@ "binop": null, "updateContext": null }, - "start": 162, - "end": 163, + "start": 282, + "end": 283, "loc": { "start": { - "line": 4, + "line": 17, "column": 31 }, "end": { - "line": 4, + "line": 17, "column": 32 } } @@ -1468,15 +1373,15 @@ "binop": null }, "value": "value", - "start": 164, - "end": 169, + "start": 284, + "end": 289, "loc": { "start": { - "line": 4, + "line": 17, "column": 33 }, "end": { - "line": 4, + "line": 17, "column": 38 } } @@ -1494,15 +1399,15 @@ "binop": null, "updateContext": null }, - "start": 169, - "end": 170, + "start": 289, + "end": 290, "loc": { "start": { - "line": 4, + "line": 17, "column": 38 }, "end": { - "line": 4, + "line": 17, "column": 39 } } @@ -1520,15 +1425,15 @@ "binop": null }, "value": "args", - "start": 171, - "end": 175, + "start": 291, + "end": 295, "loc": { "start": { - "line": 4, + "line": 17, "column": 40 }, "end": { - "line": 4, + "line": 17, "column": 44 } } @@ -1545,15 +1450,15 @@ "postfix": false, "binop": null }, - "start": 176, - "end": 177, + "start": 296, + "end": 297, "loc": { "start": { - "line": 4, + "line": 17, "column": 45 }, "end": { - "line": 4, + "line": 17, "column": 46 } } @@ -1570,15 +1475,15 @@ "postfix": false, "binop": null }, - "start": 177, - "end": 178, + "start": 297, + "end": 298, "loc": { "start": { - "line": 4, + "line": 17, "column": 46 }, "end": { - "line": 4, + "line": 17, "column": 47 } } @@ -1595,19 +1500,35 @@ "postfix": false, "binop": null }, - "start": 179, - "end": 180, + "start": 299, + "end": 300, "loc": { "start": { - "line": 4, + "line": 17, "column": 48 }, "end": { - "line": 4, + "line": 17, "column": 49 } } }, + { + "type": "CommentLine", + "value": " The `partial` function is over-constrained and generics locks proper use of rest parameter.", + "start": 309, + "end": 403, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 102 + } + } + }, { "type": { "label": "return", @@ -1623,15 +1544,15 @@ "updateContext": null }, "value": "return", - "start": 189, - "end": 195, + "start": 412, + "end": 418, "loc": { "start": { - "line": 5, + "line": 19, "column": 8 }, "end": { - "line": 5, + "line": 19, "column": 14 } } @@ -1649,15 +1570,15 @@ "binop": null }, "value": "partial", - "start": 196, - "end": 203, + "start": 419, + "end": 426, "loc": { "start": { - "line": 5, + "line": 19, "column": 15 }, "end": { - "line": 5, + "line": 19, "column": 22 } } @@ -1674,15 +1595,15 @@ "postfix": false, "binop": null }, - "start": 203, - "end": 204, + "start": 426, + "end": 427, "loc": { "start": { - "line": 5, + "line": 19, "column": 22 }, "end": { - "line": 5, + "line": 19, "column": 23 } } @@ -1700,15 +1621,15 @@ "binop": null }, "value": "execute", - "start": 204, - "end": 211, + "start": 427, + "end": 434, "loc": { "start": { - "line": 5, + "line": 19, "column": 23 }, "end": { - "line": 5, + "line": 19, "column": 30 } } @@ -1726,15 +1647,15 @@ "binop": null, "updateContext": null }, - "start": 211, - "end": 212, + "start": 434, + "end": 435, "loc": { "start": { - "line": 5, + "line": 19, "column": 30 }, "end": { - "line": 5, + "line": 19, "column": 31 } } @@ -1752,15 +1673,15 @@ "binop": null }, "value": "value", - "start": 213, - "end": 218, + "start": 436, + "end": 441, "loc": { "start": { - "line": 5, + "line": 19, "column": 32 }, "end": { - "line": 5, + "line": 19, "column": 37 } } @@ -1778,15 +1699,15 @@ "binop": null, "updateContext": null }, - "start": 218, - "end": 219, + "start": 441, + "end": 442, "loc": { "start": { - "line": 5, + "line": 19, "column": 37 }, "end": { - "line": 5, + "line": 19, "column": 38 } } @@ -1804,15 +1725,15 @@ "binop": null, "updateContext": null }, - "start": 220, - "end": 223, + "start": 443, + "end": 446, "loc": { "start": { - "line": 5, + "line": 19, "column": 39 }, "end": { - "line": 5, + "line": 19, "column": 42 } } @@ -1830,15 +1751,15 @@ "binop": null }, "value": "args", - "start": 223, - "end": 227, + "start": 446, + "end": 450, "loc": { "start": { - "line": 5, + "line": 19, "column": 42 }, "end": { - "line": 5, + "line": 19, "column": 46 } } @@ -1855,15 +1776,15 @@ "postfix": false, "binop": null }, - "start": 227, - "end": 228, + "start": 450, + "end": 451, "loc": { "start": { - "line": 5, + "line": 19, "column": 46 }, "end": { - "line": 5, + "line": 19, "column": 47 } } @@ -1881,15 +1802,15 @@ "binop": null, "updateContext": null }, - "start": 228, - "end": 229, + "start": 451, + "end": 452, "loc": { "start": { - "line": 5, + "line": 19, "column": 47 }, "end": { - "line": 5, + "line": 19, "column": 48 } } @@ -1906,15 +1827,15 @@ "postfix": false, "binop": null }, - "start": 234, - "end": 235, + "start": 457, + "end": 458, "loc": { "start": { - "line": 6, + "line": 20, "column": 4 }, "end": { - "line": 6, + "line": 20, "column": 5 } } @@ -1931,15 +1852,15 @@ "postfix": false, "binop": null }, - "start": 236, - "end": 237, + "start": 459, + "end": 460, "loc": { "start": { - "line": 7, + "line": 21, "column": 0 }, "end": { - "line": 7, + "line": 21, "column": 1 } } @@ -1957,15 +1878,15 @@ "binop": null, "updateContext": null }, - "start": 238, - "end": 238, + "start": 461, + "end": 461, "loc": { "start": { - "line": 8, + "line": 22, "column": 0 }, "end": { - "line": 8, + "line": 22, "column": 0 } } diff --git a/docs/ast/source/applicators/PostValueApplicator.js.json b/docs/ast/source/applicators/PostValueApplicator.ts.json similarity index 75% rename from docs/ast/source/applicators/PostValueApplicator.js.json rename to docs/ast/source/applicators/PostValueApplicator.ts.json index d948573..5b3e8b0 100644 --- a/docs/ast/source/applicators/PostValueApplicator.js.json +++ b/docs/ast/source/applicators/PostValueApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 202, + "end": 349, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 21, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 202, + "end": 349, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 21, "column": 0 } }, @@ -112,19 +112,37 @@ "raw": "'./Applicator'" }, "value": "./Applicator" - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 43, - "end": 201, + "start": 83, + "end": 348, "loc": { "start": { - "line": 2, + "line": 8, "column": 0 }, "end": { - "line": 6, + "line": 20, "column": 1 } }, @@ -132,46 +150,47 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 50, - "end": 201, + "start": 90, + "end": 348, "loc": { "start": { - "line": 2, + "line": 8, "column": 7 }, "end": { - "line": 6, + "line": 20, "column": 1 } }, "id": { "type": "Identifier", - "start": 56, - "end": 75, + "start": 96, + "end": 115, "loc": { "start": { - "line": 2, + "line": 8, "column": 13 }, "end": { - "line": 2, + "line": 8, "column": 32 }, "identifierName": "PostValueApplicator" }, - "name": "PostValueApplicator" + "name": "PostValueApplicator", + "leadingComments": null }, "superClass": { "type": "Identifier", - "start": 84, - "end": 94, + "start": 124, + "end": 134, "loc": { "start": { - "line": 2, + "line": 8, "column": 41 }, "end": { - "line": 2, + "line": 8, "column": 51 }, "identifierName": "Applicator" @@ -180,52 +199,53 @@ }, "body": { "type": "ClassBody", - "start": 95, - "end": 201, + "start": 135, + "end": 348, "loc": { "start": { - "line": 2, + "line": 8, "column": 52 }, "end": { - "line": 6, + "line": 20, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 101, - "end": 199, + "start": 255, + "end": 346, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 5, + "line": 19, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 101, - "end": 106, + "start": 255, + "end": 260, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 3, + "line": 17, "column": 9 }, "identifierName": "apply" }, - "name": "apply" + "name": "apply", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -234,31 +254,31 @@ "params": [ { "type": "ObjectPattern", - "start": 107, - "end": 150, + "start": 261, + "end": 297, "loc": { "start": { - "line": 3, + "line": 17, "column": 10 }, "end": { - "line": 3, - "column": 53 + "line": 17, + "column": 46 } }, "properties": [ { "type": "ObjectProperty", - "start": 109, - "end": 135, + "start": 263, + "end": 282, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, - "column": 38 + "line": 17, + "column": 31 } }, "method": false, @@ -266,15 +286,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 109, - "end": 115, + "start": 263, + "end": 269, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 18 }, "identifierName": "config" @@ -283,30 +303,30 @@ }, "value": { "type": "ObjectPattern", - "start": 117, - "end": 135, + "start": 271, + "end": 282, "loc": { "start": { - "line": 3, + "line": 17, "column": 20 }, "end": { - "line": 3, - "column": 38 + "line": 17, + "column": 31 } }, "properties": [ { "type": "ObjectProperty", - "start": 119, - "end": 126, + "start": 273, + "end": 280, "loc": { "start": { - "line": 3, + "line": 17, "column": 22 }, "end": { - "line": 3, + "line": 17, "column": 29 } }, @@ -315,15 +335,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 119, - "end": 126, + "start": 273, + "end": 280, "loc": { "start": { - "line": 3, + "line": 17, "column": 22 }, "end": { - "line": 3, + "line": 17, "column": 29 }, "identifierName": "execute" @@ -332,15 +352,15 @@ }, "value": { "type": "Identifier", - "start": 119, - "end": 126, + "start": 273, + "end": 280, "loc": { "start": { - "line": 3, + "line": 17, "column": 22 }, "end": { - "line": 3, + "line": 17, "column": 29 }, "identifierName": "execute" @@ -350,77 +370,22 @@ "extra": { "shorthand": true } - }, - { - "type": "ObjectProperty", - "start": 128, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 36 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 128, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 36 - }, - "identifierName": "bound" - }, - "name": "bound" - }, - "value": { - "type": "Identifier", - "start": 128, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 36 - }, - "identifierName": "bound" - }, - "name": "bound" - }, - "extra": { - "shorthand": true - } } ] } }, { "type": "ObjectProperty", - "start": 137, - "end": 141, + "start": 284, + "end": 288, "loc": { "start": { - "line": 3, - "column": 40 + "line": 17, + "column": 33 }, "end": { - "line": 3, - "column": 44 + "line": 17, + "column": 37 } }, "method": false, @@ -428,16 +393,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 137, - "end": 141, + "start": 284, + "end": 288, "loc": { "start": { - "line": 3, - "column": 40 + "line": 17, + "column": 33 }, "end": { - "line": 3, - "column": 44 + "line": 17, + "column": 37 }, "identifierName": "args" }, @@ -445,16 +410,16 @@ }, "value": { "type": "Identifier", - "start": 137, - "end": 141, + "start": 284, + "end": 288, "loc": { "start": { - "line": 3, - "column": 40 + "line": 17, + "column": 33 }, "end": { - "line": 3, - "column": 44 + "line": 17, + "column": 37 }, "identifierName": "args" }, @@ -466,16 +431,16 @@ }, { "type": "ObjectProperty", - "start": 143, - "end": 148, + "start": 290, + "end": 295, "loc": { "start": { - "line": 3, - "column": 46 + "line": 17, + "column": 39 }, "end": { - "line": 3, - "column": 51 + "line": 17, + "column": 44 } }, "method": false, @@ -483,16 +448,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 143, - "end": 148, + "start": 290, + "end": 295, "loc": { "start": { - "line": 3, - "column": 46 + "line": 17, + "column": 39 }, "end": { - "line": 3, - "column": 51 + "line": 17, + "column": 44 }, "identifierName": "value" }, @@ -500,16 +465,16 @@ }, "value": { "type": "Identifier", - "start": 143, - "end": 148, + "start": 290, + "end": 295, "loc": { "start": { - "line": 3, - "column": 46 + "line": 17, + "column": 39 }, "end": { - "line": 3, - "column": 51 + "line": 17, + "column": 44 }, "identifierName": "value" }, @@ -524,58 +489,58 @@ ], "body": { "type": "BlockStatement", - "start": 152, - "end": 199, + "start": 299, + "end": 346, "loc": { "start": { - "line": 3, - "column": 55 + "line": 17, + "column": 48 }, "end": { - "line": 5, + "line": 19, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 162, - "end": 193, + "start": 309, + "end": 340, "loc": { "start": { - "line": 4, + "line": 18, "column": 8 }, "end": { - "line": 4, + "line": 18, "column": 39 } }, "argument": { "type": "CallExpression", - "start": 169, - "end": 192, + "start": 316, + "end": 339, "loc": { "start": { - "line": 4, + "line": 18, "column": 15 }, "end": { - "line": 4, + "line": 18, "column": 38 } }, "callee": { "type": "Identifier", - "start": 169, - "end": 176, + "start": 316, + "end": 323, "loc": { "start": { - "line": 4, + "line": 18, "column": 15 }, "end": { - "line": 4, + "line": 18, "column": 22 }, "identifierName": "execute" @@ -585,29 +550,29 @@ "arguments": [ { "type": "SpreadElement", - "start": 177, - "end": 184, + "start": 324, + "end": 331, "loc": { "start": { - "line": 4, + "line": 18, "column": 23 }, "end": { - "line": 4, + "line": 18, "column": 30 } }, "argument": { "type": "Identifier", - "start": 180, - "end": 184, + "start": 327, + "end": 331, "loc": { "start": { - "line": 4, + "line": 18, "column": 26 }, "end": { - "line": 4, + "line": 18, "column": 30 }, "identifierName": "args" @@ -617,15 +582,15 @@ }, { "type": "Identifier", - "start": 186, - "end": 191, + "start": 333, + "end": 338, "loc": { "start": { - "line": 4, + "line": 18, "column": 32 }, "end": { - "line": 4, + "line": 18, "column": 37 }, "identifierName": "value" @@ -637,25 +602,111 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 141, + "end": 250, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] } ] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 141, + "end": 250, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -833,6 +884,22 @@ } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -848,15 +915,15 @@ "updateContext": null }, "value": "export", - "start": 43, - "end": 49, + "start": 83, + "end": 89, "loc": { "start": { - "line": 2, + "line": 8, "column": 0 }, "end": { - "line": 2, + "line": 8, "column": 6 } } @@ -876,15 +943,15 @@ "updateContext": null }, "value": "class", - "start": 50, - "end": 55, + "start": 90, + "end": 95, "loc": { "start": { - "line": 2, + "line": 8, "column": 7 }, "end": { - "line": 2, + "line": 8, "column": 12 } } @@ -902,15 +969,15 @@ "binop": null }, "value": "PostValueApplicator", - "start": 56, - "end": 75, + "start": 96, + "end": 115, "loc": { "start": { - "line": 2, + "line": 8, "column": 13 }, "end": { - "line": 2, + "line": 8, "column": 32 } } @@ -930,15 +997,15 @@ "updateContext": null }, "value": "extends", - "start": 76, - "end": 83, + "start": 116, + "end": 123, "loc": { "start": { - "line": 2, + "line": 8, "column": 33 }, "end": { - "line": 2, + "line": 8, "column": 40 } } @@ -956,15 +1023,15 @@ "binop": null }, "value": "Applicator", - "start": 84, - "end": 94, + "start": 124, + "end": 134, "loc": { "start": { - "line": 2, + "line": 8, "column": 41 }, "end": { - "line": 2, + "line": 8, "column": 51 } } @@ -981,19 +1048,35 @@ "postfix": false, "binop": null }, - "start": 95, - "end": 96, + "start": 135, + "end": 136, "loc": { "start": { - "line": 2, + "line": 8, "column": 52 }, "end": { - "line": 2, + "line": 8, "column": 53 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 141, + "end": 250, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -1007,15 +1090,15 @@ "binop": null }, "value": "apply", - "start": 101, - "end": 106, + "start": 255, + "end": 260, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 3, + "line": 17, "column": 9 } } @@ -1032,15 +1115,15 @@ "postfix": false, "binop": null }, - "start": 106, - "end": 107, + "start": 260, + "end": 261, "loc": { "start": { - "line": 3, + "line": 17, "column": 9 }, "end": { - "line": 3, + "line": 17, "column": 10 } } @@ -1057,15 +1140,15 @@ "postfix": false, "binop": null }, - "start": 107, - "end": 108, + "start": 261, + "end": 262, "loc": { "start": { - "line": 3, + "line": 17, "column": 10 }, "end": { - "line": 3, + "line": 17, "column": 11 } } @@ -1083,15 +1166,15 @@ "binop": null }, "value": "config", - "start": 109, - "end": 115, + "start": 263, + "end": 269, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 18 } } @@ -1109,15 +1192,15 @@ "binop": null, "updateContext": null }, - "start": 115, - "end": 116, + "start": 269, + "end": 270, "loc": { "start": { - "line": 3, + "line": 17, "column": 18 }, "end": { - "line": 3, + "line": 17, "column": 19 } } @@ -1134,15 +1217,15 @@ "postfix": false, "binop": null }, - "start": 117, - "end": 118, + "start": 271, + "end": 272, "loc": { "start": { - "line": 3, + "line": 17, "column": 20 }, "end": { - "line": 3, + "line": 17, "column": 21 } } @@ -1160,68 +1243,16 @@ "binop": null }, "value": "execute", - "start": 119, - "end": 126, + "start": 273, + "end": 280, "loc": { "start": { - "line": 3, + "line": 17, "column": 22 }, "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 3, + "line": 17, "column": 29 - }, - "end": { - "line": 3, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "bound", - "start": 128, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 36 } } }, @@ -1237,16 +1268,16 @@ "postfix": false, "binop": null }, - "start": 134, - "end": 135, + "start": 281, + "end": 282, "loc": { "start": { - "line": 3, - "column": 37 + "line": 17, + "column": 30 }, "end": { - "line": 3, - "column": 38 + "line": 17, + "column": 31 } } }, @@ -1263,16 +1294,16 @@ "binop": null, "updateContext": null }, - "start": 135, - "end": 136, + "start": 282, + "end": 283, "loc": { "start": { - "line": 3, - "column": 38 + "line": 17, + "column": 31 }, "end": { - "line": 3, - "column": 39 + "line": 17, + "column": 32 } } }, @@ -1289,16 +1320,16 @@ "binop": null }, "value": "args", - "start": 137, - "end": 141, + "start": 284, + "end": 288, "loc": { "start": { - "line": 3, - "column": 40 + "line": 17, + "column": 33 }, "end": { - "line": 3, - "column": 44 + "line": 17, + "column": 37 } } }, @@ -1315,16 +1346,16 @@ "binop": null, "updateContext": null }, - "start": 141, - "end": 142, + "start": 288, + "end": 289, "loc": { "start": { - "line": 3, - "column": 44 + "line": 17, + "column": 37 }, "end": { - "line": 3, - "column": 45 + "line": 17, + "column": 38 } } }, @@ -1341,16 +1372,16 @@ "binop": null }, "value": "value", - "start": 143, - "end": 148, + "start": 290, + "end": 295, "loc": { "start": { - "line": 3, - "column": 46 + "line": 17, + "column": 39 }, "end": { - "line": 3, - "column": 51 + "line": 17, + "column": 44 } } }, @@ -1366,16 +1397,16 @@ "postfix": false, "binop": null }, - "start": 149, - "end": 150, + "start": 296, + "end": 297, "loc": { "start": { - "line": 3, - "column": 52 + "line": 17, + "column": 45 }, "end": { - "line": 3, - "column": 53 + "line": 17, + "column": 46 } } }, @@ -1391,16 +1422,16 @@ "postfix": false, "binop": null }, - "start": 150, - "end": 151, + "start": 297, + "end": 298, "loc": { "start": { - "line": 3, - "column": 53 + "line": 17, + "column": 46 }, "end": { - "line": 3, - "column": 54 + "line": 17, + "column": 47 } } }, @@ -1416,16 +1447,16 @@ "postfix": false, "binop": null }, - "start": 152, - "end": 153, + "start": 299, + "end": 300, "loc": { "start": { - "line": 3, - "column": 55 + "line": 17, + "column": 48 }, "end": { - "line": 3, - "column": 56 + "line": 17, + "column": 49 } } }, @@ -1444,15 +1475,15 @@ "updateContext": null }, "value": "return", - "start": 162, - "end": 168, + "start": 309, + "end": 315, "loc": { "start": { - "line": 4, + "line": 18, "column": 8 }, "end": { - "line": 4, + "line": 18, "column": 14 } } @@ -1470,15 +1501,15 @@ "binop": null }, "value": "execute", - "start": 169, - "end": 176, + "start": 316, + "end": 323, "loc": { "start": { - "line": 4, + "line": 18, "column": 15 }, "end": { - "line": 4, + "line": 18, "column": 22 } } @@ -1495,15 +1526,15 @@ "postfix": false, "binop": null }, - "start": 176, - "end": 177, + "start": 323, + "end": 324, "loc": { "start": { - "line": 4, + "line": 18, "column": 22 }, "end": { - "line": 4, + "line": 18, "column": 23 } } @@ -1521,15 +1552,15 @@ "binop": null, "updateContext": null }, - "start": 177, - "end": 180, + "start": 324, + "end": 327, "loc": { "start": { - "line": 4, + "line": 18, "column": 23 }, "end": { - "line": 4, + "line": 18, "column": 26 } } @@ -1547,15 +1578,15 @@ "binop": null }, "value": "args", - "start": 180, - "end": 184, + "start": 327, + "end": 331, "loc": { "start": { - "line": 4, + "line": 18, "column": 26 }, "end": { - "line": 4, + "line": 18, "column": 30 } } @@ -1573,15 +1604,15 @@ "binop": null, "updateContext": null }, - "start": 184, - "end": 185, + "start": 331, + "end": 332, "loc": { "start": { - "line": 4, + "line": 18, "column": 30 }, "end": { - "line": 4, + "line": 18, "column": 31 } } @@ -1599,15 +1630,15 @@ "binop": null }, "value": "value", - "start": 186, - "end": 191, + "start": 333, + "end": 338, "loc": { "start": { - "line": 4, + "line": 18, "column": 32 }, "end": { - "line": 4, + "line": 18, "column": 37 } } @@ -1624,15 +1655,15 @@ "postfix": false, "binop": null }, - "start": 191, - "end": 192, + "start": 338, + "end": 339, "loc": { "start": { - "line": 4, + "line": 18, "column": 37 }, "end": { - "line": 4, + "line": 18, "column": 38 } } @@ -1650,15 +1681,15 @@ "binop": null, "updateContext": null }, - "start": 192, - "end": 193, + "start": 339, + "end": 340, "loc": { "start": { - "line": 4, + "line": 18, "column": 38 }, "end": { - "line": 4, + "line": 18, "column": 39 } } @@ -1675,15 +1706,15 @@ "postfix": false, "binop": null }, - "start": 198, - "end": 199, + "start": 345, + "end": 346, "loc": { "start": { - "line": 5, + "line": 19, "column": 4 }, "end": { - "line": 5, + "line": 19, "column": 5 } } @@ -1700,15 +1731,15 @@ "postfix": false, "binop": null }, - "start": 200, - "end": 201, + "start": 347, + "end": 348, "loc": { "start": { - "line": 6, + "line": 20, "column": 0 }, "end": { - "line": 6, + "line": 20, "column": 1 } } @@ -1726,15 +1757,15 @@ "binop": null, "updateContext": null }, - "start": 202, - "end": 202, + "start": 349, + "end": 349, "loc": { "start": { - "line": 7, + "line": 21, "column": 0 }, "end": { - "line": 7, + "line": 21, "column": 0 } } diff --git a/docs/ast/source/applicators/PreValueApplicator.js.json b/docs/ast/source/applicators/PreValueApplicator.ts.json similarity index 76% rename from docs/ast/source/applicators/PreValueApplicator.js.json rename to docs/ast/source/applicators/PreValueApplicator.ts.json index b3c9f2f..324794e 100644 --- a/docs/ast/source/applicators/PreValueApplicator.js.json +++ b/docs/ast/source/applicators/PreValueApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 194, + "end": 348, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 21, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 194, + "end": 348, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 21, "column": 0 } }, @@ -112,19 +112,37 @@ "raw": "'./Applicator'" }, "value": "./Applicator" - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 43, - "end": 193, + "start": 83, + "end": 347, "loc": { "start": { - "line": 2, + "line": 8, "column": 0 }, "end": { - "line": 6, + "line": 20, "column": 1 } }, @@ -132,46 +150,47 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 50, - "end": 193, + "start": 90, + "end": 347, "loc": { "start": { - "line": 2, + "line": 8, "column": 7 }, "end": { - "line": 6, + "line": 20, "column": 1 } }, "id": { "type": "Identifier", - "start": 56, - "end": 74, + "start": 96, + "end": 114, "loc": { "start": { - "line": 2, + "line": 8, "column": 13 }, "end": { - "line": 2, + "line": 8, "column": 31 }, "identifierName": "PreValueApplicator" }, - "name": "PreValueApplicator" + "name": "PreValueApplicator", + "leadingComments": null }, "superClass": { "type": "Identifier", - "start": 83, - "end": 93, + "start": 123, + "end": 133, "loc": { "start": { - "line": 2, + "line": 8, "column": 40 }, "end": { - "line": 2, + "line": 8, "column": 50 }, "identifierName": "Applicator" @@ -180,52 +199,53 @@ }, "body": { "type": "ClassBody", - "start": 94, - "end": 193, + "start": 134, + "end": 347, "loc": { "start": { - "line": 2, + "line": 8, "column": 51 }, "end": { - "line": 6, + "line": 20, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 100, - "end": 191, + "start": 254, + "end": 345, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 5, + "line": 19, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 100, - "end": 105, + "start": 254, + "end": 259, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 3, + "line": 17, "column": 9 }, "identifierName": "apply" }, - "name": "apply" + "name": "apply", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -234,30 +254,30 @@ "params": [ { "type": "ObjectPattern", - "start": 106, - "end": 142, + "start": 260, + "end": 296, "loc": { "start": { - "line": 3, + "line": 17, "column": 10 }, "end": { - "line": 3, + "line": 17, "column": 46 } }, "properties": [ { "type": "ObjectProperty", - "start": 108, - "end": 113, + "start": 262, + "end": 267, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 17 } }, @@ -266,15 +286,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 108, - "end": 113, + "start": 262, + "end": 267, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 17 }, "identifierName": "value" @@ -283,15 +303,15 @@ }, "value": { "type": "Identifier", - "start": 108, - "end": 113, + "start": 262, + "end": 267, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 17 }, "identifierName": "value" @@ -304,15 +324,15 @@ }, { "type": "ObjectProperty", - "start": 115, - "end": 134, + "start": 269, + "end": 288, "loc": { "start": { - "line": 3, + "line": 17, "column": 19 }, "end": { - "line": 3, + "line": 17, "column": 38 } }, @@ -321,15 +341,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 115, - "end": 121, + "start": 269, + "end": 275, "loc": { "start": { - "line": 3, + "line": 17, "column": 19 }, "end": { - "line": 3, + "line": 17, "column": 25 }, "identifierName": "config" @@ -338,30 +358,30 @@ }, "value": { "type": "ObjectPattern", - "start": 123, - "end": 134, + "start": 277, + "end": 288, "loc": { "start": { - "line": 3, + "line": 17, "column": 27 }, "end": { - "line": 3, + "line": 17, "column": 38 } }, "properties": [ { "type": "ObjectProperty", - "start": 125, - "end": 132, + "start": 279, + "end": 286, "loc": { "start": { - "line": 3, + "line": 17, "column": 29 }, "end": { - "line": 3, + "line": 17, "column": 36 } }, @@ -370,15 +390,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 125, - "end": 132, + "start": 279, + "end": 286, "loc": { "start": { - "line": 3, + "line": 17, "column": 29 }, "end": { - "line": 3, + "line": 17, "column": 36 }, "identifierName": "execute" @@ -387,15 +407,15 @@ }, "value": { "type": "Identifier", - "start": 125, - "end": 132, + "start": 279, + "end": 286, "loc": { "start": { - "line": 3, + "line": 17, "column": 29 }, "end": { - "line": 3, + "line": 17, "column": 36 }, "identifierName": "execute" @@ -411,15 +431,15 @@ }, { "type": "ObjectProperty", - "start": 136, - "end": 140, + "start": 290, + "end": 294, "loc": { "start": { - "line": 3, + "line": 17, "column": 40 }, "end": { - "line": 3, + "line": 17, "column": 44 } }, @@ -428,15 +448,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 136, - "end": 140, + "start": 290, + "end": 294, "loc": { "start": { - "line": 3, + "line": 17, "column": 40 }, "end": { - "line": 3, + "line": 17, "column": 44 }, "identifierName": "args" @@ -445,15 +465,15 @@ }, "value": { "type": "Identifier", - "start": 136, - "end": 140, + "start": 290, + "end": 294, "loc": { "start": { - "line": 3, + "line": 17, "column": 40 }, "end": { - "line": 3, + "line": 17, "column": 44 }, "identifierName": "args" @@ -469,58 +489,58 @@ ], "body": { "type": "BlockStatement", - "start": 144, - "end": 191, + "start": 298, + "end": 345, "loc": { "start": { - "line": 3, + "line": 17, "column": 48 }, "end": { - "line": 5, + "line": 19, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 154, - "end": 185, + "start": 308, + "end": 339, "loc": { "start": { - "line": 4, + "line": 18, "column": 8 }, "end": { - "line": 4, + "line": 18, "column": 39 } }, "argument": { "type": "CallExpression", - "start": 161, - "end": 184, + "start": 315, + "end": 338, "loc": { "start": { - "line": 4, + "line": 18, "column": 15 }, "end": { - "line": 4, + "line": 18, "column": 38 } }, "callee": { "type": "Identifier", - "start": 161, - "end": 168, + "start": 315, + "end": 322, "loc": { "start": { - "line": 4, + "line": 18, "column": 15 }, "end": { - "line": 4, + "line": 18, "column": 22 }, "identifierName": "execute" @@ -530,15 +550,15 @@ "arguments": [ { "type": "Identifier", - "start": 169, - "end": 174, + "start": 323, + "end": 328, "loc": { "start": { - "line": 4, + "line": 18, "column": 23 }, "end": { - "line": 4, + "line": 18, "column": 28 }, "identifierName": "value" @@ -547,29 +567,29 @@ }, { "type": "SpreadElement", - "start": 176, - "end": 183, + "start": 330, + "end": 337, "loc": { "start": { - "line": 4, + "line": 18, "column": 30 }, "end": { - "line": 4, + "line": 18, "column": 37 } }, "argument": { "type": "Identifier", - "start": 179, - "end": 183, + "start": 333, + "end": 337, "loc": { "start": { - "line": 4, + "line": 18, "column": 33 }, "end": { - "line": 4, + "line": 18, "column": 37 }, "identifierName": "args" @@ -582,25 +602,111 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 140, + "end": 249, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ] } ] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 140, + "end": 249, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -778,6 +884,22 @@ } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 3\n ", + "start": 43, + "end": 82, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -793,15 +915,15 @@ "updateContext": null }, "value": "export", - "start": 43, - "end": 49, + "start": 83, + "end": 89, "loc": { "start": { - "line": 2, + "line": 8, "column": 0 }, "end": { - "line": 2, + "line": 8, "column": 6 } } @@ -821,15 +943,15 @@ "updateContext": null }, "value": "class", - "start": 50, - "end": 55, + "start": 90, + "end": 95, "loc": { "start": { - "line": 2, + "line": 8, "column": 7 }, "end": { - "line": 2, + "line": 8, "column": 12 } } @@ -847,15 +969,15 @@ "binop": null }, "value": "PreValueApplicator", - "start": 56, - "end": 74, + "start": 96, + "end": 114, "loc": { "start": { - "line": 2, + "line": 8, "column": 13 }, "end": { - "line": 2, + "line": 8, "column": 31 } } @@ -875,15 +997,15 @@ "updateContext": null }, "value": "extends", - "start": 75, - "end": 82, + "start": 115, + "end": 122, "loc": { "start": { - "line": 2, + "line": 8, "column": 32 }, "end": { - "line": 2, + "line": 8, "column": 39 } } @@ -901,15 +1023,15 @@ "binop": null }, "value": "Applicator", - "start": 83, - "end": 93, + "start": 123, + "end": 133, "loc": { "start": { - "line": 2, + "line": 8, "column": 40 }, "end": { - "line": 2, + "line": 8, "column": 50 } } @@ -926,19 +1048,35 @@ "postfix": false, "binop": null }, - "start": 94, - "end": 95, + "start": 134, + "end": 135, "loc": { "start": { - "line": 2, + "line": 8, "column": 51 }, "end": { - "line": 2, + "line": 8, "column": 52 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 140, + "end": 249, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -952,15 +1090,15 @@ "binop": null }, "value": "apply", - "start": 100, - "end": 105, + "start": 254, + "end": 259, "loc": { "start": { - "line": 3, + "line": 17, "column": 4 }, "end": { - "line": 3, + "line": 17, "column": 9 } } @@ -977,15 +1115,15 @@ "postfix": false, "binop": null }, - "start": 105, - "end": 106, + "start": 259, + "end": 260, "loc": { "start": { - "line": 3, + "line": 17, "column": 9 }, "end": { - "line": 3, + "line": 17, "column": 10 } } @@ -1002,15 +1140,15 @@ "postfix": false, "binop": null }, - "start": 106, - "end": 107, + "start": 260, + "end": 261, "loc": { "start": { - "line": 3, + "line": 17, "column": 10 }, "end": { - "line": 3, + "line": 17, "column": 11 } } @@ -1028,15 +1166,15 @@ "binop": null }, "value": "value", - "start": 108, - "end": 113, + "start": 262, + "end": 267, "loc": { "start": { - "line": 3, + "line": 17, "column": 12 }, "end": { - "line": 3, + "line": 17, "column": 17 } } @@ -1054,15 +1192,15 @@ "binop": null, "updateContext": null }, - "start": 113, - "end": 114, + "start": 267, + "end": 268, "loc": { "start": { - "line": 3, + "line": 17, "column": 17 }, "end": { - "line": 3, + "line": 17, "column": 18 } } @@ -1080,15 +1218,15 @@ "binop": null }, "value": "config", - "start": 115, - "end": 121, + "start": 269, + "end": 275, "loc": { "start": { - "line": 3, + "line": 17, "column": 19 }, "end": { - "line": 3, + "line": 17, "column": 25 } } @@ -1106,15 +1244,15 @@ "binop": null, "updateContext": null }, - "start": 121, - "end": 122, + "start": 275, + "end": 276, "loc": { "start": { - "line": 3, + "line": 17, "column": 25 }, "end": { - "line": 3, + "line": 17, "column": 26 } } @@ -1131,15 +1269,15 @@ "postfix": false, "binop": null }, - "start": 123, - "end": 124, + "start": 277, + "end": 278, "loc": { "start": { - "line": 3, + "line": 17, "column": 27 }, "end": { - "line": 3, + "line": 17, "column": 28 } } @@ -1157,15 +1295,15 @@ "binop": null }, "value": "execute", - "start": 125, - "end": 132, + "start": 279, + "end": 286, "loc": { "start": { - "line": 3, + "line": 17, "column": 29 }, "end": { - "line": 3, + "line": 17, "column": 36 } } @@ -1182,15 +1320,15 @@ "postfix": false, "binop": null }, - "start": 133, - "end": 134, + "start": 287, + "end": 288, "loc": { "start": { - "line": 3, + "line": 17, "column": 37 }, "end": { - "line": 3, + "line": 17, "column": 38 } } @@ -1208,15 +1346,15 @@ "binop": null, "updateContext": null }, - "start": 134, - "end": 135, + "start": 288, + "end": 289, "loc": { "start": { - "line": 3, + "line": 17, "column": 38 }, "end": { - "line": 3, + "line": 17, "column": 39 } } @@ -1234,15 +1372,15 @@ "binop": null }, "value": "args", - "start": 136, - "end": 140, + "start": 290, + "end": 294, "loc": { "start": { - "line": 3, + "line": 17, "column": 40 }, "end": { - "line": 3, + "line": 17, "column": 44 } } @@ -1259,15 +1397,15 @@ "postfix": false, "binop": null }, - "start": 141, - "end": 142, + "start": 295, + "end": 296, "loc": { "start": { - "line": 3, + "line": 17, "column": 45 }, "end": { - "line": 3, + "line": 17, "column": 46 } } @@ -1284,15 +1422,15 @@ "postfix": false, "binop": null }, - "start": 142, - "end": 143, + "start": 296, + "end": 297, "loc": { "start": { - "line": 3, + "line": 17, "column": 46 }, "end": { - "line": 3, + "line": 17, "column": 47 } } @@ -1309,15 +1447,15 @@ "postfix": false, "binop": null }, - "start": 144, - "end": 145, + "start": 298, + "end": 299, "loc": { "start": { - "line": 3, + "line": 17, "column": 48 }, "end": { - "line": 3, + "line": 17, "column": 49 } } @@ -1337,15 +1475,15 @@ "updateContext": null }, "value": "return", - "start": 154, - "end": 160, + "start": 308, + "end": 314, "loc": { "start": { - "line": 4, + "line": 18, "column": 8 }, "end": { - "line": 4, + "line": 18, "column": 14 } } @@ -1363,15 +1501,15 @@ "binop": null }, "value": "execute", - "start": 161, - "end": 168, + "start": 315, + "end": 322, "loc": { "start": { - "line": 4, + "line": 18, "column": 15 }, "end": { - "line": 4, + "line": 18, "column": 22 } } @@ -1388,15 +1526,15 @@ "postfix": false, "binop": null }, - "start": 168, - "end": 169, + "start": 322, + "end": 323, "loc": { "start": { - "line": 4, + "line": 18, "column": 22 }, "end": { - "line": 4, + "line": 18, "column": 23 } } @@ -1414,15 +1552,15 @@ "binop": null }, "value": "value", - "start": 169, - "end": 174, + "start": 323, + "end": 328, "loc": { "start": { - "line": 4, + "line": 18, "column": 23 }, "end": { - "line": 4, + "line": 18, "column": 28 } } @@ -1440,15 +1578,15 @@ "binop": null, "updateContext": null }, - "start": 174, - "end": 175, + "start": 328, + "end": 329, "loc": { "start": { - "line": 4, + "line": 18, "column": 28 }, "end": { - "line": 4, + "line": 18, "column": 29 } } @@ -1466,15 +1604,15 @@ "binop": null, "updateContext": null }, - "start": 176, - "end": 179, + "start": 330, + "end": 333, "loc": { "start": { - "line": 4, + "line": 18, "column": 30 }, "end": { - "line": 4, + "line": 18, "column": 33 } } @@ -1492,15 +1630,15 @@ "binop": null }, "value": "args", - "start": 179, - "end": 183, + "start": 333, + "end": 337, "loc": { "start": { - "line": 4, + "line": 18, "column": 33 }, "end": { - "line": 4, + "line": 18, "column": 37 } } @@ -1517,15 +1655,15 @@ "postfix": false, "binop": null }, - "start": 183, - "end": 184, + "start": 337, + "end": 338, "loc": { "start": { - "line": 4, + "line": 18, "column": 37 }, "end": { - "line": 4, + "line": 18, "column": 38 } } @@ -1543,15 +1681,15 @@ "binop": null, "updateContext": null }, - "start": 184, - "end": 185, + "start": 338, + "end": 339, "loc": { "start": { - "line": 4, + "line": 18, "column": 38 }, "end": { - "line": 4, + "line": 18, "column": 39 } } @@ -1568,15 +1706,15 @@ "postfix": false, "binop": null }, - "start": 190, - "end": 191, + "start": 344, + "end": 345, "loc": { "start": { - "line": 5, + "line": 19, "column": 4 }, "end": { - "line": 5, + "line": 19, "column": 5 } } @@ -1593,15 +1731,15 @@ "postfix": false, "binop": null }, - "start": 192, - "end": 193, + "start": 346, + "end": 347, "loc": { "start": { - "line": 6, + "line": 20, "column": 0 }, "end": { - "line": 6, + "line": 20, "column": 1 } } @@ -1619,15 +1757,15 @@ "binop": null, "updateContext": null }, - "start": 194, - "end": 194, + "start": 348, + "end": 348, "loc": { "start": { - "line": 7, + "line": 21, "column": 0 }, "end": { - "line": 7, + "line": 21, "column": 0 } } diff --git a/docs/ast/source/applicators/WrapApplicator.js.json b/docs/ast/source/applicators/WrapApplicator.ts.json similarity index 79% rename from docs/ast/source/applicators/WrapApplicator.js.json rename to docs/ast/source/applicators/WrapApplicator.ts.json index fab8a19..9f4a77b 100644 --- a/docs/ast/source/applicators/WrapApplicator.js.json +++ b/docs/ast/source/applicators/WrapApplicator.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 354, + "end": 508, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 24, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 354, + "end": 508, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 24, "column": 0 } }, @@ -198,19 +198,37 @@ "raw": "'../utils'" }, "value": "../utils" - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 87, - "end": 353, + "start": 127, + "end": 507, "loc": { "start": { - "line": 3, + "line": 9, "column": 0 }, "end": { - "line": 9, + "line": 23, "column": 1 } }, @@ -218,46 +236,47 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 94, - "end": 353, + "start": 134, + "end": 507, "loc": { "start": { - "line": 3, + "line": 9, "column": 7 }, "end": { - "line": 9, + "line": 23, "column": 1 } }, "id": { "type": "Identifier", - "start": 100, - "end": 114, + "start": 140, + "end": 154, "loc": { "start": { - "line": 3, + "line": 9, "column": 13 }, "end": { - "line": 3, + "line": 9, "column": 27 }, "identifierName": "WrapApplicator" }, - "name": "WrapApplicator" + "name": "WrapApplicator", + "leadingComments": null }, "superClass": { "type": "Identifier", - "start": 123, - "end": 133, + "start": 163, + "end": 173, "loc": { "start": { - "line": 3, + "line": 9, "column": 36 }, "end": { - "line": 3, + "line": 9, "column": 46 }, "identifierName": "Applicator" @@ -266,52 +285,53 @@ }, "body": { "type": "ClassBody", - "start": 134, - "end": 353, + "start": 174, + "end": 507, "loc": { "start": { - "line": 3, + "line": 9, "column": 47 }, "end": { - "line": 9, + "line": 23, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 140, - "end": 351, + "start": 294, + "end": 505, "loc": { "start": { - "line": 4, + "line": 18, "column": 4 }, "end": { - "line": 8, + "line": 22, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 140, - "end": 145, + "start": 294, + "end": 299, "loc": { "start": { - "line": 4, + "line": 18, "column": 4 }, "end": { - "line": 4, + "line": 18, "column": 9 }, "identifierName": "apply" }, - "name": "apply" + "name": "apply", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -320,30 +340,30 @@ "params": [ { "type": "ObjectPattern", - "start": 146, - "end": 190, + "start": 300, + "end": 344, "loc": { "start": { - "line": 4, + "line": 18, "column": 10 }, "end": { - "line": 4, + "line": 18, "column": 54 } }, "properties": [ { "type": "ObjectProperty", - "start": 148, - "end": 152, + "start": 302, + "end": 306, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 16 } }, @@ -352,15 +372,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 148, - "end": 152, + "start": 302, + "end": 306, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 16 }, "identifierName": "args" @@ -369,15 +389,15 @@ }, "value": { "type": "Identifier", - "start": 148, - "end": 152, + "start": 302, + "end": 306, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 16 }, "identifierName": "args" @@ -390,15 +410,15 @@ }, { "type": "ObjectProperty", - "start": 154, - "end": 173, + "start": 308, + "end": 327, "loc": { "start": { - "line": 4, + "line": 18, "column": 18 }, "end": { - "line": 4, + "line": 18, "column": 37 } }, @@ -407,15 +427,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 154, - "end": 160, + "start": 308, + "end": 314, "loc": { "start": { - "line": 4, + "line": 18, "column": 18 }, "end": { - "line": 4, + "line": 18, "column": 24 }, "identifierName": "config" @@ -424,30 +444,30 @@ }, "value": { "type": "ObjectPattern", - "start": 162, - "end": 173, + "start": 316, + "end": 327, "loc": { "start": { - "line": 4, + "line": 18, "column": 26 }, "end": { - "line": 4, + "line": 18, "column": 37 } }, "properties": [ { "type": "ObjectProperty", - "start": 164, - "end": 171, + "start": 318, + "end": 325, "loc": { "start": { - "line": 4, + "line": 18, "column": 28 }, "end": { - "line": 4, + "line": 18, "column": 35 } }, @@ -456,15 +476,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 164, - "end": 171, + "start": 318, + "end": 325, "loc": { "start": { - "line": 4, + "line": 18, "column": 28 }, "end": { - "line": 4, + "line": 18, "column": 35 }, "identifierName": "execute" @@ -473,15 +493,15 @@ }, "value": { "type": "Identifier", - "start": 164, - "end": 171, + "start": 318, + "end": 325, "loc": { "start": { - "line": 4, + "line": 18, "column": 28 }, "end": { - "line": 4, + "line": 18, "column": 35 }, "identifierName": "execute" @@ -497,15 +517,15 @@ }, { "type": "ObjectProperty", - "start": 175, - "end": 181, + "start": 329, + "end": 335, "loc": { "start": { - "line": 4, + "line": 18, "column": 39 }, "end": { - "line": 4, + "line": 18, "column": 45 } }, @@ -514,15 +534,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 175, - "end": 181, + "start": 329, + "end": 335, "loc": { "start": { - "line": 4, + "line": 18, "column": 39 }, "end": { - "line": 4, + "line": 18, "column": 45 }, "identifierName": "target" @@ -531,15 +551,15 @@ }, "value": { "type": "Identifier", - "start": 175, - "end": 181, + "start": 329, + "end": 335, "loc": { "start": { - "line": 4, + "line": 18, "column": 39 }, "end": { - "line": 4, + "line": 18, "column": 45 }, "identifierName": "target" @@ -552,15 +572,15 @@ }, { "type": "ObjectProperty", - "start": 183, - "end": 188, + "start": 337, + "end": 342, "loc": { "start": { - "line": 4, + "line": 18, "column": 47 }, "end": { - "line": 4, + "line": 18, "column": 52 } }, @@ -569,15 +589,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 183, - "end": 188, + "start": 337, + "end": 342, "loc": { "start": { - "line": 4, + "line": 18, "column": 47 }, "end": { - "line": 4, + "line": 18, "column": 52 }, "identifierName": "value" @@ -586,15 +606,15 @@ }, "value": { "type": "Identifier", - "start": 183, - "end": 188, + "start": 337, + "end": 342, "loc": { "start": { - "line": 4, + "line": 18, "column": 47 }, "end": { - "line": 4, + "line": 18, "column": 52 }, "identifierName": "value" @@ -610,44 +630,44 @@ ], "body": { "type": "BlockStatement", - "start": 192, - "end": 351, + "start": 346, + "end": 505, "loc": { "start": { - "line": 4, + "line": 18, "column": 56 }, "end": { - "line": 8, + "line": 22, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 202, - "end": 345, + "start": 356, + "end": 499, "loc": { "start": { - "line": 5, + "line": 19, "column": 8 }, "end": { - "line": 7, + "line": 21, "column": 10 } }, "argument": { "type": "FunctionExpression", - "start": 209, - "end": 344, + "start": 363, + "end": 498, "loc": { "start": { - "line": 5, + "line": 19, "column": 15 }, "end": { - "line": 7, + "line": 21, "column": 9 } }, @@ -658,29 +678,29 @@ "params": [ { "type": "RestElement", - "start": 219, - "end": 232, + "start": 373, + "end": 386, "loc": { "start": { - "line": 5, + "line": 19, "column": 25 }, "end": { - "line": 5, + "line": 19, "column": 38 } }, "argument": { "type": "Identifier", - "start": 222, - "end": 232, + "start": 376, + "end": 386, "loc": { "start": { - "line": 5, + "line": 19, "column": 28 }, "end": { - "line": 5, + "line": 19, "column": 38 }, "identifierName": "invokeArgs" @@ -691,86 +711,86 @@ ], "body": { "type": "BlockStatement", - "start": 234, - "end": 344, + "start": 388, + "end": 498, "loc": { "start": { - "line": 5, + "line": 19, "column": 40 }, "end": { - "line": 7, + "line": 21, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 248, - "end": 334, + "start": 402, + "end": 488, "loc": { "start": { - "line": 6, + "line": 20, "column": 12 }, "end": { - "line": 6, + "line": 20, "column": 98 } }, "argument": { "type": "CallExpression", - "start": 255, - "end": 333, + "start": 409, + "end": 487, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 255, - "end": 315, + "start": 409, + "end": 469, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 79 } }, "object": { "type": "CallExpression", - "start": 255, - "end": 309, + "start": 409, + "end": 463, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 73 } }, "callee": { "type": "Identifier", - "start": 255, - "end": 262, + "start": 409, + "end": 416, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 26 }, "identifierName": "execute" @@ -780,29 +800,29 @@ "arguments": [ { "type": "CallExpression", - "start": 263, - "end": 301, + "start": 417, + "end": 455, "loc": { "start": { - "line": 6, + "line": 20, "column": 27 }, "end": { - "line": 6, + "line": 20, "column": 65 } }, "callee": { "type": "Identifier", - "start": 263, - "end": 278, + "start": 417, + "end": 432, "loc": { "start": { - "line": 6, + "line": 20, "column": 27 }, "end": { - "line": 6, + "line": 20, "column": 42 }, "identifierName": "resolveFunction" @@ -812,29 +832,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 279, - "end": 286, + "start": 433, + "end": 440, "loc": { "start": { - "line": 6, + "line": 20, "column": 43 }, "end": { - "line": 6, + "line": 20, "column": 50 } }, "object": { "type": "Identifier", - "start": 279, - "end": 283, + "start": 433, + "end": 437, "loc": { "start": { - "line": 6, + "line": 20, "column": 43 }, "end": { - "line": 6, + "line": 20, "column": 47 }, "identifierName": "args" @@ -843,15 +863,15 @@ }, "property": { "type": "NumericLiteral", - "start": 284, - "end": 285, + "start": 438, + "end": 439, "loc": { "start": { - "line": 6, + "line": 20, "column": 48 }, "end": { - "line": 6, + "line": 20, "column": 49 } }, @@ -865,30 +885,30 @@ }, { "type": "ThisExpression", - "start": 288, - "end": 292, + "start": 442, + "end": 446, "loc": { "start": { - "line": 6, + "line": 20, "column": 52 }, "end": { - "line": 6, + "line": 20, "column": 56 } } }, { "type": "Identifier", - "start": 294, - "end": 300, + "start": 448, + "end": 454, "loc": { "start": { - "line": 6, + "line": 20, "column": 58 }, "end": { - "line": 6, + "line": 20, "column": 64 }, "identifierName": "target" @@ -899,15 +919,15 @@ }, { "type": "Identifier", - "start": 303, - "end": 308, + "start": 457, + "end": 462, "loc": { "start": { - "line": 6, + "line": 20, "column": 67 }, "end": { - "line": 6, + "line": 20, "column": 72 }, "identifierName": "value" @@ -918,15 +938,15 @@ }, "property": { "type": "Identifier", - "start": 310, - "end": 315, + "start": 464, + "end": 469, "loc": { "start": { - "line": 6, + "line": 20, "column": 74 }, "end": { - "line": 6, + "line": 20, "column": 79 }, "identifierName": "apply" @@ -938,30 +958,30 @@ "arguments": [ { "type": "ThisExpression", - "start": 316, - "end": 320, + "start": 470, + "end": 474, "loc": { "start": { - "line": 6, + "line": 20, "column": 80 }, "end": { - "line": 6, + "line": 20, "column": 84 } } }, { "type": "Identifier", - "start": 322, - "end": 332, + "start": 476, + "end": 486, "loc": { "start": { - "line": 6, + "line": 20, "column": 86 }, "end": { - "line": 6, + "line": 20, "column": 96 }, "identifierName": "invokeArgs" @@ -978,25 +998,111 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 180, + "end": 289, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ] } ] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] } ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 180, + "end": 289, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1179,7 +1285,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1357,6 +1463,22 @@ } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 4\n ", + "start": 87, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -1372,15 +1494,15 @@ "updateContext": null }, "value": "export", - "start": 87, - "end": 93, + "start": 127, + "end": 133, "loc": { "start": { - "line": 3, + "line": 9, "column": 0 }, "end": { - "line": 3, + "line": 9, "column": 6 } } @@ -1400,15 +1522,15 @@ "updateContext": null }, "value": "class", - "start": 94, - "end": 99, + "start": 134, + "end": 139, "loc": { "start": { - "line": 3, + "line": 9, "column": 7 }, "end": { - "line": 3, + "line": 9, "column": 12 } } @@ -1426,15 +1548,15 @@ "binop": null }, "value": "WrapApplicator", - "start": 100, - "end": 114, + "start": 140, + "end": 154, "loc": { "start": { - "line": 3, + "line": 9, "column": 13 }, "end": { - "line": 3, + "line": 9, "column": 27 } } @@ -1454,15 +1576,15 @@ "updateContext": null }, "value": "extends", - "start": 115, - "end": 122, + "start": 155, + "end": 162, "loc": { "start": { - "line": 3, + "line": 9, "column": 28 }, "end": { - "line": 3, + "line": 9, "column": 35 } } @@ -1480,15 +1602,15 @@ "binop": null }, "value": "Applicator", - "start": 123, - "end": 133, + "start": 163, + "end": 173, "loc": { "start": { - "line": 3, + "line": 9, "column": 36 }, "end": { - "line": 3, + "line": 9, "column": 46 } } @@ -1505,19 +1627,35 @@ "postfix": false, "binop": null }, - "start": 134, - "end": 135, + "start": 174, + "end": 175, "loc": { "start": { - "line": 3, + "line": 9, "column": 47 }, "end": { - "line": 3, + "line": 9, "column": 48 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {ApplicateOptions} undefined\n ", + "start": 180, + "end": 289, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -1531,15 +1669,15 @@ "binop": null }, "value": "apply", - "start": 140, - "end": 145, + "start": 294, + "end": 299, "loc": { "start": { - "line": 4, + "line": 18, "column": 4 }, "end": { - "line": 4, + "line": 18, "column": 9 } } @@ -1556,15 +1694,15 @@ "postfix": false, "binop": null }, - "start": 145, - "end": 146, + "start": 299, + "end": 300, "loc": { "start": { - "line": 4, + "line": 18, "column": 9 }, "end": { - "line": 4, + "line": 18, "column": 10 } } @@ -1581,15 +1719,15 @@ "postfix": false, "binop": null }, - "start": 146, - "end": 147, + "start": 300, + "end": 301, "loc": { "start": { - "line": 4, + "line": 18, "column": 10 }, "end": { - "line": 4, + "line": 18, "column": 11 } } @@ -1607,15 +1745,15 @@ "binop": null }, "value": "args", - "start": 148, - "end": 152, + "start": 302, + "end": 306, "loc": { "start": { - "line": 4, + "line": 18, "column": 12 }, "end": { - "line": 4, + "line": 18, "column": 16 } } @@ -1633,15 +1771,15 @@ "binop": null, "updateContext": null }, - "start": 152, - "end": 153, + "start": 306, + "end": 307, "loc": { "start": { - "line": 4, + "line": 18, "column": 16 }, "end": { - "line": 4, + "line": 18, "column": 17 } } @@ -1659,15 +1797,15 @@ "binop": null }, "value": "config", - "start": 154, - "end": 160, + "start": 308, + "end": 314, "loc": { "start": { - "line": 4, + "line": 18, "column": 18 }, "end": { - "line": 4, + "line": 18, "column": 24 } } @@ -1685,15 +1823,15 @@ "binop": null, "updateContext": null }, - "start": 160, - "end": 161, + "start": 314, + "end": 315, "loc": { "start": { - "line": 4, + "line": 18, "column": 24 }, "end": { - "line": 4, + "line": 18, "column": 25 } } @@ -1710,15 +1848,15 @@ "postfix": false, "binop": null }, - "start": 162, - "end": 163, + "start": 316, + "end": 317, "loc": { "start": { - "line": 4, + "line": 18, "column": 26 }, "end": { - "line": 4, + "line": 18, "column": 27 } } @@ -1736,15 +1874,15 @@ "binop": null }, "value": "execute", - "start": 164, - "end": 171, + "start": 318, + "end": 325, "loc": { "start": { - "line": 4, + "line": 18, "column": 28 }, "end": { - "line": 4, + "line": 18, "column": 35 } } @@ -1761,15 +1899,15 @@ "postfix": false, "binop": null }, - "start": 172, - "end": 173, + "start": 326, + "end": 327, "loc": { "start": { - "line": 4, + "line": 18, "column": 36 }, "end": { - "line": 4, + "line": 18, "column": 37 } } @@ -1787,15 +1925,15 @@ "binop": null, "updateContext": null }, - "start": 173, - "end": 174, + "start": 327, + "end": 328, "loc": { "start": { - "line": 4, + "line": 18, "column": 37 }, "end": { - "line": 4, + "line": 18, "column": 38 } } @@ -1813,15 +1951,15 @@ "binop": null }, "value": "target", - "start": 175, - "end": 181, + "start": 329, + "end": 335, "loc": { "start": { - "line": 4, + "line": 18, "column": 39 }, "end": { - "line": 4, + "line": 18, "column": 45 } } @@ -1839,15 +1977,15 @@ "binop": null, "updateContext": null }, - "start": 181, - "end": 182, + "start": 335, + "end": 336, "loc": { "start": { - "line": 4, + "line": 18, "column": 45 }, "end": { - "line": 4, + "line": 18, "column": 46 } } @@ -1865,15 +2003,15 @@ "binop": null }, "value": "value", - "start": 183, - "end": 188, + "start": 337, + "end": 342, "loc": { "start": { - "line": 4, + "line": 18, "column": 47 }, "end": { - "line": 4, + "line": 18, "column": 52 } } @@ -1890,15 +2028,15 @@ "postfix": false, "binop": null }, - "start": 189, - "end": 190, + "start": 343, + "end": 344, "loc": { "start": { - "line": 4, + "line": 18, "column": 53 }, "end": { - "line": 4, + "line": 18, "column": 54 } } @@ -1915,15 +2053,15 @@ "postfix": false, "binop": null }, - "start": 190, - "end": 191, + "start": 344, + "end": 345, "loc": { "start": { - "line": 4, + "line": 18, "column": 54 }, "end": { - "line": 4, + "line": 18, "column": 55 } } @@ -1940,15 +2078,15 @@ "postfix": false, "binop": null }, - "start": 192, - "end": 193, + "start": 346, + "end": 347, "loc": { "start": { - "line": 4, + "line": 18, "column": 56 }, "end": { - "line": 4, + "line": 18, "column": 57 } } @@ -1968,15 +2106,15 @@ "updateContext": null }, "value": "return", - "start": 202, - "end": 208, + "start": 356, + "end": 362, "loc": { "start": { - "line": 5, + "line": 19, "column": 8 }, "end": { - "line": 5, + "line": 19, "column": 14 } } @@ -1995,15 +2133,15 @@ "binop": null }, "value": "function", - "start": 209, - "end": 217, + "start": 363, + "end": 371, "loc": { "start": { - "line": 5, + "line": 19, "column": 15 }, "end": { - "line": 5, + "line": 19, "column": 23 } } @@ -2020,15 +2158,15 @@ "postfix": false, "binop": null }, - "start": 218, - "end": 219, + "start": 372, + "end": 373, "loc": { "start": { - "line": 5, + "line": 19, "column": 24 }, "end": { - "line": 5, + "line": 19, "column": 25 } } @@ -2046,15 +2184,15 @@ "binop": null, "updateContext": null }, - "start": 219, - "end": 222, + "start": 373, + "end": 376, "loc": { "start": { - "line": 5, + "line": 19, "column": 25 }, "end": { - "line": 5, + "line": 19, "column": 28 } } @@ -2072,15 +2210,15 @@ "binop": null }, "value": "invokeArgs", - "start": 222, - "end": 232, + "start": 376, + "end": 386, "loc": { "start": { - "line": 5, + "line": 19, "column": 28 }, "end": { - "line": 5, + "line": 19, "column": 38 } } @@ -2097,15 +2235,15 @@ "postfix": false, "binop": null }, - "start": 232, - "end": 233, + "start": 386, + "end": 387, "loc": { "start": { - "line": 5, + "line": 19, "column": 38 }, "end": { - "line": 5, + "line": 19, "column": 39 } } @@ -2122,15 +2260,15 @@ "postfix": false, "binop": null }, - "start": 234, - "end": 235, + "start": 388, + "end": 389, "loc": { "start": { - "line": 5, + "line": 19, "column": 40 }, "end": { - "line": 5, + "line": 19, "column": 41 } } @@ -2150,15 +2288,15 @@ "updateContext": null }, "value": "return", - "start": 248, - "end": 254, + "start": 402, + "end": 408, "loc": { "start": { - "line": 6, + "line": 20, "column": 12 }, "end": { - "line": 6, + "line": 20, "column": 18 } } @@ -2176,15 +2314,15 @@ "binop": null }, "value": "execute", - "start": 255, - "end": 262, + "start": 409, + "end": 416, "loc": { "start": { - "line": 6, + "line": 20, "column": 19 }, "end": { - "line": 6, + "line": 20, "column": 26 } } @@ -2201,15 +2339,15 @@ "postfix": false, "binop": null }, - "start": 262, - "end": 263, + "start": 416, + "end": 417, "loc": { "start": { - "line": 6, + "line": 20, "column": 26 }, "end": { - "line": 6, + "line": 20, "column": 27 } } @@ -2227,15 +2365,15 @@ "binop": null }, "value": "resolveFunction", - "start": 263, - "end": 278, + "start": 417, + "end": 432, "loc": { "start": { - "line": 6, + "line": 20, "column": 27 }, "end": { - "line": 6, + "line": 20, "column": 42 } } @@ -2252,15 +2390,15 @@ "postfix": false, "binop": null }, - "start": 278, - "end": 279, + "start": 432, + "end": 433, "loc": { "start": { - "line": 6, + "line": 20, "column": 42 }, "end": { - "line": 6, + "line": 20, "column": 43 } } @@ -2278,15 +2416,15 @@ "binop": null }, "value": "args", - "start": 279, - "end": 283, + "start": 433, + "end": 437, "loc": { "start": { - "line": 6, + "line": 20, "column": 43 }, "end": { - "line": 6, + "line": 20, "column": 47 } } @@ -2304,15 +2442,15 @@ "binop": null, "updateContext": null }, - "start": 283, - "end": 284, + "start": 437, + "end": 438, "loc": { "start": { - "line": 6, + "line": 20, "column": 47 }, "end": { - "line": 6, + "line": 20, "column": 48 } } @@ -2331,15 +2469,15 @@ "updateContext": null }, "value": 0, - "start": 284, - "end": 285, + "start": 438, + "end": 439, "loc": { "start": { - "line": 6, + "line": 20, "column": 48 }, "end": { - "line": 6, + "line": 20, "column": 49 } } @@ -2357,15 +2495,15 @@ "binop": null, "updateContext": null }, - "start": 285, - "end": 286, + "start": 439, + "end": 440, "loc": { "start": { - "line": 6, + "line": 20, "column": 49 }, "end": { - "line": 6, + "line": 20, "column": 50 } } @@ -2383,15 +2521,15 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 287, + "start": 440, + "end": 441, "loc": { "start": { - "line": 6, + "line": 20, "column": 50 }, "end": { - "line": 6, + "line": 20, "column": 51 } } @@ -2411,15 +2549,15 @@ "updateContext": null }, "value": "this", - "start": 288, - "end": 292, + "start": 442, + "end": 446, "loc": { "start": { - "line": 6, + "line": 20, "column": 52 }, "end": { - "line": 6, + "line": 20, "column": 56 } } @@ -2437,15 +2575,15 @@ "binop": null, "updateContext": null }, - "start": 292, - "end": 293, + "start": 446, + "end": 447, "loc": { "start": { - "line": 6, + "line": 20, "column": 56 }, "end": { - "line": 6, + "line": 20, "column": 57 } } @@ -2463,15 +2601,15 @@ "binop": null }, "value": "target", - "start": 294, - "end": 300, + "start": 448, + "end": 454, "loc": { "start": { - "line": 6, + "line": 20, "column": 58 }, "end": { - "line": 6, + "line": 20, "column": 64 } } @@ -2488,15 +2626,15 @@ "postfix": false, "binop": null }, - "start": 300, - "end": 301, + "start": 454, + "end": 455, "loc": { "start": { - "line": 6, + "line": 20, "column": 64 }, "end": { - "line": 6, + "line": 20, "column": 65 } } @@ -2514,15 +2652,15 @@ "binop": null, "updateContext": null }, - "start": 301, - "end": 302, + "start": 455, + "end": 456, "loc": { "start": { - "line": 6, + "line": 20, "column": 65 }, "end": { - "line": 6, + "line": 20, "column": 66 } } @@ -2540,15 +2678,15 @@ "binop": null }, "value": "value", - "start": 303, - "end": 308, + "start": 457, + "end": 462, "loc": { "start": { - "line": 6, + "line": 20, "column": 67 }, "end": { - "line": 6, + "line": 20, "column": 72 } } @@ -2565,15 +2703,15 @@ "postfix": false, "binop": null }, - "start": 308, - "end": 309, + "start": 462, + "end": 463, "loc": { "start": { - "line": 6, + "line": 20, "column": 72 }, "end": { - "line": 6, + "line": 20, "column": 73 } } @@ -2591,15 +2729,15 @@ "binop": null, "updateContext": null }, - "start": 309, - "end": 310, + "start": 463, + "end": 464, "loc": { "start": { - "line": 6, + "line": 20, "column": 73 }, "end": { - "line": 6, + "line": 20, "column": 74 } } @@ -2617,15 +2755,15 @@ "binop": null }, "value": "apply", - "start": 310, - "end": 315, + "start": 464, + "end": 469, "loc": { "start": { - "line": 6, + "line": 20, "column": 74 }, "end": { - "line": 6, + "line": 20, "column": 79 } } @@ -2642,15 +2780,15 @@ "postfix": false, "binop": null }, - "start": 315, - "end": 316, + "start": 469, + "end": 470, "loc": { "start": { - "line": 6, + "line": 20, "column": 79 }, "end": { - "line": 6, + "line": 20, "column": 80 } } @@ -2670,15 +2808,15 @@ "updateContext": null }, "value": "this", - "start": 316, - "end": 320, + "start": 470, + "end": 474, "loc": { "start": { - "line": 6, + "line": 20, "column": 80 }, "end": { - "line": 6, + "line": 20, "column": 84 } } @@ -2696,15 +2834,15 @@ "binop": null, "updateContext": null }, - "start": 320, - "end": 321, + "start": 474, + "end": 475, "loc": { "start": { - "line": 6, + "line": 20, "column": 84 }, "end": { - "line": 6, + "line": 20, "column": 85 } } @@ -2722,15 +2860,15 @@ "binop": null }, "value": "invokeArgs", - "start": 322, - "end": 332, + "start": 476, + "end": 486, "loc": { "start": { - "line": 6, + "line": 20, "column": 86 }, "end": { - "line": 6, + "line": 20, "column": 96 } } @@ -2747,15 +2885,15 @@ "postfix": false, "binop": null }, - "start": 332, - "end": 333, + "start": 486, + "end": 487, "loc": { "start": { - "line": 6, + "line": 20, "column": 96 }, "end": { - "line": 6, + "line": 20, "column": 97 } } @@ -2773,15 +2911,15 @@ "binop": null, "updateContext": null }, - "start": 333, - "end": 334, + "start": 487, + "end": 488, "loc": { "start": { - "line": 6, + "line": 20, "column": 97 }, "end": { - "line": 6, + "line": 20, "column": 98 } } @@ -2798,15 +2936,15 @@ "postfix": false, "binop": null }, - "start": 343, - "end": 344, + "start": 497, + "end": 498, "loc": { "start": { - "line": 7, + "line": 21, "column": 8 }, "end": { - "line": 7, + "line": 21, "column": 9 } } @@ -2824,15 +2962,15 @@ "binop": null, "updateContext": null }, - "start": 344, - "end": 345, + "start": 498, + "end": 499, "loc": { "start": { - "line": 7, + "line": 21, "column": 9 }, "end": { - "line": 7, + "line": 21, "column": 10 } } @@ -2849,15 +2987,15 @@ "postfix": false, "binop": null }, - "start": 350, - "end": 351, + "start": 504, + "end": 505, "loc": { "start": { - "line": 8, + "line": 22, "column": 4 }, "end": { - "line": 8, + "line": 22, "column": 5 } } @@ -2874,15 +3012,15 @@ "postfix": false, "binop": null }, - "start": 352, - "end": 353, + "start": 506, + "end": 507, "loc": { "start": { - "line": 9, + "line": 23, "column": 0 }, "end": { - "line": 9, + "line": 23, "column": 1 } } @@ -2900,15 +3038,15 @@ "binop": null, "updateContext": null }, - "start": 354, - "end": 354, + "start": 508, + "end": 508, "loc": { "start": { - "line": 10, + "line": 24, "column": 0 }, "end": { - "line": 10, + "line": 24, "column": 0 } } diff --git a/docs/ast/source/ary.js.json b/docs/ast/source/ary.js.json deleted file mode 100644 index e16d720..0000000 --- a/docs/ast/source/ary.js.json +++ /dev/null @@ -1,2194 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 614, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 23, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 614, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 23, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - }, - "identifierName": "ary" - }, - "name": "ary" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - }, - "identifierName": "ary" - }, - "name": "ary" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 20, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 30, - "end": 92, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 39, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 39, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 39, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 56, - "end": 72, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 56, - "end": 72, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 56, - "end": 72, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 80, - "end": 91, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 93, - "end": 144, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 51 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 102, - "end": 120, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "imported": { - "type": "Identifier", - "start": 102, - "end": 120, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "local": { - "type": "Identifier", - "start": 102, - "end": 120, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 128, - "end": 143, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @param {number} n The arity cap.\n * @example\n *\n * class MyClass {\n * @Ary(1)\n * fn(...args) {\n * return args;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(1, 2, 3, 4); // => [ 1 ]\n ", - "start": 145, - "end": 465, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 466, - "end": 570, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 104 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 473, - "end": 570, - "loc": { - "start": { - "line": 20, - "column": 7 - }, - "end": { - "line": 20, - "column": 104 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 479, - "end": 569, - "loc": { - "start": { - "line": 20, - "column": 13 - }, - "end": { - "line": 20, - "column": 103 - } - }, - "id": { - "type": "Identifier", - "start": 479, - "end": 482, - "loc": { - "start": { - "line": 20, - "column": 13 - }, - "end": { - "line": 20, - "column": 16 - }, - "identifierName": "Ary" - }, - "name": "Ary", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 485, - "end": 569, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 103 - } - }, - "callee": { - "type": "MemberExpression", - "start": 485, - "end": 517, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 485, - "end": 501, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 35 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 502, - "end": 517, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 51 - }, - "identifierName": "createDecorator" - }, - "name": "createDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 518, - "end": 568, - "loc": { - "start": { - "line": 20, - "column": 52 - }, - "end": { - "line": 20, - "column": 102 - } - }, - "callee": { - "type": "Identifier", - "start": 522, - "end": 537, - "loc": { - "start": { - "line": 20, - "column": 56 - }, - "end": { - "line": 20, - "column": 71 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 538, - "end": 541, - "loc": { - "start": { - "line": 20, - "column": 72 - }, - "end": { - "line": 20, - "column": 75 - }, - "identifierName": "ary" - }, - "name": "ary" - }, - { - "type": "NewExpression", - "start": 543, - "end": 567, - "loc": { - "start": { - "line": 20, - "column": 77 - }, - "end": { - "line": 20, - "column": 101 - } - }, - "callee": { - "type": "Identifier", - "start": 547, - "end": 565, - "loc": { - "start": { - "line": 20, - "column": 81 - }, - "end": { - "line": 20, - "column": 99 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "arguments": [] - } - ] - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @param {number} n The arity cap.\n * @example\n *\n * class MyClass {\n * @Ary(1)\n * fn(...args) {\n * return args;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(1, 2, 3, 4); // => [ 1 ]\n ", - "start": 145, - "end": 465, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @param {number} n The arity cap.\n * @example\n *\n * class MyClass {\n * @Ary(1)\n * fn(...args) {\n * return args;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(1, 2, 3, 4); // => [ 1 ]\n ", - "start": 145, - "end": 465, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 571, - "end": 593, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 22 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 580, - "end": 590, - "loc": { - "start": { - "line": 21, - "column": 9 - }, - "end": { - "line": 21, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 580, - "end": 583, - "loc": { - "start": { - "line": 21, - "column": 9 - }, - "end": { - "line": 21, - "column": 12 - }, - "identifierName": "Ary" - }, - "name": "Ary" - }, - "exported": { - "type": "Identifier", - "start": 587, - "end": 590, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 19 - }, - "identifierName": "ary" - }, - "name": "ary" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 594, - "end": 613, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 22, - "column": 19 - } - }, - "declaration": { - "type": "Identifier", - "start": 609, - "end": 612, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 18 - }, - "identifierName": "Ary" - }, - "name": "Ary", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @param {number} n The arity cap.\n * @example\n *\n * class MyClass {\n * @Ary(1)\n * fn(...args) {\n * return args;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(1, 2, 3, 4); // => [ 1 ]\n ", - "start": 145, - "end": 465, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ary", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 20, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 28, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 30, - "end": 36, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 37, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 39, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 54, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 56, - "end": 72, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 73, - "end": 74, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 75, - "end": 79, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 80, - "end": 91, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 91, - "end": 92, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 93, - "end": 99, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 100, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 102, - "end": 120, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 121, - "end": 122, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 123, - "end": 127, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 128, - "end": 143, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 143, - "end": 144, - "loc": { - "start": { - "line": 3, - "column": 50 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @param {number} n The arity cap.\n * @example\n *\n * class MyClass {\n * @Ary(1)\n * fn(...args) {\n * return args;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(1, 2, 3, 4); // => [ 1 ]\n ", - "start": 145, - "end": 465, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 466, - "end": 472, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 473, - "end": 478, - "loc": { - "start": { - "line": 20, - "column": 7 - }, - "end": { - "line": 20, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Ary", - "start": 479, - "end": 482, - "loc": { - "start": { - "line": 20, - "column": 13 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 483, - "end": 484, - "loc": { - "start": { - "line": 20, - "column": 17 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 485, - "end": 501, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 501, - "end": 502, - "loc": { - "start": { - "line": 20, - "column": 35 - }, - "end": { - "line": 20, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createDecorator", - "start": 502, - "end": 517, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 51 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 517, - "end": 518, - "loc": { - "start": { - "line": 20, - "column": 51 - }, - "end": { - "line": 20, - "column": 52 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 518, - "end": 521, - "loc": { - "start": { - "line": 20, - "column": 52 - }, - "end": { - "line": 20, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 522, - "end": 537, - "loc": { - "start": { - "line": 20, - "column": 56 - }, - "end": { - "line": 20, - "column": 71 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 537, - "end": 538, - "loc": { - "start": { - "line": 20, - "column": 71 - }, - "end": { - "line": 20, - "column": 72 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ary", - "start": 538, - "end": 541, - "loc": { - "start": { - "line": 20, - "column": 72 - }, - "end": { - "line": 20, - "column": 75 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 541, - "end": 542, - "loc": { - "start": { - "line": 20, - "column": 75 - }, - "end": { - "line": 20, - "column": 76 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 543, - "end": 546, - "loc": { - "start": { - "line": 20, - "column": 77 - }, - "end": { - "line": 20, - "column": 80 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 547, - "end": 565, - "loc": { - "start": { - "line": 20, - "column": 81 - }, - "end": { - "line": 20, - "column": 99 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 565, - "end": 566, - "loc": { - "start": { - "line": 20, - "column": 99 - }, - "end": { - "line": 20, - "column": 100 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 566, - "end": 567, - "loc": { - "start": { - "line": 20, - "column": 100 - }, - "end": { - "line": 20, - "column": 101 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 567, - "end": 568, - "loc": { - "start": { - "line": 20, - "column": 101 - }, - "end": { - "line": 20, - "column": 102 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 568, - "end": 569, - "loc": { - "start": { - "line": 20, - "column": 102 - }, - "end": { - "line": 20, - "column": 103 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 569, - "end": 570, - "loc": { - "start": { - "line": 20, - "column": 103 - }, - "end": { - "line": 20, - "column": 104 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 571, - "end": 577, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 578, - "end": 579, - "loc": { - "start": { - "line": 21, - "column": 7 - }, - "end": { - "line": 21, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Ary", - "start": 580, - "end": 583, - "loc": { - "start": { - "line": 21, - "column": 9 - }, - "end": { - "line": 21, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 584, - "end": 586, - "loc": { - "start": { - "line": 21, - "column": 13 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ary", - "start": 587, - "end": 590, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 591, - "end": 592, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 592, - "end": 593, - "loc": { - "start": { - "line": 21, - "column": 21 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 594, - "end": 600, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 22, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 601, - "end": 608, - "loc": { - "start": { - "line": 22, - "column": 7 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Ary", - "start": 609, - "end": 612, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 612, - "end": 613, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 614, - "end": 614, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 23, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/ary.ts.json b/docs/ast/source/ary.ts.json new file mode 100644 index 0000000..75ae0c2 --- /dev/null +++ b/docs/ast/source/ary.ts.json @@ -0,0 +1,2618 @@ +{ + "type": "File", + "start": 0, + "end": 520, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 19, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 520, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 19, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 51 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 115, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 103 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 217, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 102 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 217, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 102 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 216, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 101 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 186, + "end": 189, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 74 + }, + "identifierName": "ary" + }, + "name": "ary" + }, + { + "type": "NewExpression", + "start": 191, + "end": 215, + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 100 + } + }, + "callee": { + "type": "Identifier", + "start": 195, + "end": 213, + "loc": { + "start": { + "line": 3, + "column": 80 + }, + "end": { + "line": 3, + "column": 98 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 419, + "end": 470, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 426, + "end": 470, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 435, + "end": 438, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 19 + }, + "identifierName": "Ary" + }, + "name": "Ary", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 439, + "end": 440, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 21 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 442, + "end": 470, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 448, + "end": 468, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 24 + } + }, + "argument": { + "type": "CallExpression", + "start": 455, + "end": 467, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 23 + } + }, + "callee": { + "type": "Identifier", + "start": 455, + "end": 464, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 465, + "end": 466, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 22 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @lineNumber\n * 27\n * @param\n * {number} n\n * @return\n * {LodashMethodDecorator}\n ", + "start": 219, + "end": 418, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @lineNumber\n * 27\n * @param\n * {number} n\n * @return\n * {LodashMethodDecorator}\n ", + "start": 219, + "end": 418, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 471, + "end": 493, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 22 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 480, + "end": 490, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 19 + } + }, + "local": { + "type": "Identifier", + "start": 480, + "end": 483, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 12 + }, + "identifierName": "Ary" + }, + "name": "Ary" + }, + "exported": { + "type": "Identifier", + "start": 487, + "end": 490, + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 19 + }, + "identifierName": "ary" + }, + "name": "ary" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 494, + "end": 519, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 509, + "end": 518, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 494, + "end": 519, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 115, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 103 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 217, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 102 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 217, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 102 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 216, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 101 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 186, + "end": 189, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 74 + }, + "identifierName": "ary" + }, + "name": "ary" + }, + { + "type": "NewExpression", + "start": 191, + "end": 215, + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 100 + } + }, + "callee": { + "type": "Identifier", + "start": 195, + "end": 213, + "loc": { + "start": { + "line": 3, + "column": 80 + }, + "end": { + "line": 3, + "column": 98 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @lineNumber\n * 27\n * @param\n * {number} n\n * @return\n * {LodashMethodDecorator}\n ", + "start": 219, + "end": 418, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @lineNumber\n * 27\n * @param\n * {number} n\n * @return\n * {LodashMethodDecorator}\n ", + "start": 219, + "end": 418, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 2, + "column": 28 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 93, + "end": 97, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 113, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 50 + }, + "end": { + "line": 2, + "column": 51 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 115, + "end": 120, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 149, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createDecorator", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 165, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 166, + "end": 169, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 185, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 70 + }, + "end": { + "line": 3, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ary", + "start": 186, + "end": 189, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 74 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 189, + "end": 190, + "loc": { + "start": { + "line": 3, + "column": 74 + }, + "end": { + "line": 3, + "column": 75 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 191, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 76 + }, + "end": { + "line": 3, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 195, + "end": 213, + "loc": { + "start": { + "line": 3, + "column": 80 + }, + "end": { + "line": 3, + "column": 98 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 213, + "end": 214, + "loc": { + "start": { + "line": 3, + "column": 98 + }, + "end": { + "line": 3, + "column": 99 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 214, + "end": 215, + "loc": { + "start": { + "line": 3, + "column": 99 + }, + "end": { + "line": 3, + "column": 100 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 215, + "end": 216, + "loc": { + "start": { + "line": 3, + "column": 100 + }, + "end": { + "line": 3, + "column": 101 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 216, + "end": 217, + "loc": { + "start": { + "line": 3, + "column": 101 + }, + "end": { + "line": 3, + "column": 102 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 217, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 102 + }, + "end": { + "line": 3, + "column": 103 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @lineNumber\n * 27\n * @param\n * {number} n\n * @return\n * {LodashMethodDecorator}\n ", + "start": 219, + "end": 418, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 419, + "end": 425, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 426, + "end": 434, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Ary", + "start": 435, + "end": 438, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 438, + "end": 439, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 439, + "end": 440, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 440, + "end": 441, + "loc": { + "start": { + "line": 14, + "column": 21 + }, + "end": { + "line": 14, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 442, + "end": 443, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 448, + "end": 454, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 455, + "end": 464, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 464, + "end": 465, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 465, + "end": 466, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 466, + "end": 467, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 467, + "end": 468, + "loc": { + "start": { + "line": 15, + "column": 23 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 469, + "end": 470, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 471, + "end": 477, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 478, + "end": 479, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Ary", + "start": 480, + "end": 483, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 484, + "end": 486, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ary", + "start": 487, + "end": 490, + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 491, + "end": 492, + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 492, + "end": 493, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 22 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 494, + "end": 500, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 501, + "end": 508, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 509, + "end": 518, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 518, + "end": 519, + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 18, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 520, + "end": 520, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/attempt.js.json b/docs/ast/source/attempt.ts.json similarity index 77% rename from docs/ast/source/attempt.js.json rename to docs/ast/source/attempt.ts.json index e9953c9..a4a46aa 100644 --- a/docs/ast/source/attempt.js.json +++ b/docs/ast/source/attempt.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 871, + "end": 863, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 29, + "line": 31, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 871, + "end": 863, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 29, + "line": 31, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 42, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 42 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 16 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 16 - }, - "identifierName": "attempt" - }, - "name": "attempt" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -85,124 +68,6 @@ }, "end": { "line": 1, - "column": 16 - }, - "identifierName": "attempt" - }, - "name": "attempt" - } - }, - { - "type": "ImportSpecifier", - "start": 18, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "imported": { - "type": "Identifier", - "start": 18, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 25 - }, - "identifierName": "partial" - }, - "name": "partial" - }, - "local": { - "type": "Identifier", - "start": 18, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 25 - }, - "identifierName": "partial" - }, - "name": "partial" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 33, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 43, - "end": 105, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 52, - "end": 67, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 52, - "end": 67, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -211,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 52, - "end": 67, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -229,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 69, - "end": 85, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 69, - "end": 85, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -260,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 69, - "end": 85, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -279,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 93, - "end": 104, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -300,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 106, - "end": 157, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 115, - "end": 133, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 115, - "end": 133, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -346,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 115, - "end": 133, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -365,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 141, - "end": 156, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -386,80 +251,80 @@ }, { "type": "VariableDeclaration", - "start": 158, - "end": 204, + "start": 115, + "end": 162, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 4, - "column": 46 + "line": 3, + "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 164, - "end": 203, + "start": 121, + "end": 161, "loc": { "start": { - "line": 4, + "line": 3, "column": 6 }, "end": { - "line": 4, - "column": 45 + "line": 3, + "column": 46 } }, "id": { "type": "Identifier", - "start": 164, - "end": 172, + "start": 121, + "end": 130, "loc": { "start": { - "line": 4, + "line": 3, "column": 6 }, "end": { - "line": 4, - "column": 14 + "line": 3, + "column": 15 }, - "identifierName": "_attempt" + "identifierName": "attemptFn" }, - "name": "_attempt" + "name": "attemptFn" }, "init": { "type": "ArrowFunctionExpression", - "start": 175, - "end": 203, + "start": 133, + "end": 161, "loc": { "start": { - "line": 4, - "column": 17 + "line": 3, + "column": 18 }, "end": { - "line": 4, - "column": 45 + "line": 3, + "column": 46 } }, "id": { "type": "Identifier", - "start": 164, - "end": 172, + "start": 121, + "end": 130, "loc": { "start": { - "line": 4, + "line": 3, "column": 6 }, "end": { - "line": 4, - "column": 14 + "line": 3, + "column": 15 }, - "identifierName": "_attempt" + "identifierName": "attemptFn" }, - "name": "_attempt" + "name": "attemptFn" }, "generator": false, "expression": true, @@ -467,16 +332,16 @@ "params": [ { "type": "Identifier", - "start": 176, - "end": 178, + "start": 134, + "end": 136, "loc": { "start": { - "line": 4, - "column": 18 + "line": 3, + "column": 19 }, "end": { - "line": 4, - "column": 20 + "line": 3, + "column": 21 }, "identifierName": "fn" }, @@ -485,30 +350,30 @@ ], "body": { "type": "CallExpression", - "start": 183, - "end": 203, + "start": 141, + "end": 161, "loc": { "start": { - "line": 4, - "column": 25 + "line": 3, + "column": 26 }, "end": { - "line": 4, - "column": 45 + "line": 3, + "column": 46 } }, "callee": { "type": "Identifier", - "start": 183, - "end": 190, + "start": 141, + "end": 148, "loc": { "start": { - "line": 4, - "column": 25 + "line": 3, + "column": 26 }, "end": { - "line": 4, - "column": 32 + "line": 3, + "column": 33 }, "identifierName": "partial" }, @@ -517,16 +382,16 @@ "arguments": [ { "type": "Identifier", - "start": 191, - "end": 198, + "start": 149, + "end": 156, "loc": { "start": { - "line": 4, - "column": 33 + "line": 3, + "column": 34 }, "end": { - "line": 4, - "column": 40 + "line": 3, + "column": 41 }, "identifierName": "attempt" }, @@ -534,16 +399,16 @@ }, { "type": "Identifier", - "start": 200, - "end": 202, + "start": 158, + "end": 160, "loc": { "start": { - "line": 4, - "column": 42 + "line": 3, + "column": 43 }, "end": { - "line": 4, - "column": 44 + "line": 3, + "column": 45 }, "identifierName": "fn" }, @@ -558,12 +423,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", - "start": 205, - "end": 701, + "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", + "start": 163, + "end": 662, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { @@ -576,53 +441,53 @@ }, { "type": "ExportNamedDeclaration", - "start": 702, - "end": 815, + "start": 663, + "end": 807, "loc": { "start": { "line": 26, "column": 0 }, "end": { - "line": 26, - "column": 113 + "line": 28, + "column": 4 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 709, - "end": 815, + "start": 670, + "end": 807, "loc": { "start": { "line": 26, "column": 7 }, "end": { - "line": 26, - "column": 113 + "line": 28, + "column": 4 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 715, - "end": 814, + "start": 676, + "end": 806, "loc": { "start": { "line": 26, "column": 13 }, "end": { - "line": 26, - "column": 112 + "line": 28, + "column": 3 } }, "id": { "type": "Identifier", - "start": 715, - "end": 722, + "start": 676, + "end": 683, "loc": { "start": { "line": 26, @@ -639,22 +504,22 @@ }, "init": { "type": "CallExpression", - "start": 725, - "end": 814, + "start": 686, + "end": 806, "loc": { "start": { "line": 26, "column": 23 }, "end": { - "line": 26, - "column": 112 + "line": 28, + "column": 3 } }, "callee": { "type": "MemberExpression", - "start": 725, - "end": 757, + "start": 686, + "end": 718, "loc": { "start": { "line": 26, @@ -667,8 +532,8 @@ }, "object": { "type": "Identifier", - "start": 725, - "end": 741, + "start": 686, + "end": 702, "loc": { "start": { "line": 26, @@ -684,8 +549,8 @@ }, "property": { "type": "Identifier", - "start": 742, - "end": 757, + "start": 703, + "end": 718, "loc": { "start": { "line": 26, @@ -704,22 +569,22 @@ "arguments": [ { "type": "NewExpression", - "start": 758, - "end": 813, + "start": 719, + "end": 805, "loc": { "start": { "line": 26, "column": 56 }, "end": { - "line": 26, - "column": 111 + "line": 28, + "column": 2 } }, "callee": { "type": "Identifier", - "start": 762, - "end": 777, + "start": 723, + "end": 738, "loc": { "start": { "line": 26, @@ -736,8 +601,8 @@ "arguments": [ { "type": "Identifier", - "start": 778, - "end": 786, + "start": 739, + "end": 748, "loc": { "start": { "line": 26, @@ -745,44 +610,112 @@ }, "end": { "line": 26, - "column": 84 + "column": 85 }, - "identifierName": "_attempt" + "identifierName": "attemptFn" }, - "name": "_attempt" + "name": "attemptFn" }, { "type": "NewExpression", - "start": 788, - "end": 812, + "start": 750, + "end": 774, "loc": { "start": { "line": 26, - "column": 86 + "column": 87 }, "end": { "line": 26, - "column": 110 + "column": 111 } }, "callee": { "type": "Identifier", - "start": 792, - "end": 810, + "start": 754, + "end": 772, "loc": { "start": { "line": 26, - "column": 90 + "column": 91 }, "end": { "line": 26, - "column": 108 + "column": 109 }, "identifierName": "PreValueApplicator" }, "name": "PreValueApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 776, + "end": 804, + "loc": { + "start": { + "line": 26, + "column": 113 + }, + "end": { + "line": 28, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 782, + "end": 802, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 782, + "end": 796, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 18 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 798, + "end": 802, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 24 + } + }, + "value": true + } + } + ] } ] } @@ -795,12 +728,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", - "start": 205, - "end": 701, + "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", + "start": 163, + "end": 662, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { @@ -815,12 +748,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", - "start": 205, - "end": 701, + "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", + "start": 163, + "end": 662, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { @@ -833,15 +766,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 816, - "end": 846, + "start": 808, + "end": 838, "loc": { "start": { - "line": 27, + "line": 29, "column": 0 }, "end": { - "line": 27, + "line": 29, "column": 30 } }, @@ -849,29 +782,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 825, - "end": 843, + "start": 817, + "end": 835, "loc": { "start": { - "line": 27, + "line": 29, "column": 9 }, "end": { - "line": 27, + "line": 29, "column": 27 } }, "local": { "type": "Identifier", - "start": 825, - "end": 832, + "start": 817, + "end": 824, "loc": { "start": { - "line": 27, + "line": 29, "column": 9 }, "end": { - "line": 27, + "line": 29, "column": 16 }, "identifierName": "Attempt" @@ -880,15 +813,15 @@ }, "exported": { "type": "Identifier", - "start": 836, - "end": 843, + "start": 828, + "end": 835, "loc": { "start": { - "line": 27, + "line": 29, "column": 20 }, "end": { - "line": 27, + "line": 29, "column": 27 }, "identifierName": "attempt" @@ -901,29 +834,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 847, - "end": 870, + "start": 839, + "end": 862, "loc": { "start": { - "line": 28, + "line": 30, "column": 0 }, "end": { - "line": 28, + "line": 30, "column": 23 } }, "declaration": { "type": "Identifier", - "start": 862, - "end": 869, + "start": 854, + "end": 861, "loc": { "start": { - "line": 28, + "line": 30, "column": 15 }, "end": { - "line": 28, + "line": 30, "column": 22 }, "identifierName": "Attempt" @@ -939,12 +872,12 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", - "start": 205, - "end": 701, + "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", + "start": 163, + "end": 662, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { @@ -960,7 +893,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1020,9 +953,9 @@ "postfix": false, "binop": null }, - "value": "attempt", + "value": "DecoratorConfig", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -1030,7 +963,7 @@ }, "end": { "line": 1, - "column": 16 + "column": 24 } } }, @@ -1047,16 +980,16 @@ "binop": null, "updateContext": null }, - "start": 16, - "end": 17, + "start": 24, + "end": 25, "loc": { "start": { "line": 1, - "column": 16 + "column": 24 }, "end": { "line": 1, - "column": 17 + "column": 25 } } }, @@ -1072,17 +1005,17 @@ "postfix": false, "binop": null }, - "value": "partial", - "start": 18, - "end": 25, + "value": "DecoratorFactory", + "start": 26, + "end": 42, "loc": { "start": { "line": 1, - "column": 18 + "column": 26 }, "end": { "line": 1, - "column": 25 + "column": 42 } } }, @@ -1098,16 +1031,16 @@ "postfix": false, "binop": null }, - "start": 26, - "end": 27, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 26 + "column": 43 }, "end": { "line": 1, - "column": 27 + "column": 44 } } }, @@ -1124,16 +1057,16 @@ "binop": null }, "value": "from", - "start": 28, - "end": 32, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 28 + "column": 45 }, "end": { "line": 1, - "column": 32 + "column": 49 } } }, @@ -1150,17 +1083,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 33, - "end": 41, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 33 + "column": 50 }, "end": { "line": 1, - "column": 41 + "column": 61 } } }, @@ -1177,16 +1110,16 @@ "binop": null, "updateContext": null }, - "start": 41, - "end": 42, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 41 + "column": 61 }, "end": { "line": 1, - "column": 42 + "column": 62 } } }, @@ -1195,7 +1128,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1205,8 +1138,8 @@ "updateContext": null }, "value": "import", - "start": 43, - "end": 49, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -1230,8 +1163,8 @@ "postfix": false, "binop": null }, - "start": 50, - "end": 51, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -1255,9 +1188,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 52, - "end": 67, + "value": "PreValueApplicator", + "start": 72, + "end": 90, "loc": { "start": { "line": 2, @@ -1265,84 +1198,32 @@ }, "end": { "line": 2, - "column": 24 + "column": 27 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 67, - "end": 68, + "start": 91, + "end": 92, "loc": { "start": { "line": 2, - "column": 24 + "column": 28 }, "end": { "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 69, - "end": 85, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 86, - "end": 87, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 + "column": 29 } } }, @@ -1359,198 +1240,15 @@ "binop": null }, "value": "from", - "start": 88, - "end": 92, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", "start": 93, - "end": 104, + "end": 97, "loc": { "start": { "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 104, - "end": 105, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 106, - "end": 112, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 113, - "end": 114, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 115, - "end": 133, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 134, - "end": 135, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 136, - "end": 140, - "loc": { - "start": { - "line": 3, "column": 30 }, "end": { - "line": 3, + "line": 2, "column": 34 } } @@ -1569,15 +1267,15 @@ "updateContext": null }, "value": "./applicators", - "start": 141, - "end": 156, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } } @@ -1595,15 +1293,15 @@ "binop": null, "updateContext": null }, - "start": 156, - "end": 157, + "start": 113, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 50 }, "end": { - "line": 3, + "line": 2, "column": 51 } } @@ -1623,15 +1321,15 @@ "updateContext": null }, "value": "const", - "start": 158, - "end": 163, + "start": 115, + "end": 120, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 4, + "line": 3, "column": 5 } } @@ -1648,17 +1346,17 @@ "postfix": false, "binop": null }, - "value": "_attempt", - "start": 164, - "end": 172, + "value": "attemptFn", + "start": 121, + "end": 130, "loc": { "start": { - "line": 4, + "line": 3, "column": 6 }, "end": { - "line": 4, - "column": 14 + "line": 3, + "column": 15 } } }, @@ -1676,16 +1374,16 @@ "updateContext": null }, "value": "=", - "start": 173, - "end": 174, + "start": 131, + "end": 132, "loc": { "start": { - "line": 4, - "column": 15 + "line": 3, + "column": 16 }, "end": { - "line": 4, - "column": 16 + "line": 3, + "column": 17 } } }, @@ -1701,16 +1399,16 @@ "postfix": false, "binop": null }, - "start": 175, - "end": 176, + "start": 133, + "end": 134, "loc": { "start": { - "line": 4, - "column": 17 + "line": 3, + "column": 18 }, "end": { - "line": 4, - "column": 18 + "line": 3, + "column": 19 } } }, @@ -1727,16 +1425,16 @@ "binop": null }, "value": "fn", - "start": 176, - "end": 178, + "start": 134, + "end": 136, "loc": { "start": { - "line": 4, - "column": 18 + "line": 3, + "column": 19 }, "end": { - "line": 4, - "column": 20 + "line": 3, + "column": 21 } } }, @@ -1752,16 +1450,16 @@ "postfix": false, "binop": null }, - "start": 178, - "end": 179, + "start": 136, + "end": 137, "loc": { "start": { - "line": 4, - "column": 20 + "line": 3, + "column": 21 }, "end": { - "line": 4, - "column": 21 + "line": 3, + "column": 22 } } }, @@ -1778,16 +1476,16 @@ "binop": null, "updateContext": null }, - "start": 180, - "end": 182, + "start": 138, + "end": 140, "loc": { "start": { - "line": 4, - "column": 22 + "line": 3, + "column": 23 }, "end": { - "line": 4, - "column": 24 + "line": 3, + "column": 25 } } }, @@ -1804,16 +1502,16 @@ "binop": null }, "value": "partial", - "start": 183, - "end": 190, + "start": 141, + "end": 148, "loc": { "start": { - "line": 4, - "column": 25 + "line": 3, + "column": 26 }, "end": { - "line": 4, - "column": 32 + "line": 3, + "column": 33 } } }, @@ -1829,16 +1527,16 @@ "postfix": false, "binop": null }, - "start": 190, - "end": 191, + "start": 148, + "end": 149, "loc": { "start": { - "line": 4, - "column": 32 + "line": 3, + "column": 33 }, "end": { - "line": 4, - "column": 33 + "line": 3, + "column": 34 } } }, @@ -1855,16 +1553,16 @@ "binop": null }, "value": "attempt", - "start": 191, - "end": 198, + "start": 149, + "end": 156, "loc": { "start": { - "line": 4, - "column": 33 + "line": 3, + "column": 34 }, "end": { - "line": 4, - "column": 40 + "line": 3, + "column": 41 } } }, @@ -1881,16 +1579,16 @@ "binop": null, "updateContext": null }, - "start": 198, - "end": 199, + "start": 156, + "end": 157, "loc": { "start": { - "line": 4, - "column": 40 + "line": 3, + "column": 41 }, "end": { - "line": 4, - "column": 41 + "line": 3, + "column": 42 } } }, @@ -1907,16 +1605,16 @@ "binop": null }, "value": "fn", - "start": 200, - "end": 202, + "start": 158, + "end": 160, "loc": { "start": { - "line": 4, - "column": 42 + "line": 3, + "column": 43 }, "end": { - "line": 4, - "column": 44 + "line": 3, + "column": 45 } } }, @@ -1932,16 +1630,16 @@ "postfix": false, "binop": null }, - "start": 202, - "end": 203, + "start": 160, + "end": 161, "loc": { "start": { - "line": 4, - "column": 44 + "line": 3, + "column": 45 }, "end": { - "line": 4, - "column": 45 + "line": 3, + "column": 46 } } }, @@ -1958,27 +1656,27 @@ "binop": null, "updateContext": null }, - "start": 203, - "end": 204, + "start": 161, + "end": 162, "loc": { "start": { - "line": 4, - "column": 45 + "line": 3, + "column": 46 }, "end": { - "line": 4, - "column": 46 + "line": 3, + "column": 47 } } }, { "type": "CommentBlock", - "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", - "start": 205, - "end": 701, + "value": "*\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n ", + "start": 163, + "end": 662, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { @@ -2002,8 +1700,8 @@ "updateContext": null }, "value": "export", - "start": 702, - "end": 708, + "start": 663, + "end": 669, "loc": { "start": { "line": 26, @@ -2030,8 +1728,8 @@ "updateContext": null }, "value": "const", - "start": 709, - "end": 714, + "start": 670, + "end": 675, "loc": { "start": { "line": 26, @@ -2056,8 +1754,8 @@ "binop": null }, "value": "Attempt", - "start": 715, - "end": 722, + "start": 676, + "end": 683, "loc": { "start": { "line": 26, @@ -2083,8 +1781,8 @@ "updateContext": null }, "value": "=", - "start": 723, - "end": 724, + "start": 684, + "end": 685, "loc": { "start": { "line": 26, @@ -2109,8 +1807,8 @@ "binop": null }, "value": "DecoratorFactory", - "start": 725, - "end": 741, + "start": 686, + "end": 702, "loc": { "start": { "line": 26, @@ -2135,8 +1833,8 @@ "binop": null, "updateContext": null }, - "start": 741, - "end": 742, + "start": 702, + "end": 703, "loc": { "start": { "line": 26, @@ -2161,8 +1859,8 @@ "binop": null }, "value": "createDecorator", - "start": 742, - "end": 757, + "start": 703, + "end": 718, "loc": { "start": { "line": 26, @@ -2186,8 +1884,8 @@ "postfix": false, "binop": null }, - "start": 757, - "end": 758, + "start": 718, + "end": 719, "loc": { "start": { "line": 26, @@ -2214,8 +1912,8 @@ "updateContext": null }, "value": "new", - "start": 758, - "end": 761, + "start": 719, + "end": 722, "loc": { "start": { "line": 26, @@ -2240,8 +1938,8 @@ "binop": null }, "value": "DecoratorConfig", - "start": 762, - "end": 777, + "start": 723, + "end": 738, "loc": { "start": { "line": 26, @@ -2265,8 +1963,8 @@ "postfix": false, "binop": null }, - "start": 777, - "end": 778, + "start": 738, + "end": 739, "loc": { "start": { "line": 26, @@ -2290,9 +1988,9 @@ "postfix": false, "binop": null }, - "value": "_attempt", - "start": 778, - "end": 786, + "value": "attemptFn", + "start": 739, + "end": 748, "loc": { "start": { "line": 26, @@ -2300,7 +1998,7 @@ }, "end": { "line": 26, - "column": 84 + "column": 85 } } }, @@ -2317,16 +2015,16 @@ "binop": null, "updateContext": null }, - "start": 786, - "end": 787, + "start": 748, + "end": 749, "loc": { "start": { "line": 26, - "column": 84 + "column": 85 }, "end": { "line": 26, - "column": 85 + "column": 86 } } }, @@ -2345,16 +2043,16 @@ "updateContext": null }, "value": "new", - "start": 788, - "end": 791, + "start": 750, + "end": 753, "loc": { "start": { "line": 26, - "column": 86 + "column": 87 }, "end": { "line": 26, - "column": 89 + "column": 90 } } }, @@ -2371,16 +2069,16 @@ "binop": null }, "value": "PreValueApplicator", - "start": 792, - "end": 810, + "start": 754, + "end": 772, "loc": { "start": { "line": 26, - "column": 90 + "column": 91 }, "end": { "line": 26, - "column": 108 + "column": 109 } } }, @@ -2396,16 +2094,16 @@ "postfix": false, "binop": null }, - "start": 810, - "end": 811, + "start": 772, + "end": 773, "loc": { "start": { "line": 26, - "column": 108 + "column": 109 }, "end": { "line": 26, - "column": 109 + "column": 110 } } }, @@ -2421,41 +2119,172 @@ "postfix": false, "binop": null }, - "start": 811, - "end": 812, + "start": 773, + "end": 774, "loc": { "start": { "line": 26, - "column": 109 + "column": 110 }, "end": { "line": 26, - "column": 110 + "column": 111 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 774, + "end": 775, + "loc": { + "start": { + "line": 26, + "column": 111 + }, + "end": { + "line": 26, + "column": 112 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 812, - "end": 813, + "start": 776, + "end": 777, "loc": { "start": { "line": 26, - "column": 110 + "column": 113 }, "end": { "line": 26, - "column": 111 + "column": 114 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 782, + "end": 796, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 796, + "end": 797, + "loc": { + "start": { + "line": 27, + "column": 18 + }, + "end": { + "line": 27, + "column": 19 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 798, + "end": 802, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 803, + "end": 804, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 1 } } }, @@ -2471,16 +2300,41 @@ "postfix": false, "binop": null }, - "start": 813, - "end": 814, + "start": 804, + "end": 805, "loc": { "start": { - "line": 26, - "column": 111 + "line": 28, + "column": 1 }, "end": { - "line": 26, - "column": 112 + "line": 28, + "column": 2 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 805, + "end": 806, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 3 } } }, @@ -2497,16 +2351,16 @@ "binop": null, "updateContext": null }, - "start": 814, - "end": 815, + "start": 806, + "end": 807, "loc": { "start": { - "line": 26, - "column": 112 + "line": 28, + "column": 3 }, "end": { - "line": 26, - "column": 113 + "line": 28, + "column": 4 } } }, @@ -2525,15 +2379,15 @@ "updateContext": null }, "value": "export", - "start": 816, - "end": 822, + "start": 808, + "end": 814, "loc": { "start": { - "line": 27, + "line": 29, "column": 0 }, "end": { - "line": 27, + "line": 29, "column": 6 } } @@ -2550,15 +2404,15 @@ "postfix": false, "binop": null }, - "start": 823, - "end": 824, + "start": 815, + "end": 816, "loc": { "start": { - "line": 27, + "line": 29, "column": 7 }, "end": { - "line": 27, + "line": 29, "column": 8 } } @@ -2576,15 +2430,15 @@ "binop": null }, "value": "Attempt", - "start": 825, - "end": 832, + "start": 817, + "end": 824, "loc": { "start": { - "line": 27, + "line": 29, "column": 9 }, "end": { - "line": 27, + "line": 29, "column": 16 } } @@ -2602,15 +2456,15 @@ "binop": null }, "value": "as", - "start": 833, - "end": 835, + "start": 825, + "end": 827, "loc": { "start": { - "line": 27, + "line": 29, "column": 17 }, "end": { - "line": 27, + "line": 29, "column": 19 } } @@ -2628,15 +2482,15 @@ "binop": null }, "value": "attempt", - "start": 836, - "end": 843, + "start": 828, + "end": 835, "loc": { "start": { - "line": 27, + "line": 29, "column": 20 }, "end": { - "line": 27, + "line": 29, "column": 27 } } @@ -2653,15 +2507,15 @@ "postfix": false, "binop": null }, - "start": 844, - "end": 845, + "start": 836, + "end": 837, "loc": { "start": { - "line": 27, + "line": 29, "column": 28 }, "end": { - "line": 27, + "line": 29, "column": 29 } } @@ -2679,15 +2533,15 @@ "binop": null, "updateContext": null }, - "start": 845, - "end": 846, + "start": 837, + "end": 838, "loc": { "start": { - "line": 27, + "line": 29, "column": 29 }, "end": { - "line": 27, + "line": 29, "column": 30 } } @@ -2707,15 +2561,15 @@ "updateContext": null }, "value": "export", - "start": 847, - "end": 853, + "start": 839, + "end": 845, "loc": { "start": { - "line": 28, + "line": 30, "column": 0 }, "end": { - "line": 28, + "line": 30, "column": 6 } } @@ -2735,15 +2589,15 @@ "updateContext": null }, "value": "default", - "start": 854, - "end": 861, + "start": 846, + "end": 853, "loc": { "start": { - "line": 28, + "line": 30, "column": 7 }, "end": { - "line": 28, + "line": 30, "column": 14 } } @@ -2761,15 +2615,15 @@ "binop": null }, "value": "Attempt", - "start": 862, - "end": 869, + "start": 854, + "end": 861, "loc": { "start": { - "line": 28, + "line": 30, "column": 15 }, "end": { - "line": 28, + "line": 30, "column": 22 } } @@ -2787,15 +2641,15 @@ "binop": null, "updateContext": null }, - "start": 869, - "end": 870, + "start": 861, + "end": 862, "loc": { "start": { - "line": 28, + "line": 30, "column": 22 }, "end": { - "line": 28, + "line": 30, "column": 23 } } @@ -2813,15 +2667,15 @@ "binop": null, "updateContext": null }, - "start": 871, - "end": 871, + "start": 863, + "end": 863, "loc": { "start": { - "line": 29, + "line": 31, "column": 0 }, "end": { - "line": 29, + "line": 31, "column": 0 } } diff --git a/docs/ast/source/before.js.json b/docs/ast/source/before.js.json deleted file mode 100644 index 21726a6..0000000 --- a/docs/ast/source/before.js.json +++ /dev/null @@ -1,2418 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 904, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 31, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 904, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 31, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "before" - }, - "name": "before" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "before" - }, - "name": "before" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 33, - "end": 95, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 83, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 96, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 52 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 105, - "end": 124, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 28 - } - }, - "imported": { - "type": "Identifier", - "start": 105, - "end": 124, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 28 - }, - "identifierName": "PostValueApplicator" - }, - "name": "PostValueApplicator" - }, - "local": { - "type": "Identifier", - "start": 105, - "end": 124, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 28 - }, - "identifierName": "PostValueApplicator" - }, - "name": "PostValueApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 132, - "end": 147, - "loc": { - "start": { - "line": 3, - "column": 36 - }, - "end": { - "line": 3, - "column": 51 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @Before(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n *\n * calls === 2; // => true\n ", - "start": 149, - "end": 713, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 27, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 714, - "end": 851, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 28, - "column": 137 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 721, - "end": 851, - "loc": { - "start": { - "line": 28, - "column": 7 - }, - "end": { - "line": 28, - "column": 137 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 727, - "end": 850, - "loc": { - "start": { - "line": 28, - "column": 13 - }, - "end": { - "line": 28, - "column": 136 - } - }, - "id": { - "type": "Identifier", - "start": 727, - "end": 733, - "loc": { - "start": { - "line": 28, - "column": 13 - }, - "end": { - "line": 28, - "column": 19 - }, - "identifierName": "Before" - }, - "name": "Before", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 736, - "end": 850, - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 136 - } - }, - "callee": { - "type": "MemberExpression", - "start": 736, - "end": 776, - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 62 - } - }, - "object": { - "type": "Identifier", - "start": 736, - "end": 752, - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 38 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 753, - "end": 776, - "loc": { - "start": { - "line": 28, - "column": 39 - }, - "end": { - "line": 28, - "column": 62 - }, - "identifierName": "createInstanceDecorator" - }, - "name": "createInstanceDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 777, - "end": 849, - "loc": { - "start": { - "line": 28, - "column": 63 - }, - "end": { - "line": 28, - "column": 135 - } - }, - "callee": { - "type": "Identifier", - "start": 781, - "end": 796, - "loc": { - "start": { - "line": 28, - "column": 67 - }, - "end": { - "line": 28, - "column": 82 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 797, - "end": 803, - "loc": { - "start": { - "line": 28, - "column": 83 - }, - "end": { - "line": 28, - "column": 89 - }, - "identifierName": "before" - }, - "name": "before" - }, - { - "type": "NewExpression", - "start": 805, - "end": 830, - "loc": { - "start": { - "line": 28, - "column": 91 - }, - "end": { - "line": 28, - "column": 116 - } - }, - "callee": { - "type": "Identifier", - "start": 809, - "end": 828, - "loc": { - "start": { - "line": 28, - "column": 95 - }, - "end": { - "line": 28, - "column": 114 - }, - "identifierName": "PostValueApplicator" - }, - "name": "PostValueApplicator" - }, - "arguments": [] - }, - { - "type": "ObjectExpression", - "start": 832, - "end": 848, - "loc": { - "start": { - "line": 28, - "column": 118 - }, - "end": { - "line": 28, - "column": 134 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 834, - "end": 846, - "loc": { - "start": { - "line": 28, - "column": 120 - }, - "end": { - "line": 28, - "column": 132 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 834, - "end": 840, - "loc": { - "start": { - "line": 28, - "column": 120 - }, - "end": { - "line": 28, - "column": 126 - }, - "identifierName": "setter" - }, - "name": "setter" - }, - "value": { - "type": "BooleanLiteral", - "start": 842, - "end": 846, - "loc": { - "start": { - "line": 28, - "column": 128 - }, - "end": { - "line": 28, - "column": 132 - } - }, - "value": true - } - } - ] - } - ] - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @Before(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n *\n * calls === 2; // => true\n ", - "start": 149, - "end": 713, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 27, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @Before(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n *\n * calls === 2; // => true\n ", - "start": 149, - "end": 713, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 27, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 852, - "end": 880, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 29, - "column": 28 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 861, - "end": 877, - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 29, - "column": 25 - } - }, - "local": { - "type": "Identifier", - "start": 861, - "end": 867, - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 29, - "column": 15 - }, - "identifierName": "Before" - }, - "name": "Before" - }, - "exported": { - "type": "Identifier", - "start": 871, - "end": 877, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 25 - }, - "identifierName": "before" - }, - "name": "before" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 881, - "end": 903, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 30, - "column": 22 - } - }, - "declaration": { - "type": "Identifier", - "start": 896, - "end": 902, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 21 - }, - "identifierName": "Before" - }, - "name": "Before", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @Before(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n *\n * calls === 2; // => true\n ", - "start": 149, - "end": 713, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 27, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "before", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 18, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 33, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 40, - "end": 41, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 57, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 76, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 78, - "end": 82, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 83, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 96, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 103, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PostValueApplicator", - "start": 105, - "end": 124, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 127, - "end": 131, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 35 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 132, - "end": 147, - "loc": { - "start": { - "line": 3, - "column": 36 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 147, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 51 - }, - "end": { - "line": 3, - "column": 52 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @Before(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n *\n * calls === 2; // => true\n ", - "start": 149, - "end": 713, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 27, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 714, - "end": 720, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 28, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 721, - "end": 726, - "loc": { - "start": { - "line": 28, - "column": 7 - }, - "end": { - "line": 28, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Before", - "start": 727, - "end": 733, - "loc": { - "start": { - "line": 28, - "column": 13 - }, - "end": { - "line": 28, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 734, - "end": 735, - "loc": { - "start": { - "line": 28, - "column": 20 - }, - "end": { - "line": 28, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 736, - "end": 752, - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 752, - "end": 753, - "loc": { - "start": { - "line": 28, - "column": 38 - }, - "end": { - "line": 28, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createInstanceDecorator", - "start": 753, - "end": 776, - "loc": { - "start": { - "line": 28, - "column": 39 - }, - "end": { - "line": 28, - "column": 62 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 776, - "end": 777, - "loc": { - "start": { - "line": 28, - "column": 62 - }, - "end": { - "line": 28, - "column": 63 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 777, - "end": 780, - "loc": { - "start": { - "line": 28, - "column": 63 - }, - "end": { - "line": 28, - "column": 66 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 781, - "end": 796, - "loc": { - "start": { - "line": 28, - "column": 67 - }, - "end": { - "line": 28, - "column": 82 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 796, - "end": 797, - "loc": { - "start": { - "line": 28, - "column": 82 - }, - "end": { - "line": 28, - "column": 83 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "before", - "start": 797, - "end": 803, - "loc": { - "start": { - "line": 28, - "column": 83 - }, - "end": { - "line": 28, - "column": 89 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 803, - "end": 804, - "loc": { - "start": { - "line": 28, - "column": 89 - }, - "end": { - "line": 28, - "column": 90 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 805, - "end": 808, - "loc": { - "start": { - "line": 28, - "column": 91 - }, - "end": { - "line": 28, - "column": 94 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PostValueApplicator", - "start": 809, - "end": 828, - "loc": { - "start": { - "line": 28, - "column": 95 - }, - "end": { - "line": 28, - "column": 114 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 828, - "end": 829, - "loc": { - "start": { - "line": 28, - "column": 114 - }, - "end": { - "line": 28, - "column": 115 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 829, - "end": 830, - "loc": { - "start": { - "line": 28, - "column": 115 - }, - "end": { - "line": 28, - "column": 116 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 830, - "end": 831, - "loc": { - "start": { - "line": 28, - "column": 116 - }, - "end": { - "line": 28, - "column": 117 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 832, - "end": 833, - "loc": { - "start": { - "line": 28, - "column": 118 - }, - "end": { - "line": 28, - "column": 119 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setter", - "start": 834, - "end": 840, - "loc": { - "start": { - "line": 28, - "column": 120 - }, - "end": { - "line": 28, - "column": 126 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 840, - "end": 841, - "loc": { - "start": { - "line": 28, - "column": 126 - }, - "end": { - "line": 28, - "column": 127 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 842, - "end": 846, - "loc": { - "start": { - "line": 28, - "column": 128 - }, - "end": { - "line": 28, - "column": 132 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 847, - "end": 848, - "loc": { - "start": { - "line": 28, - "column": 133 - }, - "end": { - "line": 28, - "column": 134 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 848, - "end": 849, - "loc": { - "start": { - "line": 28, - "column": 134 - }, - "end": { - "line": 28, - "column": 135 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 849, - "end": 850, - "loc": { - "start": { - "line": 28, - "column": 135 - }, - "end": { - "line": 28, - "column": 136 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 850, - "end": 851, - "loc": { - "start": { - "line": 28, - "column": 136 - }, - "end": { - "line": 28, - "column": 137 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 852, - "end": 858, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 29, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 859, - "end": 860, - "loc": { - "start": { - "line": 29, - "column": 7 - }, - "end": { - "line": 29, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Before", - "start": 861, - "end": 867, - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 29, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 868, - "end": 870, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "before", - "start": 871, - "end": 877, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 878, - "end": 879, - "loc": { - "start": { - "line": 29, - "column": 26 - }, - "end": { - "line": 29, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 879, - "end": 880, - "loc": { - "start": { - "line": 29, - "column": 27 - }, - "end": { - "line": 29, - "column": 28 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 881, - "end": 887, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 30, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 888, - "end": 895, - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Before", - "start": 896, - "end": 902, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 902, - "end": 903, - "loc": { - "start": { - "line": 30, - "column": 21 - }, - "end": { - "line": 30, - "column": 22 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 904, - "end": 904, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 31, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/flow.js.json b/docs/ast/source/before.ts.json similarity index 61% rename from docs/ast/source/flow.js.json rename to docs/ast/source/before.ts.json index 7bbdcb0..7aee6ef 100644 --- a/docs/ast/source/flow.js.json +++ b/docs/ast/source/before.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 825, + "end": 684, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 28, + "line": 20, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 825, + "end": 684, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 28, + "line": 20, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 30, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 30 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -68,16 +68,16 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 }, - "identifierName": "flow" + "identifierName": "DecoratorConfig" }, - "name": "flow" + "name": "DecoratorConfig" }, "local": { "type": "Identifier", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -85,39 +85,88 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 }, - "identifierName": "flow" + "identifierName": "DecoratorConfig" }, - "name": "flow" + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" } } ], "source": { "type": "StringLiteral", - "start": 21, - "end": 29, + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 21 + "column": 50 }, "end": { "line": 1, - "column": 29 + "column": 61 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" + "rawValue": "./factory", + "raw": "'./factory'" }, - "value": "lodash" + "value": "./factory" } }, { "type": "ImportDeclaration", - "start": 31, - "end": 93, + "start": 63, + "end": 115, "loc": { "start": { "line": 2, @@ -125,14 +174,14 @@ }, "end": { "line": 2, - "column": 62 + "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 40, - "end": 55, + "start": 72, + "end": 91, "loc": { "start": { "line": 2, @@ -140,13 +189,13 @@ }, "end": { "line": 2, - "column": 24 + "column": 28 } }, "imported": { "type": "Identifier", - "start": 40, - "end": 55, + "start": 72, + "end": 91, "loc": { "start": { "line": 2, @@ -154,16 +203,16 @@ }, "end": { "line": 2, - "column": 24 + "column": 28 }, - "identifierName": "DecoratorConfig" + "identifierName": "PostValueApplicator" }, - "name": "DecoratorConfig" + "name": "PostValueApplicator" }, "local": { "type": "Identifier", - "start": 40, - "end": 55, + "start": 72, + "end": 91, "loc": { "start": { "line": 2, @@ -171,291 +220,703 @@ }, "end": { "line": 2, - "column": 24 + "column": 28 }, - "identifierName": "DecoratorConfig" + "identifierName": "PostValueApplicator" }, - "name": "DecoratorConfig" + "name": "PostValueApplicator" } + } + ], + "source": { + "type": "StringLiteral", + "start": 99, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 51 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 116, + "end": 249, + "loc": { + "start": { + "line": 3, + "column": 0 }, + "end": { + "line": 3, + "column": 133 + } + }, + "declarations": [ { - "type": "ImportSpecifier", - "start": 57, - "end": 73, + "type": "VariableDeclarator", + "start": 122, + "end": 248, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 6 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 132 } }, - "imported": { + "id": { "type": "Identifier", - "start": 57, - "end": 73, + "start": 122, + "end": 131, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 6 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 15 }, - "identifierName": "DecoratorFactory" + "identifierName": "decorator" }, - "name": "DecoratorFactory" + "name": "decorator" }, - "local": { + "init": { + "type": "CallExpression", + "start": 134, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 132 + } + }, + "callee": { + "type": "MemberExpression", + "start": 134, + "end": 174, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 134, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 151, + "end": 174, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 175, + "end": 247, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 131 + } + }, + "callee": { + "type": "Identifier", + "start": 179, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 195, + "end": 201, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 85 + }, + "identifierName": "before" + }, + "name": "before" + }, + { + "type": "NewExpression", + "start": 203, + "end": 228, + "loc": { + "start": { + "line": 3, + "column": 87 + }, + "end": { + "line": 3, + "column": 112 + } + }, + "callee": { + "type": "Identifier", + "start": 207, + "end": 226, + "loc": { + "start": { + "line": 3, + "column": 91 + }, + "end": { + "line": 3, + "column": 110 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 230, + "end": 246, + "loc": { + "start": { + "line": 3, + "column": 114 + }, + "end": { + "line": 3, + "column": 130 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 232, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 116 + }, + "end": { + "line": 3, + "column": 128 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 232, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 116 + }, + "end": { + "line": 3, + "column": 122 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 240, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 124 + }, + "end": { + "line": 3, + "column": 128 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 574, + "end": 628, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 581, + "end": 628, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 590, + "end": 596, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 22 + }, + "identifierName": "Before" + }, + "name": "Before", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { "type": "Identifier", - "start": 57, - "end": 73, + "start": 597, + "end": 598, "loc": { "start": { - "line": 2, - "column": 26 + "line": 15, + "column": 23 }, "end": { - "line": 2, - "column": 42 + "line": 15, + "column": 24 }, - "identifierName": "DecoratorFactory" + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 600, + "end": 628, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 606, + "end": 626, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 24 + } + }, + "argument": { + "type": "CallExpression", + "start": 613, + "end": 625, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 23 + } + }, + "callee": { + "type": "Identifier", + "start": 613, + "end": 622, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 623, + "end": 624, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 22 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 35\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 573, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 35\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 573, + "loc": { + "start": { + "line": 4, + "column": 0 }, - "name": "DecoratorFactory" + "end": { + "line": 14, + "column": 3 + } } } - ], - "source": { - "type": "StringLiteral", - "start": 81, - "end": 92, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } + ] }, { - "type": "ImportDeclaration", - "start": 94, - "end": 144, + "type": "ExportNamedDeclaration", + "start": 629, + "end": 657, "loc": { "start": { - "line": 3, + "line": 18, "column": 0 }, "end": { - "line": 3, - "column": 50 + "line": 18, + "column": 28 } }, + "declaration": null, "specifiers": [ { - "type": "ImportSpecifier", - "start": 103, - "end": 120, + "type": "ExportSpecifier", + "start": 638, + "end": 654, "loc": { "start": { - "line": 3, + "line": 18, "column": 9 }, "end": { - "line": 3, - "column": 26 + "line": 18, + "column": 25 } }, - "imported": { + "local": { "type": "Identifier", - "start": 103, - "end": 120, + "start": 638, + "end": 644, "loc": { "start": { - "line": 3, + "line": 18, "column": 9 }, "end": { - "line": 3, - "column": 26 + "line": 18, + "column": 15 }, - "identifierName": "ComposeApplicator" + "identifierName": "Before" }, - "name": "ComposeApplicator" + "name": "Before" }, - "local": { + "exported": { "type": "Identifier", - "start": 103, - "end": 120, + "start": 648, + "end": 654, "loc": { "start": { - "line": 3, - "column": 9 + "line": 18, + "column": 19 }, "end": { - "line": 3, - "column": 26 + "line": 18, + "column": 25 }, - "identifierName": "ComposeApplicator" + "identifierName": "before" }, - "name": "ComposeApplicator" + "name": "before" } } ], - "source": { - "type": "StringLiteral", - "start": 128, - "end": 143, + "source": null + }, + { + "type": "Identifier", + "start": 658, + "end": 683, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 673, + "end": 682, "loc": { "start": { - "line": 3, - "column": 34 + "line": 19, + "column": 15 }, "end": { - "line": 3, - "column": 49 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" + "line": 19, + "column": 24 + }, + "identifierName": "decorator" }, - "value": "./applicators" + "name": "decorator" }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @Flow('getName', toUpperCase)\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 145, - "end": 630, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 - } - } - } - ] + "name": "_", + "leadingComments": [], + "trailingComments": [] }, { - "type": "ExportNamedDeclaration", - "start": 631, - "end": 778, + "type": "ExportDefaultDeclaration", + "start": 658, + "end": 683, "loc": { "start": { - "line": 25, + "line": 19, "column": 0 }, "end": { - "line": 25, - "column": 147 + "line": 19, + "column": 25 } }, - "specifiers": [], - "source": null, "declaration": { "type": "VariableDeclaration", - "start": 638, - "end": 778, + "start": 116, + "end": 249, "loc": { "start": { - "line": 25, - "column": 7 + "line": 3, + "column": 0 }, "end": { - "line": 25, - "column": 147 + "line": 3, + "column": 133 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 644, - "end": 777, + "start": 122, + "end": 248, "loc": { "start": { - "line": 25, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 25, - "column": 146 + "line": 3, + "column": 132 } }, "id": { "type": "Identifier", - "start": 644, - "end": 648, + "start": 122, + "end": 131, "loc": { "start": { - "line": 25, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 25, - "column": 17 + "line": 3, + "column": 15 }, - "identifierName": "Flow" + "identifierName": "decorator" }, - "name": "Flow", - "leadingComments": null + "name": "decorator" }, "init": { "type": "CallExpression", - "start": 651, - "end": 777, + "start": 134, + "end": 248, "loc": { "start": { - "line": 25, - "column": 20 + "line": 3, + "column": 18 }, "end": { - "line": 25, - "column": 146 + "line": 3, + "column": 132 } }, "callee": { "type": "MemberExpression", - "start": 651, - "end": 691, + "start": 134, + "end": 174, "loc": { "start": { - "line": 25, - "column": 20 + "line": 3, + "column": 18 }, "end": { - "line": 25, - "column": 60 + "line": 3, + "column": 58 } }, "object": { "type": "Identifier", - "start": 651, - "end": 667, + "start": 134, + "end": 150, "loc": { "start": { - "line": 25, - "column": 20 + "line": 3, + "column": 18 }, "end": { - "line": 25, - "column": 36 + "line": 3, + "column": 34 }, "identifierName": "DecoratorFactory" }, @@ -463,16 +924,16 @@ }, "property": { "type": "Identifier", - "start": 668, - "end": 691, + "start": 151, + "end": 174, "loc": { "start": { - "line": 25, - "column": 37 + "line": 3, + "column": 35 }, "end": { - "line": 25, - "column": 60 + "line": 3, + "column": 58 }, "identifierName": "createInstanceDecorator" }, @@ -483,30 +944,30 @@ "arguments": [ { "type": "NewExpression", - "start": 692, - "end": 776, + "start": 175, + "end": 247, "loc": { "start": { - "line": 25, - "column": 61 + "line": 3, + "column": 59 }, "end": { - "line": 25, - "column": 145 + "line": 3, + "column": 131 } }, "callee": { "type": "Identifier", - "start": 696, - "end": 711, + "start": 179, + "end": 194, "loc": { "start": { - "line": 25, - "column": 65 + "line": 3, + "column": 63 }, "end": { - "line": 25, - "column": 80 + "line": 3, + "column": 78 }, "identifierName": "DecoratorConfig" }, @@ -515,150 +976,81 @@ "arguments": [ { "type": "Identifier", - "start": 712, - "end": 716, + "start": 195, + "end": 201, "loc": { "start": { - "line": 25, - "column": 81 + "line": 3, + "column": 79 }, "end": { - "line": 25, + "line": 3, "column": 85 }, - "identifierName": "flow" + "identifierName": "before" }, - "name": "flow" + "name": "before" }, { "type": "NewExpression", - "start": 718, - "end": 755, + "start": 203, + "end": 228, "loc": { "start": { - "line": 25, + "line": 3, "column": 87 }, "end": { - "line": 25, - "column": 124 + "line": 3, + "column": 112 } }, "callee": { "type": "Identifier", - "start": 722, - "end": 739, + "start": 207, + "end": 226, "loc": { "start": { - "line": 25, + "line": 3, "column": 91 }, "end": { - "line": 25, - "column": 108 + "line": 3, + "column": 110 }, - "identifierName": "ComposeApplicator" + "identifierName": "PostValueApplicator" }, - "name": "ComposeApplicator" + "name": "PostValueApplicator" }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 740, - "end": 754, - "loc": { - "start": { - "line": 25, - "column": 109 - }, - "end": { - "line": 25, - "column": 123 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 742, - "end": 752, - "loc": { - "start": { - "line": 25, - "column": 111 - }, - "end": { - "line": 25, - "column": 121 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 742, - "end": 746, - "loc": { - "start": { - "line": 25, - "column": 111 - }, - "end": { - "line": 25, - "column": 115 - }, - "identifierName": "post" - }, - "name": "post" - }, - "value": { - "type": "BooleanLiteral", - "start": 748, - "end": 752, - "loc": { - "start": { - "line": 25, - "column": 117 - }, - "end": { - "line": 25, - "column": 121 - } - }, - "value": true - } - } - ] - } - ] + "arguments": [] }, { "type": "ObjectExpression", - "start": 757, - "end": 775, + "start": 230, + "end": 246, "loc": { "start": { - "line": 25, - "column": 126 + "line": 3, + "column": 114 }, "end": { - "line": 25, - "column": 144 + "line": 3, + "column": 130 } }, "properties": [ { "type": "ObjectProperty", - "start": 759, - "end": 773, + "start": 232, + "end": 244, "loc": { "start": { - "line": 25, - "column": 128 + "line": 3, + "column": 116 }, "end": { - "line": 25, - "column": 142 + "line": 3, + "column": 128 } }, "method": false, @@ -666,33 +1058,33 @@ "computed": false, "key": { "type": "Identifier", - "start": 759, - "end": 767, + "start": 232, + "end": 238, "loc": { "start": { - "line": 25, - "column": 128 + "line": 3, + "column": 116 }, "end": { - "line": 25, - "column": 136 + "line": 3, + "column": 122 }, - "identifierName": "property" + "identifierName": "setter" }, - "name": "property" + "name": "setter" }, "value": { "type": "BooleanLiteral", - "start": 769, - "end": 773, + "start": 240, + "end": 244, "loc": { "start": { - "line": 25, - "column": 138 + "line": 3, + "column": 124 }, "end": { - "line": 25, - "column": 142 + "line": 3, + "column": 128 } }, "value": true @@ -703,150 +1095,29 @@ ] } ] - }, - "leadingComments": null + } } ], "kind": "const", - "leadingComments": [ + "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @Flow('getName', toUpperCase)\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 145, - "end": 630, + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 35\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 573, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 24, + "line": 14, "column": 3 } } } ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @Flow('getName', toUpperCase)\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 145, - "end": 630, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 779, - "end": 803, - "loc": { - "start": { - "line": 26, - "column": 0 - }, - "end": { - "line": 26, - "column": 24 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 788, - "end": 800, - "loc": { - "start": { - "line": 26, - "column": 9 - }, - "end": { - "line": 26, - "column": 21 - } - }, - "local": { - "type": "Identifier", - "start": 788, - "end": 792, - "loc": { - "start": { - "line": 26, - "column": 9 - }, - "end": { - "line": 26, - "column": 13 - }, - "identifierName": "Flow" - }, - "name": "Flow" - }, - "exported": { - "type": "Identifier", - "start": 796, - "end": 800, - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 26, - "column": 21 - }, - "identifierName": "flow" - }, - "name": "flow" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 804, - "end": 824, - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 27, - "column": 20 - } - }, - "declaration": { - "type": "Identifier", - "start": 819, - "end": 823, - "loc": { - "start": { - "line": 27, - "column": 15 - }, - "end": { - "line": 27, - "column": 19 - }, - "identifierName": "Flow" - }, - "name": "Flow", - "leadingComments": [], - "trailingComments": [] + "leadingComments": [] } } ], @@ -855,16 +1126,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @Flow('getName', toUpperCase)\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 145, - "end": 630, + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 35\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 573, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 24, + "line": 14, "column": 3 } } @@ -876,7 +1147,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -916,11 +1187,63 @@ "loc": { "start": { "line": 1, - "column": 7 + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 }, "end": { "line": 1, - "column": 8 + "column": 25 } } }, @@ -936,17 +1259,17 @@ "postfix": false, "binop": null }, - "value": "flow", - "start": 9, - "end": 13, + "value": "DecoratorFactory", + "start": 26, + "end": 42, "loc": { "start": { "line": 1, - "column": 9 + "column": 26 }, "end": { "line": 1, - "column": 13 + "column": 42 } } }, @@ -962,16 +1285,16 @@ "postfix": false, "binop": null }, - "start": 14, - "end": 15, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 14 + "column": 43 }, "end": { "line": 1, - "column": 15 + "column": 44 } } }, @@ -988,16 +1311,16 @@ "binop": null }, "value": "from", - "start": 16, - "end": 20, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 16 + "column": 45 }, "end": { "line": 1, - "column": 20 + "column": 49 } } }, @@ -1014,17 +1337,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 21, - "end": 29, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 21 + "column": 50 }, "end": { "line": 1, - "column": 29 + "column": 61 } } }, @@ -1041,16 +1364,16 @@ "binop": null, "updateContext": null }, - "start": 29, - "end": 30, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 29 + "column": 61 }, "end": { "line": 1, - "column": 30 + "column": 62 } } }, @@ -1059,7 +1382,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1069,8 +1392,8 @@ "updateContext": null }, "value": "import", - "start": 31, - "end": 37, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -1094,8 +1417,8 @@ "postfix": false, "binop": null }, - "start": 38, - "end": 39, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -1119,9 +1442,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 40, - "end": 55, + "value": "PostValueApplicator", + "start": 72, + "end": 91, "loc": { "start": { "line": 2, @@ -1129,33 +1452,32 @@ }, "end": { "line": 2, - "column": 24 + "column": 28 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 55, - "end": 56, + "start": 92, + "end": 93, "loc": { "start": { "line": 2, - "column": 24 + "column": 29 }, "end": { "line": 2, - "column": 25 + "column": 30 } } }, @@ -1171,48 +1493,23 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 57, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 74, - "end": 75, + "value": "from", + "start": 94, + "end": 98, "loc": { "start": { "line": 2, - "column": 43 + "column": 31 }, "end": { "line": 2, - "column": 44 + "column": 35 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1220,27 +1517,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 76, - "end": 80, + "value": "./applicators", + "start": 99, + "end": 114, "loc": { "start": { "line": 2, - "column": 45 + "column": 36 }, "end": { "line": 2, - "column": 49 + "column": 51 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1249,24 +1547,24 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 81, - "end": 92, + "start": 114, + "end": 115, "loc": { "start": { "line": 2, - "column": 50 + "column": 51 }, "end": { "line": 2, - "column": 61 + "column": 52 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1276,69 +1574,70 @@ "binop": null, "updateContext": null }, - "start": 92, - "end": 93, + "value": "const", + "start": 116, + "end": 121, "loc": { "start": { - "line": 2, - "column": 61 + "line": 3, + "column": 0 }, "end": { - "line": 2, - "column": 62 + "line": 3, + "column": 5 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 94, - "end": 100, + "value": "decorator", + "start": 122, + "end": 131, "loc": { "start": { "line": 3, - "column": 0 + "column": 6 }, "end": { "line": 3, - "column": 6 + "column": 15 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 101, - "end": 102, + "value": "=", + "start": 132, + "end": 133, "loc": { "start": { "line": 3, - "column": 7 + "column": 16 }, "end": { "line": 3, - "column": 8 + "column": 17 } } }, @@ -1354,23 +1653,23 @@ "postfix": false, "binop": null }, - "value": "ComposeApplicator", - "start": 103, - "end": 120, + "value": "DecoratorFactory", + "start": 134, + "end": 150, "loc": { "start": { "line": 3, - "column": 9 + "column": 18 }, "end": { "line": 3, - "column": 26 + "column": 34 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1378,18 +1677,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 121, - "end": 122, + "start": 150, + "end": 151, "loc": { "start": { "line": 3, - "column": 27 + "column": 34 }, "end": { "line": 3, - "column": 28 + "column": 35 } } }, @@ -1405,52 +1705,51 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 123, - "end": 127, + "value": "createInstanceDecorator", + "start": 151, + "end": 174, "loc": { "start": { "line": 3, - "column": 29 + "column": 35 }, "end": { "line": 3, - "column": 33 + "column": 58 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./applicators", - "start": 128, - "end": 143, + "start": 174, + "end": 175, "loc": { "start": { "line": 3, - "column": 34 + "column": 58 }, "end": { "line": 3, - "column": 49 + "column": 59 } } }, { "type": { - "label": ";", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1459,88 +1758,68 @@ "binop": null, "updateContext": null }, - "start": 143, - "end": 144, + "value": "new", + "start": 175, + "end": 178, "loc": { "start": { "line": 3, - "column": 49 + "column": 59 }, "end": { "line": 3, - "column": 50 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @Flow('getName', toUpperCase)\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 145, - "end": 630, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 + "column": 62 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 631, - "end": 637, + "value": "DecoratorConfig", + "start": 179, + "end": 194, "loc": { "start": { - "line": 25, - "column": 0 + "line": 3, + "column": 63 }, "end": { - "line": 25, - "column": 6 + "line": 3, + "column": 78 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 638, - "end": 643, + "start": 194, + "end": 195, "loc": { "start": { - "line": 25, - "column": 7 + "line": 3, + "column": 78 }, "end": { - "line": 25, - "column": 12 + "line": 3, + "column": 79 } } }, @@ -1556,96 +1835,71 @@ "postfix": false, "binop": null }, - "value": "Flow", - "start": 644, - "end": 648, + "value": "before", + "start": 195, + "end": 201, "loc": { "start": { - "line": 25, - "column": 13 + "line": 3, + "column": 79 }, "end": { - "line": 25, - "column": 17 + "line": 3, + "column": 85 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 649, - "end": 650, + "start": 201, + "end": 202, "loc": { "start": { - "line": 25, - "column": 18 + "line": 3, + "column": 85 }, "end": { - "line": 25, - "column": 19 + "line": 3, + "column": 86 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 651, - "end": 667, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 667, - "end": 668, + "value": "new", + "start": 203, + "end": 206, "loc": { "start": { - "line": 25, - "column": 36 + "line": 3, + "column": 87 }, "end": { - "line": 25, - "column": 37 + "line": 3, + "column": 90 } } }, @@ -1661,17 +1915,17 @@ "postfix": false, "binop": null }, - "value": "createInstanceDecorator", - "start": 668, - "end": 691, + "value": "PostValueApplicator", + "start": 207, + "end": 226, "loc": { "start": { - "line": 25, - "column": 37 + "line": 3, + "column": 91 }, "end": { - "line": 25, - "column": 60 + "line": 3, + "column": 110 } } }, @@ -1687,76 +1941,73 @@ "postfix": false, "binop": null }, - "start": 691, - "end": 692, + "start": 226, + "end": 227, "loc": { "start": { - "line": 25, - "column": 60 + "line": 3, + "column": 110 }, "end": { - "line": 25, - "column": 61 + "line": 3, + "column": 111 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 692, - "end": 695, + "start": 227, + "end": 228, "loc": { "start": { - "line": 25, - "column": 61 + "line": 3, + "column": 111 }, "end": { - "line": 25, - "column": 64 + "line": 3, + "column": 112 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 696, - "end": 711, + "start": 228, + "end": 229, "loc": { "start": { - "line": 25, - "column": 65 + "line": 3, + "column": 112 }, "end": { - "line": 25, - "column": 80 + "line": 3, + "column": 113 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1766,16 +2017,16 @@ "postfix": false, "binop": null }, - "start": 711, - "end": 712, + "start": 230, + "end": 231, "loc": { "start": { - "line": 25, - "column": 80 + "line": 3, + "column": 114 }, "end": { - "line": 25, - "column": 81 + "line": 3, + "column": 115 } } }, @@ -1791,23 +2042,23 @@ "postfix": false, "binop": null }, - "value": "flow", - "start": 712, - "end": 716, + "value": "setter", + "start": 232, + "end": 238, "loc": { "start": { - "line": 25, - "column": 81 + "line": 3, + "column": 116 }, "end": { - "line": 25, - "column": 85 + "line": 3, + "column": 122 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1818,24 +2069,24 @@ "binop": null, "updateContext": null }, - "start": 716, - "end": 717, + "start": 238, + "end": 239, "loc": { "start": { - "line": 25, - "column": 85 + "line": 3, + "column": 122 }, "end": { - "line": 25, - "column": 86 + "line": 3, + "column": 123 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "true", + "keyword": "true", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1845,25 +2096,25 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 718, - "end": 721, + "value": "true", + "start": 240, + "end": 244, "loc": { "start": { - "line": 25, - "column": 87 + "line": 3, + "column": 124 }, "end": { - "line": 25, - "column": 90 + "line": 3, + "column": 128 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1871,25 +2122,24 @@ "postfix": false, "binop": null }, - "value": "ComposeApplicator", - "start": 722, - "end": 739, + "start": 245, + "end": 246, "loc": { "start": { - "line": 25, - "column": 91 + "line": 3, + "column": 129 }, "end": { - "line": 25, - "column": 108 + "line": 3, + "column": 130 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1897,24 +2147,24 @@ "postfix": false, "binop": null }, - "start": 739, - "end": 740, + "start": 246, + "end": 247, "loc": { "start": { - "line": 25, - "column": 108 + "line": 3, + "column": 130 }, "end": { - "line": 25, - "column": 109 + "line": 3, + "column": 131 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1922,49 +2172,66 @@ "postfix": false, "binop": null }, - "start": 740, - "end": 741, + "start": 247, + "end": 248, "loc": { "start": { - "line": 25, - "column": 109 + "line": 3, + "column": 131 }, "end": { - "line": 25, - "column": 110 + "line": 3, + "column": 132 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "post", - "start": 742, - "end": 746, + "start": 248, + "end": 249, "loc": { "start": { - "line": 25, - "column": 111 + "line": 3, + "column": 132 }, "end": { - "line": 25, - "column": 115 + "line": 3, + "column": 133 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 35\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 573, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1974,23 +2241,24 @@ "binop": null, "updateContext": null }, - "start": 746, - "end": 747, + "value": "export", + "start": 574, + "end": 580, "loc": { "start": { - "line": 25, - "column": 115 + "line": 15, + "column": 0 }, "end": { - "line": 25, - "column": 116 + "line": 15, + "column": 6 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1998,28 +2266,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 748, - "end": 752, + "value": "function", + "start": 581, + "end": 589, "loc": { "start": { - "line": 25, - "column": 117 + "line": 15, + "column": 7 }, "end": { - "line": 25, - "column": 121 + "line": 15, + "column": 15 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2027,24 +2294,25 @@ "postfix": false, "binop": null }, - "start": 753, - "end": 754, + "value": "Before", + "start": 590, + "end": 596, "loc": { "start": { - "line": 25, - "column": 122 + "line": 15, + "column": 16 }, "end": { - "line": 25, - "column": 123 + "line": 15, + "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2052,50 +2320,50 @@ "postfix": false, "binop": null }, - "start": 754, - "end": 755, + "start": 596, + "end": 597, "loc": { "start": { - "line": 25, - "column": 123 + "line": 15, + "column": 22 }, "end": { - "line": 25, - "column": 124 + "line": 15, + "column": 23 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 755, - "end": 756, + "value": "n", + "start": 597, + "end": 598, "loc": { "start": { - "line": 25, - "column": 124 + "line": 15, + "column": 23 }, "end": { - "line": 25, - "column": 125 + "line": 15, + "column": 24 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2103,23 +2371,23 @@ "postfix": false, "binop": null }, - "start": 757, - "end": 758, + "start": 598, + "end": 599, "loc": { "start": { - "line": 25, - "column": 126 + "line": 15, + "column": 24 }, "end": { - "line": 25, - "column": 127 + "line": 15, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2128,23 +2396,23 @@ "postfix": false, "binop": null }, - "value": "property", - "start": 759, - "end": 767, + "start": 600, + "end": 601, "loc": { "start": { - "line": 25, - "column": 128 + "line": 15, + "column": 26 }, "end": { - "line": 25, - "column": 136 + "line": 15, + "column": 27 } } }, { "type": { - "label": ":", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2155,23 +2423,23 @@ "binop": null, "updateContext": null }, - "start": 767, - "end": 768, + "value": "return", + "start": 606, + "end": 612, "loc": { "start": { - "line": 25, - "column": 136 + "line": 16, + "column": 4 }, "end": { - "line": 25, - "column": 137 + "line": 16, + "column": 10 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2179,28 +2447,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 769, - "end": 773, + "value": "decorator", + "start": 613, + "end": 622, "loc": { "start": { - "line": 25, - "column": 138 + "line": 16, + "column": 11 }, "end": { - "line": 25, - "column": 142 + "line": 16, + "column": 20 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2208,24 +2475,24 @@ "postfix": false, "binop": null }, - "start": 774, - "end": 775, + "start": 622, + "end": 623, "loc": { "start": { - "line": 25, - "column": 143 + "line": 16, + "column": 20 }, "end": { - "line": 25, - "column": 144 + "line": 16, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2233,16 +2500,17 @@ "postfix": false, "binop": null }, - "start": 775, - "end": 776, + "value": "n", + "start": 623, + "end": 624, "loc": { "start": { - "line": 25, - "column": 144 + "line": 16, + "column": 21 }, "end": { - "line": 25, - "column": 145 + "line": 16, + "column": 22 } } }, @@ -2258,16 +2526,16 @@ "postfix": false, "binop": null }, - "start": 776, - "end": 777, + "start": 624, + "end": 625, "loc": { "start": { - "line": 25, - "column": 145 + "line": 16, + "column": 22 }, "end": { - "line": 25, - "column": 146 + "line": 16, + "column": 23 } } }, @@ -2284,16 +2552,41 @@ "binop": null, "updateContext": null }, - "start": 777, - "end": 778, + "start": 625, + "end": 626, + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 627, + "end": 628, "loc": { "start": { - "line": 25, - "column": 146 + "line": 17, + "column": 0 }, "end": { - "line": 25, - "column": 147 + "line": 17, + "column": 1 } } }, @@ -2312,15 +2605,15 @@ "updateContext": null }, "value": "export", - "start": 779, - "end": 785, + "start": 629, + "end": 635, "loc": { "start": { - "line": 26, + "line": 18, "column": 0 }, "end": { - "line": 26, + "line": 18, "column": 6 } } @@ -2337,15 +2630,15 @@ "postfix": false, "binop": null }, - "start": 786, - "end": 787, + "start": 636, + "end": 637, "loc": { "start": { - "line": 26, + "line": 18, "column": 7 }, "end": { - "line": 26, + "line": 18, "column": 8 } } @@ -2362,17 +2655,17 @@ "postfix": false, "binop": null }, - "value": "Flow", - "start": 788, - "end": 792, + "value": "Before", + "start": 638, + "end": 644, "loc": { "start": { - "line": 26, + "line": 18, "column": 9 }, "end": { - "line": 26, - "column": 13 + "line": 18, + "column": 15 } } }, @@ -2389,16 +2682,16 @@ "binop": null }, "value": "as", - "start": 793, - "end": 795, + "start": 645, + "end": 647, "loc": { "start": { - "line": 26, - "column": 14 + "line": 18, + "column": 16 }, "end": { - "line": 26, - "column": 16 + "line": 18, + "column": 18 } } }, @@ -2414,17 +2707,17 @@ "postfix": false, "binop": null }, - "value": "flow", - "start": 796, - "end": 800, + "value": "before", + "start": 648, + "end": 654, "loc": { "start": { - "line": 26, - "column": 17 + "line": 18, + "column": 19 }, "end": { - "line": 26, - "column": 21 + "line": 18, + "column": 25 } } }, @@ -2440,16 +2733,16 @@ "postfix": false, "binop": null }, - "start": 801, - "end": 802, + "start": 655, + "end": 656, "loc": { "start": { - "line": 26, - "column": 22 + "line": 18, + "column": 26 }, "end": { - "line": 26, - "column": 23 + "line": 18, + "column": 27 } } }, @@ -2466,16 +2759,16 @@ "binop": null, "updateContext": null }, - "start": 802, - "end": 803, + "start": 656, + "end": 657, "loc": { "start": { - "line": 26, - "column": 23 + "line": 18, + "column": 27 }, "end": { - "line": 26, - "column": 24 + "line": 18, + "column": 28 } } }, @@ -2494,15 +2787,15 @@ "updateContext": null }, "value": "export", - "start": 804, - "end": 810, + "start": 658, + "end": 664, "loc": { "start": { - "line": 27, + "line": 19, "column": 0 }, "end": { - "line": 27, + "line": 19, "column": 6 } } @@ -2522,15 +2815,15 @@ "updateContext": null }, "value": "default", - "start": 811, - "end": 818, + "start": 665, + "end": 672, "loc": { "start": { - "line": 27, + "line": 19, "column": 7 }, "end": { - "line": 27, + "line": 19, "column": 14 } } @@ -2547,17 +2840,17 @@ "postfix": false, "binop": null }, - "value": "Flow", - "start": 819, - "end": 823, + "value": "decorator", + "start": 673, + "end": 682, "loc": { "start": { - "line": 27, + "line": 19, "column": 15 }, "end": { - "line": 27, - "column": 19 + "line": 19, + "column": 24 } } }, @@ -2574,16 +2867,16 @@ "binop": null, "updateContext": null }, - "start": 823, - "end": 824, + "start": 682, + "end": 683, "loc": { "start": { - "line": 27, - "column": 19 + "line": 19, + "column": 24 }, "end": { - "line": 27, - "column": 20 + "line": 19, + "column": 25 } } }, @@ -2600,15 +2893,15 @@ "binop": null, "updateContext": null }, - "start": 825, - "end": 825, + "start": 684, + "end": 684, "loc": { "start": { - "line": 28, + "line": 20, "column": 0 }, "end": { - "line": 28, + "line": 20, "column": 0 } } diff --git a/docs/ast/source/beforeAll.ts.json b/docs/ast/source/beforeAll.ts.json new file mode 100644 index 0000000..a8bee89 --- /dev/null +++ b/docs/ast/source/beforeAll.ts.json @@ -0,0 +1,2910 @@ +{ + "type": "File", + "start": 0, + "end": 685, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 685, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 115, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 52 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 28 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 28 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 28 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 99, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 51 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 116, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 122, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "id": { + "type": "Identifier", + "start": 122, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 134, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "callee": { + "type": "MemberExpression", + "start": 134, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 134, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 151, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 167, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "callee": { + "type": "Identifier", + "start": 171, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 187, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 77 + }, + "identifierName": "before" + }, + "name": "before" + }, + { + "type": "NewExpression", + "start": 195, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 104 + } + }, + "callee": { + "type": "Identifier", + "start": 199, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 83 + }, + "end": { + "line": 3, + "column": 102 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 222, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 106 + }, + "end": { + "line": 3, + "column": 122 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 224, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 108 + }, + "end": { + "line": 3, + "column": 120 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 224, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 108 + }, + "end": { + "line": 3, + "column": 114 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 232, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 116 + }, + "end": { + "line": 3, + "column": 120 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 566, + "end": 623, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 573, + "end": 623, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 582, + "end": 591, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 25 + }, + "identifierName": "BeforeAll" + }, + "name": "BeforeAll", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 592, + "end": 593, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 27 + }, + "identifierName": "n" + }, + "name": "n" + } + ], + "body": { + "type": "BlockStatement", + "start": 595, + "end": 623, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 601, + "end": 621, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 24 + } + }, + "argument": { + "type": "CallExpression", + "start": 608, + "end": 620, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 23 + } + }, + "callee": { + "type": "Identifier", + "start": 608, + "end": 617, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 618, + "end": 619, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 22 + }, + "identifierName": "n" + }, + "name": "n" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 38\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 242, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 38\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 242, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 624, + "end": 658, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 34 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 633, + "end": 655, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 31 + } + }, + "local": { + "type": "Identifier", + "start": 633, + "end": 642, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 18 + }, + "identifierName": "BeforeAll" + }, + "name": "BeforeAll" + }, + "exported": { + "type": "Identifier", + "start": 646, + "end": 655, + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 31 + }, + "identifierName": "beforeAll" + }, + "name": "beforeAll" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 659, + "end": 684, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 674, + "end": 683, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 659, + "end": 684, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 116, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 122, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "id": { + "type": "Identifier", + "start": 122, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 134, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "callee": { + "type": "MemberExpression", + "start": 134, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 134, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 151, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 167, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "callee": { + "type": "Identifier", + "start": 171, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 187, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 77 + }, + "identifierName": "before" + }, + "name": "before" + }, + { + "type": "NewExpression", + "start": 195, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 104 + } + }, + "callee": { + "type": "Identifier", + "start": 199, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 83 + }, + "end": { + "line": 3, + "column": 102 + }, + "identifierName": "PostValueApplicator" + }, + "name": "PostValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 222, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 106 + }, + "end": { + "line": 3, + "column": 122 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 224, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 108 + }, + "end": { + "line": 3, + "column": 120 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 224, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 108 + }, + "end": { + "line": 3, + "column": 114 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 232, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 116 + }, + "end": { + "line": 3, + "column": 120 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 38\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 242, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 38\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 242, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PostValueApplicator", + "start": 72, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 92, + "end": 93, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 94, + "end": 98, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 99, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 36 + }, + "end": { + "line": 2, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 114, + "end": 115, + "loc": { + "start": { + "line": 2, + "column": 51 + }, + "end": { + "line": 2, + "column": 52 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 116, + "end": 121, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 122, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 132, + "end": 133, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 134, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 150, + "end": 151, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createDecorator", + "start": 151, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 166, + "end": 167, + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 167, + "end": 170, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 171, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 186, + "end": 187, + "loc": { + "start": { + "line": 3, + "column": 70 + }, + "end": { + "line": 3, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "before", + "start": 187, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 77 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 193, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 77 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 195, + "end": 198, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 82 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PostValueApplicator", + "start": 199, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 83 + }, + "end": { + "line": 3, + "column": 102 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 218, + "end": 219, + "loc": { + "start": { + "line": 3, + "column": 102 + }, + "end": { + "line": 3, + "column": 103 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 219, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 103 + }, + "end": { + "line": 3, + "column": 104 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 220, + "end": 221, + "loc": { + "start": { + "line": 3, + "column": 104 + }, + "end": { + "line": 3, + "column": 105 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 3, + "column": 106 + }, + "end": { + "line": 3, + "column": 107 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setter", + "start": 224, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 108 + }, + "end": { + "line": 3, + "column": 114 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 230, + "end": 231, + "loc": { + "start": { + "line": 3, + "column": 114 + }, + "end": { + "line": 3, + "column": 115 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 232, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 116 + }, + "end": { + "line": 3, + "column": 120 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 121 + }, + "end": { + "line": 3, + "column": 122 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 238, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 122 + }, + "end": { + "line": 3, + "column": 123 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 239, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 123 + }, + "end": { + "line": 3, + "column": 124 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 240, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 124 + }, + "end": { + "line": 3, + "column": 125 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @lineNumber\n * 38\n * @param\n * {number} n\n * @return\n * {LodashDecorator}\n ", + "start": 242, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 566, + "end": 572, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 573, + "end": 581, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BeforeAll", + "start": 582, + "end": 591, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 591, + "end": 592, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 592, + "end": 593, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 593, + "end": 594, + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 595, + "end": 596, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 601, + "end": 607, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 608, + "end": 617, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 617, + "end": 618, + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "n", + "start": 618, + "end": 619, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 619, + "end": 620, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 620, + "end": 621, + "loc": { + "start": { + "line": 16, + "column": 23 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 624, + "end": 630, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 631, + "end": 632, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BeforeAll", + "start": 633, + "end": 642, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 643, + "end": 645, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "beforeAll", + "start": 646, + "end": 655, + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 656, + "end": 657, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 657, + "end": 658, + "loc": { + "start": { + "line": 18, + "column": 33 + }, + "end": { + "line": 18, + "column": 34 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 659, + "end": 665, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 666, + "end": 673, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 674, + "end": 683, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 683, + "end": 684, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 685, + "end": 685, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/bind.js.json b/docs/ast/source/bind.ts.json similarity index 80% rename from docs/ast/source/bind.js.json rename to docs/ast/source/bind.ts.json index 3bb5050..7b6cbb9 100644 --- a/docs/ast/source/bind.js.json +++ b/docs/ast/source/bind.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1015, + "end": 1018, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, + "line": 34, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1015, + "end": 1018, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, + "line": 34, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 30, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 30 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - }, - "identifierName": "bind" - }, - "name": "bind" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 13 - }, - "identifierName": "bind" - }, - "name": "bind" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 31, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 40, - "end": 55, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 81, - "end": 92, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 94, - "end": 141, + "start": 63, + "end": 110, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 103, - "end": 117, + "start": 72, + "end": 86, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 23 } }, "imported": { "type": "Identifier", - "start": 103, - "end": 117, + "start": 72, + "end": 86, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 23 }, "identifierName": "BindApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 103, - "end": 117, + "start": 72, + "end": 86, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 23 }, "identifierName": "BindApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 125, - "end": 140, + "start": 94, + "end": 109, "loc": { "start": { - "line": 3, + "line": 2, "column": 31 }, "end": { - "line": 3, + "line": 2, "column": 46 } }, @@ -337,12 +251,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", - "start": 142, - "end": 857, + "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n *\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", + "start": 111, + "end": 829, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -355,53 +269,53 @@ }, { "type": "ExportNamedDeclaration", - "start": 858, - "end": 968, + "start": 830, + "end": 970, "loc": { "start": { "line": 29, "column": 0 }, "end": { - "line": 29, - "column": 110 + "line": 31, + "column": 4 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 865, - "end": 968, + "start": 837, + "end": 970, "loc": { "start": { "line": 29, "column": 7 }, "end": { - "line": 29, - "column": 110 + "line": 31, + "column": 4 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 871, - "end": 967, + "start": 843, + "end": 969, "loc": { "start": { "line": 29, "column": 13 }, "end": { - "line": 29, - "column": 109 + "line": 31, + "column": 3 } }, "id": { "type": "Identifier", - "start": 871, - "end": 875, + "start": 843, + "end": 847, "loc": { "start": { "line": 29, @@ -418,22 +332,22 @@ }, "init": { "type": "CallExpression", - "start": 878, - "end": 967, + "start": 850, + "end": 969, "loc": { "start": { "line": 29, "column": 20 }, "end": { - "line": 29, - "column": 109 + "line": 31, + "column": 3 } }, "callee": { "type": "MemberExpression", - "start": 878, - "end": 918, + "start": 850, + "end": 890, "loc": { "start": { "line": 29, @@ -446,8 +360,8 @@ }, "object": { "type": "Identifier", - "start": 878, - "end": 894, + "start": 850, + "end": 866, "loc": { "start": { "line": 29, @@ -463,8 +377,8 @@ }, "property": { "type": "Identifier", - "start": 895, - "end": 918, + "start": 867, + "end": 890, "loc": { "start": { "line": 29, @@ -483,22 +397,22 @@ "arguments": [ { "type": "NewExpression", - "start": 919, - "end": 966, + "start": 891, + "end": 968, "loc": { "start": { "line": 29, "column": 61 }, "end": { - "line": 29, - "column": 108 + "line": 31, + "column": 2 } }, "callee": { "type": "Identifier", - "start": 923, - "end": 938, + "start": 895, + "end": 910, "loc": { "start": { "line": 29, @@ -515,8 +429,8 @@ "arguments": [ { "type": "Identifier", - "start": 939, - "end": 943, + "start": 911, + "end": 915, "loc": { "start": { "line": 29, @@ -532,8 +446,8 @@ }, { "type": "NewExpression", - "start": 945, - "end": 965, + "start": 917, + "end": 937, "loc": { "start": { "line": 29, @@ -546,8 +460,8 @@ }, "callee": { "type": "Identifier", - "start": 949, - "end": 963, + "start": 921, + "end": 935, "loc": { "start": { "line": 29, @@ -562,6 +476,74 @@ "name": "BindApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 939, + "end": 967, + "loc": { + "start": { + "line": 29, + "column": 109 + }, + "end": { + "line": 31, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 945, + "end": 965, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 945, + "end": 959, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 18 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 30, + "column": 24 + } + }, + "value": true + } + } + ] } ] } @@ -574,12 +556,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", - "start": 142, - "end": 857, + "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n *\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", + "start": 111, + "end": 829, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -594,12 +576,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", - "start": 142, - "end": 857, + "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n *\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", + "start": 111, + "end": 829, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -612,45 +594,45 @@ }, { "type": "ExportNamedDeclaration", - "start": 969, - "end": 993, + "start": 971, + "end": 996, "loc": { "start": { - "line": 30, + "line": 32, "column": 0 }, "end": { - "line": 30, - "column": 24 + "line": 32, + "column": 25 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", - "start": 978, - "end": 990, + "start": 980, + "end": 992, "loc": { "start": { - "line": 30, + "line": 32, "column": 9 }, "end": { - "line": 30, + "line": 32, "column": 21 } }, "local": { "type": "Identifier", - "start": 978, - "end": 982, + "start": 980, + "end": 984, "loc": { "start": { - "line": 30, + "line": 32, "column": 9 }, "end": { - "line": 30, + "line": 32, "column": 13 }, "identifierName": "Bind" @@ -659,15 +641,15 @@ }, "exported": { "type": "Identifier", - "start": 986, - "end": 990, + "start": 988, + "end": 992, "loc": { "start": { - "line": 30, + "line": 32, "column": 17 }, "end": { - "line": 30, + "line": 32, "column": 21 }, "identifierName": "bind" @@ -680,29 +662,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 994, - "end": 1014, + "start": 997, + "end": 1017, "loc": { "start": { - "line": 31, + "line": 33, "column": 0 }, "end": { - "line": 31, + "line": 33, "column": 20 } }, "declaration": { "type": "Identifier", - "start": 1009, - "end": 1013, + "start": 1012, + "end": 1016, "loc": { "start": { - "line": 31, + "line": 33, "column": 15 }, "end": { - "line": 31, + "line": 33, "column": 19 }, "identifierName": "Bind" @@ -718,12 +700,12 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", - "start": 142, - "end": 857, + "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n *\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", + "start": 111, + "end": 829, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -739,7 +721,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -799,9 +781,9 @@ "postfix": false, "binop": null }, - "value": "bind", + "value": "DecoratorConfig", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -809,7 +791,59 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 } } }, @@ -825,16 +859,16 @@ "postfix": false, "binop": null }, - "start": 14, - "end": 15, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 14 + "column": 43 }, "end": { "line": 1, - "column": 15 + "column": 44 } } }, @@ -851,16 +885,16 @@ "binop": null }, "value": "from", - "start": 16, - "end": 20, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 16 + "column": 45 }, "end": { "line": 1, - "column": 20 + "column": 49 } } }, @@ -877,17 +911,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 21, - "end": 29, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 21 + "column": 50 }, "end": { "line": 1, - "column": 29 + "column": 61 } } }, @@ -904,16 +938,16 @@ "binop": null, "updateContext": null }, - "start": 29, - "end": 30, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 29 + "column": 61 }, "end": { "line": 1, - "column": 30 + "column": 62 } } }, @@ -922,7 +956,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -932,8 +966,8 @@ "updateContext": null }, "value": "import", - "start": 31, - "end": 37, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -957,8 +991,8 @@ "postfix": false, "binop": null }, - "start": 38, - "end": 39, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -982,9 +1016,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 40, - "end": 55, + "value": "BindApplicator", + "start": 72, + "end": 86, "loc": { "start": { "line": 2, @@ -992,25 +1026,24 @@ }, "end": { "line": 2, - "column": 24 + "column": 23 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 55, - "end": 56, + "start": 87, + "end": 88, "loc": { "start": { "line": 2, @@ -1034,9 +1067,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 57, - "end": 73, + "value": "from", + "start": 89, + "end": 93, "loc": { "start": { "line": 2, @@ -1044,92 +1077,84 @@ }, "end": { "line": 2, - "column": 42 + "column": 30 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 74, - "end": 75, + "value": "./applicators", + "start": 94, + "end": 109, "loc": { "start": { "line": 2, - "column": 43 + "column": 31 }, "end": { "line": 2, - "column": 44 + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 76, - "end": 80, + "start": 109, + "end": 110, "loc": { "start": { "line": 2, - "column": 45 + "column": 46 }, "end": { "line": 2, - "column": 49 + "column": 47 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 81, - "end": 92, + "type": "CommentBlock", + "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n *\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", + "start": 111, + "end": 829, "loc": { "start": { - "line": 2, - "column": 50 + "line": 3, + "column": 0 }, "end": { - "line": 2, - "column": 61 + "line": 28, + "column": 3 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1139,23 +1164,24 @@ "binop": null, "updateContext": null }, - "start": 92, - "end": 93, + "value": "export", + "start": 830, + "end": 836, "loc": { "start": { - "line": 2, - "column": 61 + "line": 29, + "column": 0 }, "end": { - "line": 2, - "column": 62 + "line": 29, + "column": 6 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1166,42 +1192,17 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 94, - "end": 100, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 101, - "end": 102, + "value": "const", + "start": 837, + "end": 842, "loc": { "start": { - "line": 3, + "line": 29, "column": 7 }, "end": { - "line": 3, - "column": 8 + "line": 29, + "column": 12 } } }, @@ -1217,42 +1218,44 @@ "postfix": false, "binop": null }, - "value": "BindApplicator", - "start": 103, - "end": 117, + "value": "Bind", + "start": 843, + "end": 847, "loc": { "start": { - "line": 3, - "column": 9 + "line": 29, + "column": 13 }, "end": { - "line": 3, - "column": 23 + "line": 29, + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 118, - "end": 119, + "value": "=", + "start": 848, + "end": 849, "loc": { "start": { - "line": 3, - "column": 24 + "line": 29, + "column": 18 }, "end": { - "line": 3, - "column": 25 + "line": 29, + "column": 19 } } }, @@ -1268,93 +1271,23 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 120, - "end": 124, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 125, - "end": 140, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 140, - "end": 141, - "loc": { - "start": { - "line": 3, - "column": 46 - }, - "end": { - "line": 3, - "column": 47 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n ", - "start": 142, - "end": 857, + "value": "DecoratorFactory", + "start": 850, + "end": 866, "loc": { "start": { - "line": 4, - "column": 0 + "line": 29, + "column": 20 }, "end": { - "line": 28, - "column": 3 + "line": 29, + "column": 36 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1365,52 +1298,49 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 858, - "end": 864, + "start": 866, + "end": 867, "loc": { "start": { "line": 29, - "column": 0 + "column": 36 }, "end": { "line": 29, - "column": 6 + "column": 37 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 865, - "end": 870, + "value": "createInstanceDecorator", + "start": 867, + "end": 890, "loc": { "start": { "line": 29, - "column": 7 + "column": 37 }, "end": { "line": 29, - "column": 12 + "column": 60 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1419,44 +1349,44 @@ "postfix": false, "binop": null }, - "value": "Bind", - "start": 871, - "end": 875, + "start": 890, + "end": 891, "loc": { "start": { "line": 29, - "column": 13 + "column": 60 }, "end": { "line": 29, - "column": 17 + "column": 61 } } }, { "type": { - "label": "=", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 876, - "end": 877, + "value": "new", + "start": 891, + "end": 894, "loc": { "start": { "line": 29, - "column": 18 + "column": 61 }, "end": { "line": 29, - "column": 19 + "column": 64 } } }, @@ -1472,43 +1402,42 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 878, - "end": 894, + "value": "DecoratorConfig", + "start": 895, + "end": 910, "loc": { "start": { "line": 29, - "column": 20 + "column": 65 }, "end": { "line": 29, - "column": 36 + "column": 80 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 894, - "end": 895, + "start": 910, + "end": 911, "loc": { "start": { "line": 29, - "column": 36 + "column": 80 }, "end": { "line": 29, - "column": 37 + "column": 81 } } }, @@ -1524,42 +1453,43 @@ "postfix": false, "binop": null }, - "value": "createInstanceDecorator", - "start": 895, - "end": 918, + "value": "bind", + "start": 911, + "end": 915, "loc": { "start": { "line": 29, - "column": 37 + "column": 81 }, "end": { "line": 29, - "column": 60 + "column": 85 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 918, - "end": 919, + "start": 915, + "end": 916, "loc": { "start": { "line": 29, - "column": 60 + "column": 85 }, "end": { "line": 29, - "column": 61 + "column": 86 } } }, @@ -1578,16 +1508,16 @@ "updateContext": null }, "value": "new", - "start": 919, - "end": 922, + "start": 917, + "end": 920, "loc": { "start": { "line": 29, - "column": 61 + "column": 87 }, "end": { "line": 29, - "column": 64 + "column": 90 } } }, @@ -1603,17 +1533,17 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 923, - "end": 938, + "value": "BindApplicator", + "start": 921, + "end": 935, "loc": { "start": { "line": 29, - "column": 65 + "column": 91 }, "end": { "line": 29, - "column": 80 + "column": 105 } } }, @@ -1629,24 +1559,24 @@ "postfix": false, "binop": null }, - "start": 938, - "end": 939, + "start": 935, + "end": 936, "loc": { "start": { "line": 29, - "column": 80 + "column": 105 }, "end": { "line": 29, - "column": 81 + "column": 106 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1654,17 +1584,16 @@ "postfix": false, "binop": null }, - "value": "bind", - "start": 939, - "end": 943, + "start": 936, + "end": 937, "loc": { "start": { "line": 29, - "column": 81 + "column": 106 }, "end": { "line": 29, - "column": 85 + "column": 107 } } }, @@ -1681,23 +1610,22 @@ "binop": null, "updateContext": null }, - "start": 943, - "end": 944, + "start": 937, + "end": 938, "loc": { "start": { "line": 29, - "column": 85 + "column": 107 }, "end": { "line": 29, - "column": 86 + "column": 108 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1705,20 +1633,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 945, - "end": 948, + "start": 939, + "end": 940, "loc": { "start": { "line": 29, - "column": 87 + "column": 109 }, "end": { "line": 29, - "column": 90 + "column": 110 } } }, @@ -1734,48 +1660,77 @@ "postfix": false, "binop": null }, - "value": "BindApplicator", - "start": 949, - "end": 963, + "value": "optionalParams", + "start": 945, + "end": 959, "loc": { "start": { - "line": 29, - "column": 91 + "line": 30, + "column": 4 }, "end": { - "line": 29, - "column": 105 + "line": 30, + "column": 18 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 959, + "end": 960, + "loc": { + "start": { + "line": 30, + "column": 18 + }, + "end": { + "line": 30, + "column": 19 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 963, - "end": 964, + "value": "true", + "start": 961, + "end": 965, "loc": { "start": { - "line": 29, - "column": 105 + "line": 30, + "column": 20 }, "end": { - "line": 29, - "column": 106 + "line": 30, + "column": 24 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1785,16 +1740,16 @@ "postfix": false, "binop": null }, - "start": 964, - "end": 965, + "start": 966, + "end": 967, "loc": { "start": { - "line": 29, - "column": 106 + "line": 31, + "column": 0 }, "end": { - "line": 29, - "column": 107 + "line": 31, + "column": 1 } } }, @@ -1810,16 +1765,16 @@ "postfix": false, "binop": null }, - "start": 965, - "end": 966, + "start": 967, + "end": 968, "loc": { "start": { - "line": 29, - "column": 107 + "line": 31, + "column": 1 }, "end": { - "line": 29, - "column": 108 + "line": 31, + "column": 2 } } }, @@ -1835,16 +1790,16 @@ "postfix": false, "binop": null }, - "start": 966, - "end": 967, + "start": 968, + "end": 969, "loc": { "start": { - "line": 29, - "column": 108 + "line": 31, + "column": 2 }, "end": { - "line": 29, - "column": 109 + "line": 31, + "column": 3 } } }, @@ -1861,16 +1816,16 @@ "binop": null, "updateContext": null }, - "start": 967, - "end": 968, + "start": 969, + "end": 970, "loc": { "start": { - "line": 29, - "column": 109 + "line": 31, + "column": 3 }, "end": { - "line": 29, - "column": 110 + "line": 31, + "column": 4 } } }, @@ -1889,15 +1844,15 @@ "updateContext": null }, "value": "export", - "start": 969, - "end": 975, + "start": 971, + "end": 977, "loc": { "start": { - "line": 30, + "line": 32, "column": 0 }, "end": { - "line": 30, + "line": 32, "column": 6 } } @@ -1914,15 +1869,15 @@ "postfix": false, "binop": null }, - "start": 976, - "end": 977, + "start": 978, + "end": 979, "loc": { "start": { - "line": 30, + "line": 32, "column": 7 }, "end": { - "line": 30, + "line": 32, "column": 8 } } @@ -1940,15 +1895,15 @@ "binop": null }, "value": "Bind", - "start": 978, - "end": 982, + "start": 980, + "end": 984, "loc": { "start": { - "line": 30, + "line": 32, "column": 9 }, "end": { - "line": 30, + "line": 32, "column": 13 } } @@ -1966,15 +1921,15 @@ "binop": null }, "value": "as", - "start": 983, - "end": 985, + "start": 985, + "end": 987, "loc": { "start": { - "line": 30, + "line": 32, "column": 14 }, "end": { - "line": 30, + "line": 32, "column": 16 } } @@ -1992,19 +1947,45 @@ "binop": null }, "value": "bind", - "start": 986, - "end": 990, + "start": 988, + "end": 992, "loc": { "start": { - "line": 30, + "line": 32, "column": 17 }, "end": { - "line": 30, + "line": 32, "column": 21 } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 992, + "end": 993, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, { "type": { "label": "}", @@ -2017,16 +1998,16 @@ "postfix": false, "binop": null }, - "start": 991, - "end": 992, + "start": 994, + "end": 995, "loc": { "start": { - "line": 30, - "column": 22 + "line": 32, + "column": 23 }, "end": { - "line": 30, - "column": 23 + "line": 32, + "column": 24 } } }, @@ -2043,16 +2024,16 @@ "binop": null, "updateContext": null }, - "start": 992, - "end": 993, + "start": 995, + "end": 996, "loc": { "start": { - "line": 30, - "column": 23 + "line": 32, + "column": 24 }, "end": { - "line": 30, - "column": 24 + "line": 32, + "column": 25 } } }, @@ -2071,15 +2052,15 @@ "updateContext": null }, "value": "export", - "start": 994, - "end": 1000, + "start": 997, + "end": 1003, "loc": { "start": { - "line": 31, + "line": 33, "column": 0 }, "end": { - "line": 31, + "line": 33, "column": 6 } } @@ -2099,15 +2080,15 @@ "updateContext": null }, "value": "default", - "start": 1001, - "end": 1008, + "start": 1004, + "end": 1011, "loc": { "start": { - "line": 31, + "line": 33, "column": 7 }, "end": { - "line": 31, + "line": 33, "column": 14 } } @@ -2125,15 +2106,15 @@ "binop": null }, "value": "Bind", - "start": 1009, - "end": 1013, + "start": 1012, + "end": 1016, "loc": { "start": { - "line": 31, + "line": 33, "column": 15 }, "end": { - "line": 31, + "line": 33, "column": 19 } } @@ -2151,15 +2132,15 @@ "binop": null, "updateContext": null }, - "start": 1013, - "end": 1014, + "start": 1016, + "end": 1017, "loc": { "start": { - "line": 31, + "line": 33, "column": 19 }, "end": { - "line": 31, + "line": 33, "column": 20 } } @@ -2177,15 +2158,15 @@ "binop": null, "updateContext": null }, - "start": 1015, - "end": 1015, + "start": 1018, + "end": 1018, "loc": { "start": { - "line": 32, + "line": 34, "column": 0 }, "end": { - "line": 32, + "line": 34, "column": 0 } } diff --git a/docs/ast/source/bindAll.js.json b/docs/ast/source/bindAll.ts.json similarity index 65% rename from docs/ast/source/bindAll.js.json rename to docs/ast/source/bindAll.ts.json index c5c6649..06c402c 100644 --- a/docs/ast/source/bindAll.js.json +++ b/docs/ast/source/bindAll.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1679, + "end": 1754, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1679, + "end": 1754, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 39, + "end": 45, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 39 + "column": 45 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 21, + "end": 25, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 21 + "column": 25 } }, "imported": { "type": "Identifier", "start": 9, - "end": 21, + "end": 25, "loc": { "start": { "line": 1, @@ -68,16 +68,16 @@ }, "end": { "line": 1, - "column": 21 + "column": 25 }, - "identifierName": "copyMetadata" + "identifierName": "InstanceChainMap" }, - "name": "copyMetadata" + "name": "InstanceChainMap" }, "local": { "type": "Identifier", "start": 9, - "end": 21, + "end": 25, "loc": { "start": { "line": 1, @@ -85,47 +85,133 @@ }, "end": { "line": 1, - "column": 21 + "column": 25 }, - "identifierName": "copyMetadata" + "identifierName": "InstanceChainMap" }, - "name": "copyMetadata" + "name": "InstanceChainMap" } } ], "source": { "type": "StringLiteral", - "start": 29, - "end": 38, + "start": 33, + "end": 44, "loc": { "start": { "line": 1, - "column": 29 + "column": 33 }, "end": { "line": 1, - "column": 38 + "column": 44 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 46, + "end": 76, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 30 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 55, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + } + }, + "imported": { + "type": "Identifier", + "start": 55, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + }, + "identifierName": "Bind" + }, + "name": "Bind" + }, + "local": { + "type": "Identifier", + "start": 55, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + }, + "identifierName": "Bind" + }, + "name": "Bind" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 67, + "end": 75, + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 29 } }, "extra": { - "rawValue": "./utils", - "raw": "'./utils'" + "rawValue": "./bind", + "raw": "'./bind'" }, - "value": "./utils" + "value": "./bind" }, "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @export\n * @param {string[]} [methods=[]]\n * @returns {ClassDecorator}\n * @example\n *\n * @BindAll()\n * class MyClass {\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => MyClass {}\n * myClass.unbound.call(null); // => MyClass {}\n ", - "start": 40, - "end": 482, + "value": "*\n * @desc\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @lineNumber\n * 30\n * @param\n * {undefined} methods\n * @return\n * {ClassDecorator}\n ", + "start": 77, + "end": 263, "loc": { "start": { - "line": 2, + "line": 3, "column": 0 }, "end": { - "line": 24, + "line": 12, "column": 3 } } @@ -134,15 +220,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 483, - "end": 792, + "start": 264, + "end": 378, "loc": { "start": { - "line": 25, + "line": 13, "column": 0 }, "end": { - "line": 35, + "line": 17, "column": 1 } }, @@ -150,29 +236,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 490, - "end": 792, + "start": 271, + "end": 378, "loc": { "start": { - "line": 25, + "line": 13, "column": 7 }, "end": { - "line": 35, + "line": 17, "column": 1 } }, "id": { "type": "Identifier", - "start": 499, - "end": 506, + "start": 280, + "end": 287, "loc": { "start": { - "line": 25, + "line": 13, "column": 16 }, "end": { - "line": 25, + "line": 13, "column": 23 }, "identifierName": "BindAll" @@ -186,29 +272,29 @@ "params": [ { "type": "AssignmentPattern", - "start": 507, - "end": 519, + "start": 288, + "end": 300, "loc": { "start": { - "line": 25, + "line": 13, "column": 24 }, "end": { - "line": 25, + "line": 13, "column": 36 } }, "left": { "type": "Identifier", - "start": 507, - "end": 514, + "start": 288, + "end": 295, "loc": { "start": { - "line": 25, + "line": 13, "column": 24 }, "end": { - "line": 25, + "line": 13, "column": 31 }, "identifierName": "methods" @@ -217,15 +303,15 @@ }, "right": { "type": "ArrayExpression", - "start": 517, - "end": 519, + "start": 298, + "end": 300, "loc": { "start": { - "line": 25, + "line": 13, "column": 34 }, "end": { - "line": 25, + "line": 13, "column": 36 } }, @@ -235,44 +321,44 @@ ], "body": { "type": "BlockStatement", - "start": 521, - "end": 792, + "start": 302, + "end": 378, "loc": { "start": { - "line": 25, + "line": 13, "column": 38 }, "end": { - "line": 35, + "line": 17, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 527, - "end": 790, + "start": 308, + "end": 376, "loc": { "start": { - "line": 26, + "line": 14, "column": 4 }, "end": { - "line": 34, + "line": 16, "column": 6 } }, "argument": { "type": "ArrowFunctionExpression", - "start": 534, - "end": 789, + "start": 315, + "end": 375, "loc": { "start": { - "line": 26, + "line": 14, "column": 11 }, "end": { - "line": 34, + "line": 16, "column": 5 } }, @@ -283,15 +369,15 @@ "params": [ { "type": "Identifier", - "start": 535, - "end": 541, + "start": 316, + "end": 322, "loc": { "start": { - "line": 26, + "line": 14, "column": 12 }, "end": { - "line": 26, + "line": 14, "column": 18 }, "identifierName": "target" @@ -301,494 +387,100 @@ ], "body": { "type": "BlockStatement", - "start": 546, - "end": 789, + "start": 327, + "end": 375, "loc": { "start": { - "line": 26, + "line": 14, "column": 23 }, "end": { - "line": 34, + "line": 16, "column": 5 } }, "body": [ - { - "type": "FunctionDeclaration", - "start": 556, - "end": 689, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 30, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 565, - "end": 579, - "loc": { - "start": { - "line": 27, - "column": 17 - }, - "end": { - "line": 27, - "column": 31 - }, - "identifierName": "BindAllWrapper" - }, - "name": "BindAllWrapper" - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 580, - "end": 587, - "loc": { - "start": { - "line": 27, - "column": 32 - }, - "end": { - "line": 27, - "column": 39 - } - }, - "argument": { - "type": "Identifier", - "start": 583, - "end": 587, - "loc": { - "start": { - "line": 27, - "column": 35 - }, - "end": { - "line": 27, - "column": 39 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 589, - "end": 689, - "loc": { - "start": { - "line": 27, - "column": 41 - }, - "end": { - "line": 30, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 603, - "end": 641, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 603, - "end": 640, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 49 - } - }, - "callee": { - "type": "Identifier", - "start": 603, - "end": 617, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 26 - }, - "identifierName": "bindAllMethods" - }, - "name": "bindAllMethods" - }, - "arguments": [ - { - "type": "Identifier", - "start": 618, - "end": 624, - "loc": { - "start": { - "line": 28, - "column": 27 - }, - "end": { - "line": 28, - "column": 33 - }, - "identifierName": "target" - }, - "name": "target" - }, - { - "type": "ThisExpression", - "start": 626, - "end": 630, - "loc": { - "start": { - "line": 28, - "column": 35 - }, - "end": { - "line": 28, - "column": 39 - } - } - }, - { - "type": "Identifier", - "start": 632, - "end": 639, - "loc": { - "start": { - "line": 28, - "column": 41 - }, - "end": { - "line": 28, - "column": 48 - }, - "identifierName": "methods" - }, - "name": "methods" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 654, - "end": 679, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 654, - "end": 678, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 654, - "end": 666, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 654, - "end": 660, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 18 - }, - "identifierName": "target" - }, - "name": "target" - }, - "property": { - "type": "Identifier", - "start": 661, - "end": 666, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 24 - }, - "identifierName": "apply" - }, - "name": "apply" - }, - "computed": false - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 667, - "end": 671, - "loc": { - "start": { - "line": 29, - "column": 25 - }, - "end": { - "line": 29, - "column": 29 - } - } - }, - { - "type": "Identifier", - "start": 673, - "end": 677, - "loc": { - "start": { - "line": 29, - "column": 31 - }, - "end": { - "line": 29, - "column": 35 - }, - "identifierName": "args" - }, - "name": "args" - } - ] - } - } - ], - "directives": [] - } - }, - { - "type": "EmptyStatement", - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 9 - } - } - }, { "type": "ExpressionStatement", - "start": 708, - "end": 752, + "start": 337, + "end": 369, "loc": { "start": { - "line": 32, + "line": 15, "column": 8 }, "end": { - "line": 32, - "column": 52 + "line": 15, + "column": 40 } }, "expression": { - "type": "AssignmentExpression", - "start": 708, - "end": 751, + "type": "CallExpression", + "start": 337, + "end": 368, "loc": { "start": { - "line": 32, + "line": 15, "column": 8 }, "end": { - "line": 32, - "column": 51 + "line": 15, + "column": 39 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 708, - "end": 732, + "callee": { + "type": "Identifier", + "start": 337, + "end": 351, "loc": { "start": { - "line": 32, + "line": 15, "column": 8 }, "end": { - "line": 32, - "column": 32 - } + "line": 15, + "column": 22 + }, + "identifierName": "bindAllMethods" }, - "object": { + "name": "bindAllMethods" + }, + "arguments": [ + { "type": "Identifier", - "start": 708, - "end": 722, + "start": 352, + "end": 358, "loc": { "start": { - "line": 32, - "column": 8 + "line": 15, + "column": 23 }, "end": { - "line": 32, - "column": 22 + "line": 15, + "column": 29 }, - "identifierName": "BindAllWrapper" + "identifierName": "target" }, - "name": "BindAllWrapper" + "name": "target" }, - "property": { + { "type": "Identifier", - "start": 723, - "end": 732, + "start": 360, + "end": 367, "loc": { "start": { - "line": 32, - "column": 23 + "line": 15, + "column": 31 }, "end": { - "line": 32, - "column": 32 + "line": 15, + "column": 38 }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 735, - "end": 751, - "loc": { - "start": { - "line": 32, - "column": 35 + "identifierName": "methods" }, - "end": { - "line": 32, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 735, - "end": 741, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 41 - }, - "identifierName": "target" - }, - "name": "target" - }, - "property": { - "type": "Identifier", - "start": 742, - "end": 751, - "loc": { - "start": { - "line": 32, - "column": 42 - }, - "end": { - "line": 32, - "column": 51 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - } - } - }, - { - "type": "ReturnStatement", - "start": 761, - "end": 783, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 30 - } - }, - "argument": { - "type": "Identifier", - "start": 768, - "end": 782, - "loc": { - "start": { - "line": 33, - "column": 15 - }, - "end": { - "line": 33, - "column": 29 - }, - "identifierName": "BindAllWrapper" - }, - "name": "BindAllWrapper" + "name": "methods" + } + ] } } ], @@ -797,41 +489,77 @@ } } ], - "directives": [] + "directives": [], + "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @export\n * @param {string[]} [methods=[]]\n * @returns {ClassDecorator}\n * @example\n *\n * @BindAll()\n * class MyClass {\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => MyClass {}\n * myClass.unbound.call(null); // => MyClass {}\n ", - "start": 40, - "end": 482, + "value": "*\n * @desc\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @lineNumber\n * 30\n * @param\n * {undefined} methods\n * @return\n * {ClassDecorator}\n ", + "start": 77, + "end": 263, "loc": { "start": { - "line": 2, + "line": 3, "column": 0 }, "end": { - "line": 24, + "line": 12, "column": 3 } } } ], - "trailingComments": [] + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 36\n * @param\n * {Function} target\n * @param\n * {undefined} methods\n ", + "start": 379, + "end": 483, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + } + } + ] }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @export\n * @param {string[]} [methods=[]]\n * @returns {ClassDecorator}\n * @example\n *\n * @BindAll()\n * class MyClass {\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => MyClass {}\n * myClass.unbound.call(null); // => MyClass {}\n ", - "start": 40, - "end": 482, + "value": "*\n * @desc\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @lineNumber\n * 30\n * @param\n * {undefined} methods\n * @return\n * {ClassDecorator}\n ", + "start": 77, + "end": 263, "loc": { "start": { - "line": 2, + "line": 3, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 36\n * @param\n * {Function} target\n * @param\n * {undefined} methods\n ", + "start": 379, + "end": 483, + "loc": { + "start": { + "line": 18, "column": 0 }, "end": { - "line": 24, + "line": 27, "column": 3 } } @@ -840,11 +568,11 @@ }, { "type": "FunctionDeclaration", - "start": 793, - "end": 1623, + "start": 484, + "end": 1698, "loc": { "start": { - "line": 36, + "line": 28, "column": 0 }, "end": { @@ -854,20 +582,21 @@ }, "id": { "type": "Identifier", - "start": 802, - "end": 816, + "start": 493, + "end": 507, "loc": { "start": { - "line": 36, + "line": 28, "column": 9 }, "end": { - "line": 36, + "line": 28, "column": 23 }, "identifierName": "bindAllMethods" }, - "name": "bindAllMethods" + "name": "bindAllMethods", + "leadingComments": null }, "generator": false, "expression": false, @@ -875,64 +604,47 @@ "params": [ { "type": "Identifier", - "start": 817, - "end": 823, + "start": 508, + "end": 514, "loc": { "start": { - "line": 36, + "line": 28, "column": 24 }, "end": { - "line": 36, + "line": 28, "column": 30 }, "identifierName": "target" }, "name": "target" }, - { - "type": "Identifier", - "start": 825, - "end": 833, - "loc": { - "start": { - "line": 36, - "column": 32 - }, - "end": { - "line": 36, - "column": 40 - }, - "identifierName": "instance" - }, - "name": "instance" - }, { "type": "AssignmentPattern", - "start": 835, - "end": 847, + "start": 516, + "end": 528, "loc": { "start": { - "line": 36, - "column": 42 + "line": 28, + "column": 32 }, "end": { - "line": 36, - "column": 54 + "line": 28, + "column": 44 } }, "left": { "type": "Identifier", - "start": 835, - "end": 842, + "start": 516, + "end": 523, "loc": { "start": { - "line": 36, - "column": 42 + "line": 28, + "column": 32 }, "end": { - "line": 36, - "column": 49 + "line": 28, + "column": 39 }, "identifierName": "methods" }, @@ -940,16 +652,16 @@ }, "right": { "type": "ArrayExpression", - "start": 845, - "end": 847, + "start": 526, + "end": 528, "loc": { "start": { - "line": 36, - "column": 52 + "line": 28, + "column": 42 }, "end": { - "line": 36, - "column": 54 + "line": 28, + "column": 44 } }, "elements": [] @@ -958,12 +670,12 @@ ], "body": { "type": "BlockStatement", - "start": 849, - "end": 1623, + "start": 530, + "end": 1698, "loc": { "start": { - "line": 36, - "column": 56 + "line": 28, + "column": 46 }, "end": { "line": 53, @@ -973,44 +685,144 @@ "body": [ { "type": "VariableDeclaration", - "start": 855, - "end": 884, + "start": 536, + "end": 573, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 41 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 542, + "end": 572, + "loc": { + "start": { + "line": 29, + "column": 10 + }, + "end": { + "line": 29, + "column": 40 + } + }, + "id": { + "type": "Identifier", + "start": 542, + "end": 553, + "loc": { + "start": { + "line": 29, + "column": 10 + }, + "end": { + "line": 29, + "column": 21 + }, + "identifierName": "targetProto" + }, + "name": "targetProto" + }, + "init": { + "type": "MemberExpression", + "start": 556, + "end": 572, + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 556, + "end": 562, + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 30 + }, + "identifierName": "target" + }, + "name": "target" + }, + "property": { + "type": "Identifier", + "start": 563, + "end": 572, + "loc": { + "start": { + "line": 29, + "column": 31 + }, + "end": { + "line": 29, + "column": 40 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 578, + "end": 607, "loc": { "start": { - "line": 37, + "line": 30, "column": 4 }, "end": { - "line": 37, + "line": 30, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 859, - "end": 883, + "start": 582, + "end": 606, "loc": { "start": { - "line": 37, + "line": 30, "column": 8 }, "end": { - "line": 37, + "line": 30, "column": 32 } }, "id": { "type": "Identifier", - "start": 859, - "end": 864, + "start": 582, + "end": 587, "loc": { "start": { - "line": 37, + "line": 30, "column": 8 }, "end": { - "line": 37, + "line": 30, "column": 13 }, "identifierName": "proto" @@ -1019,29 +831,29 @@ }, "init": { "type": "MemberExpression", - "start": 867, - "end": 883, + "start": 590, + "end": 606, "loc": { "start": { - "line": 37, + "line": 30, "column": 16 }, "end": { - "line": 37, + "line": 30, "column": 32 } }, "object": { "type": "Identifier", - "start": 867, - "end": 873, + "start": 590, + "end": 596, "loc": { "start": { - "line": 37, + "line": 30, "column": 16 }, "end": { - "line": 37, + "line": 30, "column": 22 }, "identifierName": "target" @@ -1050,15 +862,15 @@ }, "property": { "type": "Identifier", - "start": 874, - "end": 883, + "start": 597, + "end": 606, "loc": { "start": { - "line": 37, + "line": 30, "column": 23 }, "end": { - "line": 37, + "line": 30, "column": 32 }, "identifierName": "prototype" @@ -1071,13 +883,79 @@ ], "kind": "let" }, + { + "type": "VariableDeclaration", + "start": 612, + "end": 633, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 618, + "end": 632, + "loc": { + "start": { + "line": 31, + "column": 10 + }, + "end": { + "line": 31, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 618, + "end": 627, + "loc": { + "start": { + "line": 31, + "column": 10 + }, + "end": { + "line": 31, + "column": 19 + }, + "identifierName": "boundKeys" + }, + "name": "boundKeys" + }, + "init": { + "type": "ArrayExpression", + "start": 630, + "end": 632, + "loc": { + "start": { + "line": 31, + "column": 22 + }, + "end": { + "line": 31, + "column": 24 + } + }, + "elements": [] + } + } + ], + "kind": "const" + }, { "type": "WhileStatement", - "start": 889, - "end": 1621, + "start": 638, + "end": 1696, "loc": { "start": { - "line": 38, + "line": 32, "column": 4 }, "end": { @@ -1087,29 +965,29 @@ }, "test": { "type": "LogicalExpression", - "start": 896, - "end": 931, + "start": 645, + "end": 680, "loc": { "start": { - "line": 38, + "line": 32, "column": 11 }, "end": { - "line": 38, + "line": 32, "column": 46 } }, "left": { "type": "Identifier", - "start": 896, - "end": 901, + "start": 645, + "end": 650, "loc": { "start": { - "line": 38, + "line": 32, "column": 11 }, "end": { - "line": 38, + "line": 32, "column": 16 }, "identifierName": "proto" @@ -1119,29 +997,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 905, - "end": 931, + "start": 654, + "end": 680, "loc": { "start": { - "line": 38, + "line": 32, "column": 20 }, "end": { - "line": 38, + "line": 32, "column": 46 } }, "left": { "type": "Identifier", - "start": 905, - "end": 910, + "start": 654, + "end": 659, "loc": { "start": { - "line": 38, + "line": 32, "column": 20 }, "end": { - "line": 38, + "line": 32, "column": 25 }, "identifierName": "proto" @@ -1151,29 +1029,29 @@ "operator": "!==", "right": { "type": "MemberExpression", - "start": 915, - "end": 931, + "start": 664, + "end": 680, "loc": { "start": { - "line": 38, + "line": 32, "column": 30 }, "end": { - "line": 38, + "line": 32, "column": 46 } }, "object": { "type": "Identifier", - "start": 915, - "end": 921, + "start": 664, + "end": 670, "loc": { "start": { - "line": 38, + "line": 32, "column": 30 }, "end": { - "line": 38, + "line": 32, "column": 36 }, "identifierName": "Object" @@ -1182,15 +1060,15 @@ }, "property": { "type": "Identifier", - "start": 922, - "end": 931, + "start": 671, + "end": 680, "loc": { "start": { - "line": 38, + "line": 32, "column": 37 }, "end": { - "line": 38, + "line": 32, "column": 46 }, "identifierName": "prototype" @@ -1203,11 +1081,11 @@ }, "body": { "type": "BlockStatement", - "start": 933, - "end": 1621, + "start": 682, + "end": 1696, "loc": { "start": { - "line": 38, + "line": 32, "column": 48 }, "end": { @@ -1218,11 +1096,11 @@ "body": [ { "type": "ForOfStatement", - "start": 943, - "end": 1569, + "start": 692, + "end": 1644, "loc": { "start": { - "line": 39, + "line": 33, "column": 8 }, "end": { @@ -1232,44 +1110,44 @@ }, "left": { "type": "VariableDeclaration", - "start": 948, - "end": 957, + "start": 697, + "end": 706, "loc": { "start": { - "line": 39, + "line": 33, "column": 13 }, "end": { - "line": 39, + "line": 33, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 954, - "end": 957, + "start": 703, + "end": 706, "loc": { "start": { - "line": 39, + "line": 33, "column": 19 }, "end": { - "line": 39, + "line": 33, "column": 22 } }, "id": { "type": "Identifier", - "start": 954, - "end": 957, + "start": 703, + "end": 706, "loc": { "start": { - "line": 39, + "line": 33, "column": 19 }, "end": { - "line": 39, + "line": 33, "column": 22 }, "identifierName": "key" @@ -1283,43 +1161,43 @@ }, "right": { "type": "CallExpression", - "start": 961, - "end": 994, + "start": 710, + "end": 743, "loc": { "start": { - "line": 39, + "line": 33, "column": 26 }, "end": { - "line": 39, + "line": 33, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 961, - "end": 987, + "start": 710, + "end": 736, "loc": { "start": { - "line": 39, + "line": 33, "column": 26 }, "end": { - "line": 39, + "line": 33, "column": 52 } }, "object": { "type": "Identifier", - "start": 961, - "end": 967, + "start": 710, + "end": 716, "loc": { "start": { - "line": 39, + "line": 33, "column": 26 }, "end": { - "line": 39, + "line": 33, "column": 32 }, "identifierName": "Object" @@ -1328,15 +1206,15 @@ }, "property": { "type": "Identifier", - "start": 968, - "end": 987, + "start": 717, + "end": 736, "loc": { "start": { - "line": 39, + "line": 33, "column": 33 }, "end": { - "line": 39, + "line": 33, "column": 52 }, "identifierName": "getOwnPropertyNames" @@ -1348,15 +1226,15 @@ "arguments": [ { "type": "Identifier", - "start": 988, - "end": 993, + "start": 737, + "end": 742, "loc": { "start": { - "line": 39, + "line": 33, "column": 53 }, "end": { - "line": 39, + "line": 33, "column": 58 }, "identifierName": "proto" @@ -1367,11 +1245,11 @@ }, "body": { "type": "BlockStatement", - "start": 996, - "end": 1569, + "start": 745, + "end": 1644, "loc": { "start": { - "line": 39, + "line": 33, "column": 61 }, "end": { @@ -1382,44 +1260,44 @@ "body": [ { "type": "VariableDeclaration", - "start": 1010, - "end": 1078, + "start": 759, + "end": 827, "loc": { "start": { - "line": 40, + "line": 34, "column": 12 }, "end": { - "line": 40, + "line": 34, "column": 80 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1016, - "end": 1077, + "start": 765, + "end": 826, "loc": { "start": { - "line": 40, + "line": 34, "column": 18 }, "end": { - "line": 40, + "line": 34, "column": 79 } }, "id": { "type": "Identifier", - "start": 1016, - "end": 1023, + "start": 765, + "end": 772, "loc": { "start": { - "line": 40, + "line": 34, "column": 18 }, "end": { - "line": 40, + "line": 34, "column": 25 }, "identifierName": "include" @@ -1428,43 +1306,43 @@ }, "init": { "type": "ConditionalExpression", - "start": 1026, - "end": 1077, + "start": 775, + "end": 826, "loc": { "start": { - "line": 40, + "line": 34, "column": 28 }, "end": { - "line": 40, + "line": 34, "column": 79 } }, "test": { "type": "MemberExpression", - "start": 1026, - "end": 1040, + "start": 775, + "end": 789, "loc": { "start": { - "line": 40, + "line": 34, "column": 28 }, "end": { - "line": 40, + "line": 34, "column": 42 } }, "object": { "type": "Identifier", - "start": 1026, - "end": 1033, + "start": 775, + "end": 782, "loc": { "start": { - "line": 40, + "line": 34, "column": 28 }, "end": { - "line": 40, + "line": 34, "column": 35 }, "identifierName": "methods" @@ -1473,15 +1351,15 @@ }, "property": { "type": "Identifier", - "start": 1034, - "end": 1040, + "start": 783, + "end": 789, "loc": { "start": { - "line": 40, + "line": 34, "column": 36 }, "end": { - "line": 40, + "line": 34, "column": 42 }, "identifierName": "length" @@ -1492,57 +1370,57 @@ }, "consequent": { "type": "BinaryExpression", - "start": 1043, - "end": 1070, + "start": 792, + "end": 819, "loc": { "start": { - "line": 40, + "line": 34, "column": 45 }, "end": { - "line": 40, + "line": 34, "column": 72 } }, "left": { "type": "CallExpression", - "start": 1043, - "end": 1063, + "start": 792, + "end": 812, "loc": { "start": { - "line": 40, + "line": 34, "column": 45 }, "end": { - "line": 40, + "line": 34, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 1043, - "end": 1058, + "start": 792, + "end": 807, "loc": { "start": { - "line": 40, + "line": 34, "column": 45 }, "end": { - "line": 40, + "line": 34, "column": 60 } }, "object": { "type": "Identifier", - "start": 1043, - "end": 1050, + "start": 792, + "end": 799, "loc": { "start": { - "line": 40, + "line": 34, "column": 45 }, "end": { - "line": 40, + "line": 34, "column": 52 }, "identifierName": "methods" @@ -1551,15 +1429,15 @@ }, "property": { "type": "Identifier", - "start": 1051, - "end": 1058, + "start": 800, + "end": 807, "loc": { "start": { - "line": 40, + "line": 34, "column": 53 }, "end": { - "line": 40, + "line": 34, "column": 60 }, "identifierName": "indexOf" @@ -1571,15 +1449,15 @@ "arguments": [ { "type": "Identifier", - "start": 1059, - "end": 1062, + "start": 808, + "end": 811, "loc": { "start": { - "line": 40, + "line": 34, "column": 61 }, "end": { - "line": 40, + "line": 34, "column": 64 }, "identifierName": "key" @@ -1591,15 +1469,15 @@ "operator": "!==", "right": { "type": "UnaryExpression", - "start": 1068, - "end": 1070, + "start": 817, + "end": 819, "loc": { "start": { - "line": 40, + "line": 34, "column": 70 }, "end": { - "line": 40, + "line": 34, "column": 72 } }, @@ -1607,15 +1485,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 1069, - "end": 1070, + "start": 818, + "end": 819, "loc": { "start": { - "line": 40, + "line": 34, "column": 71 }, "end": { - "line": 40, + "line": 34, "column": 72 } }, @@ -1632,15 +1510,15 @@ }, "alternate": { "type": "BooleanLiteral", - "start": 1073, - "end": 1077, + "start": 822, + "end": 826, "loc": { "start": { - "line": 40, + "line": 34, "column": 75 }, "end": { - "line": 40, + "line": 34, "column": 79 } }, @@ -1653,44 +1531,44 @@ }, { "type": "VariableDeclaration", - "start": 1091, - "end": 1154, + "start": 840, + "end": 903, "loc": { "start": { - "line": 41, + "line": 35, "column": 12 }, "end": { - "line": 41, + "line": 35, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1097, - "end": 1153, + "start": 846, + "end": 902, "loc": { "start": { - "line": 41, + "line": 35, "column": 18 }, "end": { - "line": 41, + "line": 35, "column": 74 } }, "id": { "type": "Identifier", - "start": 1097, - "end": 1107, + "start": 846, + "end": 856, "loc": { "start": { - "line": 41, + "line": 35, "column": 18 }, "end": { - "line": 41, + "line": 35, "column": 28 }, "identifierName": "descriptor" @@ -1699,43 +1577,43 @@ }, "init": { "type": "CallExpression", - "start": 1110, - "end": 1153, + "start": 859, + "end": 902, "loc": { "start": { - "line": 41, + "line": 35, "column": 31 }, "end": { - "line": 41, + "line": 35, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 1110, - "end": 1141, + "start": 859, + "end": 890, "loc": { "start": { - "line": 41, + "line": 35, "column": 31 }, "end": { - "line": 41, + "line": 35, "column": 62 } }, "object": { "type": "Identifier", - "start": 1110, - "end": 1116, + "start": 859, + "end": 865, "loc": { "start": { - "line": 41, + "line": 35, "column": 31 }, "end": { - "line": 41, + "line": 35, "column": 37 }, "identifierName": "Object" @@ -1744,15 +1622,15 @@ }, "property": { "type": "Identifier", - "start": 1117, - "end": 1141, + "start": 866, + "end": 890, "loc": { "start": { - "line": 41, + "line": 35, "column": 38 }, "end": { - "line": 41, + "line": 35, "column": 62 }, "identifierName": "getOwnPropertyDescriptor" @@ -1764,15 +1642,15 @@ "arguments": [ { "type": "Identifier", - "start": 1142, - "end": 1147, + "start": 891, + "end": 896, "loc": { "start": { - "line": 41, + "line": 35, "column": 63 }, "end": { - "line": 41, + "line": 35, "column": 68 }, "identifierName": "proto" @@ -1781,15 +1659,15 @@ }, { "type": "Identifier", - "start": 1149, - "end": 1152, + "start": 898, + "end": 901, "loc": { "start": { - "line": 41, + "line": 35, "column": 70 }, "end": { - "line": 41, + "line": 35, "column": 73 }, "identifierName": "key" @@ -1804,11 +1682,11 @@ }, { "type": "IfStatement", - "start": 1167, - "end": 1559, + "start": 916, + "end": 1634, "loc": { "start": { - "line": 42, + "line": 36, "column": 12 }, "end": { @@ -1818,218 +1696,131 @@ }, "test": { "type": "LogicalExpression", - "start": 1171, - "end": 1236, + "start": 920, + "end": 966, "loc": { "start": { - "line": 42, + "line": 36, "column": 16 }, "end": { - "line": 42, - "column": 81 + "line": 36, + "column": 62 } }, "left": { "type": "LogicalExpression", - "start": 1171, - "end": 1203, + "start": 920, + "end": 941, "loc": { "start": { - "line": 42, + "line": 36, "column": 16 }, "end": { - "line": 42, - "column": 48 + "line": 36, + "column": 37 } }, "left": { "type": "Identifier", - "start": 1171, - "end": 1178, + "start": 920, + "end": 930, "loc": { "start": { - "line": 42, + "line": 36, "column": 16 }, "end": { - "line": 42, - "column": 23 + "line": 36, + "column": 26 }, - "identifierName": "include" + "identifierName": "descriptor" }, - "name": "include" + "name": "descriptor" }, "operator": "&&", "right": { - "type": "BinaryExpression", - "start": 1182, - "end": 1203, + "type": "Identifier", + "start": 934, + "end": 941, "loc": { "start": { - "line": 42, - "column": 27 + "line": 36, + "column": 30 }, "end": { - "line": 42, - "column": 48 - } - }, - "left": { - "type": "Identifier", - "start": 1182, - "end": 1185, - "loc": { - "start": { - "line": 42, - "column": 27 - }, - "end": { - "line": 42, - "column": 30 - }, - "identifierName": "key" + "line": 36, + "column": 37 }, - "name": "key" + "identifierName": "include" }, - "operator": "!==", - "right": { - "type": "StringLiteral", - "start": 1190, - "end": 1203, - "loc": { - "start": { - "line": 42, - "column": 35 - }, - "end": { - "line": 42, - "column": 48 - } - }, - "extra": { - "rawValue": "constructor", - "raw": "'constructor'" - }, - "value": "constructor" - } + "name": "include" } }, "operator": "&&", "right": { - "type": "UnaryExpression", - "start": 1207, - "end": 1236, + "type": "BinaryExpression", + "start": 945, + "end": 966, "loc": { "start": { - "line": 42, - "column": 52 + "line": 36, + "column": 41 }, "end": { - "line": 42, - "column": 81 + "line": 36, + "column": 62 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 1208, - "end": 1236, + "left": { + "type": "Identifier", + "start": 945, + "end": 948, "loc": { "start": { - "line": 42, - "column": 53 + "line": 36, + "column": 41 }, "end": { - "line": 42, - "column": 81 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1208, - "end": 1231, - "loc": { - "start": { - "line": 42, - "column": 53 - }, - "end": { - "line": 42, - "column": 76 - } - }, - "object": { - "type": "Identifier", - "start": 1208, - "end": 1216, - "loc": { - "start": { - "line": 42, - "column": 53 - }, - "end": { - "line": 42, - "column": 61 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 1217, - "end": 1231, - "loc": { - "start": { - "line": 42, - "column": 62 - }, - "end": { - "line": 42, - "column": 76 - }, - "identifierName": "hasOwnProperty" - }, - "name": "hasOwnProperty" + "line": 36, + "column": 44 }, - "computed": false + "identifierName": "key" }, - "arguments": [ - { - "type": "Identifier", - "start": 1232, - "end": 1235, - "loc": { - "start": { - "line": 42, - "column": 77 - }, - "end": { - "line": 42, - "column": 80 - }, - "identifierName": "key" - }, - "name": "key" - } - ] + "name": "key" }, - "extra": { - "parenthesizedArgument": false + "operator": "!==", + "right": { + "type": "StringLiteral", + "start": 953, + "end": 966, + "loc": { + "start": { + "line": 36, + "column": 49 + }, + "end": { + "line": 36, + "column": 62 + } + }, + "extra": { + "rawValue": "constructor", + "raw": "'constructor'" + }, + "value": "constructor" } } }, "consequent": { "type": "BlockStatement", - "start": 1238, - "end": 1559, + "start": 968, + "end": 1634, "loc": { "start": { - "line": 42, - "column": 83 + "line": 36, + "column": 64 }, "end": { "line": 49, @@ -2038,599 +1829,1044 @@ }, "body": [ { - "type": "ExpressionStatement", - "start": 1256, - "end": 1545, + "type": "IfStatement", + "start": 1161, + "end": 1391, "loc": { "start": { - "line": 43, + "line": 39, "column": 16 }, "end": { - "line": 48, - "column": 19 + "line": 44, + "column": 17 } }, - "expression": { - "type": "CallExpression", - "start": 1256, - "end": 1544, + "test": { + "type": "MemberExpression", + "start": 1165, + "end": 1179, "loc": { "start": { - "line": 43, - "column": 16 + "line": 39, + "column": 20 }, "end": { - "line": 48, - "column": 18 + "line": 39, + "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 1256, - "end": 1277, + "object": { + "type": "Identifier", + "start": 1165, + "end": 1175, "loc": { "start": { - "line": 43, - "column": 16 + "line": 39, + "column": 20 }, "end": { - "line": 43, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 1256, - "end": 1262, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 22 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 1263, - "end": 1277, - "loc": { - "start": { - "line": 43, - "column": 23 - }, - "end": { - "line": 43, - "column": 37 - }, - "identifierName": "defineProperty" + "line": 39, + "column": 30 }, - "name": "defineProperty" + "identifierName": "descriptor" }, - "computed": false + "name": "descriptor", + "leadingComments": null }, - "arguments": [ - { - "type": "Identifier", - "start": 1278, - "end": 1286, - "loc": { - "start": { - "line": 43, - "column": 38 - }, - "end": { - "line": 43, - "column": 46 - }, - "identifierName": "instance" + "property": { + "type": "Identifier", + "start": 1176, + "end": 1179, + "loc": { + "start": { + "line": 39, + "column": 31 }, - "name": "instance" - }, - { - "type": "Identifier", - "start": 1288, - "end": 1291, - "loc": { - "start": { - "line": 43, - "column": 48 - }, - "end": { - "line": 43, - "column": 51 - }, - "identifierName": "key" + "end": { + "line": 39, + "column": 34 }, - "name": "key" + "identifierName": "get" }, + "name": "get" + }, + "computed": false, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 1181, + "end": 1391, + "loc": { + "start": { + "line": 39, + "column": 36 + }, + "end": { + "line": 44, + "column": 17 + } + }, + "body": [ { - "type": "ObjectExpression", - "start": 1293, - "end": 1543, + "type": "VariableDeclaration", + "start": 1203, + "end": 1256, "loc": { "start": { - "line": 43, - "column": 53 + "line": 40, + "column": 20 }, "end": { - "line": 48, - "column": 17 + "line": 40, + "column": 73 } }, - "properties": [ + "declarations": [ { - "type": "ObjectProperty", - "start": 1315, - "end": 1379, + "type": "VariableDeclarator", + "start": 1209, + "end": 1255, "loc": { "start": { - "line": 44, - "column": 20 + "line": 40, + "column": 26 }, "end": { - "line": 44, - "column": 84 + "line": 40, + "column": 72 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "id": { "type": "Identifier", - "start": 1315, - "end": 1320, + "start": 1209, + "end": 1218, "loc": { "start": { - "line": 44, - "column": 20 + "line": 40, + "column": 26 }, "end": { - "line": 44, - "column": 25 + "line": 40, + "column": 35 }, - "identifierName": "value" + "identifierName": "chainData" }, - "name": "value" + "name": "chainData" }, - "value": { + "init": { "type": "CallExpression", - "start": 1322, - "end": 1379, + "start": 1221, + "end": 1255, "loc": { "start": { - "line": 44, - "column": 27 + "line": 40, + "column": 38 }, "end": { - "line": 44, - "column": 84 + "line": 40, + "column": 72 } }, "callee": { - "type": "Identifier", - "start": 1322, - "end": 1334, + "type": "MemberExpression", + "start": 1221, + "end": 1241, "loc": { "start": { - "line": 44, - "column": 27 + "line": 40, + "column": 38 }, "end": { - "line": 44, - "column": 39 + "line": 40, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 1221, + "end": 1237, + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 54 + }, + "identifierName": "InstanceChainMap" + }, + "name": "InstanceChainMap" + }, + "property": { + "type": "Identifier", + "start": 1238, + "end": 1241, + "loc": { + "start": { + "line": 40, + "column": 55 + }, + "end": { + "line": 40, + "column": 58 + }, + "identifierName": "get" }, - "identifierName": "copyMetadata" + "name": "get" }, - "name": "copyMetadata" + "computed": false }, "arguments": [ { - "type": "CallExpression", - "start": 1335, - "end": 1363, + "type": "ArrayExpression", + "start": 1242, + "end": 1254, "loc": { "start": { - "line": 44, - "column": 40 + "line": 40, + "column": 59 }, "end": { - "line": 44, - "column": 68 + "line": 40, + "column": 71 } }, - "callee": { - "type": "MemberExpression", - "start": 1335, - "end": 1353, - "loc": { - "start": { - "line": 44, - "column": 40 - }, - "end": { - "line": 44, - "column": 58 - } - }, - "object": { - "type": "MemberExpression", - "start": 1335, - "end": 1348, - "loc": { - "start": { - "line": 44, - "column": 40 - }, - "end": { - "line": 44, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 1335, - "end": 1343, - "loc": { - "start": { - "line": 44, - "column": 40 - }, - "end": { - "line": 44, - "column": 48 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 1344, - "end": 1347, - "loc": { - "start": { - "line": 44, - "column": 49 - }, - "end": { - "line": 44, - "column": 52 - }, - "identifierName": "key" - }, - "name": "key" - }, - "computed": true - }, - "property": { + "elements": [ + { "type": "Identifier", - "start": 1349, - "end": 1353, + "start": 1243, + "end": 1248, "loc": { "start": { - "line": 44, - "column": 54 + "line": 40, + "column": 60 }, "end": { - "line": 44, - "column": 58 + "line": 40, + "column": 65 }, - "identifierName": "bind" + "identifierName": "proto" }, - "name": "bind" + "name": "proto" }, - "computed": false - }, - "arguments": [ { "type": "Identifier", - "start": 1354, - "end": 1362, + "start": 1250, + "end": 1253, "loc": { "start": { - "line": 44, - "column": 59 + "line": 40, + "column": 67 }, "end": { - "line": 44, - "column": 67 + "line": 40, + "column": 70 }, - "identifierName": "instance" + "identifierName": "key" }, - "name": "instance" + "name": "key" } ] - }, - { - "type": "MemberExpression", - "start": 1365, - "end": 1378, - "loc": { - "start": { - "line": 44, - "column": 70 - }, - "end": { - "line": 44, - "column": 83 - } - }, - "object": { - "type": "Identifier", - "start": 1365, - "end": 1373, - "loc": { - "start": { - "line": 44, - "column": 70 - }, - "end": { - "line": 44, - "column": 78 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "property": { - "type": "Identifier", - "start": 1374, - "end": 1377, - "loc": { - "start": { - "line": 44, - "column": 79 - }, - "end": { - "line": 44, - "column": 82 - }, - "identifierName": "key" - }, - "name": "key" - }, - "computed": true } ] } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 1277, + "end": 1373, + "loc": { + "start": { + "line": 41, + "column": 20 }, - { - "type": "ObjectProperty", - "start": 1401, - "end": 1419, + "end": { + "line": 43, + "column": 21 + } + }, + "test": { + "type": "LogicalExpression", + "start": 1281, + "end": 1314, + "loc": { + "start": { + "line": 41, + "column": 24 + }, + "end": { + "line": 41, + "column": 57 + } + }, + "left": { + "type": "UnaryExpression", + "start": 1281, + "end": 1291, "loc": { "start": { - "line": 45, - "column": 20 + "line": 41, + "column": 24 }, "end": { - "line": 45, - "column": 38 + "line": 41, + "column": 34 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "operator": "!", + "prefix": true, + "argument": { "type": "Identifier", - "start": 1401, - "end": 1413, + "start": 1282, + "end": 1291, "loc": { "start": { - "line": 45, - "column": 20 + "line": 41, + "column": 25 }, "end": { - "line": 45, - "column": 32 - }, - "identifierName": "configurable" - }, - "name": "configurable" - }, - "value": { - "type": "BooleanLiteral", - "start": 1415, - "end": 1419, - "loc": { - "start": { - "line": 45, + "line": 41, "column": 34 }, - "end": { - "line": 45, - "column": 38 - } + "identifierName": "chainData" }, - "value": true + "name": "chainData" + }, + "extra": { + "parenthesizedArgument": false } }, - { - "type": "ObjectProperty", - "start": 1441, - "end": 1474, + "operator": "||", + "right": { + "type": "UnaryExpression", + "start": 1295, + "end": 1314, "loc": { "start": { - "line": 46, - "column": 20 + "line": 41, + "column": 38 }, "end": { - "line": 46, - "column": 53 + "line": 41, + "column": 57 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1441, - "end": 1451, - "loc": { - "start": { - "line": 46, - "column": 20 - }, - "end": { - "line": 46, - "column": 30 - }, - "identifierName": "enumerable" - }, - "name": "enumerable" - }, - "value": { + "operator": "!", + "prefix": true, + "argument": { "type": "MemberExpression", - "start": 1453, - "end": 1474, + "start": 1296, + "end": 1314, "loc": { "start": { - "line": 46, - "column": 32 + "line": 41, + "column": 39 }, "end": { - "line": 46, - "column": 53 + "line": 41, + "column": 57 } }, "object": { "type": "Identifier", - "start": 1453, - "end": 1463, + "start": 1296, + "end": 1305, "loc": { "start": { - "line": 46, - "column": 32 + "line": 41, + "column": 39 }, "end": { - "line": 46, - "column": 42 + "line": 41, + "column": 48 }, - "identifierName": "descriptor" + "identifierName": "chainData" }, - "name": "descriptor" + "name": "chainData" }, "property": { "type": "Identifier", - "start": 1464, - "end": 1474, + "start": 1306, + "end": 1314, "loc": { "start": { - "line": 46, - "column": 43 + "line": 41, + "column": 49 }, "end": { - "line": 46, - "column": 53 + "line": 41, + "column": 57 }, - "identifierName": "enumerable" + "identifierName": "isMethod" }, - "name": "enumerable" + "name": "isMethod" }, "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 1496, - "end": 1525, - "loc": { - "start": { - "line": 47, - "column": 20 - }, - "end": { - "line": 47, - "column": 49 - } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1496, - "end": 1504, - "loc": { - "start": { - "line": 47, - "column": 20 - }, - "end": { - "line": 47, - "column": 28 - }, - "identifierName": "writable" - }, - "name": "writable" + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1316, + "end": 1373, + "loc": { + "start": { + "line": 41, + "column": 59 }, - "value": { - "type": "MemberExpression", - "start": 1506, - "end": 1525, + "end": { + "line": 43, + "column": 21 + } + }, + "body": [ + { + "type": "ContinueStatement", + "start": 1342, + "end": 1351, "loc": { "start": { - "line": 47, - "column": 30 + "line": 42, + "column": 24 }, "end": { - "line": 47, - "column": 49 + "line": 42, + "column": 33 } }, - "object": { - "type": "Identifier", - "start": 1506, - "end": 1516, - "loc": { - "start": { - "line": 47, - "column": 30 - }, - "end": { - "line": 47, - "column": 40 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" - }, - "property": { - "type": "Identifier", - "start": 1517, - "end": 1525, - "loc": { - "start": { - "line": 47, - "column": 41 - }, - "end": { - "line": 47, - "column": 49 - }, - "identifierName": "writable" - }, - "name": "writable" - }, - "computed": false + "label": null } - } - ] + ], + "directives": [] + }, + "alternate": null } - ] - } - } - ], - "directives": [] - }, - "alternate": null + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If this property is a getter and it's NOT an instance decorated", + "start": 986, + "end": 1052, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 82 + } + } + }, + { + "type": "CommentLine", + "value": " method, ignore it. Instance decorators are getters until first accessed.", + "start": 1069, + "end": 1144, + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 91 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 1408, + "end": 1620, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 48, + "column": 17 + } + }, + "test": { + "type": "LogicalExpression", + "start": 1412, + "end": 1467, + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 75 + } + }, + "left": { + "type": "CallExpression", + "start": 1412, + "end": 1434, + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 42 + } + }, + "callee": { + "type": "Identifier", + "start": 1412, + "end": 1422, + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 30 + }, + "identifierName": "isFunction" + }, + "name": "isFunction" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1423, + "end": 1433, + "loc": { + "start": { + "line": 45, + "column": 31 + }, + "end": { + "line": 45, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 1423, + "end": 1428, + "loc": { + "start": { + "line": 45, + "column": 31 + }, + "end": { + "line": 45, + "column": 36 + }, + "identifierName": "proto" + }, + "name": "proto" + }, + "property": { + "type": "Identifier", + "start": 1429, + "end": 1432, + "loc": { + "start": { + "line": 45, + "column": 37 + }, + "end": { + "line": 45, + "column": 40 + }, + "identifierName": "key" + }, + "name": "key" + }, + "computed": true + } + ] + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 1438, + "end": 1467, + "loc": { + "start": { + "line": 45, + "column": 46 + }, + "end": { + "line": 45, + "column": 75 + } + }, + "left": { + "type": "CallExpression", + "start": 1438, + "end": 1460, + "loc": { + "start": { + "line": 45, + "column": 46 + }, + "end": { + "line": 45, + "column": 68 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1438, + "end": 1455, + "loc": { + "start": { + "line": 45, + "column": 46 + }, + "end": { + "line": 45, + "column": 63 + } + }, + "object": { + "type": "Identifier", + "start": 1438, + "end": 1447, + "loc": { + "start": { + "line": 45, + "column": 46 + }, + "end": { + "line": 45, + "column": 55 + }, + "identifierName": "boundKeys" + }, + "name": "boundKeys" + }, + "property": { + "type": "Identifier", + "start": 1448, + "end": 1455, + "loc": { + "start": { + "line": 45, + "column": 56 + }, + "end": { + "line": 45, + "column": 63 + }, + "identifierName": "indexOf" + }, + "name": "indexOf" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1456, + "end": 1459, + "loc": { + "start": { + "line": 45, + "column": 64 + }, + "end": { + "line": 45, + "column": 67 + }, + "identifierName": "key" + }, + "name": "key" + } + ] + }, + "operator": "===", + "right": { + "type": "UnaryExpression", + "start": 1465, + "end": 1467, + "loc": { + "start": { + "line": 45, + "column": 73 + }, + "end": { + "line": 45, + "column": 75 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 1466, + "end": 1467, + "loc": { + "start": { + "line": 45, + "column": 74 + }, + "end": { + "line": 45, + "column": 75 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1469, + "end": 1620, + "loc": { + "start": { + "line": 45, + "column": 77 + }, + "end": { + "line": 48, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1491, + "end": 1561, + "loc": { + "start": { + "line": 46, + "column": 20 + }, + "end": { + "line": 46, + "column": 90 + } + }, + "expression": { + "type": "CallExpression", + "start": 1491, + "end": 1560, + "loc": { + "start": { + "line": 46, + "column": 20 + }, + "end": { + "line": 46, + "column": 89 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1491, + "end": 1512, + "loc": { + "start": { + "line": 46, + "column": 20 + }, + "end": { + "line": 46, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 1491, + "end": 1497, + "loc": { + "start": { + "line": 46, + "column": 20 + }, + "end": { + "line": 46, + "column": 26 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 1498, + "end": 1512, + "loc": { + "start": { + "line": 46, + "column": 27 + }, + "end": { + "line": 46, + "column": 41 + }, + "identifierName": "defineProperty" + }, + "name": "defineProperty" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1513, + "end": 1524, + "loc": { + "start": { + "line": 46, + "column": 42 + }, + "end": { + "line": 46, + "column": 53 + }, + "identifierName": "targetProto" + }, + "name": "targetProto" + }, + { + "type": "Identifier", + "start": 1526, + "end": 1529, + "loc": { + "start": { + "line": 46, + "column": 55 + }, + "end": { + "line": 46, + "column": 58 + }, + "identifierName": "key" + }, + "name": "key" + }, + { + "type": "CallExpression", + "start": 1531, + "end": 1559, + "loc": { + "start": { + "line": 46, + "column": 60 + }, + "end": { + "line": 46, + "column": 88 + } + }, + "callee": { + "type": "Identifier", + "start": 1531, + "end": 1535, + "loc": { + "start": { + "line": 46, + "column": 60 + }, + "end": { + "line": 46, + "column": 64 + }, + "identifierName": "Bind" + }, + "name": "Bind" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1536, + "end": 1541, + "loc": { + "start": { + "line": 46, + "column": 65 + }, + "end": { + "line": 46, + "column": 70 + }, + "identifierName": "proto" + }, + "name": "proto" + }, + { + "type": "Identifier", + "start": 1543, + "end": 1546, + "loc": { + "start": { + "line": 46, + "column": 72 + }, + "end": { + "line": 46, + "column": 75 + }, + "identifierName": "key" + }, + "name": "key" + }, + { + "type": "Identifier", + "start": 1548, + "end": 1558, + "loc": { + "start": { + "line": 46, + "column": 77 + }, + "end": { + "line": 46, + "column": 87 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + } + ] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1582, + "end": 1602, + "loc": { + "start": { + "line": 47, + "column": 20 + }, + "end": { + "line": 47, + "column": 40 + } + }, + "expression": { + "type": "CallExpression", + "start": 1582, + "end": 1601, + "loc": { + "start": { + "line": 47, + "column": 20 + }, + "end": { + "line": 47, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1582, + "end": 1596, + "loc": { + "start": { + "line": 47, + "column": 20 + }, + "end": { + "line": 47, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 1582, + "end": 1591, + "loc": { + "start": { + "line": 47, + "column": 20 + }, + "end": { + "line": 47, + "column": 29 + }, + "identifierName": "boundKeys" + }, + "name": "boundKeys" + }, + "property": { + "type": "Identifier", + "start": 1592, + "end": 1596, + "loc": { + "start": { + "line": 47, + "column": 30 + }, + "end": { + "line": 47, + "column": 34 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1597, + "end": 1600, + "loc": { + "start": { + "line": 47, + "column": 35 + }, + "end": { + "line": 47, + "column": 38 + }, + "identifierName": "key" + }, + "name": "key" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null } ], "directives": [] @@ -2638,8 +2874,8 @@ }, { "type": "ExpressionStatement", - "start": 1578, - "end": 1615, + "start": 1653, + "end": 1690, "loc": { "start": { "line": 51, @@ -2652,8 +2888,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1578, - "end": 1614, + "start": 1653, + "end": 1689, "loc": { "start": { "line": 51, @@ -2667,8 +2903,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 1578, - "end": 1583, + "start": 1653, + "end": 1658, "loc": { "start": { "line": 51, @@ -2684,8 +2920,8 @@ }, "right": { "type": "CallExpression", - "start": 1586, - "end": 1614, + "start": 1661, + "end": 1689, "loc": { "start": { "line": 51, @@ -2698,8 +2934,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1586, - "end": 1607, + "start": 1661, + "end": 1682, "loc": { "start": { "line": 51, @@ -2712,8 +2948,8 @@ }, "object": { "type": "Identifier", - "start": 1586, - "end": 1592, + "start": 1661, + "end": 1667, "loc": { "start": { "line": 51, @@ -2729,8 +2965,8 @@ }, "property": { "type": "Identifier", - "start": 1593, - "end": 1607, + "start": 1668, + "end": 1682, "loc": { "start": { "line": 51, @@ -2749,8 +2985,8 @@ "arguments": [ { "type": "Identifier", - "start": 1608, - "end": 1613, + "start": 1683, + "end": 1688, "loc": { "start": { "line": 51, @@ -2774,136 +3010,584 @@ } ], "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 36\n * @param\n * {Function} target\n * @param\n * {undefined} methods\n ", + "start": 379, + "end": 483, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 1699, + "end": 1729, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 54, + "column": 30 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 1708, + "end": 1726, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 27 + } + }, + "local": { + "type": "Identifier", + "start": 1708, + "end": 1715, + "loc": { + "start": { + "line": 54, + "column": 9 + }, + "end": { + "line": 54, + "column": 16 + }, + "identifierName": "BindAll" + }, + "name": "BindAll" + }, + "exported": { + "type": "Identifier", + "start": 1719, + "end": 1726, + "loc": { + "start": { + "line": 54, + "column": 20 + }, + "end": { + "line": 54, + "column": 27 + }, + "identifierName": "bindAll" + }, + "name": "bindAll" + } + } + ], + "source": null + }, + { + "type": "ExportDefaultDeclaration", + "start": 1730, + "end": 1753, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 23 + } + }, + "declaration": { + "type": "Identifier", + "start": 1745, + "end": 1752, + "loc": { + "start": { + "line": 55, + "column": 15 + }, + "end": { + "line": 55, + "column": 22 + }, + "identifierName": "BindAll" + }, + "name": "BindAll", + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @lineNumber\n * 30\n * @param\n * {undefined} methods\n * @return\n * {ClassDecorator}\n ", + "start": 77, + "end": 263, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 36\n * @param\n * {Function} target\n * @param\n * {undefined} methods\n ", + "start": 379, + "end": 483, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 27, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " If this property is a getter and it's NOT an instance decorated", + "start": 986, + "end": 1052, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 82 + } + } + }, + { + "type": "CommentLine", + "value": " method, ignore it. Instance decorators are getters until first accessed.", + "start": 1069, + "end": 1144, + "loc": { + "start": { + "line": 38, + "column": 16 + }, + "end": { + "line": 38, + "column": 91 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "InstanceChainMap", + "start": 9, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 26, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 27 } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - { - "type": "ExportNamedDeclaration", - "start": 1624, - "end": 1654, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 54, - "column": 30 - } + "value": "from", + "start": 28, + "end": 32, + "loc": { + "start": { + "line": 1, + "column": 28 }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 1633, - "end": 1651, - "loc": { - "start": { - "line": 54, - "column": 9 - }, - "end": { - "line": 54, - "column": 27 - } - }, - "local": { - "type": "Identifier", - "start": 1633, - "end": 1640, - "loc": { - "start": { - "line": 54, - "column": 9 - }, - "end": { - "line": 54, - "column": 16 - }, - "identifierName": "BindAll" - }, - "name": "BindAll" - }, - "exported": { - "type": "Identifier", - "start": 1644, - "end": 1651, - "loc": { - "start": { - "line": 54, - "column": 20 - }, - "end": { - "line": 54, - "column": 27 - }, - "identifierName": "bindAll" - }, - "name": "bindAll" - } - } - ], - "source": null + "end": { + "line": 1, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 33, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 33 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 44, + "end": 45, + "loc": { + "start": { + "line": 1, + "column": 44 + }, + "end": { + "line": 1, + "column": 45 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 46, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 53, + "end": 54, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Bind", + "start": 55, + "end": 59, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 60, + "end": 61, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 62, + "end": 66, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - { - "type": "ExportDefaultDeclaration", - "start": 1655, - "end": 1678, - "loc": { - "start": { - "line": 55, - "column": 0 - }, - "end": { - "line": 55, - "column": 23 - } + "value": "./bind", + "start": 67, + "end": 75, + "loc": { + "start": { + "line": 2, + "column": 21 }, - "declaration": { - "type": "Identifier", - "start": 1670, - "end": 1677, - "loc": { - "start": { - "line": 55, - "column": 15 - }, - "end": { - "line": 55, - "column": 22 - }, - "identifierName": "BindAll" - }, - "name": "BindAll", - "leadingComments": [], - "trailingComments": [] + "end": { + "line": 2, + "column": 29 } } - ], - "directives": [] - }, - "comments": [ + }, { - "type": "CommentBlock", - "value": "*\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @export\n * @param {string[]} [methods=[]]\n * @returns {ClassDecorator}\n * @example\n *\n * @BindAll()\n * class MyClass {\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => MyClass {}\n * myClass.unbound.call(null); // => MyClass {}\n ", - "start": 40, - "end": 482, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 75, + "end": 76, "loc": { "start": { "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @lineNumber\n * 30\n * @param\n * {undefined} methods\n * @return\n * {ClassDecorator}\n ", + "start": 77, + "end": 263, + "loc": { + "start": { + "line": 3, "column": 0 }, "end": { - "line": 24, + "line": 12, "column": 3 } } - } - ], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2914,24 +3598,25 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 0, - "end": 6, + "value": "export", + "start": 264, + "end": 270, "loc": { "start": { - "line": 1, + "line": 13, "column": 0 }, "end": { - "line": 1, + "line": 13, "column": 6 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "function", + "keyword": "function", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2940,16 +3625,17 @@ "postfix": false, "binop": null }, - "start": 7, - "end": 8, + "value": "function", + "start": 271, + "end": 279, "loc": { "start": { - "line": 1, + "line": 13, "column": 7 }, "end": { - "line": 1, - "column": 8 + "line": 13, + "column": 15 } } }, @@ -2965,25 +3651,25 @@ "postfix": false, "binop": null }, - "value": "copyMetadata", - "start": 9, - "end": 21, + "value": "BindAll", + "start": 280, + "end": 287, "loc": { "start": { - "line": 1, - "column": 9 + "line": 13, + "column": 16 }, "end": { - "line": 1, - "column": 21 + "line": 13, + "column": 23 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2991,16 +3677,16 @@ "postfix": false, "binop": null }, - "start": 22, - "end": 23, + "start": 287, + "end": 288, "loc": { "start": { - "line": 1, - "column": 22 + "line": 13, + "column": 23 }, "end": { - "line": 1, - "column": 23 + "line": 13, + "column": 24 } } }, @@ -3016,24 +3702,51 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 24, - "end": 28, + "value": "methods", + "start": 288, + "end": 295, "loc": { "start": { - "line": 1, + "line": 13, "column": 24 }, "end": { - "line": 1, - "column": 28 + "line": 13, + "column": 31 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 296, + "end": 297, + "loc": { + "start": { + "line": 13, + "column": 32 + }, + "end": { + "line": 13, + "column": 33 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3043,24 +3756,23 @@ "binop": null, "updateContext": null }, - "value": "./utils", - "start": 29, - "end": 38, + "start": 298, + "end": 299, "loc": { "start": { - "line": 1, - "column": 29 + "line": 13, + "column": 34 }, "end": { - "line": 1, - "column": 38 + "line": 13, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3070,69 +3782,153 @@ "binop": null, "updateContext": null }, - "start": 38, - "end": 39, + "start": 299, + "end": 300, "loc": { "start": { - "line": 1, + "line": 13, + "column": 35 + }, + "end": { + "line": 13, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 300, + "end": 301, + "loc": { + "start": { + "line": 13, + "column": 36 + }, + "end": { + "line": 13, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 302, + "end": 303, + "loc": { + "start": { + "line": 13, "column": 38 }, "end": { - "line": 1, + "line": 13, "column": 39 } } }, { - "type": "CommentBlock", - "value": "*\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @export\n * @param {string[]} [methods=[]]\n * @returns {ClassDecorator}\n * @example\n *\n * @BindAll()\n * class MyClass {\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => MyClass {}\n * myClass.unbound.call(null); // => MyClass {}\n ", - "start": 40, - "end": 482, + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 308, + "end": 314, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 315, + "end": 316, "loc": { "start": { - "line": 2, - "column": 0 + "line": 14, + "column": 11 }, "end": { - "line": 24, - "column": 3 + "line": 14, + "column": 12 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 483, - "end": 489, + "value": "target", + "start": 316, + "end": 322, "loc": { "start": { - "line": 25, - "column": 0 + "line": 14, + "column": 12 }, "end": { - "line": 25, - "column": 6 + "line": 14, + "column": 18 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3140,49 +3936,48 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 490, - "end": 498, + "start": 322, + "end": 323, "loc": { "start": { - "line": 25, - "column": 7 + "line": 14, + "column": 18 }, "end": { - "line": 25, - "column": 15 + "line": 14, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "BindAll", - "start": 499, - "end": 506, + "start": 324, + "end": 326, "loc": { "start": { - "line": 25, - "column": 16 + "line": 14, + "column": 20 }, "end": { - "line": 25, - "column": 23 + "line": 14, + "column": 22 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -3192,15 +3987,15 @@ "postfix": false, "binop": null }, - "start": 506, - "end": 507, + "start": 327, + "end": 328, "loc": { "start": { - "line": 25, + "line": 14, "column": 23 }, "end": { - "line": 25, + "line": 14, "column": 24 } } @@ -3217,77 +4012,75 @@ "postfix": false, "binop": null }, - "value": "methods", - "start": 507, - "end": 514, + "value": "bindAllMethods", + "start": 337, + "end": 351, "loc": { "start": { - "line": 25, - "column": 24 + "line": 15, + "column": 8 }, "end": { - "line": 25, - "column": 31 + "line": 15, + "column": 22 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 515, - "end": 516, + "start": 351, + "end": 352, "loc": { "start": { - "line": 25, - "column": 32 + "line": 15, + "column": 22 }, "end": { - "line": 25, - "column": 33 + "line": 15, + "column": 23 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 517, - "end": 518, + "value": "target", + "start": 352, + "end": 358, "loc": { "start": { - "line": 25, - "column": 34 + "line": 15, + "column": 23 }, "end": { - "line": 25, - "column": 35 + "line": 15, + "column": 29 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3297,24 +4090,24 @@ "binop": null, "updateContext": null }, - "start": 518, - "end": 519, + "start": 358, + "end": 359, "loc": { "start": { - "line": 25, - "column": 35 + "line": 15, + "column": 29 }, "end": { - "line": 25, - "column": 36 + "line": 15, + "column": 30 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3322,24 +4115,25 @@ "postfix": false, "binop": null }, - "start": 519, - "end": 520, + "value": "methods", + "start": 360, + "end": 367, "loc": { "start": { - "line": 25, - "column": 36 + "line": 15, + "column": 31 }, "end": { - "line": 25, - "column": 37 + "line": 15, + "column": 38 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3347,23 +4141,22 @@ "postfix": false, "binop": null }, - "start": 521, - "end": 522, + "start": 367, + "end": 368, "loc": { "start": { - "line": 25, + "line": 15, "column": 38 }, "end": { - "line": 25, + "line": 15, "column": 39 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3374,25 +4167,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 527, - "end": 533, + "start": 368, + "end": 369, "loc": { "start": { - "line": 26, - "column": 4 + "line": 15, + "column": 39 }, "end": { - "line": 26, - "column": 10 + "line": 15, + "column": 40 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3400,48 +4192,48 @@ "postfix": false, "binop": null }, - "start": 534, - "end": 535, + "start": 374, + "end": 375, "loc": { "start": { - "line": 26, - "column": 11 + "line": 16, + "column": 4 }, "end": { - "line": 26, - "column": 12 + "line": 16, + "column": 5 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "target", - "start": 535, - "end": 541, + "start": 375, + "end": 376, "loc": { "start": { - "line": 26, - "column": 12 + "line": 16, + "column": 5 }, "end": { - "line": 26, - "column": 18 + "line": 16, + "column": 6 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3451,49 +4243,40 @@ "postfix": false, "binop": null }, - "start": 541, - "end": 542, + "start": 377, + "end": 378, "loc": { "start": { - "line": 26, - "column": 18 + "line": 17, + "column": 0 }, "end": { - "line": 26, - "column": 19 + "line": 17, + "column": 1 } } }, { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 543, - "end": 545, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 36\n * @param\n * {Function} target\n * @param\n * {undefined} methods\n ", + "start": 379, + "end": 483, "loc": { "start": { - "line": 26, - "column": 20 + "line": 18, + "column": 0 }, "end": { - "line": 26, - "column": 22 + "line": 27, + "column": 3 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "function", + "keyword": "function", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3502,23 +4285,23 @@ "postfix": false, "binop": null }, - "start": 546, - "end": 547, + "value": "function", + "start": 484, + "end": 492, "loc": { "start": { - "line": 26, - "column": 23 + "line": 28, + "column": 0 }, "end": { - "line": 26, - "column": 24 + "line": 28, + "column": 8 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3528,24 +4311,24 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 556, - "end": 564, + "value": "bindAllMethods", + "start": 493, + "end": 507, "loc": { "start": { - "line": 27, - "column": 8 + "line": 28, + "column": 9 }, "end": { - "line": 27, - "column": 16 + "line": 28, + "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3554,24 +4337,23 @@ "postfix": false, "binop": null }, - "value": "BindAllWrapper", - "start": 565, - "end": 579, + "start": 507, + "end": 508, "loc": { "start": { - "line": 27, - "column": 17 + "line": 28, + "column": 23 }, "end": { - "line": 27, - "column": 31 + "line": 28, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3580,22 +4362,23 @@ "postfix": false, "binop": null }, - "start": 579, - "end": 580, + "value": "target", + "start": 508, + "end": 514, "loc": { "start": { - "line": 27, - "column": 31 + "line": 28, + "column": 24 }, "end": { - "line": 27, - "column": 32 + "line": 28, + "column": 30 } } }, { "type": { - "label": "...", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3606,16 +4389,16 @@ "binop": null, "updateContext": null }, - "start": 580, - "end": 583, + "start": 514, + "end": 515, "loc": { "start": { - "line": 27, - "column": 32 + "line": 28, + "column": 30 }, "end": { - "line": 27, - "column": 35 + "line": 28, + "column": 31 } } }, @@ -3631,48 +4414,50 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 583, - "end": 587, + "value": "methods", + "start": 516, + "end": 523, "loc": { "start": { - "line": 27, - "column": 35 + "line": 28, + "column": 32 }, "end": { - "line": 27, + "line": 28, "column": 39 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 587, - "end": 588, + "value": "=", + "start": 524, + "end": 525, "loc": { "start": { - "line": 27, - "column": 39 + "line": 28, + "column": 40 }, "end": { - "line": 27, - "column": 40 + "line": 28, + "column": 41 } } }, { "type": { - "label": "{", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -3680,52 +4465,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 589, - "end": 590, + "start": 526, + "end": 527, "loc": { "start": { - "line": 27, - "column": 41 + "line": 28, + "column": 42 }, "end": { - "line": 27, - "column": 42 + "line": 28, + "column": 43 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "bindAllMethods", - "start": 603, - "end": 617, + "start": 527, + "end": 528, "loc": { "start": { "line": 28, - "column": 12 + "column": 43 }, "end": { "line": 28, - "column": 26 + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3733,23 +4519,23 @@ "postfix": false, "binop": null }, - "start": 617, - "end": 618, + "start": 528, + "end": 529, "loc": { "start": { "line": 28, - "column": 26 + "column": 44 }, "end": { "line": 28, - "column": 27 + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3758,24 +4544,24 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 618, - "end": 624, + "start": 530, + "end": 531, "loc": { "start": { "line": 28, - "column": 27 + "column": 46 }, "end": { "line": 28, - "column": 33 + "column": 47 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3785,23 +4571,23 @@ "binop": null, "updateContext": null }, - "start": 624, - "end": 625, + "value": "const", + "start": 536, + "end": 541, "loc": { "start": { - "line": 28, - "column": 33 + "line": 29, + "column": 4 }, "end": { - "line": 28, - "column": 34 + "line": 29, + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3809,46 +4595,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 626, - "end": 630, + "value": "targetProto", + "start": 542, + "end": 553, "loc": { "start": { - "line": 28, - "column": 35 + "line": 29, + "column": 10 }, "end": { - "line": 28, - "column": 39 + "line": 29, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 630, - "end": 631, + "value": "=", + "start": 554, + "end": 555, "loc": { "start": { - "line": 28, - "column": 39 + "line": 29, + "column": 22 }, "end": { - "line": 28, - "column": 40 + "line": 29, + "column": 23 } } }, @@ -3864,23 +4650,23 @@ "postfix": false, "binop": null }, - "value": "methods", - "start": 632, - "end": 639, + "value": "target", + "start": 556, + "end": 562, "loc": { "start": { - "line": 28, - "column": 41 + "line": 29, + "column": 24 }, "end": { - "line": 28, - "column": 48 + "line": 29, + "column": 30 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3888,76 +4674,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 639, - "end": 640, + "start": 562, + "end": 563, "loc": { "start": { - "line": 28, - "column": 48 + "line": 29, + "column": 30 }, "end": { - "line": 28, - "column": 49 + "line": 29, + "column": 31 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 640, - "end": 641, + "value": "prototype", + "start": 563, + "end": 572, "loc": { "start": { - "line": 28, - "column": 49 + "line": 29, + "column": 31 }, "end": { - "line": 28, - "column": 50 + "line": 29, + "column": 40 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "target", - "start": 654, - "end": 660, + "start": 572, + "end": 573, "loc": { "start": { "line": 29, - "column": 12 + "column": 40 }, "end": { "line": 29, - "column": 18 + "column": 41 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3968,16 +4756,17 @@ "binop": null, "updateContext": null }, - "start": 660, - "end": 661, + "value": "let", + "start": 578, + "end": 581, "loc": { "start": { - "line": 29, - "column": 18 + "line": 30, + "column": 4 }, "end": { - "line": 29, - "column": 19 + "line": 30, + "column": 7 } } }, @@ -3993,49 +4782,50 @@ "postfix": false, "binop": null }, - "value": "apply", - "start": 661, - "end": 666, + "value": "proto", + "start": 582, + "end": 587, "loc": { "start": { - "line": 29, - "column": 19 + "line": 30, + "column": 8 }, "end": { - "line": 29, - "column": 24 + "line": 30, + "column": 13 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 666, - "end": 667, + "value": "=", + "start": 588, + "end": 589, "loc": { "start": { - "line": 29, - "column": 24 + "line": 30, + "column": 14 }, "end": { - "line": 29, - "column": 25 + "line": 30, + "column": 15 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4043,27 +4833,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 667, - "end": 671, + "value": "target", + "start": 590, + "end": 596, "loc": { "start": { - "line": 29, - "column": 25 + "line": 30, + "column": 16 }, "end": { - "line": 29, - "column": 29 + "line": 30, + "column": 22 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4073,16 +4862,16 @@ "binop": null, "updateContext": null }, - "start": 671, - "end": 672, + "start": 596, + "end": 597, "loc": { "start": { - "line": 29, - "column": 29 + "line": 30, + "column": 22 }, "end": { - "line": 29, - "column": 30 + "line": 30, + "column": 23 } } }, @@ -4098,49 +4887,51 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 673, - "end": 677, + "value": "prototype", + "start": 597, + "end": 606, "loc": { "start": { - "line": 29, - "column": 31 + "line": 30, + "column": 23 }, "end": { - "line": 29, - "column": 35 + "line": 30, + "column": 32 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 677, - "end": 678, + "start": 606, + "end": 607, "loc": { "start": { - "line": 29, - "column": 35 + "line": 30, + "column": 32 }, "end": { - "line": 29, - "column": 36 + "line": 30, + "column": 33 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4150,24 +4941,25 @@ "binop": null, "updateContext": null }, - "start": 678, - "end": 679, + "value": "const", + "start": 612, + "end": 617, "loc": { "start": { - "line": 29, - "column": 36 + "line": 31, + "column": 4 }, "end": { - "line": 29, - "column": 37 + "line": 31, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4175,74 +4967,76 @@ "postfix": false, "binop": null }, - "start": 688, - "end": 689, + "value": "boundKeys", + "start": 618, + "end": 627, "loc": { "start": { - "line": 30, - "column": 8 + "line": 31, + "column": 10 }, "end": { - "line": 30, - "column": 9 + "line": 31, + "column": 19 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 698, - "end": 699, + "value": "=", + "start": 628, + "end": 629, "loc": { "start": { "line": 31, - "column": 8 + "column": 20 }, "end": { "line": 31, - "column": 9 + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "BindAllWrapper", - "start": 708, - "end": 722, + "start": 630, + "end": 631, "loc": { "start": { - "line": 32, - "column": 8 + "line": 31, + "column": 22 }, "end": { - "line": 32, - "column": 22 + "line": 31, + "column": 23 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4253,76 +5047,77 @@ "binop": null, "updateContext": null }, - "start": 722, - "end": 723, + "start": 631, + "end": 632, "loc": { "start": { - "line": 32, - "column": 22 + "line": 31, + "column": 23 }, "end": { - "line": 32, - "column": 23 + "line": 31, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prototype", - "start": 723, - "end": 732, + "start": 632, + "end": 633, "loc": { "start": { - "line": 32, - "column": 23 + "line": 31, + "column": 24 }, "end": { - "line": 32, - "column": 32 + "line": 31, + "column": 25 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "while", + "keyword": "while", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, - "isAssign": true, + "isLoop": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 733, - "end": 734, + "value": "while", + "start": 638, + "end": 643, "loc": { "start": { "line": 32, - "column": 33 + "column": 4 }, "end": { "line": 32, - "column": 34 + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4331,102 +5126,101 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 735, - "end": 741, + "start": 644, + "end": 645, "loc": { "start": { "line": 32, - "column": 35 + "column": 10 }, "end": { "line": 32, - "column": 41 + "column": 11 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 741, - "end": 742, + "value": "proto", + "start": 645, + "end": 650, "loc": { "start": { "line": 32, - "column": 41 + "column": 11 }, "end": { "line": 32, - "column": 42 + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "&&", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "value": "prototype", - "start": 742, - "end": 751, + "value": "&&", + "start": 651, + "end": 653, "loc": { "start": { "line": 32, - "column": 42 + "column": 17 }, "end": { "line": 32, - "column": 51 + "column": 19 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 751, - "end": 752, + "value": "proto", + "start": 654, + "end": 659, "loc": { "start": { "line": 32, - "column": 51 + "column": 20 }, "end": { "line": 32, - "column": 52 + "column": 25 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4434,20 +5228,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "return", - "start": 761, - "end": 767, + "value": "!==", + "start": 660, + "end": 663, "loc": { "start": { - "line": 33, - "column": 8 + "line": 32, + "column": 26 }, "end": { - "line": 33, - "column": 14 + "line": 32, + "column": 29 } } }, @@ -4463,24 +5257,24 @@ "postfix": false, "binop": null }, - "value": "BindAllWrapper", - "start": 768, - "end": 782, + "value": "Object", + "start": 664, + "end": 670, "loc": { "start": { - "line": 33, - "column": 15 + "line": 32, + "column": 30 }, "end": { - "line": 33, - "column": 29 + "line": 32, + "column": 36 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4490,24 +5284,24 @@ "binop": null, "updateContext": null }, - "start": 782, - "end": 783, + "start": 670, + "end": 671, "loc": { "start": { - "line": 33, - "column": 29 + "line": 32, + "column": 36 }, "end": { - "line": 33, - "column": 30 + "line": 32, + "column": 37 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4515,50 +5309,50 @@ "postfix": false, "binop": null }, - "start": 788, - "end": 789, + "value": "prototype", + "start": 671, + "end": 680, "loc": { "start": { - "line": 34, - "column": 4 + "line": 32, + "column": 37 }, "end": { - "line": 34, - "column": 5 + "line": 32, + "column": 46 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 789, - "end": 790, + "start": 680, + "end": 681, "loc": { "start": { - "line": 34, - "column": 5 + "line": 32, + "column": 46 }, "end": { - "line": 34, - "column": 6 + "line": 32, + "column": 47 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4566,50 +5360,51 @@ "postfix": false, "binop": null }, - "start": 791, - "end": 792, + "start": 682, + "end": 683, "loc": { "start": { - "line": 35, - "column": 0 + "line": 32, + "column": 48 }, "end": { - "line": 35, - "column": 1 + "line": 32, + "column": 49 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "for", + "keyword": "for", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 793, - "end": 801, + "value": "for", + "start": 692, + "end": 695, "loc": { "start": { - "line": 36, - "column": 0 + "line": 33, + "column": 8 }, "end": { - "line": 36, - "column": 8 + "line": 33, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4618,42 +5413,44 @@ "postfix": false, "binop": null }, - "value": "bindAllMethods", - "start": 802, - "end": 816, + "start": 696, + "end": 697, "loc": { "start": { - "line": 36, - "column": 9 + "line": 33, + "column": 12 }, "end": { - "line": 36, - "column": 23 + "line": 33, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 816, - "end": 817, + "value": "const", + "start": 697, + "end": 702, "loc": { "start": { - "line": 36, - "column": 23 + "line": 33, + "column": 13 }, "end": { - "line": 36, - "column": 24 + "line": 33, + "column": 18 } } }, @@ -4669,43 +5466,43 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 817, - "end": 823, + "value": "key", + "start": 703, + "end": 706, "loc": { "start": { - "line": 36, - "column": 24 + "line": 33, + "column": 19 }, "end": { - "line": 36, - "column": 30 + "line": 33, + "column": 22 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 823, - "end": 824, + "value": "of", + "start": 707, + "end": 709, "loc": { "start": { - "line": 36, - "column": 30 + "line": 33, + "column": 23 }, "end": { - "line": 36, - "column": 31 + "line": 33, + "column": 25 } } }, @@ -4721,24 +5518,24 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 825, - "end": 833, + "value": "Object", + "start": 710, + "end": 716, "loc": { "start": { - "line": 36, - "column": 32 + "line": 33, + "column": 26 }, "end": { - "line": 36, - "column": 40 + "line": 33, + "column": 32 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4748,16 +5545,16 @@ "binop": null, "updateContext": null }, - "start": 833, - "end": 834, + "start": 716, + "end": 717, "loc": { "start": { - "line": 36, - "column": 40 + "line": 33, + "column": 32 }, "end": { - "line": 36, - "column": 41 + "line": 33, + "column": 33 } } }, @@ -4773,76 +5570,74 @@ "postfix": false, "binop": null }, - "value": "methods", - "start": 835, - "end": 842, + "value": "getOwnPropertyNames", + "start": 717, + "end": 736, "loc": { "start": { - "line": 36, - "column": 42 + "line": 33, + "column": 33 }, "end": { - "line": 36, - "column": 49 + "line": 33, + "column": 52 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 843, - "end": 844, + "start": 736, + "end": 737, "loc": { "start": { - "line": 36, - "column": 50 + "line": 33, + "column": 52 }, "end": { - "line": 36, - "column": 51 + "line": 33, + "column": 53 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 845, - "end": 846, + "value": "proto", + "start": 737, + "end": 742, "loc": { "start": { - "line": 36, - "column": 52 + "line": 33, + "column": 53 }, "end": { - "line": 36, - "column": 53 + "line": 33, + "column": 58 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4850,19 +5645,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 846, - "end": 847, + "start": 742, + "end": 743, "loc": { "start": { - "line": 36, - "column": 53 + "line": 33, + "column": 58 }, "end": { - "line": 36, - "column": 54 + "line": 33, + "column": 59 } } }, @@ -4878,16 +5672,16 @@ "postfix": false, "binop": null }, - "start": 847, - "end": 848, + "start": 743, + "end": 744, "loc": { "start": { - "line": 36, - "column": 54 + "line": 33, + "column": 59 }, "end": { - "line": 36, - "column": 55 + "line": 33, + "column": 60 } } }, @@ -4903,23 +5697,23 @@ "postfix": false, "binop": null }, - "start": 849, - "end": 850, + "start": 745, + "end": 746, "loc": { "start": { - "line": 36, - "column": 56 + "line": 33, + "column": 61 }, "end": { - "line": 36, - "column": 57 + "line": 33, + "column": 62 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4930,17 +5724,17 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 855, - "end": 858, + "value": "const", + "start": 759, + "end": 764, "loc": { "start": { - "line": 37, - "column": 4 + "line": 34, + "column": 12 }, "end": { - "line": 37, - "column": 7 + "line": 34, + "column": 17 } } }, @@ -4956,17 +5750,17 @@ "postfix": false, "binop": null }, - "value": "proto", - "start": 859, - "end": 864, + "value": "include", + "start": 765, + "end": 772, "loc": { "start": { - "line": 37, - "column": 8 + "line": 34, + "column": 18 }, "end": { - "line": 37, - "column": 13 + "line": 34, + "column": 25 } } }, @@ -4984,16 +5778,16 @@ "updateContext": null }, "value": "=", - "start": 865, - "end": 866, + "start": 773, + "end": 774, "loc": { "start": { - "line": 37, - "column": 14 + "line": 34, + "column": 26 }, "end": { - "line": 37, - "column": 15 + "line": 34, + "column": 27 } } }, @@ -5009,17 +5803,17 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 867, - "end": 873, + "value": "methods", + "start": 775, + "end": 782, "loc": { "start": { - "line": 37, - "column": 16 + "line": 34, + "column": 28 }, "end": { - "line": 37, - "column": 22 + "line": 34, + "column": 35 } } }, @@ -5036,16 +5830,16 @@ "binop": null, "updateContext": null }, - "start": 873, - "end": 874, + "start": 782, + "end": 783, "loc": { "start": { - "line": 37, - "column": 22 + "line": 34, + "column": 35 }, "end": { - "line": 37, - "column": 23 + "line": 34, + "column": 36 } } }, @@ -5061,23 +5855,23 @@ "postfix": false, "binop": null }, - "value": "prototype", - "start": 874, - "end": 883, + "value": "length", + "start": 783, + "end": 789, "loc": { "start": { - "line": 37, - "column": 23 + "line": 34, + "column": 36 }, "end": { - "line": 37, - "column": 32 + "line": 34, + "column": 42 } } }, { "type": { - "label": ";", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -5088,69 +5882,16 @@ "binop": null, "updateContext": null }, - "start": 883, - "end": 884, - "loc": { - "start": { - "line": 37, - "column": 32 - }, - "end": { - "line": 37, - "column": 33 - } - } - }, - { - "type": { - "label": "while", - "keyword": "while", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": true, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "while", - "start": 889, - "end": 894, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 895, - "end": 896, + "start": 790, + "end": 791, "loc": { "start": { - "line": 38, - "column": 10 + "line": 34, + "column": 43 }, "end": { - "line": 38, - "column": 11 + "line": 34, + "column": 44 } } }, @@ -5166,44 +5907,43 @@ "postfix": false, "binop": null }, - "value": "proto", - "start": 896, - "end": 901, + "value": "methods", + "start": 792, + "end": 799, "loc": { "start": { - "line": 38, - "column": 11 + "line": 34, + "column": 45 }, "end": { - "line": 38, - "column": 16 + "line": 34, + "column": 52 } } }, { "type": { - "label": "&&", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 902, - "end": 904, + "start": 799, + "end": 800, "loc": { "start": { - "line": 38, - "column": 17 + "line": 34, + "column": 52 }, "end": { - "line": 38, - "column": 19 + "line": 34, + "column": 53 } } }, @@ -5219,44 +5959,42 @@ "postfix": false, "binop": null }, - "value": "proto", - "start": 905, - "end": 910, + "value": "indexOf", + "start": 800, + "end": 807, "loc": { "start": { - "line": 38, - "column": 20 + "line": 34, + "column": 53 }, "end": { - "line": 38, - "column": 25 + "line": 34, + "column": 60 } } }, { "type": { - "label": "==/!=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 911, - "end": 914, + "start": 807, + "end": 808, "loc": { "start": { - "line": 38, - "column": 26 + "line": 34, + "column": 60 }, "end": { - "line": 38, - "column": 29 + "line": 34, + "column": 61 } } }, @@ -5272,23 +6010,23 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 915, - "end": 921, + "value": "key", + "start": 808, + "end": 811, "loc": { "start": { - "line": 38, - "column": 30 + "line": 34, + "column": 61 }, "end": { - "line": 38, - "column": 36 + "line": 34, + "column": 64 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -5296,148 +6034,179 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": null + }, + "start": 811, + "end": 812, + "loc": { + "start": { + "line": 34, + "column": 64 + }, + "end": { + "line": 34, + "column": 65 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, "updateContext": null }, - "start": 921, - "end": 922, + "value": "!==", + "start": 813, + "end": 816, "loc": { "start": { - "line": 38, - "column": 36 + "line": 34, + "column": 66 }, "end": { - "line": 38, - "column": 37 + "line": 34, + "column": 69 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "value": "prototype", - "start": 922, - "end": 931, + "value": "-", + "start": 817, + "end": 818, "loc": { "start": { - "line": 38, - "column": 37 + "line": 34, + "column": 70 }, "end": { - "line": 38, - "column": 46 + "line": 34, + "column": 71 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 931, - "end": 932, + "value": 1, + "start": 818, + "end": 819, "loc": { "start": { - "line": 38, - "column": 46 + "line": 34, + "column": 71 }, "end": { - "line": 38, - "column": 47 + "line": 34, + "column": 72 } } }, { "type": { - "label": "{", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 933, - "end": 934, + "start": 820, + "end": 821, "loc": { "start": { - "line": 38, - "column": 48 + "line": 34, + "column": 73 }, "end": { - "line": 38, - "column": 49 + "line": 34, + "column": 74 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": "true", + "keyword": "true", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 943, - "end": 946, + "value": "true", + "start": 822, + "end": 826, "loc": { "start": { - "line": 39, - "column": 8 + "line": 34, + "column": 75 }, "end": { - "line": 39, - "column": 11 + "line": 34, + "column": 79 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 947, - "end": 948, + "start": 826, + "end": 827, "loc": { "start": { - "line": 39, - "column": 12 + "line": 34, + "column": 79 }, "end": { - "line": 39, - "column": 13 + "line": 34, + "column": 80 } } }, @@ -5456,16 +6225,16 @@ "updateContext": null }, "value": "const", - "start": 948, - "end": 953, + "start": 840, + "end": 845, "loc": { "start": { - "line": 39, - "column": 13 + "line": 35, + "column": 12 }, "end": { - "line": 39, - "column": 18 + "line": 35, + "column": 17 } } }, @@ -5481,43 +6250,44 @@ "postfix": false, "binop": null }, - "value": "key", - "start": 954, - "end": 957, + "value": "descriptor", + "start": 846, + "end": 856, "loc": { "start": { - "line": 39, - "column": 19 + "line": 35, + "column": 18 }, "end": { - "line": 39, - "column": 22 + "line": 35, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "of", - "start": 958, - "end": 960, + "value": "=", + "start": 857, + "end": 858, "loc": { "start": { - "line": 39, - "column": 23 + "line": 35, + "column": 29 }, "end": { - "line": 39, - "column": 25 + "line": 35, + "column": 30 } } }, @@ -5534,16 +6304,16 @@ "binop": null }, "value": "Object", - "start": 961, - "end": 967, + "start": 859, + "end": 865, "loc": { "start": { - "line": 39, - "column": 26 + "line": 35, + "column": 31 }, "end": { - "line": 39, - "column": 32 + "line": 35, + "column": 37 } } }, @@ -5560,16 +6330,16 @@ "binop": null, "updateContext": null }, - "start": 967, - "end": 968, + "start": 865, + "end": 866, "loc": { "start": { - "line": 39, - "column": 32 + "line": 35, + "column": 37 }, "end": { - "line": 39, - "column": 33 + "line": 35, + "column": 38 } } }, @@ -5584,18 +6354,18 @@ "prefix": false, "postfix": false, "binop": null - }, - "value": "getOwnPropertyNames", - "start": 968, - "end": 987, + }, + "value": "getOwnPropertyDescriptor", + "start": 866, + "end": 890, "loc": { "start": { - "line": 39, - "column": 33 + "line": 35, + "column": 38 }, "end": { - "line": 39, - "column": 52 + "line": 35, + "column": 62 } } }, @@ -5611,16 +6381,16 @@ "postfix": false, "binop": null }, - "start": 987, - "end": 988, + "start": 890, + "end": 891, "loc": { "start": { - "line": 39, - "column": 52 + "line": 35, + "column": 62 }, "end": { - "line": 39, - "column": 53 + "line": 35, + "column": 63 } } }, @@ -5637,49 +6407,50 @@ "binop": null }, "value": "proto", - "start": 988, - "end": 993, + "start": 891, + "end": 896, "loc": { "start": { - "line": 39, - "column": 53 + "line": 35, + "column": 63 }, "end": { - "line": 39, - "column": 58 + "line": 35, + "column": 68 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 993, - "end": 994, + "start": 896, + "end": 897, "loc": { "start": { - "line": 39, - "column": 58 + "line": 35, + "column": 68 }, "end": { - "line": 39, - "column": 59 + "line": 35, + "column": 69 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5687,24 +6458,25 @@ "postfix": false, "binop": null }, - "start": 994, - "end": 995, + "value": "key", + "start": 898, + "end": 901, "loc": { "start": { - "line": 39, - "column": 59 + "line": 35, + "column": 70 }, "end": { - "line": 39, - "column": 60 + "line": 35, + "column": 73 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5712,24 +6484,23 @@ "postfix": false, "binop": null }, - "start": 996, - "end": 997, + "start": 901, + "end": 902, "loc": { "start": { - "line": 39, - "column": 61 + "line": 35, + "column": 73 }, "end": { - "line": 39, - "column": 62 + "line": 35, + "column": 74 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5739,70 +6510,69 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1010, - "end": 1015, + "start": 902, + "end": 903, "loc": { "start": { - "line": 40, - "column": 12 + "line": 35, + "column": 74 }, "end": { - "line": 40, - "column": 17 + "line": 35, + "column": 75 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "include", - "start": 1016, - "end": 1023, + "value": "if", + "start": 916, + "end": 918, "loc": { "start": { - "line": 40, - "column": 18 + "line": 36, + "column": 12 }, "end": { - "line": 40, - "column": 25 + "line": 36, + "column": 14 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1024, - "end": 1025, + "start": 919, + "end": 920, "loc": { "start": { - "line": 40, - "column": 26 + "line": 36, + "column": 15 }, "end": { - "line": 40, - "column": 27 + "line": 36, + "column": 16 } } }, @@ -5818,43 +6588,44 @@ "postfix": false, "binop": null }, - "value": "methods", - "start": 1026, - "end": 1033, + "value": "descriptor", + "start": 920, + "end": 930, "loc": { "start": { - "line": 40, - "column": 28 + "line": 36, + "column": 16 }, "end": { - "line": 40, - "column": 35 + "line": 36, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "&&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 1033, - "end": 1034, + "value": "&&", + "start": 931, + "end": 933, "loc": { "start": { - "line": 40, - "column": 35 + "line": 36, + "column": 27 }, "end": { - "line": 40, - "column": 36 + "line": 36, + "column": 29 } } }, @@ -5870,23 +6641,23 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 1034, - "end": 1040, + "value": "include", + "start": 934, + "end": 941, "loc": { "start": { - "line": 40, - "column": 36 + "line": 36, + "column": 30 }, "end": { - "line": 40, - "column": 42 + "line": 36, + "column": 37 } } }, { "type": { - "label": "?", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -5894,19 +6665,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 1041, - "end": 1042, + "value": "&&", + "start": 942, + "end": 944, "loc": { "start": { - "line": 40, - "column": 43 + "line": 36, + "column": 38 }, "end": { - "line": 40, - "column": 44 + "line": 36, + "column": 40 } } }, @@ -5922,49 +6694,50 @@ "postfix": false, "binop": null }, - "value": "methods", - "start": 1043, - "end": 1050, + "value": "key", + "start": 945, + "end": 948, "loc": { "start": { - "line": 40, - "column": 45 + "line": 36, + "column": 41 }, "end": { - "line": 40, - "column": 52 + "line": 36, + "column": 44 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 1050, - "end": 1051, + "value": "!==", + "start": 949, + "end": 952, "loc": { "start": { - "line": 40, - "column": 52 + "line": 36, + "column": 45 }, "end": { - "line": 40, - "column": 53 + "line": 36, + "column": 48 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5972,27 +6745,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "indexOf", - "start": 1051, - "end": 1058, + "value": "constructor", + "start": 953, + "end": 966, "loc": { "start": { - "line": 40, - "column": 53 + "line": 36, + "column": 49 }, "end": { - "line": 40, - "column": 60 + "line": 36, + "column": 62 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6000,23 +6774,23 @@ "postfix": false, "binop": null }, - "start": 1058, - "end": 1059, + "start": 966, + "end": 967, "loc": { "start": { - "line": 40, - "column": 60 + "line": 36, + "column": 62 }, "end": { - "line": 40, - "column": 61 + "line": 36, + "column": 63 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6025,23 +6799,55 @@ "postfix": false, "binop": null }, - "value": "key", - "start": 1059, - "end": 1062, + "start": 968, + "end": 969, + "loc": { + "start": { + "line": 36, + "column": 64 + }, + "end": { + "line": 36, + "column": 65 + } + } + }, + { + "type": "CommentLine", + "value": " If this property is a getter and it's NOT an instance decorated", + "start": 986, + "end": 1052, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 82 + } + } + }, + { + "type": "CommentLine", + "value": " method, ignore it. Instance decorators are getters until first accessed.", + "start": 1069, + "end": 1144, "loc": { "start": { - "line": 40, - "column": 61 + "line": 38, + "column": 16 }, "end": { - "line": 40, - "column": 64 + "line": 38, + "column": 91 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6049,80 +6855,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1062, - "end": 1063, + "value": "if", + "start": 1161, + "end": 1163, "loc": { "start": { - "line": 40, - "column": 64 + "line": 39, + "column": 16 }, "end": { - "line": 40, - "column": 65 + "line": 39, + "column": 18 } } }, { "type": { - "label": "==/!=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 1064, - "end": 1067, + "start": 1164, + "end": 1165, "loc": { "start": { - "line": 40, - "column": 66 + "line": 39, + "column": 19 }, "end": { - "line": 40, - "column": 69 + "line": 39, + "column": 20 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "-", - "start": 1068, - "end": 1069, + "value": "descriptor", + "start": 1165, + "end": 1175, "loc": { "start": { - "line": 40, - "column": 70 + "line": 39, + "column": 20 }, "end": { - "line": 40, - "column": 71 + "line": 39, + "column": 30 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6131,97 +6936,92 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 1069, - "end": 1070, + "start": 1175, + "end": 1176, "loc": { "start": { - "line": 40, - "column": 71 + "line": 39, + "column": 30 }, "end": { - "line": 40, - "column": 72 + "line": 39, + "column": 31 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1071, - "end": 1072, + "value": "get", + "start": 1176, + "end": 1179, "loc": { "start": { - "line": 40, - "column": 73 + "line": 39, + "column": 31 }, "end": { - "line": 40, - "column": 74 + "line": 39, + "column": 34 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 1073, - "end": 1077, + "start": 1179, + "end": 1180, "loc": { "start": { - "line": 40, - "column": 75 + "line": 39, + "column": 34 }, "end": { - "line": 40, - "column": 79 + "line": 39, + "column": 35 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1077, - "end": 1078, + "start": 1181, + "end": 1182, "loc": { "start": { - "line": 40, - "column": 79 + "line": 39, + "column": 36 }, "end": { - "line": 40, - "column": 80 + "line": 39, + "column": 37 } } }, @@ -6240,16 +7040,16 @@ "updateContext": null }, "value": "const", - "start": 1091, - "end": 1096, + "start": 1203, + "end": 1208, "loc": { "start": { - "line": 41, - "column": 12 + "line": 40, + "column": 20 }, "end": { - "line": 41, - "column": 17 + "line": 40, + "column": 25 } } }, @@ -6265,17 +7065,17 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 1097, - "end": 1107, + "value": "chainData", + "start": 1209, + "end": 1218, "loc": { "start": { - "line": 41, - "column": 18 + "line": 40, + "column": 26 }, "end": { - "line": 41, - "column": 28 + "line": 40, + "column": 35 } } }, @@ -6293,16 +7093,16 @@ "updateContext": null }, "value": "=", - "start": 1108, - "end": 1109, + "start": 1219, + "end": 1220, "loc": { "start": { - "line": 41, - "column": 29 + "line": 40, + "column": 36 }, "end": { - "line": 41, - "column": 30 + "line": 40, + "column": 37 } } }, @@ -6318,17 +7118,17 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 1110, - "end": 1116, + "value": "InstanceChainMap", + "start": 1221, + "end": 1237, "loc": { "start": { - "line": 41, - "column": 31 + "line": 40, + "column": 38 }, "end": { - "line": 41, - "column": 37 + "line": 40, + "column": 54 } } }, @@ -6345,16 +7145,16 @@ "binop": null, "updateContext": null }, - "start": 1116, - "end": 1117, + "start": 1237, + "end": 1238, "loc": { "start": { - "line": 41, - "column": 37 + "line": 40, + "column": 54 }, "end": { - "line": 41, - "column": 38 + "line": 40, + "column": 55 } } }, @@ -6370,17 +7170,17 @@ "postfix": false, "binop": null }, - "value": "getOwnPropertyDescriptor", - "start": 1117, - "end": 1141, + "value": "get", + "start": 1238, + "end": 1241, "loc": { "start": { - "line": 41, - "column": 38 + "line": 40, + "column": 55 }, "end": { - "line": 41, - "column": 62 + "line": 40, + "column": 58 } } }, @@ -6396,50 +7196,24 @@ "postfix": false, "binop": null }, - "start": 1141, - "end": 1142, - "loc": { - "start": { - "line": 41, - "column": 62 - }, - "end": { - "line": 41, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "proto", - "start": 1142, - "end": 1147, + "start": 1241, + "end": 1242, "loc": { "start": { - "line": 41, - "column": 63 + "line": 40, + "column": 58 }, "end": { - "line": 41, - "column": 68 + "line": 40, + "column": 59 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6448,16 +7222,16 @@ "binop": null, "updateContext": null }, - "start": 1147, - "end": 1148, + "start": 1242, + "end": 1243, "loc": { "start": { - "line": 41, - "column": 68 + "line": 40, + "column": 59 }, "end": { - "line": 41, - "column": 69 + "line": 40, + "column": 60 } } }, @@ -6473,75 +7247,75 @@ "postfix": false, "binop": null }, - "value": "key", - "start": 1149, - "end": 1152, + "value": "proto", + "start": 1243, + "end": 1248, "loc": { "start": { - "line": 41, - "column": 70 + "line": 40, + "column": 60 }, "end": { - "line": 41, - "column": 73 + "line": 40, + "column": 65 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1152, - "end": 1153, + "start": 1248, + "end": 1249, "loc": { "start": { - "line": 41, - "column": 73 + "line": 40, + "column": 65 }, "end": { - "line": 41, - "column": 74 + "line": 40, + "column": 66 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1153, - "end": 1154, + "value": "key", + "start": 1250, + "end": 1253, "loc": { "start": { - "line": 41, - "column": 74 + "line": 40, + "column": 67 }, "end": { - "line": 41, - "column": 75 + "line": 40, + "column": 70 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6552,25 +7326,24 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1167, - "end": 1169, + "start": 1253, + "end": 1254, "loc": { "start": { - "line": 42, - "column": 12 + "line": 40, + "column": 70 }, "end": { - "line": 42, - "column": 14 + "line": 40, + "column": 71 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6578,76 +7351,77 @@ "postfix": false, "binop": null }, - "start": 1170, - "end": 1171, + "start": 1254, + "end": 1255, "loc": { "start": { - "line": 42, - "column": 15 + "line": 40, + "column": 71 }, "end": { - "line": 42, - "column": 16 + "line": 40, + "column": 72 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "include", - "start": 1171, - "end": 1178, + "start": 1255, + "end": 1256, "loc": { "start": { - "line": 42, - "column": 16 + "line": 40, + "column": 72 }, "end": { - "line": 42, - "column": 23 + "line": 40, + "column": 73 } } }, { "type": { - "label": "&&", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 1179, - "end": 1181, + "value": "if", + "start": 1277, + "end": 1279, "loc": { "start": { - "line": 42, - "column": 24 + "line": 41, + "column": 20 }, "end": { - "line": 42, - "column": 26 + "line": 41, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6656,50 +7430,49 @@ "postfix": false, "binop": null }, - "value": "key", - "start": 1182, - "end": 1185, + "start": 1280, + "end": 1281, "loc": { "start": { - "line": 42, - "column": 27 + "line": 41, + "column": 23 }, "end": { - "line": 42, - "column": 30 + "line": 41, + "column": 24 } } }, { "type": { - "label": "==/!=", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 1186, - "end": 1189, + "value": "!", + "start": 1281, + "end": 1282, "loc": { "start": { - "line": 42, - "column": 31 + "line": 41, + "column": 24 }, "end": { - "line": 42, - "column": 34 + "line": 41, + "column": 25 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6707,26 +7480,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "constructor", - "start": 1190, - "end": 1203, + "value": "chainData", + "start": 1282, + "end": 1291, "loc": { "start": { - "line": 42, - "column": 35 + "line": 41, + "column": 25 }, "end": { - "line": 42, - "column": 48 + "line": 41, + "column": 34 } } }, { "type": { - "label": "&&", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -6734,20 +7506,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": 1, "updateContext": null }, - "value": "&&", - "start": 1204, - "end": 1206, + "value": "||", + "start": 1292, + "end": 1294, "loc": { "start": { - "line": 42, - "column": 49 + "line": 41, + "column": 35 }, "end": { - "line": 42, - "column": 51 + "line": 41, + "column": 37 } } }, @@ -6765,16 +7537,16 @@ "updateContext": null }, "value": "!", - "start": 1207, - "end": 1208, + "start": 1295, + "end": 1296, "loc": { "start": { - "line": 42, - "column": 52 + "line": 41, + "column": 38 }, "end": { - "line": 42, - "column": 53 + "line": 41, + "column": 39 } } }, @@ -6790,17 +7562,17 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 1208, - "end": 1216, + "value": "chainData", + "start": 1296, + "end": 1305, "loc": { "start": { - "line": 42, - "column": 53 + "line": 41, + "column": 39 }, "end": { - "line": 42, - "column": 61 + "line": 41, + "column": 48 } } }, @@ -6817,16 +7589,16 @@ "binop": null, "updateContext": null }, - "start": 1216, - "end": 1217, + "start": 1305, + "end": 1306, "loc": { "start": { - "line": 42, - "column": 61 + "line": 41, + "column": 48 }, "end": { - "line": 42, - "column": 62 + "line": 41, + "column": 49 } } }, @@ -6842,25 +7614,25 @@ "postfix": false, "binop": null }, - "value": "hasOwnProperty", - "start": 1217, - "end": 1231, + "value": "isMethod", + "start": 1306, + "end": 1314, "loc": { "start": { - "line": 42, - "column": 62 + "line": 41, + "column": 49 }, "end": { - "line": 42, - "column": 76 + "line": 41, + "column": 57 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6868,23 +7640,23 @@ "postfix": false, "binop": null }, - "start": 1231, - "end": 1232, + "start": 1314, + "end": 1315, "loc": { "start": { - "line": 42, - "column": 76 + "line": 41, + "column": 57 }, "end": { - "line": 42, - "column": 77 + "line": 41, + "column": 58 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6893,23 +7665,23 @@ "postfix": false, "binop": null }, - "value": "key", - "start": 1232, - "end": 1235, + "start": 1316, + "end": 1317, "loc": { "start": { - "line": 42, - "column": 77 + "line": 41, + "column": 59 }, "end": { - "line": 42, - "column": 80 + "line": 41, + "column": 60 } } }, { "type": { - "label": ")", + "label": "continue", + "keyword": "continue", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6917,51 +7689,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1235, - "end": 1236, + "value": "continue", + "start": 1342, + "end": 1350, "loc": { "start": { "line": 42, - "column": 80 + "column": 24 }, "end": { "line": 42, - "column": 81 + "column": 32 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1236, - "end": 1237, + "start": 1350, + "end": 1351, "loc": { "start": { "line": 42, - "column": 81 + "column": 32 }, "end": { "line": 42, - "column": 82 + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6969,24 +7744,24 @@ "postfix": false, "binop": null }, - "start": 1238, - "end": 1239, + "start": 1372, + "end": 1373, "loc": { "start": { - "line": 42, - "column": 83 + "line": 43, + "column": 20 }, "end": { - "line": 42, - "column": 84 + "line": 43, + "column": 21 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6994,23 +7769,23 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 1256, - "end": 1262, + "start": 1390, + "end": 1391, "loc": { "start": { - "line": 43, + "line": 44, "column": 16 }, "end": { - "line": 43, - "column": 22 + "line": 44, + "column": 17 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7018,19 +7793,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1408, + "end": 1410, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - "start": 1262, - "end": 1263, + "start": 1411, + "end": 1412, "loc": { "start": { - "line": 43, - "column": 22 + "line": 45, + "column": 19 }, "end": { - "line": 43, - "column": 23 + "line": 45, + "column": 20 } } }, @@ -7046,17 +7847,17 @@ "postfix": false, "binop": null }, - "value": "defineProperty", - "start": 1263, - "end": 1277, + "value": "isFunction", + "start": 1412, + "end": 1422, "loc": { "start": { - "line": 43, - "column": 23 + "line": 45, + "column": 20 }, "end": { - "line": 43, - "column": 37 + "line": 45, + "column": 30 } } }, @@ -7072,16 +7873,16 @@ "postfix": false, "binop": null }, - "start": 1277, - "end": 1278, + "start": 1422, + "end": 1423, "loc": { "start": { - "line": 43, - "column": 37 + "line": 45, + "column": 30 }, "end": { - "line": 43, - "column": 38 + "line": 45, + "column": 31 } } }, @@ -7097,25 +7898,25 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 1278, - "end": 1286, + "value": "proto", + "start": 1423, + "end": 1428, "loc": { "start": { - "line": 43, - "column": 38 + "line": 45, + "column": 31 }, "end": { - "line": 43, - "column": 46 + "line": 45, + "column": 36 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7124,16 +7925,16 @@ "binop": null, "updateContext": null }, - "start": 1286, - "end": 1287, + "start": 1428, + "end": 1429, "loc": { "start": { - "line": 43, - "column": 46 + "line": 45, + "column": 36 }, "end": { - "line": 43, - "column": 47 + "line": 45, + "column": 37 } } }, @@ -7150,23 +7951,23 @@ "binop": null }, "value": "key", - "start": 1288, - "end": 1291, + "start": 1429, + "end": 1432, "loc": { "start": { - "line": 43, - "column": 48 + "line": 45, + "column": 37 }, "end": { - "line": 43, - "column": 51 + "line": 45, + "column": 40 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7176,24 +7977,24 @@ "binop": null, "updateContext": null }, - "start": 1291, - "end": 1292, + "start": 1432, + "end": 1433, "loc": { "start": { - "line": 43, - "column": 51 + "line": 45, + "column": 40 }, "end": { - "line": 43, - "column": 52 + "line": 45, + "column": 41 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7201,101 +8002,102 @@ "postfix": false, "binop": null }, - "start": 1293, - "end": 1294, + "start": 1433, + "end": 1434, "loc": { "start": { - "line": 43, - "column": 53 + "line": 45, + "column": 41 }, "end": { - "line": 43, - "column": 54 + "line": 45, + "column": 42 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "&&", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "value": "value", - "start": 1315, - "end": 1320, + "value": "&&", + "start": 1435, + "end": 1437, "loc": { "start": { - "line": 44, - "column": 20 + "line": 45, + "column": 43 }, "end": { - "line": 44, - "column": 25 + "line": 45, + "column": 45 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1320, - "end": 1321, + "value": "boundKeys", + "start": 1438, + "end": 1447, "loc": { "start": { - "line": 44, - "column": 25 + "line": 45, + "column": 46 }, "end": { - "line": 44, - "column": 26 + "line": 45, + "column": 55 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "copyMetadata", - "start": 1322, - "end": 1334, + "start": 1447, + "end": 1448, "loc": { "start": { - "line": 44, - "column": 27 + "line": 45, + "column": 55 }, "end": { - "line": 44, - "column": 39 + "line": 45, + "column": 56 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7304,23 +8106,24 @@ "postfix": false, "binop": null }, - "start": 1334, - "end": 1335, + "value": "indexOf", + "start": 1448, + "end": 1455, "loc": { "start": { - "line": 44, - "column": 39 + "line": 45, + "column": 56 }, "end": { - "line": 44, - "column": 40 + "line": 45, + "column": 63 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7329,51 +8132,50 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 1335, - "end": 1343, + "start": 1455, + "end": 1456, "loc": { "start": { - "line": 44, - "column": 40 + "line": 45, + "column": 63 }, "end": { - "line": 44, - "column": 48 + "line": 45, + "column": 64 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1343, - "end": 1344, + "value": "key", + "start": 1456, + "end": 1459, "loc": { "start": { - "line": 44, - "column": 48 + "line": 45, + "column": 64 }, "end": { - "line": 44, - "column": 49 + "line": 45, + "column": 67 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7381,75 +8183,76 @@ "postfix": false, "binop": null }, - "value": "key", - "start": 1344, - "end": 1347, + "start": 1459, + "end": 1460, "loc": { "start": { - "line": 44, - "column": 49 + "line": 45, + "column": 67 }, "end": { - "line": 44, - "column": 52 + "line": 45, + "column": 68 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 1347, - "end": 1348, + "value": "===", + "start": 1461, + "end": 1464, "loc": { "start": { - "line": 44, - "column": 52 + "line": 45, + "column": 69 }, "end": { - "line": 44, - "column": 53 + "line": 45, + "column": 72 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 1348, - "end": 1349, + "value": "-", + "start": 1465, + "end": 1466, "loc": { "start": { - "line": 44, - "column": 53 + "line": 45, + "column": 73 }, "end": { - "line": 44, - "column": 54 + "line": 45, + "column": 74 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7457,27 +8260,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "bind", - "start": 1349, - "end": 1353, + "value": 1, + "start": 1466, + "end": 1467, "loc": { "start": { - "line": 44, - "column": 54 + "line": 45, + "column": 74 }, "end": { - "line": 44, - "column": 58 + "line": 45, + "column": 75 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7485,23 +8289,23 @@ "postfix": false, "binop": null }, - "start": 1353, - "end": 1354, + "start": 1467, + "end": 1468, "loc": { "start": { - "line": 44, - "column": 58 + "line": 45, + "column": 75 }, "end": { - "line": 44, - "column": 59 + "line": 45, + "column": 76 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7510,25 +8314,24 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 1354, - "end": 1362, + "start": 1469, + "end": 1470, "loc": { "start": { - "line": 44, - "column": 59 + "line": 45, + "column": 77 }, "end": { - "line": 44, - "column": 67 + "line": 45, + "column": 78 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7536,23 +8339,24 @@ "postfix": false, "binop": null }, - "start": 1362, - "end": 1363, + "value": "Object", + "start": 1491, + "end": 1497, "loc": { "start": { - "line": 44, - "column": 67 + "line": 46, + "column": 20 }, "end": { - "line": 44, - "column": 68 + "line": 46, + "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7562,16 +8366,16 @@ "binop": null, "updateContext": null }, - "start": 1363, - "end": 1364, + "start": 1497, + "end": 1498, "loc": { "start": { - "line": 44, - "column": 68 + "line": 46, + "column": 26 }, "end": { - "line": 44, - "column": 69 + "line": 46, + "column": 27 } } }, @@ -7587,23 +8391,23 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 1365, - "end": 1373, + "value": "defineProperty", + "start": 1498, + "end": 1512, "loc": { "start": { - "line": 44, - "column": 70 + "line": 46, + "column": 27 }, "end": { - "line": 44, - "column": 78 + "line": 46, + "column": 41 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -7611,19 +8415,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1373, - "end": 1374, + "start": 1512, + "end": 1513, "loc": { "start": { - "line": 44, - "column": 78 + "line": 46, + "column": 41 }, "end": { - "line": 44, - "column": 79 + "line": 46, + "column": 42 } } }, @@ -7639,24 +8442,24 @@ "postfix": false, "binop": null }, - "value": "key", - "start": 1374, - "end": 1377, + "value": "targetProto", + "start": 1513, + "end": 1524, "loc": { "start": { - "line": 44, - "column": 79 + "line": 46, + "column": 42 }, "end": { - "line": 44, - "column": 82 + "line": 46, + "column": 53 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7666,24 +8469,24 @@ "binop": null, "updateContext": null }, - "start": 1377, - "end": 1378, + "start": 1524, + "end": 1525, "loc": { "start": { - "line": 44, - "column": 82 + "line": 46, + "column": 53 }, "end": { - "line": 44, - "column": 83 + "line": 46, + "column": 54 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7691,16 +8494,17 @@ "postfix": false, "binop": null }, - "start": 1378, - "end": 1379, + "value": "key", + "start": 1526, + "end": 1529, "loc": { "start": { - "line": 44, - "column": 83 + "line": 46, + "column": 55 }, "end": { - "line": 44, - "column": 84 + "line": 46, + "column": 58 } } }, @@ -7717,16 +8521,16 @@ "binop": null, "updateContext": null }, - "start": 1379, - "end": 1380, + "start": 1529, + "end": 1530, "loc": { "start": { - "line": 44, - "column": 84 + "line": 46, + "column": 58 }, "end": { - "line": 44, - "column": 85 + "line": 46, + "column": 59 } } }, @@ -7742,50 +8546,48 @@ "postfix": false, "binop": null }, - "value": "configurable", - "start": 1401, - "end": 1413, + "value": "Bind", + "start": 1531, + "end": 1535, "loc": { "start": { - "line": 45, - "column": 20 + "line": 46, + "column": 60 }, "end": { - "line": 45, - "column": 32 + "line": 46, + "column": 64 } } }, { "type": { - "label": ":", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1413, - "end": 1414, + "start": 1535, + "end": 1536, "loc": { "start": { - "line": 45, - "column": 32 + "line": 46, + "column": 64 }, "end": { - "line": 45, - "column": 33 + "line": 46, + "column": 65 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7793,20 +8595,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 1415, - "end": 1419, + "value": "proto", + "start": 1536, + "end": 1541, "loc": { "start": { - "line": 45, - "column": 34 + "line": 46, + "column": 65 }, "end": { - "line": 45, - "column": 38 + "line": 46, + "column": 70 } } }, @@ -7823,16 +8624,16 @@ "binop": null, "updateContext": null }, - "start": 1419, - "end": 1420, + "start": 1541, + "end": 1542, "loc": { "start": { - "line": 45, - "column": 38 + "line": 46, + "column": 70 }, "end": { - "line": 45, - "column": 39 + "line": 46, + "column": 71 } } }, @@ -7848,23 +8649,23 @@ "postfix": false, "binop": null }, - "value": "enumerable", - "start": 1441, - "end": 1451, + "value": "key", + "start": 1543, + "end": 1546, "loc": { "start": { "line": 46, - "column": 20 + "column": 72 }, "end": { "line": 46, - "column": 30 + "column": 75 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7875,16 +8676,16 @@ "binop": null, "updateContext": null }, - "start": 1451, - "end": 1452, + "start": 1546, + "end": 1547, "loc": { "start": { "line": 46, - "column": 30 + "column": 75 }, "end": { "line": 46, - "column": 31 + "column": 76 } } }, @@ -7901,22 +8702,22 @@ "binop": null }, "value": "descriptor", - "start": 1453, - "end": 1463, + "start": 1548, + "end": 1558, "loc": { "start": { "line": 46, - "column": 32 + "column": 77 }, "end": { "line": 46, - "column": 42 + "column": 87 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7924,27 +8725,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1463, - "end": 1464, + "start": 1558, + "end": 1559, "loc": { "start": { "line": 46, - "column": 42 + "column": 87 }, "end": { "line": 46, - "column": 43 + "column": 88 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7952,23 +8752,22 @@ "postfix": false, "binop": null }, - "value": "enumerable", - "start": 1464, - "end": 1474, + "start": 1559, + "end": 1560, "loc": { "start": { "line": 46, - "column": 43 + "column": 88 }, "end": { "line": 46, - "column": 53 + "column": 89 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7979,16 +8778,16 @@ "binop": null, "updateContext": null }, - "start": 1474, - "end": 1475, + "start": 1560, + "end": 1561, "loc": { "start": { "line": 46, - "column": 53 + "column": 89 }, "end": { "line": 46, - "column": 54 + "column": 90 } } }, @@ -8004,9 +8803,9 @@ "postfix": false, "binop": null }, - "value": "writable", - "start": 1496, - "end": 1504, + "value": "boundKeys", + "start": 1582, + "end": 1591, "loc": { "start": { "line": 47, @@ -8014,14 +8813,14 @@ }, "end": { "line": 47, - "column": 28 + "column": 29 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8031,16 +8830,16 @@ "binop": null, "updateContext": null }, - "start": 1504, - "end": 1505, + "start": 1591, + "end": 1592, "loc": { "start": { "line": 47, - "column": 28 + "column": 29 }, "end": { "line": 47, - "column": 29 + "column": 30 } } }, @@ -8056,9 +8855,9 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 1506, - "end": 1516, + "value": "push", + "start": 1592, + "end": 1596, "loc": { "start": { "line": 47, @@ -8066,33 +8865,32 @@ }, "end": { "line": 47, - "column": 40 + "column": 34 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1516, - "end": 1517, + "start": 1596, + "end": 1597, "loc": { "start": { "line": 47, - "column": 40 + "column": 34 }, "end": { "line": 47, - "column": 41 + "column": 35 } } }, @@ -8108,23 +8906,23 @@ "postfix": false, "binop": null }, - "value": "writable", - "start": 1517, - "end": 1525, + "value": "key", + "start": 1597, + "end": 1600, "loc": { "start": { "line": 47, - "column": 41 + "column": 35 }, "end": { "line": 47, - "column": 49 + "column": 38 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8134,67 +8932,67 @@ "postfix": false, "binop": null }, - "start": 1542, - "end": 1543, + "start": 1600, + "end": 1601, "loc": { "start": { - "line": 48, - "column": 16 + "line": 47, + "column": 38 }, "end": { - "line": 48, - "column": 17 + "line": 47, + "column": 39 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1543, - "end": 1544, + "start": 1601, + "end": 1602, "loc": { "start": { - "line": 48, - "column": 17 + "line": 47, + "column": 39 }, "end": { - "line": 48, - "column": 18 + "line": 47, + "column": 40 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1544, - "end": 1545, + "start": 1619, + "end": 1620, "loc": { "start": { "line": 48, - "column": 18 + "column": 16 }, "end": { "line": 48, - "column": 19 + "column": 17 } } }, @@ -8210,8 +9008,8 @@ "postfix": false, "binop": null }, - "start": 1558, - "end": 1559, + "start": 1633, + "end": 1634, "loc": { "start": { "line": 49, @@ -8235,8 +9033,8 @@ "postfix": false, "binop": null }, - "start": 1568, - "end": 1569, + "start": 1643, + "end": 1644, "loc": { "start": { "line": 50, @@ -8261,8 +9059,8 @@ "binop": null }, "value": "proto", - "start": 1578, - "end": 1583, + "start": 1653, + "end": 1658, "loc": { "start": { "line": 51, @@ -8288,8 +9086,8 @@ "updateContext": null }, "value": "=", - "start": 1584, - "end": 1585, + "start": 1659, + "end": 1660, "loc": { "start": { "line": 51, @@ -8314,8 +9112,8 @@ "binop": null }, "value": "Object", - "start": 1586, - "end": 1592, + "start": 1661, + "end": 1667, "loc": { "start": { "line": 51, @@ -8340,8 +9138,8 @@ "binop": null, "updateContext": null }, - "start": 1592, - "end": 1593, + "start": 1667, + "end": 1668, "loc": { "start": { "line": 51, @@ -8366,8 +9164,8 @@ "binop": null }, "value": "getPrototypeOf", - "start": 1593, - "end": 1607, + "start": 1668, + "end": 1682, "loc": { "start": { "line": 51, @@ -8391,8 +9189,8 @@ "postfix": false, "binop": null }, - "start": 1607, - "end": 1608, + "start": 1682, + "end": 1683, "loc": { "start": { "line": 51, @@ -8417,8 +9215,8 @@ "binop": null }, "value": "proto", - "start": 1608, - "end": 1613, + "start": 1683, + "end": 1688, "loc": { "start": { "line": 51, @@ -8442,8 +9240,8 @@ "postfix": false, "binop": null }, - "start": 1613, - "end": 1614, + "start": 1688, + "end": 1689, "loc": { "start": { "line": 51, @@ -8468,8 +9266,8 @@ "binop": null, "updateContext": null }, - "start": 1614, - "end": 1615, + "start": 1689, + "end": 1690, "loc": { "start": { "line": 51, @@ -8493,8 +9291,8 @@ "postfix": false, "binop": null }, - "start": 1620, - "end": 1621, + "start": 1695, + "end": 1696, "loc": { "start": { "line": 52, @@ -8518,8 +9316,8 @@ "postfix": false, "binop": null }, - "start": 1622, - "end": 1623, + "start": 1697, + "end": 1698, "loc": { "start": { "line": 53, @@ -8546,8 +9344,8 @@ "updateContext": null }, "value": "export", - "start": 1624, - "end": 1630, + "start": 1699, + "end": 1705, "loc": { "start": { "line": 54, @@ -8571,8 +9369,8 @@ "postfix": false, "binop": null }, - "start": 1631, - "end": 1632, + "start": 1706, + "end": 1707, "loc": { "start": { "line": 54, @@ -8597,8 +9395,8 @@ "binop": null }, "value": "BindAll", - "start": 1633, - "end": 1640, + "start": 1708, + "end": 1715, "loc": { "start": { "line": 54, @@ -8623,8 +9421,8 @@ "binop": null }, "value": "as", - "start": 1641, - "end": 1643, + "start": 1716, + "end": 1718, "loc": { "start": { "line": 54, @@ -8649,8 +9447,8 @@ "binop": null }, "value": "bindAll", - "start": 1644, - "end": 1651, + "start": 1719, + "end": 1726, "loc": { "start": { "line": 54, @@ -8674,8 +9472,8 @@ "postfix": false, "binop": null }, - "start": 1652, - "end": 1653, + "start": 1727, + "end": 1728, "loc": { "start": { "line": 54, @@ -8700,8 +9498,8 @@ "binop": null, "updateContext": null }, - "start": 1653, - "end": 1654, + "start": 1728, + "end": 1729, "loc": { "start": { "line": 54, @@ -8728,8 +9526,8 @@ "updateContext": null }, "value": "export", - "start": 1655, - "end": 1661, + "start": 1730, + "end": 1736, "loc": { "start": { "line": 55, @@ -8756,8 +9554,8 @@ "updateContext": null }, "value": "default", - "start": 1662, - "end": 1669, + "start": 1737, + "end": 1744, "loc": { "start": { "line": 55, @@ -8782,8 +9580,8 @@ "binop": null }, "value": "BindAll", - "start": 1670, - "end": 1677, + "start": 1745, + "end": 1752, "loc": { "start": { "line": 55, @@ -8808,8 +9606,8 @@ "binop": null, "updateContext": null }, - "start": 1677, - "end": 1678, + "start": 1752, + "end": 1753, "loc": { "start": { "line": 55, @@ -8834,8 +9632,8 @@ "binop": null, "updateContext": null }, - "start": 1679, - "end": 1679, + "start": 1754, + "end": 1754, "loc": { "start": { "line": 56, diff --git a/docs/ast/source/curry.js.json b/docs/ast/source/curry.ts.json similarity index 82% rename from docs/ast/source/curry.js.json rename to docs/ast/source/curry.ts.json index c5d2f9b..6889a0b 100644 --- a/docs/ast/source/curry.js.json +++ b/docs/ast/source/curry.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1273, + "end": 1266, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1273, + "end": 1266, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 31, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 31 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - }, - "identifierName": "curry" - }, - "name": "curry" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 14 - }, - "identifierName": "curry" - }, - "name": "curry" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 32, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 41, - "end": 56, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 82, - "end": 93, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 95, - "end": 146, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 130, - "end": 145, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -337,12 +251,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 147, - "end": 1089, + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 1060, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -355,8 +269,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1090, - "end": 1223, + "start": 1061, + "end": 1216, "loc": { "start": { "line": 30, @@ -364,15 +278,15 @@ }, "end": { "line": 30, - "column": 133 + "column": 155 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 1097, - "end": 1223, + "start": 1068, + "end": 1216, "loc": { "start": { "line": 30, @@ -380,14 +294,14 @@ }, "end": { "line": 30, - "column": 133 + "column": 155 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1103, - "end": 1222, + "start": 1074, + "end": 1215, "loc": { "start": { "line": 30, @@ -395,13 +309,13 @@ }, "end": { "line": 30, - "column": 132 + "column": 154 } }, "id": { "type": "Identifier", - "start": 1103, - "end": 1108, + "start": 1074, + "end": 1079, "loc": { "start": { "line": 30, @@ -418,8 +332,8 @@ }, "init": { "type": "CallExpression", - "start": 1111, - "end": 1222, + "start": 1082, + "end": 1215, "loc": { "start": { "line": 30, @@ -427,13 +341,13 @@ }, "end": { "line": 30, - "column": 132 + "column": 154 } }, "callee": { "type": "MemberExpression", - "start": 1111, - "end": 1151, + "start": 1082, + "end": 1122, "loc": { "start": { "line": 30, @@ -446,8 +360,8 @@ }, "object": { "type": "Identifier", - "start": 1111, - "end": 1127, + "start": 1082, + "end": 1098, "loc": { "start": { "line": 30, @@ -463,8 +377,8 @@ }, "property": { "type": "Identifier", - "start": 1128, - "end": 1151, + "start": 1099, + "end": 1122, "loc": { "start": { "line": 30, @@ -483,8 +397,8 @@ "arguments": [ { "type": "NewExpression", - "start": 1152, - "end": 1221, + "start": 1123, + "end": 1214, "loc": { "start": { "line": 30, @@ -492,13 +406,13 @@ }, "end": { "line": 30, - "column": 131 + "column": 153 } }, "callee": { "type": "Identifier", - "start": 1156, - "end": 1171, + "start": 1127, + "end": 1142, "loc": { "start": { "line": 30, @@ -515,8 +429,8 @@ "arguments": [ { "type": "Identifier", - "start": 1172, - "end": 1177, + "start": 1143, + "end": 1148, "loc": { "start": { "line": 30, @@ -532,8 +446,8 @@ }, { "type": "NewExpression", - "start": 1179, - "end": 1203, + "start": 1150, + "end": 1174, "loc": { "start": { "line": 30, @@ -546,8 +460,8 @@ }, "callee": { "type": "Identifier", - "start": 1183, - "end": 1201, + "start": 1154, + "end": 1172, "loc": { "start": { "line": 30, @@ -565,8 +479,8 @@ }, { "type": "ObjectExpression", - "start": 1205, - "end": 1220, + "start": 1176, + "end": 1213, "loc": { "start": { "line": 30, @@ -574,14 +488,14 @@ }, "end": { "line": 30, - "column": 130 + "column": 152 } }, "properties": [ { "type": "ObjectProperty", - "start": 1207, - "end": 1218, + "start": 1178, + "end": 1189, "loc": { "start": { "line": 30, @@ -597,8 +511,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1207, - "end": 1212, + "start": 1178, + "end": 1183, "loc": { "start": { "line": 30, @@ -614,8 +528,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 1214, - "end": 1218, + "start": 1185, + "end": 1189, "loc": { "start": { "line": 30, @@ -628,6 +542,57 @@ }, "value": true } + }, + { + "type": "ObjectProperty", + "start": 1191, + "end": 1211, + "loc": { + "start": { + "line": 30, + "column": 130 + }, + "end": { + "line": 30, + "column": 150 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1191, + "end": 1205, + "loc": { + "start": { + "line": 30, + "column": 130 + }, + "end": { + "line": 30, + "column": 144 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 1207, + "end": 1211, + "loc": { + "start": { + "line": 30, + "column": 146 + }, + "end": { + "line": 30, + "column": 150 + } + }, + "value": true + } } ] } @@ -642,12 +607,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 147, - "end": 1089, + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 1060, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -662,12 +627,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 147, - "end": 1089, + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 1060, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -680,8 +645,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1224, - "end": 1250, + "start": 1217, + "end": 1243, "loc": { "start": { "line": 31, @@ -696,8 +661,8 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 1233, - "end": 1247, + "start": 1226, + "end": 1240, "loc": { "start": { "line": 31, @@ -710,8 +675,8 @@ }, "local": { "type": "Identifier", - "start": 1233, - "end": 1238, + "start": 1226, + "end": 1231, "loc": { "start": { "line": 31, @@ -727,8 +692,8 @@ }, "exported": { "type": "Identifier", - "start": 1242, - "end": 1247, + "start": 1235, + "end": 1240, "loc": { "start": { "line": 31, @@ -748,8 +713,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 1251, - "end": 1272, + "start": 1244, + "end": 1265, "loc": { "start": { "line": 32, @@ -762,8 +727,8 @@ }, "declaration": { "type": "Identifier", - "start": 1266, - "end": 1271, + "start": 1259, + "end": 1264, "loc": { "start": { "line": 32, @@ -786,12 +751,12 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 147, - "end": 1089, + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 1060, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -807,7 +772,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -867,9 +832,9 @@ "postfix": false, "binop": null }, - "value": "curry", + "value": "DecoratorConfig", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -877,189 +842,6 @@ }, "end": { "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 17, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 39, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 } } @@ -1077,15 +859,15 @@ "binop": null, "updateContext": null }, - "start": 56, - "end": 57, + "start": 24, + "end": 25, "loc": { "start": { - "line": 2, + "line": 1, "column": 24 }, "end": { - "line": 2, + "line": 1, "column": 25 } } @@ -1103,15 +885,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } } @@ -1128,15 +910,15 @@ "postfix": false, "binop": null }, - "start": 75, - "end": 76, + "start": 43, + "end": 44, "loc": { "start": { - "line": 2, + "line": 1, "column": 43 }, "end": { - "line": 2, + "line": 1, "column": 44 } } @@ -1154,15 +936,15 @@ "binop": null }, "value": "from", - "start": 77, - "end": 81, + "start": 45, + "end": 49, "loc": { "start": { - "line": 2, + "line": 1, "column": 45 }, "end": { - "line": 2, + "line": 1, "column": 49 } } @@ -1181,15 +963,15 @@ "updateContext": null }, "value": "./factory", - "start": 82, - "end": 93, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } } @@ -1207,15 +989,15 @@ "binop": null, "updateContext": null }, - "start": 93, - "end": 94, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, + "line": 1, "column": 61 }, "end": { - "line": 2, + "line": 1, "column": 62 } } @@ -1225,7 +1007,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1235,15 +1017,15 @@ "updateContext": null }, "value": "import", - "start": 95, - "end": 101, + "start": 63, + "end": 69, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } @@ -1260,15 +1042,15 @@ "postfix": false, "binop": null }, - "start": 102, - "end": 103, + "start": 70, + "end": 71, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, + "line": 2, "column": 8 } } @@ -1286,15 +1068,15 @@ "binop": null }, "value": "PreValueApplicator", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } } @@ -1311,15 +1093,15 @@ "postfix": false, "binop": null }, - "start": 123, - "end": 124, + "start": 91, + "end": 92, "loc": { "start": { - "line": 3, + "line": 2, "column": 28 }, "end": { - "line": 3, + "line": 2, "column": 29 } } @@ -1337,15 +1119,15 @@ "binop": null }, "value": "from", - "start": 125, - "end": 129, + "start": 93, + "end": 97, "loc": { "start": { - "line": 3, + "line": 2, "column": 30 }, "end": { - "line": 3, + "line": 2, "column": 34 } } @@ -1364,15 +1146,15 @@ "updateContext": null }, "value": "./applicators", - "start": 130, - "end": 145, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } } @@ -1390,27 +1172,27 @@ "binop": null, "updateContext": null }, - "start": 145, - "end": 146, + "start": 113, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 50 }, "end": { - "line": 3, + "line": 2, "column": 51 } } }, { "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 147, - "end": 1089, + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 1060, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -1434,8 +1216,8 @@ "updateContext": null }, "value": "export", - "start": 1090, - "end": 1096, + "start": 1061, + "end": 1067, "loc": { "start": { "line": 30, @@ -1462,8 +1244,8 @@ "updateContext": null }, "value": "const", - "start": 1097, - "end": 1102, + "start": 1068, + "end": 1073, "loc": { "start": { "line": 30, @@ -1488,8 +1270,8 @@ "binop": null }, "value": "Curry", - "start": 1103, - "end": 1108, + "start": 1074, + "end": 1079, "loc": { "start": { "line": 30, @@ -1515,8 +1297,8 @@ "updateContext": null }, "value": "=", - "start": 1109, - "end": 1110, + "start": 1080, + "end": 1081, "loc": { "start": { "line": 30, @@ -1541,8 +1323,8 @@ "binop": null }, "value": "DecoratorFactory", - "start": 1111, - "end": 1127, + "start": 1082, + "end": 1098, "loc": { "start": { "line": 30, @@ -1567,8 +1349,8 @@ "binop": null, "updateContext": null }, - "start": 1127, - "end": 1128, + "start": 1098, + "end": 1099, "loc": { "start": { "line": 30, @@ -1593,8 +1375,8 @@ "binop": null }, "value": "createInstanceDecorator", - "start": 1128, - "end": 1151, + "start": 1099, + "end": 1122, "loc": { "start": { "line": 30, @@ -1618,8 +1400,8 @@ "postfix": false, "binop": null }, - "start": 1151, - "end": 1152, + "start": 1122, + "end": 1123, "loc": { "start": { "line": 30, @@ -1646,8 +1428,8 @@ "updateContext": null }, "value": "new", - "start": 1152, - "end": 1155, + "start": 1123, + "end": 1126, "loc": { "start": { "line": 30, @@ -1672,8 +1454,8 @@ "binop": null }, "value": "DecoratorConfig", - "start": 1156, - "end": 1171, + "start": 1127, + "end": 1142, "loc": { "start": { "line": 30, @@ -1697,8 +1479,8 @@ "postfix": false, "binop": null }, - "start": 1171, - "end": 1172, + "start": 1142, + "end": 1143, "loc": { "start": { "line": 30, @@ -1723,8 +1505,8 @@ "binop": null }, "value": "curry", - "start": 1172, - "end": 1177, + "start": 1143, + "end": 1148, "loc": { "start": { "line": 30, @@ -1749,8 +1531,8 @@ "binop": null, "updateContext": null }, - "start": 1177, - "end": 1178, + "start": 1148, + "end": 1149, "loc": { "start": { "line": 30, @@ -1777,8 +1559,8 @@ "updateContext": null }, "value": "new", - "start": 1179, - "end": 1182, + "start": 1150, + "end": 1153, "loc": { "start": { "line": 30, @@ -1803,8 +1585,8 @@ "binop": null }, "value": "PreValueApplicator", - "start": 1183, - "end": 1201, + "start": 1154, + "end": 1172, "loc": { "start": { "line": 30, @@ -1828,8 +1610,8 @@ "postfix": false, "binop": null }, - "start": 1201, - "end": 1202, + "start": 1172, + "end": 1173, "loc": { "start": { "line": 30, @@ -1853,8 +1635,8 @@ "postfix": false, "binop": null }, - "start": 1202, - "end": 1203, + "start": 1173, + "end": 1174, "loc": { "start": { "line": 30, @@ -1879,8 +1661,8 @@ "binop": null, "updateContext": null }, - "start": 1203, - "end": 1204, + "start": 1174, + "end": 1175, "loc": { "start": { "line": 30, @@ -1904,8 +1686,8 @@ "postfix": false, "binop": null }, - "start": 1205, - "end": 1206, + "start": 1176, + "end": 1177, "loc": { "start": { "line": 30, @@ -1930,8 +1712,8 @@ "binop": null }, "value": "bound", - "start": 1207, - "end": 1212, + "start": 1178, + "end": 1183, "loc": { "start": { "line": 30, @@ -1956,8 +1738,8 @@ "binop": null, "updateContext": null }, - "start": 1212, - "end": 1213, + "start": 1183, + "end": 1184, "loc": { "start": { "line": 30, @@ -1984,8 +1766,8 @@ "updateContext": null }, "value": "true", - "start": 1214, - "end": 1218, + "start": 1185, + "end": 1189, "loc": { "start": { "line": 30, @@ -1997,6 +1779,112 @@ } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1189, + "end": 1190, + "loc": { + "start": { + "line": 30, + "column": 128 + }, + "end": { + "line": 30, + "column": 129 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 1191, + "end": 1205, + "loc": { + "start": { + "line": 30, + "column": 130 + }, + "end": { + "line": 30, + "column": 144 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1205, + "end": 1206, + "loc": { + "start": { + "line": 30, + "column": 144 + }, + "end": { + "line": 30, + "column": 145 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1207, + "end": 1211, + "loc": { + "start": { + "line": 30, + "column": 146 + }, + "end": { + "line": 30, + "column": 150 + } + } + }, { "type": { "label": "}", @@ -2009,16 +1897,16 @@ "postfix": false, "binop": null }, - "start": 1219, - "end": 1220, + "start": 1212, + "end": 1213, "loc": { "start": { "line": 30, - "column": 129 + "column": 151 }, "end": { "line": 30, - "column": 130 + "column": 152 } } }, @@ -2034,16 +1922,16 @@ "postfix": false, "binop": null }, - "start": 1220, - "end": 1221, + "start": 1213, + "end": 1214, "loc": { "start": { "line": 30, - "column": 130 + "column": 152 }, "end": { "line": 30, - "column": 131 + "column": 153 } } }, @@ -2059,16 +1947,16 @@ "postfix": false, "binop": null }, - "start": 1221, - "end": 1222, + "start": 1214, + "end": 1215, "loc": { "start": { "line": 30, - "column": 131 + "column": 153 }, "end": { "line": 30, - "column": 132 + "column": 154 } } }, @@ -2085,16 +1973,16 @@ "binop": null, "updateContext": null }, - "start": 1222, - "end": 1223, + "start": 1215, + "end": 1216, "loc": { "start": { "line": 30, - "column": 132 + "column": 154 }, "end": { "line": 30, - "column": 133 + "column": 155 } } }, @@ -2113,8 +2001,8 @@ "updateContext": null }, "value": "export", - "start": 1224, - "end": 1230, + "start": 1217, + "end": 1223, "loc": { "start": { "line": 31, @@ -2138,8 +2026,8 @@ "postfix": false, "binop": null }, - "start": 1231, - "end": 1232, + "start": 1224, + "end": 1225, "loc": { "start": { "line": 31, @@ -2164,8 +2052,8 @@ "binop": null }, "value": "Curry", - "start": 1233, - "end": 1238, + "start": 1226, + "end": 1231, "loc": { "start": { "line": 31, @@ -2190,8 +2078,8 @@ "binop": null }, "value": "as", - "start": 1239, - "end": 1241, + "start": 1232, + "end": 1234, "loc": { "start": { "line": 31, @@ -2216,8 +2104,8 @@ "binop": null }, "value": "curry", - "start": 1242, - "end": 1247, + "start": 1235, + "end": 1240, "loc": { "start": { "line": 31, @@ -2241,8 +2129,8 @@ "postfix": false, "binop": null }, - "start": 1248, - "end": 1249, + "start": 1241, + "end": 1242, "loc": { "start": { "line": 31, @@ -2267,8 +2155,8 @@ "binop": null, "updateContext": null }, - "start": 1249, - "end": 1250, + "start": 1242, + "end": 1243, "loc": { "start": { "line": 31, @@ -2295,8 +2183,8 @@ "updateContext": null }, "value": "export", - "start": 1251, - "end": 1257, + "start": 1244, + "end": 1250, "loc": { "start": { "line": 32, @@ -2323,8 +2211,8 @@ "updateContext": null }, "value": "default", - "start": 1258, - "end": 1265, + "start": 1251, + "end": 1258, "loc": { "start": { "line": 32, @@ -2349,8 +2237,8 @@ "binop": null }, "value": "Curry", - "start": 1266, - "end": 1271, + "start": 1259, + "end": 1264, "loc": { "start": { "line": 32, @@ -2375,8 +2263,8 @@ "binop": null, "updateContext": null }, - "start": 1271, - "end": 1272, + "start": 1264, + "end": 1265, "loc": { "start": { "line": 32, @@ -2401,8 +2289,8 @@ "binop": null, "updateContext": null }, - "start": 1273, - "end": 1273, + "start": 1266, + "end": 1266, "loc": { "start": { "line": 33, diff --git a/docs/ast/source/curryAll.js.json b/docs/ast/source/curryAll.ts.json similarity index 82% rename from docs/ast/source/curryAll.js.json rename to docs/ast/source/curryAll.ts.json index 9e91239..3c7db91 100644 --- a/docs/ast/source/curryAll.js.json +++ b/docs/ast/source/curryAll.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1224, + "end": 1221, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1224, + "end": 1221, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 31, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 31 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -68,92 +68,6 @@ }, "end": { "line": 1, - "column": 14 - }, - "identifierName": "curry" - }, - "name": "curry" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - }, - "identifierName": "curry" - }, - "name": "curry" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 32, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 41, - "end": 56, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 82, - "end": 93, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 95, - "end": 146, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 130, - "end": 145, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -337,12 +251,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 147, - "end": 1053, + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 1024, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -355,8 +269,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1054, - "end": 1165, + "start": 1025, + "end": 1162, "loc": { "start": { "line": 28, @@ -364,15 +278,15 @@ }, "end": { "line": 28, - "column": 111 + "column": 137 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 1061, - "end": 1165, + "start": 1032, + "end": 1162, "loc": { "start": { "line": 28, @@ -380,14 +294,14 @@ }, "end": { "line": 28, - "column": 111 + "column": 137 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1067, - "end": 1164, + "start": 1038, + "end": 1161, "loc": { "start": { "line": 28, @@ -395,13 +309,13 @@ }, "end": { "line": 28, - "column": 110 + "column": 136 } }, "id": { "type": "Identifier", - "start": 1067, - "end": 1075, + "start": 1038, + "end": 1046, "loc": { "start": { "line": 28, @@ -418,8 +332,8 @@ }, "init": { "type": "CallExpression", - "start": 1078, - "end": 1164, + "start": 1049, + "end": 1161, "loc": { "start": { "line": 28, @@ -427,13 +341,13 @@ }, "end": { "line": 28, - "column": 110 + "column": 136 } }, "callee": { "type": "MemberExpression", - "start": 1078, - "end": 1110, + "start": 1049, + "end": 1081, "loc": { "start": { "line": 28, @@ -446,8 +360,8 @@ }, "object": { "type": "Identifier", - "start": 1078, - "end": 1094, + "start": 1049, + "end": 1065, "loc": { "start": { "line": 28, @@ -463,8 +377,8 @@ }, "property": { "type": "Identifier", - "start": 1095, - "end": 1110, + "start": 1066, + "end": 1081, "loc": { "start": { "line": 28, @@ -483,8 +397,8 @@ "arguments": [ { "type": "NewExpression", - "start": 1111, - "end": 1163, + "start": 1082, + "end": 1160, "loc": { "start": { "line": 28, @@ -492,13 +406,13 @@ }, "end": { "line": 28, - "column": 109 + "column": 135 } }, "callee": { "type": "Identifier", - "start": 1115, - "end": 1130, + "start": 1086, + "end": 1101, "loc": { "start": { "line": 28, @@ -515,8 +429,8 @@ "arguments": [ { "type": "Identifier", - "start": 1131, - "end": 1136, + "start": 1102, + "end": 1107, "loc": { "start": { "line": 28, @@ -532,8 +446,8 @@ }, { "type": "NewExpression", - "start": 1138, - "end": 1162, + "start": 1109, + "end": 1133, "loc": { "start": { "line": 28, @@ -546,8 +460,8 @@ }, "callee": { "type": "Identifier", - "start": 1142, - "end": 1160, + "start": 1113, + "end": 1131, "loc": { "start": { "line": 28, @@ -562,6 +476,74 @@ "name": "PreValueApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 1135, + "end": 1159, + "loc": { + "start": { + "line": 28, + "column": 110 + }, + "end": { + "line": 28, + "column": 134 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1137, + "end": 1157, + "loc": { + "start": { + "line": 28, + "column": 112 + }, + "end": { + "line": 28, + "column": 132 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1137, + "end": 1151, + "loc": { + "start": { + "line": 28, + "column": 112 + }, + "end": { + "line": 28, + "column": 126 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 1153, + "end": 1157, + "loc": { + "start": { + "line": 28, + "column": 128 + }, + "end": { + "line": 28, + "column": 132 + } + }, + "value": true + } + } + ] } ] } @@ -574,12 +556,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 147, - "end": 1053, + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 1024, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -594,12 +576,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 147, - "end": 1053, + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 1024, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -612,8 +594,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1166, - "end": 1198, + "start": 1163, + "end": 1195, "loc": { "start": { "line": 29, @@ -628,8 +610,8 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 1175, - "end": 1195, + "start": 1172, + "end": 1192, "loc": { "start": { "line": 29, @@ -642,8 +624,8 @@ }, "local": { "type": "Identifier", - "start": 1175, - "end": 1183, + "start": 1172, + "end": 1180, "loc": { "start": { "line": 29, @@ -659,8 +641,8 @@ }, "exported": { "type": "Identifier", - "start": 1187, - "end": 1195, + "start": 1184, + "end": 1192, "loc": { "start": { "line": 29, @@ -680,8 +662,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 1199, - "end": 1223, + "start": 1196, + "end": 1220, "loc": { "start": { "line": 30, @@ -694,8 +676,8 @@ }, "declaration": { "type": "Identifier", - "start": 1214, - "end": 1222, + "start": 1211, + "end": 1219, "loc": { "start": { "line": 30, @@ -715,214 +697,31 @@ ], "directives": [] }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 147, - "end": 1053, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 27, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "curry", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 17, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 30, - "end": 31, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 1024, "loc": { "start": { - "line": 1, - "column": 30 + "line": 3, + "column": 0 }, "end": { - "line": 1, - "column": 31 + "line": 27, + "column": 3 } } - }, + } + ], + "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -932,15 +731,15 @@ "updateContext": null }, "value": "import", - "start": 32, - "end": 38, + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, + "line": 1, "column": 6 } } @@ -957,15 +756,15 @@ "postfix": false, "binop": null }, - "start": 39, - "end": 40, + "start": 7, + "end": 8, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 2, + "line": 1, "column": 8 } } @@ -983,15 +782,15 @@ "binop": null }, "value": "DecoratorConfig", - "start": 41, - "end": 56, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 } } @@ -1009,15 +808,15 @@ "binop": null, "updateContext": null }, - "start": 56, - "end": 57, + "start": 24, + "end": 25, "loc": { "start": { - "line": 2, + "line": 1, "column": 24 }, "end": { - "line": 2, + "line": 1, "column": 25 } } @@ -1035,15 +834,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } } @@ -1060,15 +859,15 @@ "postfix": false, "binop": null }, - "start": 75, - "end": 76, + "start": 43, + "end": 44, "loc": { "start": { - "line": 2, + "line": 1, "column": 43 }, "end": { - "line": 2, + "line": 1, "column": 44 } } @@ -1086,15 +885,15 @@ "binop": null }, "value": "from", - "start": 77, - "end": 81, + "start": 45, + "end": 49, "loc": { "start": { - "line": 2, + "line": 1, "column": 45 }, "end": { - "line": 2, + "line": 1, "column": 49 } } @@ -1113,15 +912,15 @@ "updateContext": null }, "value": "./factory", - "start": 82, - "end": 93, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } } @@ -1139,15 +938,15 @@ "binop": null, "updateContext": null }, - "start": 93, - "end": 94, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, + "line": 1, "column": 61 }, "end": { - "line": 2, + "line": 1, "column": 62 } } @@ -1157,7 +956,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1167,15 +966,15 @@ "updateContext": null }, "value": "import", - "start": 95, - "end": 101, + "start": 63, + "end": 69, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } @@ -1192,15 +991,15 @@ "postfix": false, "binop": null }, - "start": 102, - "end": 103, + "start": 70, + "end": 71, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, + "line": 2, "column": 8 } } @@ -1218,15 +1017,15 @@ "binop": null }, "value": "PreValueApplicator", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } } @@ -1243,15 +1042,15 @@ "postfix": false, "binop": null }, - "start": 123, - "end": 124, + "start": 91, + "end": 92, "loc": { "start": { - "line": 3, + "line": 2, "column": 28 }, "end": { - "line": 3, + "line": 2, "column": 29 } } @@ -1269,15 +1068,15 @@ "binop": null }, "value": "from", - "start": 125, - "end": 129, + "start": 93, + "end": 97, "loc": { "start": { - "line": 3, + "line": 2, "column": 30 }, "end": { - "line": 3, + "line": 2, "column": 34 } } @@ -1296,15 +1095,15 @@ "updateContext": null }, "value": "./applicators", - "start": 130, - "end": 145, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } } @@ -1322,27 +1121,27 @@ "binop": null, "updateContext": null }, - "start": 145, - "end": 146, + "start": 113, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 50 }, "end": { - "line": 3, + "line": 2, "column": 51 } } }, { "type": "CommentBlock", - "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 147, - "end": 1053, + "value": "*\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 1024, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -1366,8 +1165,8 @@ "updateContext": null }, "value": "export", - "start": 1054, - "end": 1060, + "start": 1025, + "end": 1031, "loc": { "start": { "line": 28, @@ -1394,8 +1193,8 @@ "updateContext": null }, "value": "const", - "start": 1061, - "end": 1066, + "start": 1032, + "end": 1037, "loc": { "start": { "line": 28, @@ -1420,8 +1219,8 @@ "binop": null }, "value": "CurryAll", - "start": 1067, - "end": 1075, + "start": 1038, + "end": 1046, "loc": { "start": { "line": 28, @@ -1447,8 +1246,8 @@ "updateContext": null }, "value": "=", - "start": 1076, - "end": 1077, + "start": 1047, + "end": 1048, "loc": { "start": { "line": 28, @@ -1473,8 +1272,8 @@ "binop": null }, "value": "DecoratorFactory", - "start": 1078, - "end": 1094, + "start": 1049, + "end": 1065, "loc": { "start": { "line": 28, @@ -1499,8 +1298,8 @@ "binop": null, "updateContext": null }, - "start": 1094, - "end": 1095, + "start": 1065, + "end": 1066, "loc": { "start": { "line": 28, @@ -1525,8 +1324,8 @@ "binop": null }, "value": "createDecorator", - "start": 1095, - "end": 1110, + "start": 1066, + "end": 1081, "loc": { "start": { "line": 28, @@ -1550,8 +1349,8 @@ "postfix": false, "binop": null }, - "start": 1110, - "end": 1111, + "start": 1081, + "end": 1082, "loc": { "start": { "line": 28, @@ -1578,8 +1377,8 @@ "updateContext": null }, "value": "new", - "start": 1111, - "end": 1114, + "start": 1082, + "end": 1085, "loc": { "start": { "line": 28, @@ -1604,8 +1403,8 @@ "binop": null }, "value": "DecoratorConfig", - "start": 1115, - "end": 1130, + "start": 1086, + "end": 1101, "loc": { "start": { "line": 28, @@ -1629,8 +1428,8 @@ "postfix": false, "binop": null }, - "start": 1130, - "end": 1131, + "start": 1101, + "end": 1102, "loc": { "start": { "line": 28, @@ -1655,8 +1454,8 @@ "binop": null }, "value": "curry", - "start": 1131, - "end": 1136, + "start": 1102, + "end": 1107, "loc": { "start": { "line": 28, @@ -1681,8 +1480,8 @@ "binop": null, "updateContext": null }, - "start": 1136, - "end": 1137, + "start": 1107, + "end": 1108, "loc": { "start": { "line": 28, @@ -1709,8 +1508,8 @@ "updateContext": null }, "value": "new", - "start": 1138, - "end": 1141, + "start": 1109, + "end": 1112, "loc": { "start": { "line": 28, @@ -1735,8 +1534,8 @@ "binop": null }, "value": "PreValueApplicator", - "start": 1142, - "end": 1160, + "start": 1113, + "end": 1131, "loc": { "start": { "line": 28, @@ -1760,8 +1559,8 @@ "postfix": false, "binop": null }, - "start": 1160, - "end": 1161, + "start": 1131, + "end": 1132, "loc": { "start": { "line": 28, @@ -1785,8 +1584,8 @@ "postfix": false, "binop": null }, - "start": 1161, - "end": 1162, + "start": 1132, + "end": 1133, "loc": { "start": { "line": 28, @@ -1798,6 +1597,162 @@ } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1133, + "end": 1134, + "loc": { + "start": { + "line": 28, + "column": 108 + }, + "end": { + "line": 28, + "column": 109 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1135, + "end": 1136, + "loc": { + "start": { + "line": 28, + "column": 110 + }, + "end": { + "line": 28, + "column": 111 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 1137, + "end": 1151, + "loc": { + "start": { + "line": 28, + "column": 112 + }, + "end": { + "line": 28, + "column": 126 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1151, + "end": 1152, + "loc": { + "start": { + "line": 28, + "column": 126 + }, + "end": { + "line": 28, + "column": 127 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1153, + "end": 1157, + "loc": { + "start": { + "line": 28, + "column": 128 + }, + "end": { + "line": 28, + "column": 132 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1158, + "end": 1159, + "loc": { + "start": { + "line": 28, + "column": 133 + }, + "end": { + "line": 28, + "column": 134 + } + } + }, { "type": { "label": ")", @@ -1810,16 +1765,16 @@ "postfix": false, "binop": null }, - "start": 1162, - "end": 1163, + "start": 1159, + "end": 1160, "loc": { "start": { "line": 28, - "column": 108 + "column": 134 }, "end": { "line": 28, - "column": 109 + "column": 135 } } }, @@ -1835,16 +1790,16 @@ "postfix": false, "binop": null }, - "start": 1163, - "end": 1164, + "start": 1160, + "end": 1161, "loc": { "start": { "line": 28, - "column": 109 + "column": 135 }, "end": { "line": 28, - "column": 110 + "column": 136 } } }, @@ -1861,16 +1816,16 @@ "binop": null, "updateContext": null }, - "start": 1164, - "end": 1165, + "start": 1161, + "end": 1162, "loc": { "start": { "line": 28, - "column": 110 + "column": 136 }, "end": { "line": 28, - "column": 111 + "column": 137 } } }, @@ -1889,8 +1844,8 @@ "updateContext": null }, "value": "export", - "start": 1166, - "end": 1172, + "start": 1163, + "end": 1169, "loc": { "start": { "line": 29, @@ -1914,8 +1869,8 @@ "postfix": false, "binop": null }, - "start": 1173, - "end": 1174, + "start": 1170, + "end": 1171, "loc": { "start": { "line": 29, @@ -1940,8 +1895,8 @@ "binop": null }, "value": "CurryAll", - "start": 1175, - "end": 1183, + "start": 1172, + "end": 1180, "loc": { "start": { "line": 29, @@ -1966,8 +1921,8 @@ "binop": null }, "value": "as", - "start": 1184, - "end": 1186, + "start": 1181, + "end": 1183, "loc": { "start": { "line": 29, @@ -1992,8 +1947,8 @@ "binop": null }, "value": "curryAll", - "start": 1187, - "end": 1195, + "start": 1184, + "end": 1192, "loc": { "start": { "line": 29, @@ -2017,8 +1972,8 @@ "postfix": false, "binop": null }, - "start": 1196, - "end": 1197, + "start": 1193, + "end": 1194, "loc": { "start": { "line": 29, @@ -2043,8 +1998,8 @@ "binop": null, "updateContext": null }, - "start": 1197, - "end": 1198, + "start": 1194, + "end": 1195, "loc": { "start": { "line": 29, @@ -2071,8 +2026,8 @@ "updateContext": null }, "value": "export", - "start": 1199, - "end": 1205, + "start": 1196, + "end": 1202, "loc": { "start": { "line": 30, @@ -2099,8 +2054,8 @@ "updateContext": null }, "value": "default", - "start": 1206, - "end": 1213, + "start": 1203, + "end": 1210, "loc": { "start": { "line": 30, @@ -2125,8 +2080,8 @@ "binop": null }, "value": "CurryAll", - "start": 1214, - "end": 1222, + "start": 1211, + "end": 1219, "loc": { "start": { "line": 30, @@ -2151,8 +2106,8 @@ "binop": null, "updateContext": null }, - "start": 1222, - "end": 1223, + "start": 1219, + "end": 1220, "loc": { "start": { "line": 30, @@ -2177,8 +2132,8 @@ "binop": null, "updateContext": null }, - "start": 1224, - "end": 1224, + "start": 1221, + "end": 1221, "loc": { "start": { "line": 31, diff --git a/docs/ast/source/curryRight.js.json b/docs/ast/source/curryRight.ts.json similarity index 81% rename from docs/ast/source/curryRight.js.json rename to docs/ast/source/curryRight.ts.json index d000b58..a83f10e 100644 --- a/docs/ast/source/curryRight.js.json +++ b/docs/ast/source/curryRight.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1207, + "end": 1195, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1207, + "end": 1195, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 36, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 36 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 19, + "end": 24, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 19 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 19, + "end": 24, "loc": { "start": { "line": 1, @@ -68,92 +68,6 @@ }, "end": { "line": 1, - "column": 19 - }, - "identifierName": "curryRight" - }, - "name": "curryRight" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "curryRight" - }, - "name": "curryRight" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 27, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 37, - "end": 99, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 46, - "end": 61, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 46, - "end": 61, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 46, - "end": 61, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 63, - "end": 79, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 63, - "end": 79, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 63, - "end": 79, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 87, - "end": 98, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 100, - "end": 151, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 109, - "end": 127, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 109, - "end": 127, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 109, - "end": 127, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 135, - "end": 150, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -337,12 +251,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 152, - "end": 998, + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 964, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -355,8 +269,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 999, - "end": 1142, + "start": 965, + "end": 1130, "loc": { "start": { "line": 30, @@ -364,15 +278,15 @@ }, "end": { "line": 30, - "column": 143 + "column": 165 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 1006, - "end": 1142, + "start": 972, + "end": 1130, "loc": { "start": { "line": 30, @@ -380,14 +294,14 @@ }, "end": { "line": 30, - "column": 143 + "column": 165 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1012, - "end": 1141, + "start": 978, + "end": 1129, "loc": { "start": { "line": 30, @@ -395,13 +309,13 @@ }, "end": { "line": 30, - "column": 142 + "column": 164 } }, "id": { "type": "Identifier", - "start": 1012, - "end": 1022, + "start": 978, + "end": 988, "loc": { "start": { "line": 30, @@ -418,8 +332,8 @@ }, "init": { "type": "CallExpression", - "start": 1025, - "end": 1141, + "start": 991, + "end": 1129, "loc": { "start": { "line": 30, @@ -427,13 +341,13 @@ }, "end": { "line": 30, - "column": 142 + "column": 164 } }, "callee": { "type": "MemberExpression", - "start": 1025, - "end": 1065, + "start": 991, + "end": 1031, "loc": { "start": { "line": 30, @@ -446,8 +360,8 @@ }, "object": { "type": "Identifier", - "start": 1025, - "end": 1041, + "start": 991, + "end": 1007, "loc": { "start": { "line": 30, @@ -463,8 +377,8 @@ }, "property": { "type": "Identifier", - "start": 1042, - "end": 1065, + "start": 1008, + "end": 1031, "loc": { "start": { "line": 30, @@ -483,8 +397,8 @@ "arguments": [ { "type": "NewExpression", - "start": 1066, - "end": 1140, + "start": 1032, + "end": 1128, "loc": { "start": { "line": 30, @@ -492,13 +406,13 @@ }, "end": { "line": 30, - "column": 141 + "column": 163 } }, "callee": { "type": "Identifier", - "start": 1070, - "end": 1085, + "start": 1036, + "end": 1051, "loc": { "start": { "line": 30, @@ -515,8 +429,8 @@ "arguments": [ { "type": "Identifier", - "start": 1086, - "end": 1096, + "start": 1052, + "end": 1062, "loc": { "start": { "line": 30, @@ -532,8 +446,8 @@ }, { "type": "NewExpression", - "start": 1098, - "end": 1122, + "start": 1064, + "end": 1088, "loc": { "start": { "line": 30, @@ -546,8 +460,8 @@ }, "callee": { "type": "Identifier", - "start": 1102, - "end": 1120, + "start": 1068, + "end": 1086, "loc": { "start": { "line": 30, @@ -565,8 +479,8 @@ }, { "type": "ObjectExpression", - "start": 1124, - "end": 1139, + "start": 1090, + "end": 1127, "loc": { "start": { "line": 30, @@ -574,14 +488,14 @@ }, "end": { "line": 30, - "column": 140 + "column": 162 } }, "properties": [ { "type": "ObjectProperty", - "start": 1126, - "end": 1137, + "start": 1092, + "end": 1103, "loc": { "start": { "line": 30, @@ -597,8 +511,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1126, - "end": 1131, + "start": 1092, + "end": 1097, "loc": { "start": { "line": 30, @@ -614,8 +528,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 1133, - "end": 1137, + "start": 1099, + "end": 1103, "loc": { "start": { "line": 30, @@ -628,6 +542,57 @@ }, "value": true } + }, + { + "type": "ObjectProperty", + "start": 1105, + "end": 1125, + "loc": { + "start": { + "line": 30, + "column": 140 + }, + "end": { + "line": 30, + "column": 160 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1105, + "end": 1119, + "loc": { + "start": { + "line": 30, + "column": 140 + }, + "end": { + "line": 30, + "column": 154 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 1121, + "end": 1125, + "loc": { + "start": { + "line": 30, + "column": 156 + }, + "end": { + "line": 30, + "column": 160 + } + }, + "value": true + } } ] } @@ -642,12 +607,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 152, - "end": 998, + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 964, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -662,12 +627,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 152, - "end": 998, + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 964, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -680,8 +645,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1143, - "end": 1179, + "start": 1131, + "end": 1167, "loc": { "start": { "line": 31, @@ -696,8 +661,8 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 1152, - "end": 1176, + "start": 1140, + "end": 1164, "loc": { "start": { "line": 31, @@ -710,8 +675,8 @@ }, "local": { "type": "Identifier", - "start": 1152, - "end": 1162, + "start": 1140, + "end": 1150, "loc": { "start": { "line": 31, @@ -727,8 +692,8 @@ }, "exported": { "type": "Identifier", - "start": 1166, - "end": 1176, + "start": 1154, + "end": 1164, "loc": { "start": { "line": 31, @@ -748,8 +713,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 1180, - "end": 1206, + "start": 1168, + "end": 1194, "loc": { "start": { "line": 32, @@ -759,238 +724,55 @@ "line": 32, "column": 26 } - }, - "declaration": { - "type": "Identifier", - "start": 1195, - "end": 1205, - "loc": { - "start": { - "line": 32, - "column": 15 - }, - "end": { - "line": 32, - "column": 25 - }, - "identifierName": "CurryRight" - }, - "name": "CurryRight", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 152, - "end": 998, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 29, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "curryRight", - "start": 9, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 20, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 22, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 27, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 35 + }, + "declaration": { + "type": "Identifier", + "start": 1183, + "end": 1193, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 25 + }, + "identifierName": "CurryRight" + }, + "name": "CurryRight", + "leadingComments": [], + "trailingComments": [] } } - }, + ], + "directives": [] + }, + "comments": [ { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 35, - "end": 36, + "type": "CommentBlock", + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 964, "loc": { "start": { - "line": 1, - "column": 35 + "line": 3, + "column": 0 }, "end": { - "line": 1, - "column": 36 + "line": 29, + "column": 3 } } - }, + } + ], + "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1000,15 +782,15 @@ "updateContext": null }, "value": "import", - "start": 37, - "end": 43, + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, + "line": 1, "column": 6 } } @@ -1025,15 +807,15 @@ "postfix": false, "binop": null }, - "start": 44, - "end": 45, + "start": 7, + "end": 8, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 2, + "line": 1, "column": 8 } } @@ -1051,15 +833,15 @@ "binop": null }, "value": "DecoratorConfig", - "start": 46, - "end": 61, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 } } @@ -1077,15 +859,15 @@ "binop": null, "updateContext": null }, - "start": 61, - "end": 62, + "start": 24, + "end": 25, "loc": { "start": { - "line": 2, + "line": 1, "column": 24 }, "end": { - "line": 2, + "line": 1, "column": 25 } } @@ -1103,15 +885,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 63, - "end": 79, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } } @@ -1128,15 +910,15 @@ "postfix": false, "binop": null }, - "start": 80, - "end": 81, + "start": 43, + "end": 44, "loc": { "start": { - "line": 2, + "line": 1, "column": 43 }, "end": { - "line": 2, + "line": 1, "column": 44 } } @@ -1154,15 +936,15 @@ "binop": null }, "value": "from", - "start": 82, - "end": 86, + "start": 45, + "end": 49, "loc": { "start": { - "line": 2, + "line": 1, "column": 45 }, "end": { - "line": 2, + "line": 1, "column": 49 } } @@ -1181,15 +963,15 @@ "updateContext": null }, "value": "./factory", - "start": 87, - "end": 98, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } } @@ -1207,15 +989,15 @@ "binop": null, "updateContext": null }, - "start": 98, - "end": 99, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, + "line": 1, "column": 61 }, "end": { - "line": 2, + "line": 1, "column": 62 } } @@ -1225,7 +1007,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1235,15 +1017,15 @@ "updateContext": null }, "value": "import", - "start": 100, - "end": 106, + "start": 63, + "end": 69, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } @@ -1260,15 +1042,15 @@ "postfix": false, "binop": null }, - "start": 107, - "end": 108, + "start": 70, + "end": 71, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, + "line": 2, "column": 8 } } @@ -1286,15 +1068,15 @@ "binop": null }, "value": "PreValueApplicator", - "start": 109, - "end": 127, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } } @@ -1311,15 +1093,15 @@ "postfix": false, "binop": null }, - "start": 128, - "end": 129, + "start": 91, + "end": 92, "loc": { "start": { - "line": 3, + "line": 2, "column": 28 }, "end": { - "line": 3, + "line": 2, "column": 29 } } @@ -1337,15 +1119,15 @@ "binop": null }, "value": "from", - "start": 130, - "end": 134, + "start": 93, + "end": 97, "loc": { "start": { - "line": 3, + "line": 2, "column": 30 }, "end": { - "line": 3, + "line": 2, "column": 34 } } @@ -1364,15 +1146,15 @@ "updateContext": null }, "value": "./applicators", - "start": 135, - "end": 150, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } } @@ -1390,27 +1172,27 @@ "binop": null, "updateContext": null }, - "start": 150, - "end": 151, + "start": 113, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 50 }, "end": { - "line": 3, + "line": 2, "column": 51 } } }, { "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", - "start": 152, - "end": 998, + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n ", + "start": 115, + "end": 964, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -1434,8 +1216,8 @@ "updateContext": null }, "value": "export", - "start": 999, - "end": 1005, + "start": 965, + "end": 971, "loc": { "start": { "line": 30, @@ -1462,8 +1244,8 @@ "updateContext": null }, "value": "const", - "start": 1006, - "end": 1011, + "start": 972, + "end": 977, "loc": { "start": { "line": 30, @@ -1488,8 +1270,8 @@ "binop": null }, "value": "CurryRight", - "start": 1012, - "end": 1022, + "start": 978, + "end": 988, "loc": { "start": { "line": 30, @@ -1515,8 +1297,8 @@ "updateContext": null }, "value": "=", - "start": 1023, - "end": 1024, + "start": 989, + "end": 990, "loc": { "start": { "line": 30, @@ -1541,8 +1323,8 @@ "binop": null }, "value": "DecoratorFactory", - "start": 1025, - "end": 1041, + "start": 991, + "end": 1007, "loc": { "start": { "line": 30, @@ -1567,8 +1349,8 @@ "binop": null, "updateContext": null }, - "start": 1041, - "end": 1042, + "start": 1007, + "end": 1008, "loc": { "start": { "line": 30, @@ -1593,8 +1375,8 @@ "binop": null }, "value": "createInstanceDecorator", - "start": 1042, - "end": 1065, + "start": 1008, + "end": 1031, "loc": { "start": { "line": 30, @@ -1618,8 +1400,8 @@ "postfix": false, "binop": null }, - "start": 1065, - "end": 1066, + "start": 1031, + "end": 1032, "loc": { "start": { "line": 30, @@ -1646,8 +1428,8 @@ "updateContext": null }, "value": "new", - "start": 1066, - "end": 1069, + "start": 1032, + "end": 1035, "loc": { "start": { "line": 30, @@ -1672,8 +1454,8 @@ "binop": null }, "value": "DecoratorConfig", - "start": 1070, - "end": 1085, + "start": 1036, + "end": 1051, "loc": { "start": { "line": 30, @@ -1697,8 +1479,8 @@ "postfix": false, "binop": null }, - "start": 1085, - "end": 1086, + "start": 1051, + "end": 1052, "loc": { "start": { "line": 30, @@ -1723,8 +1505,8 @@ "binop": null }, "value": "curryRight", - "start": 1086, - "end": 1096, + "start": 1052, + "end": 1062, "loc": { "start": { "line": 30, @@ -1749,8 +1531,8 @@ "binop": null, "updateContext": null }, - "start": 1096, - "end": 1097, + "start": 1062, + "end": 1063, "loc": { "start": { "line": 30, @@ -1777,8 +1559,8 @@ "updateContext": null }, "value": "new", - "start": 1098, - "end": 1101, + "start": 1064, + "end": 1067, "loc": { "start": { "line": 30, @@ -1803,8 +1585,8 @@ "binop": null }, "value": "PreValueApplicator", - "start": 1102, - "end": 1120, + "start": 1068, + "end": 1086, "loc": { "start": { "line": 30, @@ -1828,8 +1610,8 @@ "postfix": false, "binop": null }, - "start": 1120, - "end": 1121, + "start": 1086, + "end": 1087, "loc": { "start": { "line": 30, @@ -1853,8 +1635,8 @@ "postfix": false, "binop": null }, - "start": 1121, - "end": 1122, + "start": 1087, + "end": 1088, "loc": { "start": { "line": 30, @@ -1879,8 +1661,8 @@ "binop": null, "updateContext": null }, - "start": 1122, - "end": 1123, + "start": 1088, + "end": 1089, "loc": { "start": { "line": 30, @@ -1904,8 +1686,8 @@ "postfix": false, "binop": null }, - "start": 1124, - "end": 1125, + "start": 1090, + "end": 1091, "loc": { "start": { "line": 30, @@ -1930,8 +1712,8 @@ "binop": null }, "value": "bound", - "start": 1126, - "end": 1131, + "start": 1092, + "end": 1097, "loc": { "start": { "line": 30, @@ -1956,8 +1738,8 @@ "binop": null, "updateContext": null }, - "start": 1131, - "end": 1132, + "start": 1097, + "end": 1098, "loc": { "start": { "line": 30, @@ -1984,8 +1766,8 @@ "updateContext": null }, "value": "true", - "start": 1133, - "end": 1137, + "start": 1099, + "end": 1103, "loc": { "start": { "line": 30, @@ -1997,6 +1779,112 @@ } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1103, + "end": 1104, + "loc": { + "start": { + "line": 30, + "column": 138 + }, + "end": { + "line": 30, + "column": 139 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 1105, + "end": 1119, + "loc": { + "start": { + "line": 30, + "column": 140 + }, + "end": { + "line": 30, + "column": 154 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1119, + "end": 1120, + "loc": { + "start": { + "line": 30, + "column": 154 + }, + "end": { + "line": 30, + "column": 155 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1121, + "end": 1125, + "loc": { + "start": { + "line": 30, + "column": 156 + }, + "end": { + "line": 30, + "column": 160 + } + } + }, { "type": { "label": "}", @@ -2009,16 +1897,16 @@ "postfix": false, "binop": null }, - "start": 1138, - "end": 1139, + "start": 1126, + "end": 1127, "loc": { "start": { "line": 30, - "column": 139 + "column": 161 }, "end": { "line": 30, - "column": 140 + "column": 162 } } }, @@ -2034,16 +1922,16 @@ "postfix": false, "binop": null }, - "start": 1139, - "end": 1140, + "start": 1127, + "end": 1128, "loc": { "start": { "line": 30, - "column": 140 + "column": 162 }, "end": { "line": 30, - "column": 141 + "column": 163 } } }, @@ -2059,16 +1947,16 @@ "postfix": false, "binop": null }, - "start": 1140, - "end": 1141, + "start": 1128, + "end": 1129, "loc": { "start": { "line": 30, - "column": 141 + "column": 163 }, "end": { "line": 30, - "column": 142 + "column": 164 } } }, @@ -2085,16 +1973,16 @@ "binop": null, "updateContext": null }, - "start": 1141, - "end": 1142, + "start": 1129, + "end": 1130, "loc": { "start": { "line": 30, - "column": 142 + "column": 164 }, "end": { "line": 30, - "column": 143 + "column": 165 } } }, @@ -2113,8 +2001,8 @@ "updateContext": null }, "value": "export", - "start": 1143, - "end": 1149, + "start": 1131, + "end": 1137, "loc": { "start": { "line": 31, @@ -2138,8 +2026,8 @@ "postfix": false, "binop": null }, - "start": 1150, - "end": 1151, + "start": 1138, + "end": 1139, "loc": { "start": { "line": 31, @@ -2164,8 +2052,8 @@ "binop": null }, "value": "CurryRight", - "start": 1152, - "end": 1162, + "start": 1140, + "end": 1150, "loc": { "start": { "line": 31, @@ -2190,8 +2078,8 @@ "binop": null }, "value": "as", - "start": 1163, - "end": 1165, + "start": 1151, + "end": 1153, "loc": { "start": { "line": 31, @@ -2216,8 +2104,8 @@ "binop": null }, "value": "curryRight", - "start": 1166, - "end": 1176, + "start": 1154, + "end": 1164, "loc": { "start": { "line": 31, @@ -2241,8 +2129,8 @@ "postfix": false, "binop": null }, - "start": 1177, - "end": 1178, + "start": 1165, + "end": 1166, "loc": { "start": { "line": 31, @@ -2267,8 +2155,8 @@ "binop": null, "updateContext": null }, - "start": 1178, - "end": 1179, + "start": 1166, + "end": 1167, "loc": { "start": { "line": 31, @@ -2295,8 +2183,8 @@ "updateContext": null }, "value": "export", - "start": 1180, - "end": 1186, + "start": 1168, + "end": 1174, "loc": { "start": { "line": 32, @@ -2323,8 +2211,8 @@ "updateContext": null }, "value": "default", - "start": 1187, - "end": 1194, + "start": 1175, + "end": 1182, "loc": { "start": { "line": 32, @@ -2349,8 +2237,8 @@ "binop": null }, "value": "CurryRight", - "start": 1195, - "end": 1205, + "start": 1183, + "end": 1193, "loc": { "start": { "line": 32, @@ -2375,8 +2263,8 @@ "binop": null, "updateContext": null }, - "start": 1205, - "end": 1206, + "start": 1193, + "end": 1194, "loc": { "start": { "line": 32, @@ -2401,8 +2289,8 @@ "binop": null, "updateContext": null }, - "start": 1207, - "end": 1207, + "start": 1195, + "end": 1195, "loc": { "start": { "line": 33, diff --git a/docs/ast/source/curryRightAll.js.json b/docs/ast/source/curryRightAll.ts.json similarity index 82% rename from docs/ast/source/curryRightAll.js.json rename to docs/ast/source/curryRightAll.ts.json index 6e75462..012d218 100644 --- a/docs/ast/source/curryRightAll.js.json +++ b/docs/ast/source/curryRightAll.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 1155, + "end": 1147, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 1155, + "end": 1147, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 36, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 36 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 19, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 19 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "curryRight" - }, - "name": "curryRight" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 19, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 19 - }, - "identifierName": "curryRight" - }, - "name": "curryRight" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 27, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 37, - "end": 99, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 46, - "end": 61, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 46, - "end": 61, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 46, - "end": 61, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 63, - "end": 79, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 63, - "end": 79, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 63, - "end": 79, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 87, - "end": 98, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 100, - "end": 151, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 109, - "end": 127, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 109, - "end": 127, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 109, - "end": 127, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 135, - "end": 150, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -337,12 +251,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 152, - "end": 959, + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 925, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -355,8 +269,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 960, - "end": 1081, + "start": 926, + "end": 1073, "loc": { "start": { "line": 28, @@ -364,15 +278,15 @@ }, "end": { "line": 28, - "column": 121 + "column": 147 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 967, - "end": 1081, + "start": 933, + "end": 1073, "loc": { "start": { "line": 28, @@ -380,14 +294,14 @@ }, "end": { "line": 28, - "column": 121 + "column": 147 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 973, - "end": 1080, + "start": 939, + "end": 1072, "loc": { "start": { "line": 28, @@ -395,13 +309,13 @@ }, "end": { "line": 28, - "column": 120 + "column": 146 } }, "id": { "type": "Identifier", - "start": 973, - "end": 986, + "start": 939, + "end": 952, "loc": { "start": { "line": 28, @@ -418,8 +332,8 @@ }, "init": { "type": "CallExpression", - "start": 989, - "end": 1080, + "start": 955, + "end": 1072, "loc": { "start": { "line": 28, @@ -427,13 +341,13 @@ }, "end": { "line": 28, - "column": 120 + "column": 146 } }, "callee": { "type": "MemberExpression", - "start": 989, - "end": 1021, + "start": 955, + "end": 987, "loc": { "start": { "line": 28, @@ -446,8 +360,8 @@ }, "object": { "type": "Identifier", - "start": 989, - "end": 1005, + "start": 955, + "end": 971, "loc": { "start": { "line": 28, @@ -463,8 +377,8 @@ }, "property": { "type": "Identifier", - "start": 1006, - "end": 1021, + "start": 972, + "end": 987, "loc": { "start": { "line": 28, @@ -483,8 +397,8 @@ "arguments": [ { "type": "NewExpression", - "start": 1022, - "end": 1079, + "start": 988, + "end": 1071, "loc": { "start": { "line": 28, @@ -492,13 +406,13 @@ }, "end": { "line": 28, - "column": 119 + "column": 145 } }, "callee": { "type": "Identifier", - "start": 1026, - "end": 1041, + "start": 992, + "end": 1007, "loc": { "start": { "line": 28, @@ -515,8 +429,8 @@ "arguments": [ { "type": "Identifier", - "start": 1042, - "end": 1052, + "start": 1008, + "end": 1018, "loc": { "start": { "line": 28, @@ -532,8 +446,8 @@ }, { "type": "NewExpression", - "start": 1054, - "end": 1078, + "start": 1020, + "end": 1044, "loc": { "start": { "line": 28, @@ -546,8 +460,8 @@ }, "callee": { "type": "Identifier", - "start": 1058, - "end": 1076, + "start": 1024, + "end": 1042, "loc": { "start": { "line": 28, @@ -562,6 +476,74 @@ "name": "PreValueApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 1046, + "end": 1070, + "loc": { + "start": { + "line": 28, + "column": 120 + }, + "end": { + "line": 28, + "column": 144 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1048, + "end": 1068, + "loc": { + "start": { + "line": 28, + "column": 122 + }, + "end": { + "line": 28, + "column": 142 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1048, + "end": 1062, + "loc": { + "start": { + "line": 28, + "column": 122 + }, + "end": { + "line": 28, + "column": 136 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 1064, + "end": 1068, + "loc": { + "start": { + "line": 28, + "column": 138 + }, + "end": { + "line": 28, + "column": 142 + } + }, + "value": true + } + } + ] } ] } @@ -574,12 +556,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 152, - "end": 959, + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 925, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -594,12 +576,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 152, - "end": 959, + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 925, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -612,8 +594,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1082, - "end": 1124, + "start": 1074, + "end": 1116, "loc": { "start": { "line": 29, @@ -628,8 +610,8 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 1091, - "end": 1121, + "start": 1083, + "end": 1113, "loc": { "start": { "line": 29, @@ -642,8 +624,8 @@ }, "local": { "type": "Identifier", - "start": 1091, - "end": 1104, + "start": 1083, + "end": 1096, "loc": { "start": { "line": 29, @@ -659,8 +641,8 @@ }, "exported": { "type": "Identifier", - "start": 1108, - "end": 1121, + "start": 1100, + "end": 1113, "loc": { "start": { "line": 29, @@ -680,8 +662,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 1125, - "end": 1154, + "start": 1117, + "end": 1146, "loc": { "start": { "line": 30, @@ -694,8 +676,8 @@ }, "declaration": { "type": "Identifier", - "start": 1140, - "end": 1153, + "start": 1132, + "end": 1145, "loc": { "start": { "line": 30, @@ -718,12 +700,12 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 152, - "end": 959, + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 925, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -739,7 +721,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -799,9 +781,9 @@ "postfix": false, "binop": null }, - "value": "curryRight", + "value": "DecoratorConfig", "start": 9, - "end": 19, + "end": 24, "loc": { "start": { "line": 1, @@ -809,189 +791,6 @@ }, "end": { "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 20, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 22, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 27, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 37, - "end": 43, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 44, - "end": 45, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 46, - "end": 61, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 } } @@ -1009,15 +808,15 @@ "binop": null, "updateContext": null }, - "start": 61, - "end": 62, + "start": 24, + "end": 25, "loc": { "start": { - "line": 2, + "line": 1, "column": 24 }, "end": { - "line": 2, + "line": 1, "column": 25 } } @@ -1035,15 +834,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 63, - "end": 79, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } } @@ -1060,15 +859,15 @@ "postfix": false, "binop": null }, - "start": 80, - "end": 81, + "start": 43, + "end": 44, "loc": { "start": { - "line": 2, + "line": 1, "column": 43 }, "end": { - "line": 2, + "line": 1, "column": 44 } } @@ -1086,15 +885,15 @@ "binop": null }, "value": "from", - "start": 82, - "end": 86, + "start": 45, + "end": 49, "loc": { "start": { - "line": 2, + "line": 1, "column": 45 }, "end": { - "line": 2, + "line": 1, "column": 49 } } @@ -1113,15 +912,15 @@ "updateContext": null }, "value": "./factory", - "start": 87, - "end": 98, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } } @@ -1139,15 +938,15 @@ "binop": null, "updateContext": null }, - "start": 98, - "end": 99, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, + "line": 1, "column": 61 }, "end": { - "line": 2, + "line": 1, "column": 62 } } @@ -1157,7 +956,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1167,15 +966,15 @@ "updateContext": null }, "value": "import", - "start": 100, - "end": 106, + "start": 63, + "end": 69, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } @@ -1192,15 +991,15 @@ "postfix": false, "binop": null }, - "start": 107, - "end": 108, + "start": 70, + "end": 71, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, + "line": 2, "column": 8 } } @@ -1218,15 +1017,15 @@ "binop": null }, "value": "PreValueApplicator", - "start": 109, - "end": 127, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } } @@ -1243,15 +1042,15 @@ "postfix": false, "binop": null }, - "start": 128, - "end": 129, + "start": 91, + "end": 92, "loc": { "start": { - "line": 3, + "line": 2, "column": 28 }, "end": { - "line": 3, + "line": 2, "column": 29 } } @@ -1269,15 +1068,15 @@ "binop": null }, "value": "from", - "start": 130, - "end": 134, + "start": 93, + "end": 97, "loc": { "start": { - "line": 3, + "line": 2, "column": 30 }, "end": { - "line": 3, + "line": 2, "column": 34 } } @@ -1296,15 +1095,15 @@ "updateContext": null }, "value": "./applicators", - "start": 135, - "end": 150, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } } @@ -1322,27 +1121,27 @@ "binop": null, "updateContext": null }, - "start": 150, - "end": 151, + "start": 113, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 50 }, "end": { - "line": 3, + "line": 2, "column": 51 } } }, { "type": "CommentBlock", - "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", - "start": 152, - "end": 959, + "value": "*\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n ", + "start": 115, + "end": 925, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -1366,8 +1165,8 @@ "updateContext": null }, "value": "export", - "start": 960, - "end": 966, + "start": 926, + "end": 932, "loc": { "start": { "line": 28, @@ -1394,8 +1193,8 @@ "updateContext": null }, "value": "const", - "start": 967, - "end": 972, + "start": 933, + "end": 938, "loc": { "start": { "line": 28, @@ -1420,8 +1219,8 @@ "binop": null }, "value": "CurryRightAll", - "start": 973, - "end": 986, + "start": 939, + "end": 952, "loc": { "start": { "line": 28, @@ -1447,8 +1246,8 @@ "updateContext": null }, "value": "=", - "start": 987, - "end": 988, + "start": 953, + "end": 954, "loc": { "start": { "line": 28, @@ -1473,8 +1272,8 @@ "binop": null }, "value": "DecoratorFactory", - "start": 989, - "end": 1005, + "start": 955, + "end": 971, "loc": { "start": { "line": 28, @@ -1499,8 +1298,8 @@ "binop": null, "updateContext": null }, - "start": 1005, - "end": 1006, + "start": 971, + "end": 972, "loc": { "start": { "line": 28, @@ -1525,8 +1324,8 @@ "binop": null }, "value": "createDecorator", - "start": 1006, - "end": 1021, + "start": 972, + "end": 987, "loc": { "start": { "line": 28, @@ -1550,8 +1349,8 @@ "postfix": false, "binop": null }, - "start": 1021, - "end": 1022, + "start": 987, + "end": 988, "loc": { "start": { "line": 28, @@ -1578,8 +1377,8 @@ "updateContext": null }, "value": "new", - "start": 1022, - "end": 1025, + "start": 988, + "end": 991, "loc": { "start": { "line": 28, @@ -1604,8 +1403,8 @@ "binop": null }, "value": "DecoratorConfig", - "start": 1026, - "end": 1041, + "start": 992, + "end": 1007, "loc": { "start": { "line": 28, @@ -1629,8 +1428,8 @@ "postfix": false, "binop": null }, - "start": 1041, - "end": 1042, + "start": 1007, + "end": 1008, "loc": { "start": { "line": 28, @@ -1655,8 +1454,8 @@ "binop": null }, "value": "curryRight", - "start": 1042, - "end": 1052, + "start": 1008, + "end": 1018, "loc": { "start": { "line": 28, @@ -1681,8 +1480,8 @@ "binop": null, "updateContext": null }, - "start": 1052, - "end": 1053, + "start": 1018, + "end": 1019, "loc": { "start": { "line": 28, @@ -1709,8 +1508,8 @@ "updateContext": null }, "value": "new", - "start": 1054, - "end": 1057, + "start": 1020, + "end": 1023, "loc": { "start": { "line": 28, @@ -1735,8 +1534,8 @@ "binop": null }, "value": "PreValueApplicator", - "start": 1058, - "end": 1076, + "start": 1024, + "end": 1042, "loc": { "start": { "line": 28, @@ -1760,8 +1559,8 @@ "postfix": false, "binop": null }, - "start": 1076, - "end": 1077, + "start": 1042, + "end": 1043, "loc": { "start": { "line": 28, @@ -1785,8 +1584,8 @@ "postfix": false, "binop": null }, - "start": 1077, - "end": 1078, + "start": 1043, + "end": 1044, "loc": { "start": { "line": 28, @@ -1798,6 +1597,162 @@ } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1044, + "end": 1045, + "loc": { + "start": { + "line": 28, + "column": 118 + }, + "end": { + "line": 28, + "column": 119 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1046, + "end": 1047, + "loc": { + "start": { + "line": 28, + "column": 120 + }, + "end": { + "line": 28, + "column": 121 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 1048, + "end": 1062, + "loc": { + "start": { + "line": 28, + "column": 122 + }, + "end": { + "line": 28, + "column": 136 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1062, + "end": 1063, + "loc": { + "start": { + "line": 28, + "column": 136 + }, + "end": { + "line": 28, + "column": 137 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1064, + "end": 1068, + "loc": { + "start": { + "line": 28, + "column": 138 + }, + "end": { + "line": 28, + "column": 142 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1069, + "end": 1070, + "loc": { + "start": { + "line": 28, + "column": 143 + }, + "end": { + "line": 28, + "column": 144 + } + } + }, { "type": { "label": ")", @@ -1810,16 +1765,16 @@ "postfix": false, "binop": null }, - "start": 1078, - "end": 1079, + "start": 1070, + "end": 1071, "loc": { "start": { "line": 28, - "column": 118 + "column": 144 }, "end": { "line": 28, - "column": 119 + "column": 145 } } }, @@ -1835,16 +1790,16 @@ "postfix": false, "binop": null }, - "start": 1079, - "end": 1080, + "start": 1071, + "end": 1072, "loc": { "start": { "line": 28, - "column": 119 + "column": 145 }, "end": { "line": 28, - "column": 120 + "column": 146 } } }, @@ -1861,16 +1816,16 @@ "binop": null, "updateContext": null }, - "start": 1080, - "end": 1081, + "start": 1072, + "end": 1073, "loc": { "start": { "line": 28, - "column": 120 + "column": 146 }, "end": { "line": 28, - "column": 121 + "column": 147 } } }, @@ -1889,8 +1844,8 @@ "updateContext": null }, "value": "export", - "start": 1082, - "end": 1088, + "start": 1074, + "end": 1080, "loc": { "start": { "line": 29, @@ -1914,8 +1869,8 @@ "postfix": false, "binop": null }, - "start": 1089, - "end": 1090, + "start": 1081, + "end": 1082, "loc": { "start": { "line": 29, @@ -1940,8 +1895,8 @@ "binop": null }, "value": "CurryRightAll", - "start": 1091, - "end": 1104, + "start": 1083, + "end": 1096, "loc": { "start": { "line": 29, @@ -1966,8 +1921,8 @@ "binop": null }, "value": "as", - "start": 1105, - "end": 1107, + "start": 1097, + "end": 1099, "loc": { "start": { "line": 29, @@ -1992,8 +1947,8 @@ "binop": null }, "value": "curryRightAll", - "start": 1108, - "end": 1121, + "start": 1100, + "end": 1113, "loc": { "start": { "line": 29, @@ -2017,8 +1972,8 @@ "postfix": false, "binop": null }, - "start": 1122, - "end": 1123, + "start": 1114, + "end": 1115, "loc": { "start": { "line": 29, @@ -2043,8 +1998,8 @@ "binop": null, "updateContext": null }, - "start": 1123, - "end": 1124, + "start": 1115, + "end": 1116, "loc": { "start": { "line": 29, @@ -2071,8 +2026,8 @@ "updateContext": null }, "value": "export", - "start": 1125, - "end": 1131, + "start": 1117, + "end": 1123, "loc": { "start": { "line": 30, @@ -2099,8 +2054,8 @@ "updateContext": null }, "value": "default", - "start": 1132, - "end": 1139, + "start": 1124, + "end": 1131, "loc": { "start": { "line": 30, @@ -2125,8 +2080,8 @@ "binop": null }, "value": "CurryRightAll", - "start": 1140, - "end": 1153, + "start": 1132, + "end": 1145, "loc": { "start": { "line": 30, @@ -2151,8 +2106,8 @@ "binop": null, "updateContext": null }, - "start": 1153, - "end": 1154, + "start": 1145, + "end": 1146, "loc": { "start": { "line": 30, @@ -2177,8 +2132,8 @@ "binop": null, "updateContext": null }, - "start": 1155, - "end": 1155, + "start": 1147, + "end": 1147, "loc": { "start": { "line": 31, diff --git a/docs/ast/source/debounce.js.json b/docs/ast/source/debounce.js.json deleted file mode 100644 index 1a949ca..0000000 --- a/docs/ast/source/debounce.js.json +++ /dev/null @@ -1,2418 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1714, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 42, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1714, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 42, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - }, - "identifierName": "debounce" - }, - "name": "debounce" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - }, - "identifierName": "debounce" - }, - "name": "debounce" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 35, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 98, - "end": 149, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 51 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "imported": { - "type": "Identifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "local": { - "type": "Identifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 133, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Debounce(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1514, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 38, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 1515, - "end": 1655, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 39, - "column": 140 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 1522, - "end": 1655, - "loc": { - "start": { - "line": 39, - "column": 7 - }, - "end": { - "line": 39, - "column": 140 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1528, - "end": 1654, - "loc": { - "start": { - "line": 39, - "column": 13 - }, - "end": { - "line": 39, - "column": 139 - } - }, - "id": { - "type": "Identifier", - "start": 1528, - "end": 1536, - "loc": { - "start": { - "line": 39, - "column": 13 - }, - "end": { - "line": 39, - "column": 21 - }, - "identifierName": "Debounce" - }, - "name": "Debounce", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 1539, - "end": 1654, - "loc": { - "start": { - "line": 39, - "column": 24 - }, - "end": { - "line": 39, - "column": 139 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1539, - "end": 1579, - "loc": { - "start": { - "line": 39, - "column": 24 - }, - "end": { - "line": 39, - "column": 64 - } - }, - "object": { - "type": "Identifier", - "start": 1539, - "end": 1555, - "loc": { - "start": { - "line": 39, - "column": 24 - }, - "end": { - "line": 39, - "column": 40 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 1556, - "end": 1579, - "loc": { - "start": { - "line": 39, - "column": 41 - }, - "end": { - "line": 39, - "column": 64 - }, - "identifierName": "createInstanceDecorator" - }, - "name": "createInstanceDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 1580, - "end": 1653, - "loc": { - "start": { - "line": 39, - "column": 65 - }, - "end": { - "line": 39, - "column": 138 - } - }, - "callee": { - "type": "Identifier", - "start": 1584, - "end": 1599, - "loc": { - "start": { - "line": 39, - "column": 69 - }, - "end": { - "line": 39, - "column": 84 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1600, - "end": 1608, - "loc": { - "start": { - "line": 39, - "column": 85 - }, - "end": { - "line": 39, - "column": 93 - }, - "identifierName": "debounce" - }, - "name": "debounce" - }, - { - "type": "NewExpression", - "start": 1610, - "end": 1634, - "loc": { - "start": { - "line": 39, - "column": 95 - }, - "end": { - "line": 39, - "column": 119 - } - }, - "callee": { - "type": "Identifier", - "start": 1614, - "end": 1632, - "loc": { - "start": { - "line": 39, - "column": 99 - }, - "end": { - "line": 39, - "column": 117 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "arguments": [] - }, - { - "type": "ObjectExpression", - "start": 1636, - "end": 1652, - "loc": { - "start": { - "line": 39, - "column": 121 - }, - "end": { - "line": 39, - "column": 137 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1638, - "end": 1650, - "loc": { - "start": { - "line": 39, - "column": 123 - }, - "end": { - "line": 39, - "column": 135 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1638, - "end": 1644, - "loc": { - "start": { - "line": 39, - "column": 123 - }, - "end": { - "line": 39, - "column": 129 - }, - "identifierName": "setter" - }, - "name": "setter" - }, - "value": { - "type": "BooleanLiteral", - "start": 1646, - "end": 1650, - "loc": { - "start": { - "line": 39, - "column": 131 - }, - "end": { - "line": 39, - "column": 135 - } - }, - "value": true - } - } - ] - } - ] - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Debounce(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1514, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 38, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Debounce(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1514, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 38, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 1656, - "end": 1688, - "loc": { - "start": { - "line": 40, - "column": 0 - }, - "end": { - "line": 40, - "column": 32 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 1665, - "end": 1685, - "loc": { - "start": { - "line": 40, - "column": 9 - }, - "end": { - "line": 40, - "column": 29 - } - }, - "local": { - "type": "Identifier", - "start": 1665, - "end": 1673, - "loc": { - "start": { - "line": 40, - "column": 9 - }, - "end": { - "line": 40, - "column": 17 - }, - "identifierName": "Debounce" - }, - "name": "Debounce" - }, - "exported": { - "type": "Identifier", - "start": 1677, - "end": 1685, - "loc": { - "start": { - "line": 40, - "column": 21 - }, - "end": { - "line": 40, - "column": 29 - }, - "identifierName": "debounce" - }, - "name": "debounce" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 1689, - "end": 1713, - "loc": { - "start": { - "line": 41, - "column": 0 - }, - "end": { - "line": 41, - "column": 24 - } - }, - "declaration": { - "type": "Identifier", - "start": 1704, - "end": 1712, - "loc": { - "start": { - "line": 41, - "column": 15 - }, - "end": { - "line": 41, - "column": 23 - }, - "identifierName": "Debounce" - }, - "name": "Debounce", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Debounce(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1514, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 38, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debounce", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 33, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 34 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 35, - "end": 41, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 42, - "end": 43, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 59, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 85, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 96, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 98, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 105, - "end": 106, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 128, - "end": 132, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 133, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 148, - "end": 149, - "loc": { - "start": { - "line": 3, - "column": 50 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Debounce(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1514, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 38, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 1515, - "end": 1521, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 39, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1522, - "end": 1527, - "loc": { - "start": { - "line": 39, - "column": 7 - }, - "end": { - "line": 39, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Debounce", - "start": 1528, - "end": 1536, - "loc": { - "start": { - "line": 39, - "column": 13 - }, - "end": { - "line": 39, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1537, - "end": 1538, - "loc": { - "start": { - "line": 39, - "column": 22 - }, - "end": { - "line": 39, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 1539, - "end": 1555, - "loc": { - "start": { - "line": 39, - "column": 24 - }, - "end": { - "line": 39, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1555, - "end": 1556, - "loc": { - "start": { - "line": 39, - "column": 40 - }, - "end": { - "line": 39, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createInstanceDecorator", - "start": 1556, - "end": 1579, - "loc": { - "start": { - "line": 39, - "column": 41 - }, - "end": { - "line": 39, - "column": 64 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1579, - "end": 1580, - "loc": { - "start": { - "line": 39, - "column": 64 - }, - "end": { - "line": 39, - "column": 65 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1580, - "end": 1583, - "loc": { - "start": { - "line": 39, - "column": 65 - }, - "end": { - "line": 39, - "column": 68 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 1584, - "end": 1599, - "loc": { - "start": { - "line": 39, - "column": 69 - }, - "end": { - "line": 39, - "column": 84 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1599, - "end": 1600, - "loc": { - "start": { - "line": 39, - "column": 84 - }, - "end": { - "line": 39, - "column": 85 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debounce", - "start": 1600, - "end": 1608, - "loc": { - "start": { - "line": 39, - "column": 85 - }, - "end": { - "line": 39, - "column": 93 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1608, - "end": 1609, - "loc": { - "start": { - "line": 39, - "column": 93 - }, - "end": { - "line": 39, - "column": 94 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1610, - "end": 1613, - "loc": { - "start": { - "line": 39, - "column": 95 - }, - "end": { - "line": 39, - "column": 98 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 1614, - "end": 1632, - "loc": { - "start": { - "line": 39, - "column": 99 - }, - "end": { - "line": 39, - "column": 117 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1632, - "end": 1633, - "loc": { - "start": { - "line": 39, - "column": 117 - }, - "end": { - "line": 39, - "column": 118 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1633, - "end": 1634, - "loc": { - "start": { - "line": 39, - "column": 118 - }, - "end": { - "line": 39, - "column": 119 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1634, - "end": 1635, - "loc": { - "start": { - "line": 39, - "column": 119 - }, - "end": { - "line": 39, - "column": 120 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1636, - "end": 1637, - "loc": { - "start": { - "line": 39, - "column": 121 - }, - "end": { - "line": 39, - "column": 122 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setter", - "start": 1638, - "end": 1644, - "loc": { - "start": { - "line": 39, - "column": 123 - }, - "end": { - "line": 39, - "column": 129 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1644, - "end": 1645, - "loc": { - "start": { - "line": 39, - "column": 129 - }, - "end": { - "line": 39, - "column": 130 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 1646, - "end": 1650, - "loc": { - "start": { - "line": 39, - "column": 131 - }, - "end": { - "line": 39, - "column": 135 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1651, - "end": 1652, - "loc": { - "start": { - "line": 39, - "column": 136 - }, - "end": { - "line": 39, - "column": 137 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1652, - "end": 1653, - "loc": { - "start": { - "line": 39, - "column": 137 - }, - "end": { - "line": 39, - "column": 138 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1653, - "end": 1654, - "loc": { - "start": { - "line": 39, - "column": 138 - }, - "end": { - "line": 39, - "column": 139 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1654, - "end": 1655, - "loc": { - "start": { - "line": 39, - "column": 139 - }, - "end": { - "line": 39, - "column": 140 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 1656, - "end": 1662, - "loc": { - "start": { - "line": 40, - "column": 0 - }, - "end": { - "line": 40, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1663, - "end": 1664, - "loc": { - "start": { - "line": 40, - "column": 7 - }, - "end": { - "line": 40, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Debounce", - "start": 1665, - "end": 1673, - "loc": { - "start": { - "line": 40, - "column": 9 - }, - "end": { - "line": 40, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 1674, - "end": 1676, - "loc": { - "start": { - "line": 40, - "column": 18 - }, - "end": { - "line": 40, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debounce", - "start": 1677, - "end": 1685, - "loc": { - "start": { - "line": 40, - "column": 21 - }, - "end": { - "line": 40, - "column": 29 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1686, - "end": 1687, - "loc": { - "start": { - "line": 40, - "column": 30 - }, - "end": { - "line": 40, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1687, - "end": 1688, - "loc": { - "start": { - "line": 40, - "column": 31 - }, - "end": { - "line": 40, - "column": 32 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 1689, - "end": 1695, - "loc": { - "start": { - "line": 41, - "column": 0 - }, - "end": { - "line": 41, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 1696, - "end": 1703, - "loc": { - "start": { - "line": 41, - "column": 7 - }, - "end": { - "line": 41, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Debounce", - "start": 1704, - "end": 1712, - "loc": { - "start": { - "line": 41, - "column": 15 - }, - "end": { - "line": 41, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1712, - "end": 1713, - "loc": { - "start": { - "line": 41, - "column": 23 - }, - "end": { - "line": 41, - "column": 24 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1714, - "end": 1714, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/debounce.ts.json b/docs/ast/source/debounce.ts.json new file mode 100644 index 0000000..e2b8d30 --- /dev/null +++ b/docs/ast/source/debounce.ts.json @@ -0,0 +1,3048 @@ +{ + "type": "File", + "start": 0, + "end": 1434, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 28, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1434, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 28, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 51 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 115, + "end": 249, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 134 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 133 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 133 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 173, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 173, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 174, + "end": 247, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 132 + } + }, + "callee": { + "type": "Identifier", + "start": 178, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 194, + "end": 202, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 87 + }, + "identifierName": "debounce" + }, + "name": "debounce" + }, + { + "type": "NewExpression", + "start": 204, + "end": 228, + "loc": { + "start": { + "line": 3, + "column": 89 + }, + "end": { + "line": 3, + "column": 113 + } + }, + "callee": { + "type": "Identifier", + "start": 208, + "end": 226, + "loc": { + "start": { + "line": 3, + "column": 93 + }, + "end": { + "line": 3, + "column": 111 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 230, + "end": 246, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 131 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 232, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 232, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 123 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 240, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 125 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 1294, + "end": 1374, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1301, + "end": 1374, + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1310, + "end": 1318, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 24 + }, + "identifierName": "Debounce" + }, + "name": "Debounce", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1319, + "end": 1323, + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 29 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "Identifier", + "start": 1325, + "end": 1332, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 38 + }, + "identifierName": "options" + }, + "name": "options" + } + ], + "body": { + "type": "BlockStatement", + "start": 1334, + "end": 1374, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1340, + "end": 1372, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 36 + } + }, + "argument": { + "type": "CallExpression", + "start": 1347, + "end": 1371, + "loc": { + "start": { + "line": 24, + "column": 11 + }, + "end": { + "line": 24, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 1347, + "end": 1356, + "loc": { + "start": { + "line": 24, + "column": 11 + }, + "end": { + "line": 24, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1357, + "end": 1361, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 25 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "Identifier", + "start": 1363, + "end": 1370, + "loc": { + "start": { + "line": 24, + "column": 27 + }, + "end": { + "line": 24, + "column": 34 + }, + "identifierName": "options" + }, + "name": "options" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 46\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 1293, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 46\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 1293, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 1375, + "end": 1407, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 32 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 1384, + "end": 1404, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 29 + } + }, + "local": { + "type": "Identifier", + "start": 1384, + "end": 1392, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 17 + }, + "identifierName": "Debounce" + }, + "name": "Debounce" + }, + "exported": { + "type": "Identifier", + "start": 1396, + "end": 1404, + "loc": { + "start": { + "line": 26, + "column": 21 + }, + "end": { + "line": 26, + "column": 29 + }, + "identifierName": "debounce" + }, + "name": "debounce" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 1408, + "end": 1433, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 1423, + "end": 1432, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 1408, + "end": 1433, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 115, + "end": 249, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 134 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 133 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 133 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 173, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 173, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 174, + "end": 247, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 132 + } + }, + "callee": { + "type": "Identifier", + "start": 178, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 194, + "end": 202, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 87 + }, + "identifierName": "debounce" + }, + "name": "debounce" + }, + { + "type": "NewExpression", + "start": 204, + "end": 228, + "loc": { + "start": { + "line": 3, + "column": 89 + }, + "end": { + "line": 3, + "column": 113 + } + }, + "callee": { + "type": "Identifier", + "start": 208, + "end": 226, + "loc": { + "start": { + "line": 3, + "column": 93 + }, + "end": { + "line": 3, + "column": 111 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 230, + "end": 246, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 131 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 232, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 232, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 123 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 240, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 125 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 46\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 1293, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 46\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 1293, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 2, + "column": 28 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 93, + "end": 97, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 113, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 50 + }, + "end": { + "line": 2, + "column": 51 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 115, + "end": 120, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 149, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createInstanceDecorator", + "start": 150, + "end": 173, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 173, + "end": 174, + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 174, + "end": 177, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 178, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 193, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 78 + }, + "end": { + "line": 3, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debounce", + "start": 194, + "end": 202, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 87 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 202, + "end": 203, + "loc": { + "start": { + "line": 3, + "column": 87 + }, + "end": { + "line": 3, + "column": 88 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 204, + "end": 207, + "loc": { + "start": { + "line": 3, + "column": 89 + }, + "end": { + "line": 3, + "column": 92 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 208, + "end": 226, + "loc": { + "start": { + "line": 3, + "column": 93 + }, + "end": { + "line": 3, + "column": 111 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 226, + "end": 227, + "loc": { + "start": { + "line": 3, + "column": 111 + }, + "end": { + "line": 3, + "column": 112 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 227, + "end": 228, + "loc": { + "start": { + "line": 3, + "column": 112 + }, + "end": { + "line": 3, + "column": 113 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 228, + "end": 229, + "loc": { + "start": { + "line": 3, + "column": 113 + }, + "end": { + "line": 3, + "column": 114 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 230, + "end": 231, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 116 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setter", + "start": 232, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 123 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 238, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 123 + }, + "end": { + "line": 3, + "column": 124 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 240, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 125 + }, + "end": { + "line": 3, + "column": 129 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 245, + "end": 246, + "loc": { + "start": { + "line": 3, + "column": 130 + }, + "end": { + "line": 3, + "column": 131 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 246, + "end": 247, + "loc": { + "start": { + "line": 3, + "column": 131 + }, + "end": { + "line": 3, + "column": 132 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 247, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 132 + }, + "end": { + "line": 3, + "column": 133 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 248, + "end": 249, + "loc": { + "start": { + "line": 3, + "column": 133 + }, + "end": { + "line": 3, + "column": 134 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 46\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashDecorator}\n ", + "start": 250, + "end": 1293, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1294, + "end": 1300, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1301, + "end": 1309, + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Debounce", + "start": 1310, + "end": 1318, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1318, + "end": 1319, + "loc": { + "start": { + "line": 23, + "column": 24 + }, + "end": { + "line": 23, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wait", + "start": 1319, + "end": 1323, + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1323, + "end": 1324, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1325, + "end": 1332, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1332, + "end": 1333, + "loc": { + "start": { + "line": 23, + "column": 38 + }, + "end": { + "line": 23, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1334, + "end": 1335, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1340, + "end": 1346, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 1347, + "end": 1356, + "loc": { + "start": { + "line": 24, + "column": 11 + }, + "end": { + "line": 24, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1356, + "end": 1357, + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 24, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wait", + "start": 1357, + "end": 1361, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1361, + "end": 1362, + "loc": { + "start": { + "line": 24, + "column": 25 + }, + "end": { + "line": 24, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1363, + "end": 1370, + "loc": { + "start": { + "line": 24, + "column": 27 + }, + "end": { + "line": 24, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1370, + "end": 1371, + "loc": { + "start": { + "line": 24, + "column": 34 + }, + "end": { + "line": 24, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1371, + "end": 1372, + "loc": { + "start": { + "line": 24, + "column": 35 + }, + "end": { + "line": 24, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1373, + "end": 1374, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1375, + "end": 1381, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1382, + "end": 1383, + "loc": { + "start": { + "line": 26, + "column": 7 + }, + "end": { + "line": 26, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Debounce", + "start": 1384, + "end": 1392, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 1393, + "end": 1395, + "loc": { + "start": { + "line": 26, + "column": 18 + }, + "end": { + "line": 26, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debounce", + "start": 1396, + "end": 1404, + "loc": { + "start": { + "line": 26, + "column": 21 + }, + "end": { + "line": 26, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1405, + "end": 1406, + "loc": { + "start": { + "line": 26, + "column": 30 + }, + "end": { + "line": 26, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1406, + "end": 1407, + "loc": { + "start": { + "line": 26, + "column": 31 + }, + "end": { + "line": 26, + "column": 32 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1408, + "end": 1414, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 1415, + "end": 1422, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 1423, + "end": 1432, + "loc": { + "start": { + "line": 27, + "column": 15 + }, + "end": { + "line": 27, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1432, + "end": 1433, + "loc": { + "start": { + "line": 27, + "column": 24 + }, + "end": { + "line": 27, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1434, + "end": 1434, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/debounceAll.js.json b/docs/ast/source/debounceAll.js.json deleted file mode 100644 index 5c2fbfe..0000000 --- a/docs/ast/source/debounceAll.js.json +++ /dev/null @@ -1,2194 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1773, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 44, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1773, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 44, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - }, - "identifierName": "debounce" - }, - "name": "debounce" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - }, - "identifierName": "debounce" - }, - "name": "debounce" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 35, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 98, - "end": 149, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 51 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "imported": { - "type": "Identifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "local": { - "type": "Identifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 133, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @DebounceAll(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1587, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 1588, - "end": 1705, - "loc": { - "start": { - "line": 41, - "column": 0 - }, - "end": { - "line": 41, - "column": 117 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 1595, - "end": 1705, - "loc": { - "start": { - "line": 41, - "column": 7 - }, - "end": { - "line": 41, - "column": 117 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1601, - "end": 1704, - "loc": { - "start": { - "line": 41, - "column": 13 - }, - "end": { - "line": 41, - "column": 116 - } - }, - "id": { - "type": "Identifier", - "start": 1601, - "end": 1612, - "loc": { - "start": { - "line": 41, - "column": 13 - }, - "end": { - "line": 41, - "column": 24 - }, - "identifierName": "DebounceAll" - }, - "name": "DebounceAll", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 1615, - "end": 1704, - "loc": { - "start": { - "line": 41, - "column": 27 - }, - "end": { - "line": 41, - "column": 116 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1615, - "end": 1647, - "loc": { - "start": { - "line": 41, - "column": 27 - }, - "end": { - "line": 41, - "column": 59 - } - }, - "object": { - "type": "Identifier", - "start": 1615, - "end": 1631, - "loc": { - "start": { - "line": 41, - "column": 27 - }, - "end": { - "line": 41, - "column": 43 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 1632, - "end": 1647, - "loc": { - "start": { - "line": 41, - "column": 44 - }, - "end": { - "line": 41, - "column": 59 - }, - "identifierName": "createDecorator" - }, - "name": "createDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 1648, - "end": 1703, - "loc": { - "start": { - "line": 41, - "column": 60 - }, - "end": { - "line": 41, - "column": 115 - } - }, - "callee": { - "type": "Identifier", - "start": 1652, - "end": 1667, - "loc": { - "start": { - "line": 41, - "column": 64 - }, - "end": { - "line": 41, - "column": 79 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1668, - "end": 1676, - "loc": { - "start": { - "line": 41, - "column": 80 - }, - "end": { - "line": 41, - "column": 88 - }, - "identifierName": "debounce" - }, - "name": "debounce" - }, - { - "type": "NewExpression", - "start": 1678, - "end": 1702, - "loc": { - "start": { - "line": 41, - "column": 90 - }, - "end": { - "line": 41, - "column": 114 - } - }, - "callee": { - "type": "Identifier", - "start": 1682, - "end": 1700, - "loc": { - "start": { - "line": 41, - "column": 94 - }, - "end": { - "line": 41, - "column": 112 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "arguments": [] - } - ] - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @DebounceAll(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1587, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @DebounceAll(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1587, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 1706, - "end": 1744, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 38 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 1715, - "end": 1741, - "loc": { - "start": { - "line": 42, - "column": 9 - }, - "end": { - "line": 42, - "column": 35 - } - }, - "local": { - "type": "Identifier", - "start": 1715, - "end": 1726, - "loc": { - "start": { - "line": 42, - "column": 9 - }, - "end": { - "line": 42, - "column": 20 - }, - "identifierName": "DebounceAll" - }, - "name": "DebounceAll" - }, - "exported": { - "type": "Identifier", - "start": 1730, - "end": 1741, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 35 - }, - "identifierName": "debounceAll" - }, - "name": "debounceAll" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 1745, - "end": 1772, - "loc": { - "start": { - "line": 43, - "column": 0 - }, - "end": { - "line": 43, - "column": 27 - } - }, - "declaration": { - "type": "Identifier", - "start": 1760, - "end": 1771, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 26 - }, - "identifierName": "DebounceAll" - }, - "name": "DebounceAll", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @DebounceAll(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1587, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debounce", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 33, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 34 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 35, - "end": 41, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 42, - "end": 43, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 59, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 85, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 96, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 98, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 105, - "end": 106, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 128, - "end": 132, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 133, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 148, - "end": 149, - "loc": { - "start": { - "line": 3, - "column": 50 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @DebounceAll(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n ", - "start": 150, - "end": 1587, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 1588, - "end": 1594, - "loc": { - "start": { - "line": 41, - "column": 0 - }, - "end": { - "line": 41, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1595, - "end": 1600, - "loc": { - "start": { - "line": 41, - "column": 7 - }, - "end": { - "line": 41, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DebounceAll", - "start": 1601, - "end": 1612, - "loc": { - "start": { - "line": 41, - "column": 13 - }, - "end": { - "line": 41, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1613, - "end": 1614, - "loc": { - "start": { - "line": 41, - "column": 25 - }, - "end": { - "line": 41, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 1615, - "end": 1631, - "loc": { - "start": { - "line": 41, - "column": 27 - }, - "end": { - "line": 41, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1631, - "end": 1632, - "loc": { - "start": { - "line": 41, - "column": 43 - }, - "end": { - "line": 41, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createDecorator", - "start": 1632, - "end": 1647, - "loc": { - "start": { - "line": 41, - "column": 44 - }, - "end": { - "line": 41, - "column": 59 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1647, - "end": 1648, - "loc": { - "start": { - "line": 41, - "column": 59 - }, - "end": { - "line": 41, - "column": 60 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1648, - "end": 1651, - "loc": { - "start": { - "line": 41, - "column": 60 - }, - "end": { - "line": 41, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 1652, - "end": 1667, - "loc": { - "start": { - "line": 41, - "column": 64 - }, - "end": { - "line": 41, - "column": 79 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1667, - "end": 1668, - "loc": { - "start": { - "line": 41, - "column": 79 - }, - "end": { - "line": 41, - "column": 80 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debounce", - "start": 1668, - "end": 1676, - "loc": { - "start": { - "line": 41, - "column": 80 - }, - "end": { - "line": 41, - "column": 88 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1676, - "end": 1677, - "loc": { - "start": { - "line": 41, - "column": 88 - }, - "end": { - "line": 41, - "column": 89 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1678, - "end": 1681, - "loc": { - "start": { - "line": 41, - "column": 90 - }, - "end": { - "line": 41, - "column": 93 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 1682, - "end": 1700, - "loc": { - "start": { - "line": 41, - "column": 94 - }, - "end": { - "line": 41, - "column": 112 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1700, - "end": 1701, - "loc": { - "start": { - "line": 41, - "column": 112 - }, - "end": { - "line": 41, - "column": 113 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1701, - "end": 1702, - "loc": { - "start": { - "line": 41, - "column": 113 - }, - "end": { - "line": 41, - "column": 114 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1702, - "end": 1703, - "loc": { - "start": { - "line": 41, - "column": 114 - }, - "end": { - "line": 41, - "column": 115 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1703, - "end": 1704, - "loc": { - "start": { - "line": 41, - "column": 115 - }, - "end": { - "line": 41, - "column": 116 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1704, - "end": 1705, - "loc": { - "start": { - "line": 41, - "column": 116 - }, - "end": { - "line": 41, - "column": 117 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 1706, - "end": 1712, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1713, - "end": 1714, - "loc": { - "start": { - "line": 42, - "column": 7 - }, - "end": { - "line": 42, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DebounceAll", - "start": 1715, - "end": 1726, - "loc": { - "start": { - "line": 42, - "column": 9 - }, - "end": { - "line": 42, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 1727, - "end": 1729, - "loc": { - "start": { - "line": 42, - "column": 21 - }, - "end": { - "line": 42, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "debounceAll", - "start": 1730, - "end": 1741, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1742, - "end": 1743, - "loc": { - "start": { - "line": 42, - "column": 36 - }, - "end": { - "line": 42, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1743, - "end": 1744, - "loc": { - "start": { - "line": 42, - "column": 37 - }, - "end": { - "line": 42, - "column": 38 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 1745, - "end": 1751, - "loc": { - "start": { - "line": 43, - "column": 0 - }, - "end": { - "line": 43, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 1752, - "end": 1759, - "loc": { - "start": { - "line": 43, - "column": 7 - }, - "end": { - "line": 43, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DebounceAll", - "start": 1760, - "end": 1771, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1771, - "end": 1772, - "loc": { - "start": { - "line": 43, - "column": 26 - }, - "end": { - "line": 43, - "column": 27 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1773, - "end": 1773, - "loc": { - "start": { - "line": 44, - "column": 0 - }, - "end": { - "line": 44, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/debounceAll.ts.json b/docs/ast/source/debounceAll.ts.json new file mode 100644 index 0000000..2ce837b --- /dev/null +++ b/docs/ast/source/debounceAll.ts.json @@ -0,0 +1,2756 @@ +{ + "type": "File", + "start": 0, + "end": 1493, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1493, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 30, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 51 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 115, + "end": 223, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 108 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 222, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 107 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 222, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 107 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 221, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 106 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 186, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 79 + }, + "identifierName": "debounce" + }, + "name": "debounce" + }, + { + "type": "NewExpression", + "start": 196, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 105 + } + }, + "callee": { + "type": "Identifier", + "start": 200, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 103 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 1344, + "end": 1427, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 1351, + "end": 1427, + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1360, + "end": 1371, + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 27 + }, + "identifierName": "DebounceAll" + }, + "name": "DebounceAll", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1372, + "end": 1376, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 32 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "Identifier", + "start": 1378, + "end": 1385, + "loc": { + "start": { + "line": 25, + "column": 34 + }, + "end": { + "line": 25, + "column": 41 + }, + "identifierName": "options" + }, + "name": "options" + } + ], + "body": { + "type": "BlockStatement", + "start": 1387, + "end": 1427, + "loc": { + "start": { + "line": 25, + "column": 43 + }, + "end": { + "line": 27, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1393, + "end": 1425, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 36 + } + }, + "argument": { + "type": "CallExpression", + "start": 1400, + "end": 1424, + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 26, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 1400, + "end": 1409, + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 26, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1410, + "end": 1414, + "loc": { + "start": { + "line": 26, + "column": 21 + }, + "end": { + "line": 26, + "column": 25 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "Identifier", + "start": 1416, + "end": 1423, + "loc": { + "start": { + "line": 26, + "column": 27 + }, + "end": { + "line": 26, + "column": 34 + }, + "identifierName": "options" + }, + "name": "options" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 48\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 224, + "end": 1343, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 48\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 224, + "end": 1343, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 1428, + "end": 1466, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 38 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 1437, + "end": 1463, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 35 + } + }, + "local": { + "type": "Identifier", + "start": 1437, + "end": 1448, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 20 + }, + "identifierName": "DebounceAll" + }, + "name": "DebounceAll" + }, + "exported": { + "type": "Identifier", + "start": 1452, + "end": 1463, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 35 + }, + "identifierName": "debounceAll" + }, + "name": "debounceAll" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 1467, + "end": 1492, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 1482, + "end": 1491, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 1467, + "end": 1492, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 115, + "end": 223, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 108 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 222, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 107 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 222, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 107 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 221, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 106 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 186, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 79 + }, + "identifierName": "debounce" + }, + "name": "debounce" + }, + { + "type": "NewExpression", + "start": 196, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 105 + } + }, + "callee": { + "type": "Identifier", + "start": 200, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 103 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 48\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 224, + "end": 1343, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 48\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 224, + "end": 1343, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 2, + "column": 28 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 93, + "end": 97, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 113, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 50 + }, + "end": { + "line": 2, + "column": 51 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 115, + "end": 120, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 149, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createDecorator", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 165, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 166, + "end": 169, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 185, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 70 + }, + "end": { + "line": 3, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debounce", + "start": 186, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 79 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 194, + "end": 195, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 80 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 196, + "end": 199, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 84 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 200, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 103 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 218, + "end": 219, + "loc": { + "start": { + "line": 3, + "column": 103 + }, + "end": { + "line": 3, + "column": 104 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 219, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 104 + }, + "end": { + "line": 3, + "column": 105 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 220, + "end": 221, + "loc": { + "start": { + "line": 3, + "column": 105 + }, + "end": { + "line": 3, + "column": 106 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 3, + "column": 106 + }, + "end": { + "line": 3, + "column": 107 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 108 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n * @lineNumber\n * 48\n * @param\n * {number} wait\n * @param\n * {DebounceOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 224, + "end": 1343, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1344, + "end": 1350, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1351, + "end": 1359, + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 25, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DebounceAll", + "start": 1360, + "end": 1371, + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1371, + "end": 1372, + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 25, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wait", + "start": 1372, + "end": 1376, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1376, + "end": 1377, + "loc": { + "start": { + "line": 25, + "column": 32 + }, + "end": { + "line": 25, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1378, + "end": 1385, + "loc": { + "start": { + "line": 25, + "column": 34 + }, + "end": { + "line": 25, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1385, + "end": 1386, + "loc": { + "start": { + "line": 25, + "column": 41 + }, + "end": { + "line": 25, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1387, + "end": 1388, + "loc": { + "start": { + "line": 25, + "column": 43 + }, + "end": { + "line": 25, + "column": 44 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1393, + "end": 1399, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 1400, + "end": 1409, + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 26, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1409, + "end": 1410, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wait", + "start": 1410, + "end": 1414, + "loc": { + "start": { + "line": 26, + "column": 21 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1414, + "end": 1415, + "loc": { + "start": { + "line": 26, + "column": 25 + }, + "end": { + "line": 26, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1416, + "end": 1423, + "loc": { + "start": { + "line": 26, + "column": 27 + }, + "end": { + "line": 26, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1423, + "end": 1424, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1424, + "end": 1425, + "loc": { + "start": { + "line": 26, + "column": 35 + }, + "end": { + "line": 26, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1426, + "end": 1427, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1428, + "end": 1434, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1435, + "end": 1436, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DebounceAll", + "start": 1437, + "end": 1448, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 1449, + "end": 1451, + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "debounceAll", + "start": 1452, + "end": 1463, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1464, + "end": 1465, + "loc": { + "start": { + "line": 28, + "column": 36 + }, + "end": { + "line": 28, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1465, + "end": 1466, + "loc": { + "start": { + "line": 28, + "column": 37 + }, + "end": { + "line": 28, + "column": 38 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1467, + "end": 1473, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 1474, + "end": 1481, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 1482, + "end": 1491, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1491, + "end": 1492, + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1493, + "end": 1493, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/defer.js.json b/docs/ast/source/defer.ts.json similarity index 79% rename from docs/ast/source/defer.js.json rename to docs/ast/source/defer.ts.json index f5168a4..ed4c2f2 100644 --- a/docs/ast/source/defer.js.json +++ b/docs/ast/source/defer.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 815, + "end": 805, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, + "line": 31, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 815, + "end": 805, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, + "line": 31, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 31, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 31 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - }, - "identifierName": "defer" - }, - "name": "defer" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 14 - }, - "identifierName": "defer" - }, - "name": "defer" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 32, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 41, - "end": 56, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 82, - "end": 93, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 95, - "end": 144, + "start": 63, + "end": 112, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 104, - "end": 120, + "start": 72, + "end": 88, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 25 } }, "imported": { "type": "Identifier", - "start": 104, - "end": 120, + "start": 72, + "end": 88, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 25 }, "identifierName": "InvokeApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 104, - "end": 120, + "start": 72, + "end": 88, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 25 }, "identifierName": "InvokeApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 128, - "end": 143, + "start": 96, + "end": 111, "loc": { "start": { - "line": 3, + "line": 2, "column": 33 }, "end": { - "line": 3, + "line": 2, "column": 48 } }, @@ -338,15 +252,15 @@ { "type": "CommentBlock", "value": "*\n * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Defer()\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 0);\n ", - "start": 145, - "end": 640, + "start": 113, + "end": 608, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 28, + "line": 27, "column": 3 } } @@ -355,60 +269,60 @@ }, { "type": "ExportNamedDeclaration", - "start": 641, - "end": 765, + "start": 609, + "end": 755, "loc": { "start": { - "line": 29, + "line": 28, "column": 0 }, "end": { - "line": 29, - "column": 124 + "line": 28, + "column": 146 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 648, - "end": 765, + "start": 616, + "end": 755, "loc": { "start": { - "line": 29, + "line": 28, "column": 7 }, "end": { - "line": 29, - "column": 124 + "line": 28, + "column": 146 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 654, - "end": 764, + "start": 622, + "end": 754, "loc": { "start": { - "line": 29, + "line": 28, "column": 13 }, "end": { - "line": 29, - "column": 123 + "line": 28, + "column": 145 } }, "id": { "type": "Identifier", - "start": 654, - "end": 659, + "start": 622, + "end": 627, "loc": { "start": { - "line": 29, + "line": 28, "column": 13 }, "end": { - "line": 29, + "line": 28, "column": 18 }, "identifierName": "Defer" @@ -418,43 +332,43 @@ }, "init": { "type": "CallExpression", - "start": 662, - "end": 764, + "start": 630, + "end": 754, "loc": { "start": { - "line": 29, + "line": 28, "column": 21 }, "end": { - "line": 29, - "column": 123 + "line": 28, + "column": 145 } }, "callee": { "type": "MemberExpression", - "start": 662, - "end": 694, + "start": 630, + "end": 662, "loc": { "start": { - "line": 29, + "line": 28, "column": 21 }, "end": { - "line": 29, + "line": 28, "column": 53 } }, "object": { "type": "Identifier", - "start": 662, - "end": 678, + "start": 630, + "end": 646, "loc": { "start": { - "line": 29, + "line": 28, "column": 21 }, "end": { - "line": 29, + "line": 28, "column": 37 }, "identifierName": "DecoratorFactory" @@ -463,15 +377,15 @@ }, "property": { "type": "Identifier", - "start": 679, - "end": 694, + "start": 647, + "end": 662, "loc": { "start": { - "line": 29, + "line": 28, "column": 38 }, "end": { - "line": 29, + "line": 28, "column": 53 }, "identifierName": "createDecorator" @@ -483,29 +397,29 @@ "arguments": [ { "type": "NewExpression", - "start": 695, - "end": 763, + "start": 663, + "end": 753, "loc": { "start": { - "line": 29, + "line": 28, "column": 54 }, "end": { - "line": 29, - "column": 122 + "line": 28, + "column": 144 } }, "callee": { "type": "Identifier", - "start": 699, - "end": 714, + "start": 667, + "end": 682, "loc": { "start": { - "line": 29, + "line": 28, "column": 58 }, "end": { - "line": 29, + "line": 28, "column": 73 }, "identifierName": "DecoratorConfig" @@ -515,15 +429,15 @@ "arguments": [ { "type": "Identifier", - "start": 715, - "end": 720, + "start": 683, + "end": 688, "loc": { "start": { - "line": 29, + "line": 28, "column": 74 }, "end": { - "line": 29, + "line": 28, "column": 79 }, "identifierName": "defer" @@ -532,29 +446,29 @@ }, { "type": "NewExpression", - "start": 722, - "end": 744, + "start": 690, + "end": 712, "loc": { "start": { - "line": 29, + "line": 28, "column": 81 }, "end": { - "line": 29, + "line": 28, "column": 103 } }, "callee": { "type": "Identifier", - "start": 726, - "end": 742, + "start": 694, + "end": 710, "loc": { "start": { - "line": 29, + "line": 28, "column": 85 }, "end": { - "line": 29, + "line": 28, "column": 101 }, "identifierName": "InvokeApplicator" @@ -565,30 +479,30 @@ }, { "type": "ObjectExpression", - "start": 746, - "end": 762, + "start": 714, + "end": 752, "loc": { "start": { - "line": 29, + "line": 28, "column": 105 }, "end": { - "line": 29, - "column": 121 + "line": 28, + "column": 143 } }, "properties": [ { "type": "ObjectProperty", - "start": 748, - "end": 760, + "start": 716, + "end": 728, "loc": { "start": { - "line": 29, + "line": 28, "column": 107 }, "end": { - "line": 29, + "line": 28, "column": 119 } }, @@ -597,15 +511,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 748, - "end": 754, + "start": 716, + "end": 722, "loc": { "start": { - "line": 29, + "line": 28, "column": 107 }, "end": { - "line": 29, + "line": 28, "column": 113 }, "identifierName": "setter" @@ -614,20 +528,71 @@ }, "value": { "type": "BooleanLiteral", - "start": 756, - "end": 760, + "start": 724, + "end": 728, "loc": { "start": { - "line": 29, + "line": 28, "column": 115 }, "end": { - "line": 29, + "line": 28, "column": 119 } }, "value": true } + }, + { + "type": "ObjectProperty", + "start": 730, + "end": 750, + "loc": { + "start": { + "line": 28, + "column": 121 + }, + "end": { + "line": 28, + "column": 141 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 730, + "end": 744, + "loc": { + "start": { + "line": 28, + "column": 121 + }, + "end": { + "line": 28, + "column": 135 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 746, + "end": 750, + "loc": { + "start": { + "line": 28, + "column": 137 + }, + "end": { + "line": 28, + "column": 141 + } + }, + "value": true + } } ] } @@ -643,15 +608,15 @@ { "type": "CommentBlock", "value": "*\n * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Defer()\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 0);\n ", - "start": 145, - "end": 640, + "start": 113, + "end": 608, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 28, + "line": 27, "column": 3 } } @@ -663,15 +628,15 @@ { "type": "CommentBlock", "value": "*\n * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Defer()\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 0);\n ", - "start": 145, - "end": 640, + "start": 113, + "end": 608, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 28, + "line": 27, "column": 3 } } @@ -680,15 +645,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 766, - "end": 792, + "start": 756, + "end": 782, "loc": { "start": { - "line": 30, + "line": 29, "column": 0 }, "end": { - "line": 30, + "line": 29, "column": 26 } }, @@ -696,29 +661,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 775, - "end": 789, + "start": 765, + "end": 779, "loc": { "start": { - "line": 30, + "line": 29, "column": 9 }, "end": { - "line": 30, + "line": 29, "column": 23 } }, "local": { "type": "Identifier", - "start": 775, - "end": 780, + "start": 765, + "end": 770, "loc": { "start": { - "line": 30, + "line": 29, "column": 9 }, "end": { - "line": 30, + "line": 29, "column": 14 }, "identifierName": "Defer" @@ -727,15 +692,15 @@ }, "exported": { "type": "Identifier", - "start": 784, - "end": 789, + "start": 774, + "end": 779, "loc": { "start": { - "line": 30, + "line": 29, "column": 18 }, "end": { - "line": 30, + "line": 29, "column": 23 }, "identifierName": "defer" @@ -748,29 +713,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 793, - "end": 814, + "start": 783, + "end": 804, "loc": { "start": { - "line": 31, + "line": 30, "column": 0 }, "end": { - "line": 31, + "line": 30, "column": 21 } }, "declaration": { "type": "Identifier", - "start": 808, - "end": 813, + "start": 798, + "end": 803, "loc": { "start": { - "line": 31, + "line": 30, "column": 15 }, "end": { - "line": 31, + "line": 30, "column": 20 }, "identifierName": "Defer" @@ -787,15 +752,15 @@ { "type": "CommentBlock", "value": "*\n * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Defer()\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 0);\n ", - "start": 145, - "end": 640, + "start": 113, + "end": 608, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 28, + "line": 27, "column": 3 } } @@ -807,7 +772,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -867,9 +832,9 @@ "postfix": false, "binop": null }, - "value": "defer", + "value": "DecoratorConfig", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -877,7 +842,59 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 } } }, @@ -893,16 +910,16 @@ "postfix": false, "binop": null }, - "start": 15, - "end": 16, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 15 + "column": 43 }, "end": { "line": 1, - "column": 16 + "column": 44 } } }, @@ -919,16 +936,16 @@ "binop": null }, "value": "from", - "start": 17, - "end": 21, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 17 + "column": 45 }, "end": { "line": 1, - "column": 21 + "column": 49 } } }, @@ -945,17 +962,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 22, - "end": 30, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 22 + "column": 50 }, "end": { "line": 1, - "column": 30 + "column": 61 } } }, @@ -972,16 +989,16 @@ "binop": null, "updateContext": null }, - "start": 30, - "end": 31, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 30 + "column": 61 }, "end": { "line": 1, - "column": 31 + "column": 62 } } }, @@ -990,7 +1007,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1000,8 +1017,8 @@ "updateContext": null }, "value": "import", - "start": 32, - "end": 38, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -1025,8 +1042,8 @@ "postfix": false, "binop": null }, - "start": 39, - "end": 40, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -1050,9 +1067,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 41, - "end": 56, + "value": "InvokeApplicator", + "start": 72, + "end": 88, "loc": { "start": { "line": 2, @@ -1060,33 +1077,32 @@ }, "end": { "line": 2, - "column": 24 + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 56, - "end": 57, + "start": 89, + "end": 90, "loc": { "start": { "line": 2, - "column": 24 + "column": 26 }, "end": { "line": 2, - "column": 25 + "column": 27 } } }, @@ -1102,257 +1118,23 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 58, - "end": 74, + "value": "from", + "start": 91, + "end": 95, "loc": { "start": { "line": 2, - "column": 26 + "column": 28 }, "end": { "line": 2, - "column": 42 + "column": 32 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 75, - "end": 76, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 77, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 82, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 93, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 95, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "InvokeApplicator", - "start": 104, - "end": 120, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 121, - "end": 122, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 123, - "end": 127, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": { - "label": "string", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1364,15 +1146,15 @@ "updateContext": null }, "value": "./applicators", - "start": 128, - "end": 143, + "start": 96, + "end": 111, "loc": { "start": { - "line": 3, + "line": 2, "column": 33 }, "end": { - "line": 3, + "line": 2, "column": 48 } } @@ -1390,15 +1172,15 @@ "binop": null, "updateContext": null }, - "start": 143, - "end": 144, + "start": 111, + "end": 112, "loc": { "start": { - "line": 3, + "line": 2, "column": 48 }, "end": { - "line": 3, + "line": 2, "column": 49 } } @@ -1406,15 +1188,15 @@ { "type": "CommentBlock", "value": "*\n * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Defer()\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 0);\n ", - "start": 145, - "end": 640, + "start": 113, + "end": 608, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 28, + "line": 27, "column": 3 } } @@ -1434,15 +1216,15 @@ "updateContext": null }, "value": "export", - "start": 641, - "end": 647, + "start": 609, + "end": 615, "loc": { "start": { - "line": 29, + "line": 28, "column": 0 }, "end": { - "line": 29, + "line": 28, "column": 6 } } @@ -1462,15 +1244,15 @@ "updateContext": null }, "value": "const", - "start": 648, - "end": 653, + "start": 616, + "end": 621, "loc": { "start": { - "line": 29, + "line": 28, "column": 7 }, "end": { - "line": 29, + "line": 28, "column": 12 } } @@ -1488,15 +1270,15 @@ "binop": null }, "value": "Defer", - "start": 654, - "end": 659, + "start": 622, + "end": 627, "loc": { "start": { - "line": 29, + "line": 28, "column": 13 }, "end": { - "line": 29, + "line": 28, "column": 18 } } @@ -1515,15 +1297,15 @@ "updateContext": null }, "value": "=", - "start": 660, - "end": 661, + "start": 628, + "end": 629, "loc": { "start": { - "line": 29, + "line": 28, "column": 19 }, "end": { - "line": 29, + "line": 28, "column": 20 } } @@ -1541,15 +1323,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 662, - "end": 678, + "start": 630, + "end": 646, "loc": { "start": { - "line": 29, + "line": 28, "column": 21 }, "end": { - "line": 29, + "line": 28, "column": 37 } } @@ -1567,15 +1349,15 @@ "binop": null, "updateContext": null }, - "start": 678, - "end": 679, + "start": 646, + "end": 647, "loc": { "start": { - "line": 29, + "line": 28, "column": 37 }, "end": { - "line": 29, + "line": 28, "column": 38 } } @@ -1593,15 +1375,15 @@ "binop": null }, "value": "createDecorator", - "start": 679, - "end": 694, + "start": 647, + "end": 662, "loc": { "start": { - "line": 29, + "line": 28, "column": 38 }, "end": { - "line": 29, + "line": 28, "column": 53 } } @@ -1618,15 +1400,15 @@ "postfix": false, "binop": null }, - "start": 694, - "end": 695, + "start": 662, + "end": 663, "loc": { "start": { - "line": 29, + "line": 28, "column": 53 }, "end": { - "line": 29, + "line": 28, "column": 54 } } @@ -1646,15 +1428,15 @@ "updateContext": null }, "value": "new", - "start": 695, - "end": 698, + "start": 663, + "end": 666, "loc": { "start": { - "line": 29, + "line": 28, "column": 54 }, "end": { - "line": 29, + "line": 28, "column": 57 } } @@ -1672,15 +1454,15 @@ "binop": null }, "value": "DecoratorConfig", - "start": 699, - "end": 714, + "start": 667, + "end": 682, "loc": { "start": { - "line": 29, + "line": 28, "column": 58 }, "end": { - "line": 29, + "line": 28, "column": 73 } } @@ -1697,15 +1479,15 @@ "postfix": false, "binop": null }, - "start": 714, - "end": 715, + "start": 682, + "end": 683, "loc": { "start": { - "line": 29, + "line": 28, "column": 73 }, "end": { - "line": 29, + "line": 28, "column": 74 } } @@ -1723,15 +1505,15 @@ "binop": null }, "value": "defer", - "start": 715, - "end": 720, + "start": 683, + "end": 688, "loc": { "start": { - "line": 29, + "line": 28, "column": 74 }, "end": { - "line": 29, + "line": 28, "column": 79 } } @@ -1749,15 +1531,15 @@ "binop": null, "updateContext": null }, - "start": 720, - "end": 721, + "start": 688, + "end": 689, "loc": { "start": { - "line": 29, + "line": 28, "column": 79 }, "end": { - "line": 29, + "line": 28, "column": 80 } } @@ -1777,15 +1559,15 @@ "updateContext": null }, "value": "new", - "start": 722, - "end": 725, + "start": 690, + "end": 693, "loc": { "start": { - "line": 29, + "line": 28, "column": 81 }, "end": { - "line": 29, + "line": 28, "column": 84 } } @@ -1803,15 +1585,15 @@ "binop": null }, "value": "InvokeApplicator", - "start": 726, - "end": 742, + "start": 694, + "end": 710, "loc": { "start": { - "line": 29, + "line": 28, "column": 85 }, "end": { - "line": 29, + "line": 28, "column": 101 } } @@ -1828,15 +1610,15 @@ "postfix": false, "binop": null }, - "start": 742, - "end": 743, + "start": 710, + "end": 711, "loc": { "start": { - "line": 29, + "line": 28, "column": 101 }, "end": { - "line": 29, + "line": 28, "column": 102 } } @@ -1853,15 +1635,15 @@ "postfix": false, "binop": null }, - "start": 743, - "end": 744, + "start": 711, + "end": 712, "loc": { "start": { - "line": 29, + "line": 28, "column": 102 }, "end": { - "line": 29, + "line": 28, "column": 103 } } @@ -1879,15 +1661,15 @@ "binop": null, "updateContext": null }, - "start": 744, - "end": 745, + "start": 712, + "end": 713, "loc": { "start": { - "line": 29, + "line": 28, "column": 103 }, "end": { - "line": 29, + "line": 28, "column": 104 } } @@ -1904,15 +1686,15 @@ "postfix": false, "binop": null }, - "start": 746, - "end": 747, + "start": 714, + "end": 715, "loc": { "start": { - "line": 29, + "line": 28, "column": 105 }, "end": { - "line": 29, + "line": 28, "column": 106 } } @@ -1930,15 +1712,15 @@ "binop": null }, "value": "setter", - "start": 748, - "end": 754, + "start": 716, + "end": 722, "loc": { "start": { - "line": 29, + "line": 28, "column": 107 }, "end": { - "line": 29, + "line": 28, "column": 113 } } @@ -1956,15 +1738,15 @@ "binop": null, "updateContext": null }, - "start": 754, - "end": 755, + "start": 722, + "end": 723, "loc": { "start": { - "line": 29, + "line": 28, "column": 113 }, "end": { - "line": 29, + "line": 28, "column": 114 } } @@ -1984,16 +1766,122 @@ "updateContext": null }, "value": "true", - "start": 756, - "end": 760, + "start": 724, + "end": 728, "loc": { "start": { - "line": 29, + "line": 28, "column": 115 }, "end": { - "line": 29, + "line": 28, + "column": 119 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 728, + "end": 729, + "loc": { + "start": { + "line": 28, "column": 119 + }, + "end": { + "line": 28, + "column": 120 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 730, + "end": 744, + "loc": { + "start": { + "line": 28, + "column": 121 + }, + "end": { + "line": 28, + "column": 135 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 744, + "end": 745, + "loc": { + "start": { + "line": 28, + "column": 135 + }, + "end": { + "line": 28, + "column": 136 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 746, + "end": 750, + "loc": { + "start": { + "line": 28, + "column": 137 + }, + "end": { + "line": 28, + "column": 141 } } }, @@ -2009,16 +1897,16 @@ "postfix": false, "binop": null }, - "start": 761, - "end": 762, + "start": 751, + "end": 752, "loc": { "start": { - "line": 29, - "column": 120 + "line": 28, + "column": 142 }, "end": { - "line": 29, - "column": 121 + "line": 28, + "column": 143 } } }, @@ -2034,16 +1922,16 @@ "postfix": false, "binop": null }, - "start": 762, - "end": 763, + "start": 752, + "end": 753, "loc": { "start": { - "line": 29, - "column": 121 + "line": 28, + "column": 143 }, "end": { - "line": 29, - "column": 122 + "line": 28, + "column": 144 } } }, @@ -2059,16 +1947,16 @@ "postfix": false, "binop": null }, - "start": 763, - "end": 764, + "start": 753, + "end": 754, "loc": { "start": { - "line": 29, - "column": 122 + "line": 28, + "column": 144 }, "end": { - "line": 29, - "column": 123 + "line": 28, + "column": 145 } } }, @@ -2085,16 +1973,16 @@ "binop": null, "updateContext": null }, - "start": 764, - "end": 765, + "start": 754, + "end": 755, "loc": { "start": { - "line": 29, - "column": 123 + "line": 28, + "column": 145 }, "end": { - "line": 29, - "column": 124 + "line": 28, + "column": 146 } } }, @@ -2113,15 +2001,15 @@ "updateContext": null }, "value": "export", - "start": 766, - "end": 772, + "start": 756, + "end": 762, "loc": { "start": { - "line": 30, + "line": 29, "column": 0 }, "end": { - "line": 30, + "line": 29, "column": 6 } } @@ -2138,15 +2026,15 @@ "postfix": false, "binop": null }, - "start": 773, - "end": 774, + "start": 763, + "end": 764, "loc": { "start": { - "line": 30, + "line": 29, "column": 7 }, "end": { - "line": 30, + "line": 29, "column": 8 } } @@ -2164,15 +2052,15 @@ "binop": null }, "value": "Defer", - "start": 775, - "end": 780, + "start": 765, + "end": 770, "loc": { "start": { - "line": 30, + "line": 29, "column": 9 }, "end": { - "line": 30, + "line": 29, "column": 14 } } @@ -2190,15 +2078,15 @@ "binop": null }, "value": "as", - "start": 781, - "end": 783, + "start": 771, + "end": 773, "loc": { "start": { - "line": 30, + "line": 29, "column": 15 }, "end": { - "line": 30, + "line": 29, "column": 17 } } @@ -2216,15 +2104,15 @@ "binop": null }, "value": "defer", - "start": 784, - "end": 789, + "start": 774, + "end": 779, "loc": { "start": { - "line": 30, + "line": 29, "column": 18 }, "end": { - "line": 30, + "line": 29, "column": 23 } } @@ -2241,15 +2129,15 @@ "postfix": false, "binop": null }, - "start": 790, - "end": 791, + "start": 780, + "end": 781, "loc": { "start": { - "line": 30, + "line": 29, "column": 24 }, "end": { - "line": 30, + "line": 29, "column": 25 } } @@ -2267,15 +2155,15 @@ "binop": null, "updateContext": null }, - "start": 791, - "end": 792, + "start": 781, + "end": 782, "loc": { "start": { - "line": 30, + "line": 29, "column": 25 }, "end": { - "line": 30, + "line": 29, "column": 26 } } @@ -2295,15 +2183,15 @@ "updateContext": null }, "value": "export", - "start": 793, - "end": 799, + "start": 783, + "end": 789, "loc": { "start": { - "line": 31, + "line": 30, "column": 0 }, "end": { - "line": 31, + "line": 30, "column": 6 } } @@ -2323,15 +2211,15 @@ "updateContext": null }, "value": "default", - "start": 800, - "end": 807, + "start": 790, + "end": 797, "loc": { "start": { - "line": 31, + "line": 30, "column": 7 }, "end": { - "line": 31, + "line": 30, "column": 14 } } @@ -2349,15 +2237,15 @@ "binop": null }, "value": "Defer", - "start": 808, - "end": 813, + "start": 798, + "end": 803, "loc": { "start": { - "line": 31, + "line": 30, "column": 15 }, "end": { - "line": 31, + "line": 30, "column": 20 } } @@ -2375,15 +2263,15 @@ "binop": null, "updateContext": null }, - "start": 813, - "end": 814, + "start": 803, + "end": 804, "loc": { "start": { - "line": 31, + "line": 30, "column": 20 }, "end": { - "line": 31, + "line": 30, "column": 21 } } @@ -2401,15 +2289,15 @@ "binop": null, "updateContext": null }, - "start": 815, - "end": 815, + "start": 805, + "end": 805, "loc": { "start": { - "line": 32, + "line": 31, "column": 0 }, "end": { - "line": 32, + "line": 31, "column": 0 } } diff --git a/docs/ast/source/delay.js.json b/docs/ast/source/delay.ts.json similarity index 55% rename from docs/ast/source/delay.js.json rename to docs/ast/source/delay.ts.json index 37ffff6..be984a4 100644 --- a/docs/ast/source/delay.js.json +++ b/docs/ast/source/delay.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1010, + "end": 754, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 37, + "line": 25, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1010, + "end": 754, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 37, + "line": 25, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 31, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 31 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - }, - "identifierName": "delay" - }, - "name": "delay" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 14 - }, - "identifierName": "delay" - }, - "name": "delay" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 32, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 41, - "end": 56, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 82, - "end": 93, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 95, - "end": 146, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 130, - "end": 145, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -333,711 +247,897 @@ "raw": "'./applicators'" }, "value": "./applicators" - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n *\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Delay(20)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 30);\n ", - "start": 147, - "end": 688, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 29, - "column": 3 - } - } - } - ] + } }, { - "type": "ExportNamedDeclaration", - "start": 689, - "end": 960, + "type": "Identifier", + "start": 115, + "end": 383, "loc": { "start": { - "line": 30, + "line": 3, "column": 0 }, "end": { - "line": 34, + "line": 7, "column": 48 } }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 696, - "end": 960, - "loc": { - "start": { - "line": 30, - "column": 7 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 382, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 7, + "column": 47 + } }, - "end": { - "line": 34, - "column": 48 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 702, - "end": 959, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 382, "loc": { "start": { - "line": 30, - "column": 13 + "line": 3, + "column": 18 }, "end": { - "line": 34, + "line": 7, "column": 47 } }, - "id": { - "type": "Identifier", - "start": 702, - "end": 707, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, "loc": { "start": { - "line": 30, - "column": 13 - }, - "end": { - "line": 30, + "line": 3, "column": 18 }, - "identifierName": "Delay" - }, - "name": "Delay", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 710, - "end": 959, - "loc": { - "start": { - "line": 30, - "column": 21 - }, "end": { - "line": 34, - "column": 47 + "line": 3, + "column": 50 } }, - "callee": { - "type": "MemberExpression", - "start": 710, - "end": 742, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, "loc": { "start": { - "line": 30, - "column": 21 + "line": 3, + "column": 18 }, "end": { - "line": 30, - "column": 53 - } + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" }, - "object": { - "type": "Identifier", - "start": 710, - "end": 726, - "loc": { - "start": { - "line": 30, - "column": 21 - }, - "end": { - "line": 30, - "column": 37 - }, - "identifierName": "DecoratorFactory" + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 }, - "name": "DecoratorFactory" + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" }, - "property": { + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 381, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 7, + "column": 46 + } + }, + "callee": { "type": "Identifier", - "start": 727, - "end": 742, + "start": 170, + "end": 185, "loc": { "start": { - "line": 30, - "column": 38 + "line": 3, + "column": 55 }, "end": { - "line": 30, - "column": 53 + "line": 3, + "column": 70 }, - "identifierName": "createDecorator" + "identifierName": "DecoratorConfig" }, - "name": "createDecorator" + "name": "DecoratorConfig" }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 743, - "end": 958, - "loc": { - "start": { - "line": 30, - "column": 54 - }, - "end": { - "line": 34, - "column": 46 - } - }, - "callee": { - "type": "Identifier", - "start": 747, - "end": 762, + "arguments": [ + { + "type": "FunctionExpression", + "start": 186, + "end": 336, "loc": { "start": { - "line": 30, - "column": 58 + "line": 3, + "column": 71 }, "end": { - "line": 30, - "column": 73 - }, - "identifierName": "DecoratorConfig" + "line": 7, + "column": 1 + } }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "FunctionExpression", - "start": 763, - "end": 913, - "loc": { - "start": { - "line": 30, - "column": 74 + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 196, + "end": 201, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 86 + }, + "identifierName": "value" }, - "end": { - "line": 34, - "column": 1 - } + "name": "value" }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 773, - "end": 778, - "loc": { - "start": { - "line": 30, - "column": 84 - }, - "end": { - "line": 30, - "column": 89 - }, - "identifierName": "value" + { + "type": "Identifier", + "start": 203, + "end": 207, + "loc": { + "start": { + "line": 3, + "column": 88 }, - "name": "value" - }, - { + "end": { + "line": 3, + "column": 92 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "RestElement", + "start": 209, + "end": 216, + "loc": { + "start": { + "line": 3, + "column": 94 + }, + "end": { + "line": 3, + "column": 101 + } + }, + "argument": { "type": "Identifier", - "start": 780, - "end": 784, + "start": 212, + "end": 216, "loc": { "start": { - "line": 30, - "column": 91 + "line": 3, + "column": 97 }, "end": { - "line": 30, - "column": 95 + "line": 3, + "column": 101 }, - "identifierName": "wait" + "identifierName": "args" }, - "name": "wait" + "name": "args" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 218, + "end": 336, + "loc": { + "start": { + "line": 3, + "column": 103 }, + "end": { + "line": 7, + "column": 1 + } + }, + "body": [ { - "type": "RestElement", - "start": 786, - "end": 793, + "type": "ReturnStatement", + "start": 224, + "end": 334, "loc": { "start": { - "line": 30, - "column": 97 + "line": 4, + "column": 4 }, "end": { - "line": 30, - "column": 104 + "line": 6, + "column": 6 } }, "argument": { - "type": "Identifier", - "start": 789, - "end": 793, - "loc": { - "start": { - "line": 30, - "column": 100 - }, - "end": { - "line": 30, - "column": 104 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 795, - "end": 913, - "loc": { - "start": { - "line": 30, - "column": 106 - }, - "end": { - "line": 34, - "column": 1 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 801, - "end": 911, + "type": "FunctionExpression", + "start": 231, + "end": 333, "loc": { "start": { - "line": 31, - "column": 4 + "line": 4, + "column": 11 }, "end": { - "line": 33, - "column": 6 + "line": 6, + "column": 5 } }, - "argument": { - "type": "FunctionExpression", - "start": 808, - "end": 910, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 241, + "end": 254, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 34 + } + }, + "argument": { + "type": "Identifier", + "start": 244, + "end": 254, + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 34 + }, + "identifierName": "invokeArgs" + }, + "name": "invokeArgs" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 256, + "end": 333, "loc": { "start": { - "line": 31, - "column": 11 + "line": 4, + "column": 36 }, "end": { - "line": 33, + "line": 6, "column": 5 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "RestElement", - "start": 818, - "end": 831, + "type": "ReturnStatement", + "start": 266, + "end": 327, "loc": { "start": { - "line": 31, - "column": 21 + "line": 5, + "column": 8 }, "end": { - "line": 31, - "column": 34 + "line": 5, + "column": 69 } }, "argument": { - "type": "Identifier", - "start": 821, - "end": 831, - "loc": { - "start": { - "line": 31, - "column": 24 - }, - "end": { - "line": 31, - "column": 34 - }, - "identifierName": "invokeArgs" - }, - "name": "invokeArgs" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 833, - "end": 910, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 33, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 843, - "end": 904, + "type": "CallExpression", + "start": 273, + "end": 326, "loc": { "start": { - "line": 32, - "column": 8 + "line": 5, + "column": 15 }, "end": { - "line": 32, - "column": 69 + "line": 5, + "column": 68 } }, - "argument": { - "type": "CallExpression", - "start": 850, - "end": 903, + "callee": { + "type": "Identifier", + "start": 273, + "end": 278, "loc": { "start": { - "line": 32, + "line": 5, "column": 15 }, "end": { - "line": 32, - "column": 68 - } + "line": 5, + "column": 20 + }, + "identifierName": "delay" }, - "callee": { - "type": "Identifier", - "start": 850, - "end": 855, + "name": "delay" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 279, + "end": 295, "loc": { "start": { - "line": 32, - "column": 15 + "line": 5, + "column": 21 }, "end": { - "line": 32, - "column": 20 - }, - "identifierName": "delay" + "line": 5, + "column": 37 + } }, - "name": "delay" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 856, - "end": 872, + "callee": { + "type": "MemberExpression", + "start": 279, + "end": 289, "loc": { "start": { - "line": 32, + "line": 5, "column": 21 }, "end": { - "line": 32, - "column": 37 + "line": 5, + "column": 31 } }, - "callee": { - "type": "MemberExpression", - "start": 856, - "end": 866, + "object": { + "type": "Identifier", + "start": 279, + "end": 284, "loc": { "start": { - "line": 32, + "line": 5, "column": 21 }, "end": { - "line": 32, - "column": 31 - } - }, - "object": { - "type": "Identifier", - "start": 856, - "end": 861, - "loc": { - "start": { - "line": 32, - "column": 21 - }, - "end": { - "line": 32, - "column": 26 - }, - "identifierName": "value" + "line": 5, + "column": 26 }, - "name": "value" + "identifierName": "value" }, - "property": { - "type": "Identifier", - "start": 862, - "end": 866, - "loc": { - "start": { - "line": 32, - "column": 27 - }, - "end": { - "line": 32, - "column": 31 - }, - "identifierName": "bind" + "name": "value" + }, + "property": { + "type": "Identifier", + "start": 285, + "end": 289, + "loc": { + "start": { + "line": 5, + "column": 27 }, - "name": "bind" + "end": { + "line": 5, + "column": 31 + }, + "identifierName": "bind" }, - "computed": false + "name": "bind" }, - "arguments": [ - { - "type": "ThisExpression", - "start": 867, - "end": 871, - "loc": { - "start": { - "line": 32, - "column": 32 - }, - "end": { - "line": 32, - "column": 36 - } + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 290, + "end": 294, + "loc": { + "start": { + "line": 5, + "column": 32 + }, + "end": { + "line": 5, + "column": 36 } } - ] + } + ] + }, + { + "type": "Identifier", + "start": 297, + "end": 301, + "loc": { + "start": { + "line": 5, + "column": 39 + }, + "end": { + "line": 5, + "column": 43 + }, + "identifierName": "wait" }, - { - "type": "Identifier", - "start": 874, - "end": 878, - "loc": { - "start": { - "line": 32, - "column": 39 - }, - "end": { - "line": 32, - "column": 43 - }, - "identifierName": "wait" + "name": "wait" + }, + { + "type": "SpreadElement", + "start": 303, + "end": 316, + "loc": { + "start": { + "line": 5, + "column": 45 }, - "name": "wait" + "end": { + "line": 5, + "column": 58 + } }, - { - "type": "SpreadElement", - "start": 880, - "end": 893, + "argument": { + "type": "Identifier", + "start": 306, + "end": 316, "loc": { "start": { - "line": 32, - "column": 45 + "line": 5, + "column": 48 }, "end": { - "line": 32, + "line": 5, "column": 58 - } - }, - "argument": { - "type": "Identifier", - "start": 883, - "end": 893, - "loc": { - "start": { - "line": 32, - "column": 48 - }, - "end": { - "line": 32, - "column": 58 - }, - "identifierName": "invokeArgs" }, - "name": "invokeArgs" + "identifierName": "invokeArgs" + }, + "name": "invokeArgs" + } + }, + { + "type": "SpreadElement", + "start": 318, + "end": 325, + "loc": { + "start": { + "line": 5, + "column": 60 + }, + "end": { + "line": 5, + "column": 67 } }, - { - "type": "SpreadElement", - "start": 895, - "end": 902, + "argument": { + "type": "Identifier", + "start": 321, + "end": 325, "loc": { "start": { - "line": 32, - "column": 60 + "line": 5, + "column": 63 }, "end": { - "line": 32, + "line": 5, "column": 67 - } - }, - "argument": { - "type": "Identifier", - "start": 898, - "end": 902, - "loc": { - "start": { - "line": 32, - "column": 63 - }, - "end": { - "line": 32, - "column": 67 - }, - "identifierName": "args" }, - "name": "args" - } + "identifierName": "args" + }, + "name": "args" } - ] - } + } + ] } - ], - "directives": [] - } + } + ], + "directives": [] } } - ], - "directives": [] - } - }, - { - "type": "NewExpression", - "start": 915, - "end": 939, + } + ], + "directives": [] + } + }, + { + "type": "NewExpression", + "start": 338, + "end": 362, + "loc": { + "start": { + "line": 7, + "column": 3 + }, + "end": { + "line": 7, + "column": 27 + } + }, + "callee": { + "type": "Identifier", + "start": 342, + "end": 360, "loc": { "start": { - "line": 34, - "column": 3 + "line": 7, + "column": 7 }, "end": { - "line": 34, - "column": 27 - } + "line": 7, + "column": 25 + }, + "identifierName": "PreValueApplicator" }, - "callee": { - "type": "Identifier", - "start": 919, - "end": 937, + "name": "PreValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 364, + "end": 380, + "loc": { + "start": { + "line": 7, + "column": 29 + }, + "end": { + "line": 7, + "column": 45 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 366, + "end": 378, "loc": { "start": { - "line": 34, - "column": 7 + "line": 7, + "column": 31 }, "end": { - "line": 34, - "column": 25 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "arguments": [] - }, - { - "type": "ObjectExpression", - "start": 941, - "end": 957, - "loc": { - "start": { - "line": 34, - "column": 29 + "line": 7, + "column": 43 + } }, - "end": { - "line": 34, - "column": 45 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 943, - "end": 955, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 366, + "end": 372, "loc": { "start": { - "line": 34, + "line": 7, "column": 31 }, "end": { - "line": 34, - "column": 43 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 943, - "end": 949, - "loc": { - "start": { - "line": 34, - "column": 31 - }, - "end": { - "line": 34, - "column": 37 - }, - "identifierName": "setter" + "line": 7, + "column": 37 }, - "name": "setter" + "identifierName": "setter" }, - "value": { - "type": "BooleanLiteral", - "start": 951, - "end": 955, - "loc": { - "start": { - "line": 34, - "column": 39 - }, - "end": { - "line": 34, - "column": 43 - } + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 374, + "end": 378, + "loc": { + "start": { + "line": 7, + "column": 39 }, - "value": true - } + "end": { + "line": 7, + "column": 43 + } + }, + "value": true } - ] - } - ] - } - ] + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 623, + "end": 700, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 630, + "end": 700, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 639, + "end": 644, + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 21 + }, + "identifierName": "Delay" + }, + "name": "Delay", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 645, + "end": 649, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 26 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "RestElement", + "start": 651, + "end": 658, + "loc": { + "start": { + "line": 20, + "column": 28 + }, + "end": { + "line": 20, + "column": 35 + } }, - "leadingComments": null + "argument": { + "type": "Identifier", + "start": 654, + "end": 658, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 35 + }, + "identifierName": "args" + }, + "name": "args" + } } ], - "kind": "const", + "body": { + "type": "BlockStatement", + "start": 660, + "end": 700, + "loc": { + "start": { + "line": 20, + "column": 37 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 666, + "end": 698, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 36 + } + }, + "argument": { + "type": "CallExpression", + "start": 673, + "end": 697, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 673, + "end": 682, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 683, + "end": 687, + "loc": { + "start": { + "line": 21, + "column": 21 + }, + "end": { + "line": 21, + "column": 25 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "SpreadElement", + "start": 689, + "end": 696, + "loc": { + "start": { + "line": 21, + "column": 27 + }, + "end": { + "line": 21, + "column": 34 + } + }, + "argument": { + "type": "Identifier", + "start": 692, + "end": 696, + "loc": { + "start": { + "line": 21, + "column": 30 + }, + "end": { + "line": 21, + "column": 34 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ] + } + } + ], + "directives": [] + }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n *\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Delay(20)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 30);\n ", - "start": 147, - "end": 688, + "value": "*\n * @desc\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n * @lineNumber\n * 44\n * @param\n * {number} wait\n * @param\n * {undefined} args\n * @return\n * {LodashMethodDecorator}\n ", + "start": 384, + "end": 622, "loc": { "start": { - "line": 4, + "line": 8, "column": 0 }, "end": { - "line": 29, + "line": 19, "column": 3 } } @@ -1048,16 +1148,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n *\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Delay(20)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 30);\n ", - "start": 147, - "end": 688, + "value": "*\n * @desc\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n * @lineNumber\n * 44\n * @param\n * {number} wait\n * @param\n * {undefined} args\n * @return\n * {LodashMethodDecorator}\n ", + "start": 384, + "end": 622, "loc": { "start": { - "line": 4, + "line": 8, "column": 0 }, "end": { - "line": 29, + "line": 19, "column": 3 } } @@ -1066,15 +1166,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 961, - "end": 987, + "start": 701, + "end": 727, "loc": { "start": { - "line": 35, + "line": 23, "column": 0 }, "end": { - "line": 35, + "line": 23, "column": 26 } }, @@ -1082,29 +1182,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 970, - "end": 984, + "start": 710, + "end": 724, "loc": { "start": { - "line": 35, + "line": 23, "column": 9 }, "end": { - "line": 35, + "line": 23, "column": 23 } }, "local": { "type": "Identifier", - "start": 970, - "end": 975, + "start": 710, + "end": 715, "loc": { "start": { - "line": 35, + "line": 23, "column": 9 }, "end": { - "line": 35, + "line": 23, "column": 14 }, "identifierName": "Delay" @@ -1113,15 +1213,15 @@ }, "exported": { "type": "Identifier", - "start": 979, - "end": 984, + "start": 719, + "end": 724, "loc": { "start": { - "line": 35, + "line": 23, "column": 18 }, "end": { - "line": 35, + "line": 23, "column": 23 }, "identifierName": "delay" @@ -1133,67 +1233,992 @@ "source": null }, { - "type": "ExportDefaultDeclaration", - "start": 988, - "end": 1009, + "type": "Identifier", + "start": 728, + "end": 753, "loc": { "start": { - "line": 36, + "line": 24, "column": 0 }, "end": { - "line": 36, - "column": 21 + "line": 24, + "column": 25 } }, "declaration": { "type": "Identifier", - "start": 1003, - "end": 1008, + "start": 743, + "end": 752, "loc": { "start": { - "line": 36, + "line": 24, "column": 15 }, "end": { - "line": 36, - "column": 20 + "line": 24, + "column": 24 }, - "identifierName": "Delay" + "identifierName": "decorator" }, - "name": "Delay", - "leadingComments": [], - "trailingComments": [] + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 728, + "end": 753, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 115, + "end": 383, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 7, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 382, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 7, + "column": 47 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 382, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 7, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 381, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 7, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "FunctionExpression", + "start": 186, + "end": 336, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 7, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 196, + "end": 201, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 86 + }, + "identifierName": "value" + }, + "name": "value" + }, + { + "type": "Identifier", + "start": 203, + "end": 207, + "loc": { + "start": { + "line": 3, + "column": 88 + }, + "end": { + "line": 3, + "column": 92 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "RestElement", + "start": 209, + "end": 216, + "loc": { + "start": { + "line": 3, + "column": 94 + }, + "end": { + "line": 3, + "column": 101 + } + }, + "argument": { + "type": "Identifier", + "start": 212, + "end": 216, + "loc": { + "start": { + "line": 3, + "column": 97 + }, + "end": { + "line": 3, + "column": 101 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 218, + "end": 336, + "loc": { + "start": { + "line": 3, + "column": 103 + }, + "end": { + "line": 7, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 224, + "end": 334, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 6, + "column": 6 + } + }, + "argument": { + "type": "FunctionExpression", + "start": 231, + "end": 333, + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 6, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 241, + "end": 254, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 34 + } + }, + "argument": { + "type": "Identifier", + "start": 244, + "end": 254, + "loc": { + "start": { + "line": 4, + "column": 24 + }, + "end": { + "line": 4, + "column": 34 + }, + "identifierName": "invokeArgs" + }, + "name": "invokeArgs" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 256, + "end": 333, + "loc": { + "start": { + "line": 4, + "column": 36 + }, + "end": { + "line": 6, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 266, + "end": 327, + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 69 + } + }, + "argument": { + "type": "CallExpression", + "start": 273, + "end": 326, + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 68 + } + }, + "callee": { + "type": "Identifier", + "start": 273, + "end": 278, + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 20 + }, + "identifierName": "delay" + }, + "name": "delay" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 279, + "end": 295, + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 279, + "end": 289, + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 279, + "end": 284, + "loc": { + "start": { + "line": 5, + "column": 21 + }, + "end": { + "line": 5, + "column": 26 + }, + "identifierName": "value" + }, + "name": "value" + }, + "property": { + "type": "Identifier", + "start": 285, + "end": 289, + "loc": { + "start": { + "line": 5, + "column": 27 + }, + "end": { + "line": 5, + "column": 31 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 290, + "end": 294, + "loc": { + "start": { + "line": 5, + "column": 32 + }, + "end": { + "line": 5, + "column": 36 + } + } + } + ] + }, + { + "type": "Identifier", + "start": 297, + "end": 301, + "loc": { + "start": { + "line": 5, + "column": 39 + }, + "end": { + "line": 5, + "column": 43 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "SpreadElement", + "start": 303, + "end": 316, + "loc": { + "start": { + "line": 5, + "column": 45 + }, + "end": { + "line": 5, + "column": 58 + } + }, + "argument": { + "type": "Identifier", + "start": 306, + "end": 316, + "loc": { + "start": { + "line": 5, + "column": 48 + }, + "end": { + "line": 5, + "column": 58 + }, + "identifierName": "invokeArgs" + }, + "name": "invokeArgs" + } + }, + { + "type": "SpreadElement", + "start": 318, + "end": 325, + "loc": { + "start": { + "line": 5, + "column": 60 + }, + "end": { + "line": 5, + "column": 67 + } + }, + "argument": { + "type": "Identifier", + "start": 321, + "end": 325, + "loc": { + "start": { + "line": 5, + "column": 63 + }, + "end": { + "line": 5, + "column": 67 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "directives": [] + } + }, + { + "type": "NewExpression", + "start": 338, + "end": 362, + "loc": { + "start": { + "line": 7, + "column": 3 + }, + "end": { + "line": 7, + "column": 27 + } + }, + "callee": { + "type": "Identifier", + "start": 342, + "end": 360, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 25 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 364, + "end": 380, + "loc": { + "start": { + "line": 7, + "column": 29 + }, + "end": { + "line": 7, + "column": 45 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 366, + "end": 378, + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 43 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 366, + "end": 372, + "loc": { + "start": { + "line": 7, + "column": 31 + }, + "end": { + "line": 7, + "column": 37 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 374, + "end": 378, + "loc": { + "start": { + "line": 7, + "column": 39 + }, + "end": { + "line": 7, + "column": 43 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n * @lineNumber\n * 44\n * @param\n * {number} wait\n * @param\n * {undefined} args\n * @return\n * {LodashMethodDecorator}\n ", + "start": 384, + "end": 622, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n * @lineNumber\n * 44\n * @param\n * {number} wait\n * @param\n * {undefined} args\n * @return\n * {LodashMethodDecorator}\n ", + "start": 384, + "end": 622, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 } } - ], - "directives": [] - }, - "comments": [ + }, { - "type": "CommentBlock", - "value": "*\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n *\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Delay(20)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 30);\n ", - "start": 147, - "end": 688, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, "loc": { "start": { - "line": 4, - "column": 0 + "line": 1, + "column": 61 }, "end": { - "line": 29, - "column": 3 + "line": 1, + "column": 62 } } - } - ], - "tokens": [ + }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1203,15 +2228,15 @@ "updateContext": null }, "value": "import", - "start": 0, - "end": 6, + "start": 63, + "end": 69, "loc": { "start": { - "line": 1, + "line": 2, "column": 0 }, "end": { - "line": 1, + "line": 2, "column": 6 } } @@ -1228,15 +2253,15 @@ "postfix": false, "binop": null }, - "start": 7, - "end": 8, + "start": 70, + "end": 71, "loc": { "start": { - "line": 1, + "line": 2, "column": 7 }, "end": { - "line": 1, + "line": 2, "column": 8 } } @@ -1253,17 +2278,17 @@ "postfix": false, "binop": null }, - "value": "delay", - "start": 9, - "end": 14, + "value": "PreValueApplicator", + "start": 72, + "end": 90, "loc": { "start": { - "line": 1, + "line": 2, "column": 9 }, "end": { - "line": 1, - "column": 14 + "line": 2, + "column": 27 } } }, @@ -1279,16 +2304,16 @@ "postfix": false, "binop": null }, - "start": 15, - "end": 16, + "start": 91, + "end": 92, "loc": { "start": { - "line": 1, - "column": 15 + "line": 2, + "column": 28 }, "end": { - "line": 1, - "column": 16 + "line": 2, + "column": 29 } } }, @@ -1305,16 +2330,16 @@ "binop": null }, "value": "from", - "start": 17, - "end": 21, + "start": 93, + "end": 97, "loc": { "start": { - "line": 1, - "column": 17 + "line": 2, + "column": 30 }, "end": { - "line": 1, - "column": 21 + "line": 2, + "column": 34 } } }, @@ -1331,17 +2356,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 22, - "end": 30, + "value": "./applicators", + "start": 98, + "end": 113, "loc": { "start": { - "line": 1, - "column": 22 + "line": 2, + "column": 35 }, "end": { - "line": 1, - "column": 30 + "line": 2, + "column": 50 } } }, @@ -1358,23 +2383,23 @@ "binop": null, "updateContext": null }, - "start": 30, - "end": 31, + "start": 113, + "end": 114, "loc": { "start": { - "line": 1, - "column": 30 + "line": 2, + "column": 50 }, "end": { - "line": 1, - "column": 31 + "line": 2, + "column": 51 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1385,24 +2410,77 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 32, - "end": 38, + "value": "const", + "start": 115, + "end": 120, "loc": { "start": { - "line": 2, + "line": 3, "column": 0 }, "end": { - "line": 2, + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, "column": 6 + }, + "end": { + "line": 3, + "column": 15 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1411,16 +2489,43 @@ "postfix": false, "binop": null }, - "start": 39, - "end": 40, + "value": "DecoratorFactory", + "start": 133, + "end": 149, "loc": { "start": { - "line": 2, - "column": 7 + "line": 3, + "column": 18 }, "end": { - "line": 2, - "column": 8 + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 149, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 } } }, @@ -1436,25 +2541,51 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 41, - "end": 56, + "value": "createDecorator", + "start": 150, + "end": 165, "loc": { "start": { - "line": 2, - "column": 9 + "line": 3, + "column": 35 }, "end": { - "line": 2, - "column": 24 + "line": 3, + "column": 50 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 165, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1463,23 +2594,50 @@ "binop": null, "updateContext": null }, - "start": 56, - "end": 57, + "value": "new", + "start": 166, + "end": 169, "loc": { "start": { - "line": 2, - "column": 24 + "line": 3, + "column": 51 }, "end": { - "line": 2, - "column": 25 + "line": 3, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1488,25 +2646,25 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 58, - "end": 74, + "start": 185, + "end": 186, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 70 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 71 } } }, { "type": { - "label": "}", + "label": "function", + "keyword": "function", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1514,23 +2672,24 @@ "postfix": false, "binop": null }, - "start": 75, - "end": 76, + "value": "function", + "start": 186, + "end": 194, "loc": { "start": { - "line": 2, - "column": 43 + "line": 3, + "column": 71 }, "end": { - "line": 2, - "column": 44 + "line": 3, + "column": 79 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1539,23 +2698,22 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 77, - "end": 81, + "start": 195, + "end": 196, "loc": { "start": { - "line": 2, - "column": 45 + "line": 3, + "column": 80 }, "end": { - "line": 2, - "column": 49 + "line": 3, + "column": 81 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1563,26 +2721,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./factory", - "start": 82, - "end": 93, + "value": "value", + "start": 196, + "end": 201, "loc": { "start": { - "line": 2, - "column": 50 + "line": 3, + "column": 81 }, "end": { - "line": 2, - "column": 61 + "line": 3, + "column": 86 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1593,103 +2750,102 @@ "binop": null, "updateContext": null }, - "start": 93, - "end": 94, + "start": 201, + "end": 202, "loc": { "start": { - "line": 2, - "column": 61 + "line": 3, + "column": 86 }, "end": { - "line": 2, - "column": 62 + "line": 3, + "column": 87 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 95, - "end": 101, + "value": "wait", + "start": 203, + "end": 207, "loc": { "start": { "line": 3, - "column": 0 + "column": 88 }, "end": { "line": 3, - "column": 6 + "column": 92 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 102, - "end": 103, + "start": 207, + "end": 208, "loc": { "start": { "line": 3, - "column": 7 + "column": 92 }, "end": { "line": 3, - "column": 8 + "column": 93 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "...", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "PreValueApplicator", - "start": 104, - "end": 122, + "start": 209, + "end": 212, "loc": { "start": { "line": 3, - "column": 9 + "column": 94 }, "end": { "line": 3, - "column": 27 + "column": 97 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1697,24 +2853,25 @@ "postfix": false, "binop": null }, - "start": 123, - "end": 124, + "value": "args", + "start": 212, + "end": 216, "loc": { "start": { "line": 3, - "column": 28 + "column": 97 }, "end": { "line": 3, - "column": 29 + "column": 101 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1722,50 +2879,48 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 125, - "end": 129, + "start": 216, + "end": 217, "loc": { "start": { "line": 3, - "column": 30 + "column": 101 }, "end": { "line": 3, - "column": 34 + "column": 102 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./applicators", - "start": 130, - "end": 145, + "start": 218, + "end": 219, "loc": { "start": { "line": 3, - "column": 35 + "column": 103 }, "end": { "line": 3, - "column": 50 + "column": 104 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1776,68 +2931,76 @@ "binop": null, "updateContext": null }, - "start": 145, - "end": 146, + "value": "return", + "start": 224, + "end": 230, "loc": { "start": { - "line": 3, - "column": 50 + "line": 4, + "column": 4 }, "end": { - "line": 3, - "column": 51 + "line": 4, + "column": 10 } } }, { - "type": "CommentBlock", - "value": "*\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n *\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Delay(20)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 30);\n ", - "start": 147, - "end": 688, + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 231, + "end": 239, "loc": { "start": { "line": 4, - "column": 0 + "column": 11 }, "end": { - "line": 29, - "column": 3 + "line": 4, + "column": 19 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 689, - "end": 695, + "start": 240, + "end": 241, "loc": { "start": { - "line": 30, - "column": 0 + "line": 4, + "column": 20 }, "end": { - "line": 30, - "column": 6 + "line": 4, + "column": 21 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "...", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1847,17 +3010,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 696, - "end": 701, + "start": 241, + "end": 244, "loc": { "start": { - "line": 30, - "column": 7 + "line": 4, + "column": 21 }, "end": { - "line": 30, - "column": 12 + "line": 4, + "column": 24 } } }, @@ -1873,51 +3035,49 @@ "postfix": false, "binop": null }, - "value": "Delay", - "start": 702, - "end": 707, + "value": "invokeArgs", + "start": 244, + "end": 254, "loc": { "start": { - "line": 30, - "column": 13 + "line": 4, + "column": 24 }, "end": { - "line": 30, - "column": 18 + "line": 4, + "column": 34 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 708, - "end": 709, + "start": 254, + "end": 255, "loc": { "start": { - "line": 30, - "column": 19 + "line": 4, + "column": 34 }, "end": { - "line": 30, - "column": 20 + "line": 4, + "column": 35 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1926,24 +3086,24 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 710, - "end": 726, + "start": 256, + "end": 257, "loc": { "start": { - "line": 30, - "column": 21 + "line": 4, + "column": 36 }, "end": { - "line": 30, + "line": 4, "column": 37 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1953,16 +3113,17 @@ "binop": null, "updateContext": null }, - "start": 726, - "end": 727, + "value": "return", + "start": 266, + "end": 272, "loc": { "start": { - "line": 30, - "column": 37 + "line": 5, + "column": 8 }, "end": { - "line": 30, - "column": 38 + "line": 5, + "column": 14 } } }, @@ -1978,17 +3139,17 @@ "postfix": false, "binop": null }, - "value": "createDecorator", - "start": 727, - "end": 742, + "value": "delay", + "start": 273, + "end": 278, "loc": { "start": { - "line": 30, - "column": 38 + "line": 5, + "column": 15 }, "end": { - "line": 30, - "column": 53 + "line": 5, + "column": 20 } } }, @@ -2004,77 +3165,75 @@ "postfix": false, "binop": null }, - "start": 742, - "end": 743, + "start": 278, + "end": 279, "loc": { "start": { - "line": 30, - "column": 53 + "line": 5, + "column": 20 }, "end": { - "line": 30, - "column": 54 + "line": 5, + "column": 21 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 743, - "end": 746, + "value": "value", + "start": 279, + "end": 284, "loc": { "start": { - "line": 30, - "column": 54 + "line": 5, + "column": 21 }, "end": { - "line": 30, - "column": 57 + "line": 5, + "column": 26 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 747, - "end": 762, + "start": 284, + "end": 285, "loc": { "start": { - "line": 30, - "column": 58 + "line": 5, + "column": 26 }, "end": { - "line": 30, - "column": 73 + "line": 5, + "column": 27 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2083,24 +3242,24 @@ "postfix": false, "binop": null }, - "start": 762, - "end": 763, + "value": "bind", + "start": 285, + "end": 289, "loc": { "start": { - "line": 30, - "column": 73 + "line": 5, + "column": 27 }, "end": { - "line": 30, - "column": 74 + "line": 5, + "column": 31 } } }, { "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2109,50 +3268,52 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 763, - "end": 771, + "start": 289, + "end": 290, "loc": { "start": { - "line": 30, - "column": 74 + "line": 5, + "column": 31 }, "end": { - "line": 30, - "column": 82 + "line": 5, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 772, - "end": 773, + "value": "this", + "start": 290, + "end": 294, "loc": { "start": { - "line": 30, - "column": 83 + "line": 5, + "column": 32 }, "end": { - "line": 30, - "column": 84 + "line": 5, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2160,17 +3321,16 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 773, - "end": 778, + "start": 294, + "end": 295, "loc": { "start": { - "line": 30, - "column": 84 + "line": 5, + "column": 36 }, "end": { - "line": 30, - "column": 89 + "line": 5, + "column": 37 } } }, @@ -2187,16 +3347,16 @@ "binop": null, "updateContext": null }, - "start": 778, - "end": 779, + "start": 295, + "end": 296, "loc": { "start": { - "line": 30, - "column": 89 + "line": 5, + "column": 37 }, "end": { - "line": 30, - "column": 90 + "line": 5, + "column": 38 } } }, @@ -2213,16 +3373,16 @@ "binop": null }, "value": "wait", - "start": 780, - "end": 784, + "start": 297, + "end": 301, "loc": { "start": { - "line": 30, - "column": 91 + "line": 5, + "column": 39 }, "end": { - "line": 30, - "column": 95 + "line": 5, + "column": 43 } } }, @@ -2239,16 +3399,16 @@ "binop": null, "updateContext": null }, - "start": 784, - "end": 785, + "start": 301, + "end": 302, "loc": { "start": { - "line": 30, - "column": 95 + "line": 5, + "column": 43 }, "end": { - "line": 30, - "column": 96 + "line": 5, + "column": 44 } } }, @@ -2265,16 +3425,16 @@ "binop": null, "updateContext": null }, - "start": 786, - "end": 789, + "start": 303, + "end": 306, "loc": { "start": { - "line": 30, - "column": 97 + "line": 5, + "column": 45 }, "end": { - "line": 30, - "column": 100 + "line": 5, + "column": 48 } } }, @@ -2290,74 +3450,49 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 789, - "end": 793, - "loc": { - "start": { - "line": 30, - "column": 100 - }, - "end": { - "line": 30, - "column": 104 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 793, - "end": 794, + "value": "invokeArgs", + "start": 306, + "end": 316, "loc": { "start": { - "line": 30, - "column": 104 + "line": 5, + "column": 48 }, "end": { - "line": 30, - "column": 105 + "line": 5, + "column": 58 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 795, - "end": 796, + "start": 316, + "end": 317, "loc": { "start": { - "line": 30, - "column": 106 + "line": 5, + "column": 58 }, "end": { - "line": 30, - "column": 107 + "line": 5, + "column": 59 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2368,24 +3503,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 801, - "end": 807, + "start": 318, + "end": 321, "loc": { "start": { - "line": 31, - "column": 4 + "line": 5, + "column": 60 }, "end": { - "line": 31, - "column": 10 + "line": 5, + "column": 63 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2395,25 +3528,25 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 808, - "end": 816, + "value": "args", + "start": 321, + "end": 325, "loc": { "start": { - "line": 31, - "column": 11 + "line": 5, + "column": 63 }, "end": { - "line": 31, - "column": 19 + "line": 5, + "column": 67 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2421,22 +3554,22 @@ "postfix": false, "binop": null }, - "start": 817, - "end": 818, + "start": 325, + "end": 326, "loc": { "start": { - "line": 31, - "column": 20 + "line": 5, + "column": 67 }, "end": { - "line": 31, - "column": 21 + "line": 5, + "column": 68 } } }, { "type": { - "label": "...", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2447,24 +3580,24 @@ "binop": null, "updateContext": null }, - "start": 818, - "end": 821, + "start": 326, + "end": 327, "loc": { "start": { - "line": 31, - "column": 21 + "line": 5, + "column": 68 }, "end": { - "line": 31, - "column": 24 + "line": 5, + "column": 69 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2472,50 +3605,50 @@ "postfix": false, "binop": null }, - "value": "invokeArgs", - "start": 821, - "end": 831, + "start": 332, + "end": 333, "loc": { "start": { - "line": 31, - "column": 24 + "line": 6, + "column": 4 }, "end": { - "line": 31, - "column": 34 + "line": 6, + "column": 5 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 831, - "end": 832, + "start": 333, + "end": 334, "loc": { "start": { - "line": 31, - "column": 34 + "line": 6, + "column": 5 }, "end": { - "line": 31, - "column": 35 + "line": 6, + "column": 6 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2523,23 +3656,22 @@ "postfix": false, "binop": null }, - "start": 833, - "end": 834, + "start": 335, + "end": 336, "loc": { "start": { - "line": 31, - "column": 36 + "line": 7, + "column": 0 }, "end": { - "line": 31, - "column": 37 + "line": 7, + "column": 1 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2550,50 +3682,51 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 843, - "end": 849, + "start": 336, + "end": 337, "loc": { "start": { - "line": 32, - "column": 8 + "line": 7, + "column": 1 }, "end": { - "line": 32, - "column": 14 + "line": 7, + "column": 2 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "delay", - "start": 850, - "end": 855, + "value": "new", + "start": 338, + "end": 341, "loc": { "start": { - "line": 32, - "column": 15 + "line": 7, + "column": 3 }, "end": { - "line": 32, - "column": 20 + "line": 7, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2602,23 +3735,24 @@ "postfix": false, "binop": null }, - "start": 855, - "end": 856, + "value": "PreValueApplicator", + "start": 342, + "end": 360, "loc": { "start": { - "line": 32, - "column": 20 + "line": 7, + "column": 7 }, "end": { - "line": 32, - "column": 21 + "line": 7, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2627,23 +3761,22 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 856, - "end": 861, + "start": 360, + "end": 361, "loc": { "start": { - "line": 32, - "column": 21 + "line": 7, + "column": 25 }, "end": { - "line": 32, + "line": 7, "column": 26 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2651,51 +3784,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 861, - "end": 862, + "start": 361, + "end": 362, "loc": { "start": { - "line": 32, + "line": 7, "column": 26 }, "end": { - "line": 32, + "line": 7, "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "bind", - "start": 862, - "end": 866, + "start": 362, + "end": 363, "loc": { "start": { - "line": 32, + "line": 7, "column": 27 }, "end": { - "line": 32, - "column": 31 + "line": 7, + "column": 28 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -2705,23 +3837,22 @@ "postfix": false, "binop": null }, - "start": 866, - "end": 867, + "start": 364, + "end": 365, "loc": { "start": { - "line": 32, - "column": 31 + "line": 7, + "column": 29 }, "end": { - "line": 32, - "column": 32 + "line": 7, + "column": 30 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2729,51 +3860,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 867, - "end": 871, - "loc": { - "start": { - "line": 32, - "column": 32 - }, - "end": { - "line": 32, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "start": 871, - "end": 872, + "value": "setter", + "start": 366, + "end": 372, "loc": { "start": { - "line": 32, - "column": 36 + "line": 7, + "column": 31 }, "end": { - "line": 32, + "line": 7, "column": 37 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2784,22 +3889,23 @@ "binop": null, "updateContext": null }, - "start": 872, - "end": 873, + "start": 372, + "end": 373, "loc": { "start": { - "line": 32, + "line": 7, "column": 37 }, "end": { - "line": 32, + "line": 7, "column": 38 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2807,79 +3913,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wait", - "start": 874, - "end": 878, + "value": "true", + "start": 374, + "end": 378, "loc": { "start": { - "line": 32, + "line": 7, "column": 39 }, "end": { - "line": 32, + "line": 7, "column": 43 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 878, - "end": 879, + "start": 379, + "end": 380, "loc": { "start": { - "line": 32, - "column": 43 + "line": 7, + "column": 44 }, "end": { - "line": 32, - "column": 44 + "line": 7, + "column": 45 } } }, { "type": { - "label": "...", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 880, - "end": 883, + "start": 380, + "end": 381, "loc": { "start": { - "line": 32, + "line": 7, "column": 45 }, "end": { - "line": 32, - "column": 48 + "line": 7, + "column": 46 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2887,23 +3992,22 @@ "postfix": false, "binop": null }, - "value": "invokeArgs", - "start": 883, - "end": 893, + "start": 381, + "end": 382, "loc": { "start": { - "line": 32, - "column": 48 + "line": 7, + "column": 46 }, "end": { - "line": 32, - "column": 58 + "line": 7, + "column": 47 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2914,23 +4018,40 @@ "binop": null, "updateContext": null }, - "start": 893, - "end": 894, + "start": 382, + "end": 383, "loc": { "start": { - "line": 32, - "column": 58 + "line": 7, + "column": 47 }, "end": { - "line": 32, - "column": 59 + "line": 7, + "column": 48 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n * @lineNumber\n * 44\n * @param\n * {number} wait\n * @param\n * {undefined} args\n * @return\n * {LodashMethodDecorator}\n ", + "start": 384, + "end": 622, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 19, + "column": 3 } } }, { "type": { - "label": "...", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2940,22 +4061,24 @@ "binop": null, "updateContext": null }, - "start": 895, - "end": 898, + "value": "export", + "start": 623, + "end": 629, "loc": { "start": { - "line": 32, - "column": 60 + "line": 20, + "column": 0 }, "end": { - "line": 32, - "column": 63 + "line": 20, + "column": 6 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2965,25 +4088,25 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 898, - "end": 902, + "value": "function", + "start": 630, + "end": 638, "loc": { "start": { - "line": 32, - "column": 63 + "line": 20, + "column": 7 }, "end": { - "line": 32, - "column": 67 + "line": 20, + "column": 15 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2991,50 +4114,50 @@ "postfix": false, "binop": null }, - "start": 902, - "end": 903, + "value": "Delay", + "start": 639, + "end": 644, "loc": { "start": { - "line": 32, - "column": 67 + "line": 20, + "column": 16 }, "end": { - "line": 32, - "column": 68 + "line": 20, + "column": 21 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 903, - "end": 904, + "start": 644, + "end": 645, "loc": { "start": { - "line": 32, - "column": 68 + "line": 20, + "column": 21 }, "end": { - "line": 32, - "column": 69 + "line": 20, + "column": 22 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3042,22 +4165,23 @@ "postfix": false, "binop": null }, - "start": 909, - "end": 910, + "value": "wait", + "start": 645, + "end": 649, "loc": { "start": { - "line": 33, - "column": 4 + "line": 20, + "column": 22 }, "end": { - "line": 33, - "column": 5 + "line": 20, + "column": 26 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3068,47 +4192,22 @@ "binop": null, "updateContext": null }, - "start": 910, - "end": 911, - "loc": { - "start": { - "line": 33, - "column": 5 - }, - "end": { - "line": 33, - "column": 6 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 912, - "end": 913, + "start": 649, + "end": 650, "loc": { "start": { - "line": 34, - "column": 0 + "line": 20, + "column": 26 }, "end": { - "line": 34, - "column": 1 + "line": 20, + "column": 27 } } }, { "type": { - "label": ",", + "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3119,52 +4218,50 @@ "binop": null, "updateContext": null }, - "start": 913, - "end": 914, + "start": 651, + "end": 654, "loc": { "start": { - "line": 34, - "column": 1 + "line": 20, + "column": 28 }, "end": { - "line": 34, - "column": 2 + "line": 20, + "column": 31 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 915, - "end": 918, + "value": "args", + "start": 654, + "end": 658, "loc": { "start": { - "line": 34, - "column": 3 + "line": 20, + "column": 31 }, "end": { - "line": 34, - "column": 6 + "line": 20, + "column": 35 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3172,23 +4269,22 @@ "postfix": false, "binop": null }, - "value": "PreValueApplicator", - "start": 919, - "end": 937, + "start": 658, + "end": 659, "loc": { "start": { - "line": 34, - "column": 7 + "line": 20, + "column": 35 }, "end": { - "line": 34, - "column": 25 + "line": 20, + "column": 36 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -3198,73 +4294,76 @@ "postfix": false, "binop": null }, - "start": 937, - "end": 938, + "start": 660, + "end": 661, "loc": { "start": { - "line": 34, - "column": 25 + "line": 20, + "column": 37 }, "end": { - "line": 34, - "column": 26 + "line": 20, + "column": 38 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 938, - "end": 939, + "value": "return", + "start": 666, + "end": 672, "loc": { "start": { - "line": 34, - "column": 26 + "line": 21, + "column": 4 }, "end": { - "line": 34, - "column": 27 + "line": 21, + "column": 10 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 939, - "end": 940, + "value": "decorator", + "start": 673, + "end": 682, "loc": { "start": { - "line": 34, - "column": 27 + "line": 21, + "column": 11 }, "end": { - "line": 34, - "column": 28 + "line": 21, + "column": 20 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -3274,16 +4373,16 @@ "postfix": false, "binop": null }, - "start": 941, - "end": 942, + "start": 682, + "end": 683, "loc": { "start": { - "line": 34, - "column": 29 + "line": 21, + "column": 20 }, "end": { - "line": 34, - "column": 30 + "line": 21, + "column": 21 } } }, @@ -3299,23 +4398,23 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 943, - "end": 949, + "value": "wait", + "start": 683, + "end": 687, "loc": { "start": { - "line": 34, - "column": 31 + "line": 21, + "column": 21 }, "end": { - "line": 34, - "column": 37 + "line": 21, + "column": 25 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3326,25 +4425,24 @@ "binop": null, "updateContext": null }, - "start": 949, - "end": 950, + "start": 687, + "end": 688, "loc": { "start": { - "line": 34, - "column": 37 + "line": 21, + "column": 25 }, "end": { - "line": 34, - "column": 38 + "line": 21, + "column": 26 } } }, { "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, + "label": "...", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3353,25 +4451,24 @@ "binop": null, "updateContext": null }, - "value": "true", - "start": 951, - "end": 955, + "start": 689, + "end": 692, "loc": { "start": { - "line": 34, - "column": 39 + "line": 21, + "column": 27 }, "end": { - "line": 34, - "column": 43 + "line": 21, + "column": 30 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3379,16 +4476,17 @@ "postfix": false, "binop": null }, - "start": 956, - "end": 957, + "value": "args", + "start": 692, + "end": 696, "loc": { "start": { - "line": 34, - "column": 44 + "line": 21, + "column": 30 }, "end": { - "line": 34, - "column": 45 + "line": 21, + "column": 34 } } }, @@ -3404,67 +4502,67 @@ "postfix": false, "binop": null }, - "start": 957, - "end": 958, + "start": 696, + "end": 697, "loc": { "start": { - "line": 34, - "column": 45 + "line": 21, + "column": 34 }, "end": { - "line": 34, - "column": 46 + "line": 21, + "column": 35 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 958, - "end": 959, + "start": 697, + "end": 698, "loc": { "start": { - "line": 34, - "column": 46 + "line": 21, + "column": 35 }, "end": { - "line": 34, - "column": 47 + "line": 21, + "column": 36 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 959, - "end": 960, + "start": 699, + "end": 700, "loc": { "start": { - "line": 34, - "column": 47 + "line": 22, + "column": 0 }, "end": { - "line": 34, - "column": 48 + "line": 22, + "column": 1 } } }, @@ -3483,15 +4581,15 @@ "updateContext": null }, "value": "export", - "start": 961, - "end": 967, + "start": 701, + "end": 707, "loc": { "start": { - "line": 35, + "line": 23, "column": 0 }, "end": { - "line": 35, + "line": 23, "column": 6 } } @@ -3508,15 +4606,15 @@ "postfix": false, "binop": null }, - "start": 968, - "end": 969, + "start": 708, + "end": 709, "loc": { "start": { - "line": 35, + "line": 23, "column": 7 }, "end": { - "line": 35, + "line": 23, "column": 8 } } @@ -3534,15 +4632,15 @@ "binop": null }, "value": "Delay", - "start": 970, - "end": 975, + "start": 710, + "end": 715, "loc": { "start": { - "line": 35, + "line": 23, "column": 9 }, "end": { - "line": 35, + "line": 23, "column": 14 } } @@ -3560,15 +4658,15 @@ "binop": null }, "value": "as", - "start": 976, - "end": 978, + "start": 716, + "end": 718, "loc": { "start": { - "line": 35, + "line": 23, "column": 15 }, "end": { - "line": 35, + "line": 23, "column": 17 } } @@ -3586,15 +4684,15 @@ "binop": null }, "value": "delay", - "start": 979, - "end": 984, + "start": 719, + "end": 724, "loc": { "start": { - "line": 35, + "line": 23, "column": 18 }, "end": { - "line": 35, + "line": 23, "column": 23 } } @@ -3611,15 +4709,15 @@ "postfix": false, "binop": null }, - "start": 985, - "end": 986, + "start": 725, + "end": 726, "loc": { "start": { - "line": 35, + "line": 23, "column": 24 }, "end": { - "line": 35, + "line": 23, "column": 25 } } @@ -3637,15 +4735,15 @@ "binop": null, "updateContext": null }, - "start": 986, - "end": 987, + "start": 726, + "end": 727, "loc": { "start": { - "line": 35, + "line": 23, "column": 25 }, "end": { - "line": 35, + "line": 23, "column": 26 } } @@ -3665,15 +4763,15 @@ "updateContext": null }, "value": "export", - "start": 988, - "end": 994, + "start": 728, + "end": 734, "loc": { "start": { - "line": 36, + "line": 24, "column": 0 }, "end": { - "line": 36, + "line": 24, "column": 6 } } @@ -3693,15 +4791,15 @@ "updateContext": null }, "value": "default", - "start": 995, - "end": 1002, + "start": 735, + "end": 742, "loc": { "start": { - "line": 36, + "line": 24, "column": 7 }, "end": { - "line": 36, + "line": 24, "column": 14 } } @@ -3718,17 +4816,17 @@ "postfix": false, "binop": null }, - "value": "Delay", - "start": 1003, - "end": 1008, + "value": "decorator", + "start": 743, + "end": 752, "loc": { "start": { - "line": 36, + "line": 24, "column": 15 }, "end": { - "line": 36, - "column": 20 + "line": 24, + "column": 24 } } }, @@ -3745,16 +4843,16 @@ "binop": null, "updateContext": null }, - "start": 1008, - "end": 1009, + "start": 752, + "end": 753, "loc": { "start": { - "line": 36, - "column": 20 + "line": 24, + "column": 24 }, "end": { - "line": 36, - "column": 21 + "line": 24, + "column": 25 } } }, @@ -3771,15 +4869,15 @@ "binop": null, "updateContext": null }, - "start": 1010, - "end": 1010, + "start": 754, + "end": 754, "loc": { "start": { - "line": 37, + "line": 25, "column": 0 }, "end": { - "line": 37, + "line": 25, "column": 0 } } diff --git a/docs/ast/source/factory/index.js.json b/docs/ast/source/factory.ts.json similarity index 86% rename from docs/ast/source/factory/index.js.json rename to docs/ast/source/factory.ts.json index 5ea4c12..dec2206 100644 --- a/docs/ast/source/factory/index.js.json +++ b/docs/ast/source/factory.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 97, + "end": 121, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 97, + "end": 121, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ExportAllDeclaration", "start": 0, - "end": 34, + "end": 42, "loc": { "start": { "line": 1, @@ -39,13 +39,13 @@ }, "end": { "line": 1, - "column": 34 + "column": 42 } }, "source": { "type": "StringLiteral", "start": 14, - "end": 33, + "end": 41, "loc": { "start": { "line": 1, @@ -53,20 +53,20 @@ }, "end": { "line": 1, - "column": 33 + "column": 41 } }, "extra": { - "rawValue": "./DecoratorConfig", - "raw": "'./DecoratorConfig'" + "rawValue": "./factory/DecoratorConfig", + "raw": "'./factory/DecoratorConfig'" }, - "value": "./DecoratorConfig" + "value": "./factory/DecoratorConfig" } }, { "type": "ExportAllDeclaration", - "start": 35, - "end": 70, + "start": 43, + "end": 86, "loc": { "start": { "line": 2, @@ -74,13 +74,13 @@ }, "end": { "line": 2, - "column": 35 + "column": 43 } }, "source": { "type": "StringLiteral", - "start": 49, - "end": 69, + "start": 57, + "end": 85, "loc": { "start": { "line": 2, @@ -88,20 +88,20 @@ }, "end": { "line": 2, - "column": 34 + "column": 42 } }, "extra": { - "rawValue": "./DecoratorFactory", - "raw": "'./DecoratorFactory'" + "rawValue": "./factory/DecoratorFactory", + "raw": "'./factory/DecoratorFactory'" }, - "value": "./DecoratorFactory" + "value": "./factory/DecoratorFactory" } }, { "type": "ExportAllDeclaration", - "start": 71, - "end": 96, + "start": 87, + "end": 120, "loc": { "start": { "line": 3, @@ -109,13 +109,13 @@ }, "end": { "line": 3, - "column": 25 + "column": 33 } }, "source": { "type": "StringLiteral", - "start": 85, - "end": 95, + "start": 101, + "end": 119, "loc": { "start": { "line": 3, @@ -123,14 +123,14 @@ }, "end": { "line": 3, - "column": 24 + "column": 32 } }, "extra": { - "rawValue": "./common", - "raw": "'./common'" + "rawValue": "./factory/common", + "raw": "'./factory/common'" }, - "value": "./common" + "value": "./factory/common" } } ], @@ -232,9 +232,9 @@ "binop": null, "updateContext": null }, - "value": "./DecoratorConfig", + "value": "./factory/DecoratorConfig", "start": 14, - "end": 33, + "end": 41, "loc": { "start": { "line": 1, @@ -242,7 +242,7 @@ }, "end": { "line": 1, - "column": 33 + "column": 41 } } }, @@ -259,16 +259,16 @@ "binop": null, "updateContext": null }, - "start": 33, - "end": 34, + "start": 41, + "end": 42, "loc": { "start": { "line": 1, - "column": 33 + "column": 41 }, "end": { "line": 1, - "column": 34 + "column": 42 } } }, @@ -287,8 +287,8 @@ "updateContext": null }, "value": "export", - "start": 35, - "end": 41, + "start": 43, + "end": 49, "loc": { "start": { "line": 2, @@ -314,8 +314,8 @@ "updateContext": null }, "value": "*", - "start": 42, - "end": 43, + "start": 50, + "end": 51, "loc": { "start": { "line": 2, @@ -340,8 +340,8 @@ "binop": null }, "value": "from", - "start": 44, - "end": 48, + "start": 52, + "end": 56, "loc": { "start": { "line": 2, @@ -366,9 +366,9 @@ "binop": null, "updateContext": null }, - "value": "./DecoratorFactory", - "start": 49, - "end": 69, + "value": "./factory/DecoratorFactory", + "start": 57, + "end": 85, "loc": { "start": { "line": 2, @@ -376,7 +376,7 @@ }, "end": { "line": 2, - "column": 34 + "column": 42 } } }, @@ -393,16 +393,16 @@ "binop": null, "updateContext": null }, - "start": 69, - "end": 70, + "start": 85, + "end": 86, "loc": { "start": { "line": 2, - "column": 34 + "column": 42 }, "end": { "line": 2, - "column": 35 + "column": 43 } } }, @@ -421,8 +421,8 @@ "updateContext": null }, "value": "export", - "start": 71, - "end": 77, + "start": 87, + "end": 93, "loc": { "start": { "line": 3, @@ -448,8 +448,8 @@ "updateContext": null }, "value": "*", - "start": 78, - "end": 79, + "start": 94, + "end": 95, "loc": { "start": { "line": 3, @@ -474,8 +474,8 @@ "binop": null }, "value": "from", - "start": 80, - "end": 84, + "start": 96, + "end": 100, "loc": { "start": { "line": 3, @@ -500,9 +500,9 @@ "binop": null, "updateContext": null }, - "value": "./common", - "start": 85, - "end": 95, + "value": "./factory/common", + "start": 101, + "end": 119, "loc": { "start": { "line": 3, @@ -510,7 +510,7 @@ }, "end": { "line": 3, - "column": 24 + "column": 32 } } }, @@ -527,16 +527,16 @@ "binop": null, "updateContext": null }, - "start": 95, - "end": 96, + "start": 119, + "end": 120, "loc": { "start": { "line": 3, - "column": 24 + "column": 32 }, "end": { "line": 3, - "column": 25 + "column": 33 } } }, @@ -553,8 +553,8 @@ "binop": null, "updateContext": null }, - "start": 97, - "end": 97, + "start": 121, + "end": 121, "loc": { "start": { "line": 4, diff --git a/docs/ast/source/factory/DecoratorConfig.js.json b/docs/ast/source/factory/DecoratorConfig.ts.json similarity index 65% rename from docs/ast/source/factory/DecoratorConfig.js.json rename to docs/ast/source/factory/DecoratorConfig.ts.json index f9875d5..3cc0ec2 100644 --- a/docs/ast/source/factory/DecoratorConfig.js.json +++ b/docs/ast/source/factory/DecoratorConfig.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 691, + "end": 1425, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 23, + "line": 80, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 691, + "end": 1425, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 23, + "line": 80, "column": 0 } }, @@ -30,15 +30,15 @@ "body": [ { "type": "ExportNamedDeclaration", - "start": 0, - "end": 690, + "start": 41, + "end": 1424, "loc": { "start": { - "line": 1, + "line": 7, "column": 0 }, "end": { - "line": 22, + "line": 79, "column": 1 } }, @@ -46,84 +46,85 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 7, - "end": 690, + "start": 48, + "end": 1424, "loc": { "start": { - "line": 1, + "line": 7, "column": 7 }, "end": { - "line": 22, + "line": 79, "column": 1 } }, "id": { "type": "Identifier", - "start": 13, - "end": 28, + "start": 54, + "end": 69, "loc": { "start": { - "line": 1, + "line": 7, "column": 13 }, "end": { - "line": 1, + "line": 7, "column": 28 }, "identifierName": "DecoratorConfig" }, - "name": "DecoratorConfig" + "name": "DecoratorConfig", + "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", - "start": 29, - "end": 690, + "start": 70, + "end": 1424, "loc": { "start": { - "line": 1, + "line": 7, "column": 29 }, "end": { - "line": 22, + "line": 79, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 35, - "end": 191, + "start": 76, + "end": 232, "loc": { "start": { - "line": 2, + "line": 8, "column": 4 }, "end": { - "line": 6, + "line": 12, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 35, - "end": 46, + "start": 76, + "end": 87, "loc": { "start": { - "line": 2, + "line": 8, "column": 4 }, "end": { - "line": 2, + "line": 8, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -132,15 +133,15 @@ "params": [ { "type": "Identifier", - "start": 47, - "end": 54, + "start": 88, + "end": 95, "loc": { "start": { - "line": 2, + "line": 8, "column": 16 }, "end": { - "line": 2, + "line": 8, "column": 23 }, "identifierName": "execute" @@ -149,15 +150,15 @@ }, { "type": "Identifier", - "start": 56, - "end": 66, + "start": 97, + "end": 107, "loc": { "start": { - "line": 2, + "line": 8, "column": 25 }, "end": { - "line": 2, + "line": 8, "column": 35 }, "identifierName": "applicator" @@ -166,29 +167,29 @@ }, { "type": "AssignmentPattern", - "start": 68, - "end": 80, + "start": 109, + "end": 121, "loc": { "start": { - "line": 2, + "line": 8, "column": 37 }, "end": { - "line": 2, + "line": 8, "column": 49 } }, "left": { "type": "Identifier", - "start": 68, - "end": 75, + "start": 109, + "end": 116, "loc": { "start": { - "line": 2, + "line": 8, "column": 37 }, "end": { - "line": 2, + "line": 8, "column": 44 }, "identifierName": "options" @@ -197,15 +198,15 @@ }, "right": { "type": "ObjectExpression", - "start": 78, - "end": 80, + "start": 119, + "end": 121, "loc": { "start": { - "line": 2, + "line": 8, "column": 47 }, "end": { - "line": 2, + "line": 8, "column": 49 } }, @@ -215,88 +216,88 @@ ], "body": { "type": "BlockStatement", - "start": 82, - "end": 191, + "start": 123, + "end": 232, "loc": { "start": { - "line": 2, + "line": 8, "column": 51 }, "end": { - "line": 6, + "line": 12, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 92, - "end": 115, + "start": 133, + "end": 156, "loc": { "start": { - "line": 3, + "line": 9, "column": 8 }, "end": { - "line": 3, + "line": 9, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 92, - "end": 114, + "start": 133, + "end": 155, "loc": { "start": { - "line": 3, + "line": 9, "column": 8 }, "end": { - "line": 3, + "line": 9, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 92, - "end": 104, + "start": 133, + "end": 145, "loc": { "start": { - "line": 3, + "line": 9, "column": 8 }, "end": { - "line": 3, + "line": 9, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 92, - "end": 96, + "start": 133, + "end": 137, "loc": { "start": { - "line": 3, + "line": 9, "column": 8 }, "end": { - "line": 3, + "line": 9, "column": 12 } } }, "property": { "type": "Identifier", - "start": 97, - "end": 104, + "start": 138, + "end": 145, "loc": { "start": { - "line": 3, + "line": 9, "column": 13 }, "end": { - "line": 3, + "line": 9, "column": 20 }, "identifierName": "execute" @@ -307,15 +308,15 @@ }, "right": { "type": "Identifier", - "start": 107, - "end": 114, + "start": 148, + "end": 155, "loc": { "start": { - "line": 3, + "line": 9, "column": 23 }, "end": { - "line": 3, + "line": 9, "column": 30 }, "identifierName": "execute" @@ -326,73 +327,73 @@ }, { "type": "ExpressionStatement", - "start": 124, - "end": 153, + "start": 165, + "end": 194, "loc": { "start": { - "line": 4, + "line": 10, "column": 8 }, "end": { - "line": 4, + "line": 10, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 124, - "end": 152, + "start": 165, + "end": 193, "loc": { "start": { - "line": 4, + "line": 10, "column": 8 }, "end": { - "line": 4, + "line": 10, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 124, - "end": 139, + "start": 165, + "end": 180, "loc": { "start": { - "line": 4, + "line": 10, "column": 8 }, "end": { - "line": 4, + "line": 10, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 124, - "end": 128, + "start": 165, + "end": 169, "loc": { "start": { - "line": 4, + "line": 10, "column": 8 }, "end": { - "line": 4, + "line": 10, "column": 12 } } }, "property": { "type": "Identifier", - "start": 129, - "end": 139, + "start": 170, + "end": 180, "loc": { "start": { - "line": 4, + "line": 10, "column": 13 }, "end": { - "line": 4, + "line": 10, "column": 23 }, "identifierName": "applicator" @@ -403,15 +404,15 @@ }, "right": { "type": "Identifier", - "start": 142, - "end": 152, + "start": 183, + "end": 193, "loc": { "start": { - "line": 4, + "line": 10, "column": 26 }, "end": { - "line": 4, + "line": 10, "column": 36 }, "identifierName": "applicator" @@ -422,73 +423,73 @@ }, { "type": "ExpressionStatement", - "start": 162, - "end": 185, + "start": 203, + "end": 226, "loc": { "start": { - "line": 5, + "line": 11, "column": 8 }, "end": { - "line": 5, + "line": 11, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 162, - "end": 184, + "start": 203, + "end": 225, "loc": { "start": { - "line": 5, + "line": 11, "column": 8 }, "end": { - "line": 5, + "line": 11, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 162, - "end": 174, + "start": 203, + "end": 215, "loc": { "start": { - "line": 5, + "line": 11, "column": 8 }, "end": { - "line": 5, + "line": 11, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 162, - "end": 166, + "start": 203, + "end": 207, "loc": { "start": { - "line": 5, + "line": 11, "column": 8 }, "end": { - "line": 5, + "line": 11, "column": 12 } } }, "property": { "type": "Identifier", - "start": 167, - "end": 174, + "start": 208, + "end": 215, "loc": { "start": { - "line": 5, + "line": 11, "column": 13 }, "end": { - "line": 5, + "line": 11, "column": 20 }, "identifierName": "options" @@ -499,15 +500,15 @@ }, "right": { "type": "Identifier", - "start": 177, - "end": 184, + "start": 218, + "end": 225, "loc": { "start": { - "line": 5, + "line": 11, "column": 23 }, "end": { - "line": 5, + "line": 11, "column": 30 }, "identifierName": "options" @@ -517,42 +518,61 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 19\n * @type\n * {boolean}\n ", + "start": 237, + "end": 327, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 196, - "end": 287, + "start": 332, + "end": 423, "loc": { "start": { - "line": 7, + "line": 21, "column": 4 }, "end": { - "line": 9, + "line": 23, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 200, - "end": 205, + "start": 336, + "end": 341, "loc": { "start": { - "line": 7, + "line": 21, "column": 8 }, "end": { - "line": 7, + "line": 21, "column": 13 }, "identifierName": "bound" }, "name": "bound" }, - "static": false, "kind": "get", "id": null, "generator": false, @@ -561,115 +581,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 208, - "end": 287, + "start": 344, + "end": 423, "loc": { "start": { - "line": 7, + "line": 21, "column": 16 }, "end": { - "line": 9, + "line": 23, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 218, - "end": 281, + "start": 354, + "end": 417, "loc": { "start": { - "line": 8, + "line": 22, "column": 8 }, "end": { - "line": 8, + "line": 22, "column": 71 } }, "argument": { "type": "ConditionalExpression", - "start": 225, - "end": 280, + "start": 361, + "end": 416, "loc": { "start": { - "line": 8, + "line": 22, "column": 15 }, "end": { - "line": 8, + "line": 22, "column": 70 } }, "test": { "type": "BinaryExpression", - "start": 225, - "end": 251, + "start": 361, + "end": 387, "loc": { "start": { - "line": 8, + "line": 22, "column": 15 }, "end": { - "line": 8, + "line": 22, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 225, - "end": 243, + "start": 361, + "end": 379, "loc": { "start": { - "line": 8, + "line": 22, "column": 15 }, "end": { - "line": 8, + "line": 22, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 225, - "end": 237, + "start": 361, + "end": 373, "loc": { "start": { - "line": 8, + "line": 22, "column": 15 }, "end": { - "line": 8, + "line": 22, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 225, - "end": 229, + "start": 361, + "end": 365, "loc": { "start": { - "line": 8, + "line": 22, "column": 15 }, "end": { - "line": 8, + "line": 22, "column": 19 } } }, "property": { "type": "Identifier", - "start": 230, - "end": 237, + "start": 366, + "end": 373, "loc": { "start": { - "line": 8, + "line": 22, "column": 20 }, "end": { - "line": 8, + "line": 22, "column": 27 }, "identifierName": "options" @@ -680,15 +700,15 @@ }, "property": { "type": "Identifier", - "start": 238, - "end": 243, + "start": 374, + "end": 379, "loc": { "start": { - "line": 8, + "line": 22, "column": 28 }, "end": { - "line": 8, + "line": 22, "column": 33 }, "identifierName": "bound" @@ -700,15 +720,15 @@ "operator": "!=", "right": { "type": "NullLiteral", - "start": 247, - "end": 251, + "start": 383, + "end": 387, "loc": { "start": { - "line": 8, + "line": 22, "column": 37 }, "end": { - "line": 8, + "line": 22, "column": 41 } } @@ -716,58 +736,58 @@ }, "consequent": { "type": "MemberExpression", - "start": 254, - "end": 272, + "start": 390, + "end": 408, "loc": { "start": { - "line": 8, + "line": 22, "column": 44 }, "end": { - "line": 8, + "line": 22, "column": 62 } }, "object": { "type": "MemberExpression", - "start": 254, - "end": 266, + "start": 390, + "end": 402, "loc": { "start": { - "line": 8, + "line": 22, "column": 44 }, "end": { - "line": 8, + "line": 22, "column": 56 } }, "object": { "type": "ThisExpression", - "start": 254, - "end": 258, + "start": 390, + "end": 394, "loc": { "start": { - "line": 8, + "line": 22, "column": 44 }, "end": { - "line": 8, + "line": 22, "column": 48 } } }, "property": { "type": "Identifier", - "start": 259, - "end": 266, + "start": 395, + "end": 402, "loc": { "start": { - "line": 8, + "line": 22, "column": 49 }, "end": { - "line": 8, + "line": 22, "column": 56 }, "identifierName": "options" @@ -778,15 +798,15 @@ }, "property": { "type": "Identifier", - "start": 267, - "end": 272, + "start": 403, + "end": 408, "loc": { "start": { - "line": 8, + "line": 22, "column": 57 }, "end": { - "line": 8, + "line": 22, "column": 62 }, "identifierName": "bound" @@ -797,15 +817,15 @@ }, "alternate": { "type": "BooleanLiteral", - "start": 275, - "end": 280, + "start": 411, + "end": 416, "loc": { "start": { - "line": 8, + "line": 22, "column": 65 }, "end": { - "line": 8, + "line": 22, "column": 70 } }, @@ -814,42 +834,79 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 19\n * @type\n * {boolean}\n ", + "start": 237, + "end": 327, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 23\n * @type\n * {boolean}\n ", + "start": 428, + "end": 518, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 31, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 292, - "end": 386, + "start": 523, + "end": 617, "loc": { "start": { - "line": 10, + "line": 32, "column": 4 }, "end": { - "line": 12, + "line": 34, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 296, - "end": 302, + "start": 527, + "end": 533, "loc": { "start": { - "line": 10, + "line": 32, "column": 8 }, "end": { - "line": 10, + "line": 32, "column": 14 }, "identifierName": "setter" }, "name": "setter" }, - "static": false, "kind": "get", "id": null, "generator": false, @@ -858,115 +915,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 305, - "end": 386, + "start": 536, + "end": 617, "loc": { "start": { - "line": 10, + "line": 32, "column": 17 }, "end": { - "line": 12, + "line": 34, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 315, - "end": 380, + "start": 546, + "end": 611, "loc": { "start": { - "line": 11, + "line": 33, "column": 8 }, "end": { - "line": 11, + "line": 33, "column": 73 } }, "argument": { "type": "ConditionalExpression", - "start": 322, - "end": 379, + "start": 553, + "end": 610, "loc": { "start": { - "line": 11, + "line": 33, "column": 15 }, "end": { - "line": 11, + "line": 33, "column": 72 } }, "test": { "type": "BinaryExpression", - "start": 322, - "end": 349, + "start": 553, + "end": 580, "loc": { "start": { - "line": 11, + "line": 33, "column": 15 }, "end": { - "line": 11, + "line": 33, "column": 42 } }, "left": { "type": "MemberExpression", - "start": 322, - "end": 341, + "start": 553, + "end": 572, "loc": { "start": { - "line": 11, + "line": 33, "column": 15 }, "end": { - "line": 11, + "line": 33, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 322, - "end": 334, + "start": 553, + "end": 565, "loc": { "start": { - "line": 11, + "line": 33, "column": 15 }, "end": { - "line": 11, + "line": 33, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 322, - "end": 326, + "start": 553, + "end": 557, "loc": { "start": { - "line": 11, + "line": 33, "column": 15 }, "end": { - "line": 11, + "line": 33, "column": 19 } } }, "property": { "type": "Identifier", - "start": 327, - "end": 334, + "start": 558, + "end": 565, "loc": { "start": { - "line": 11, + "line": 33, "column": 20 }, "end": { - "line": 11, + "line": 33, "column": 27 }, "identifierName": "options" @@ -977,15 +1034,15 @@ }, "property": { "type": "Identifier", - "start": 335, - "end": 341, + "start": 566, + "end": 572, "loc": { "start": { - "line": 11, + "line": 33, "column": 28 }, "end": { - "line": 11, + "line": 33, "column": 34 }, "identifierName": "setter" @@ -997,15 +1054,15 @@ "operator": "!=", "right": { "type": "NullLiteral", - "start": 345, - "end": 349, + "start": 576, + "end": 580, "loc": { "start": { - "line": 11, + "line": 33, "column": 38 }, "end": { - "line": 11, + "line": 33, "column": 42 } } @@ -1013,58 +1070,58 @@ }, "consequent": { "type": "MemberExpression", - "start": 352, - "end": 371, + "start": 583, + "end": 602, "loc": { "start": { - "line": 11, + "line": 33, "column": 45 }, "end": { - "line": 11, + "line": 33, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 352, - "end": 364, + "start": 583, + "end": 595, "loc": { "start": { - "line": 11, + "line": 33, "column": 45 }, "end": { - "line": 11, + "line": 33, "column": 57 } }, "object": { "type": "ThisExpression", - "start": 352, - "end": 356, + "start": 583, + "end": 587, "loc": { "start": { - "line": 11, + "line": 33, "column": 45 }, "end": { - "line": 11, + "line": 33, "column": 49 } } }, "property": { "type": "Identifier", - "start": 357, - "end": 364, + "start": 588, + "end": 595, "loc": { "start": { - "line": 11, + "line": 33, "column": 50 }, "end": { - "line": 11, + "line": 33, "column": 57 }, "identifierName": "options" @@ -1075,15 +1132,15 @@ }, "property": { "type": "Identifier", - "start": 365, - "end": 371, + "start": 596, + "end": 602, "loc": { "start": { - "line": 11, + "line": 33, "column": 58 }, "end": { - "line": 11, + "line": 33, "column": 64 }, "identifierName": "setter" @@ -1094,15 +1151,15 @@ }, "alternate": { "type": "BooleanLiteral", - "start": 374, - "end": 379, + "start": 605, + "end": 610, "loc": { "start": { - "line": 11, + "line": 33, "column": 67 }, "end": { - "line": 11, + "line": 33, "column": 72 } }, @@ -1111,42 +1168,79 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 23\n * @type\n * {boolean}\n ", + "start": 428, + "end": 518, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 31, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 27\n * @type\n * {boolean}\n ", + "start": 622, + "end": 712, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 42, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 391, - "end": 485, + "start": 717, + "end": 811, "loc": { "start": { - "line": 13, + "line": 43, "column": 4 }, "end": { - "line": 15, + "line": 45, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 395, - "end": 401, + "start": 721, + "end": 727, "loc": { "start": { - "line": 13, + "line": 43, "column": 8 }, "end": { - "line": 13, + "line": 43, "column": 14 }, "identifierName": "getter" }, "name": "getter" }, - "static": false, "kind": "get", "id": null, "generator": false, @@ -1155,115 +1249,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 404, - "end": 485, + "start": 730, + "end": 811, "loc": { "start": { - "line": 13, + "line": 43, "column": 17 }, "end": { - "line": 15, + "line": 45, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 414, - "end": 479, + "start": 740, + "end": 805, "loc": { "start": { - "line": 14, + "line": 44, "column": 8 }, "end": { - "line": 14, + "line": 44, "column": 73 } }, "argument": { "type": "ConditionalExpression", - "start": 421, - "end": 478, + "start": 747, + "end": 804, "loc": { "start": { - "line": 14, + "line": 44, "column": 15 }, "end": { - "line": 14, + "line": 44, "column": 72 } }, "test": { "type": "BinaryExpression", - "start": 421, - "end": 448, + "start": 747, + "end": 774, "loc": { "start": { - "line": 14, + "line": 44, "column": 15 }, "end": { - "line": 14, + "line": 44, "column": 42 } }, "left": { "type": "MemberExpression", - "start": 421, - "end": 440, + "start": 747, + "end": 766, "loc": { "start": { - "line": 14, + "line": 44, "column": 15 }, "end": { - "line": 14, + "line": 44, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 421, - "end": 433, + "start": 747, + "end": 759, "loc": { "start": { - "line": 14, + "line": 44, "column": 15 }, "end": { - "line": 14, + "line": 44, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 421, - "end": 425, + "start": 747, + "end": 751, "loc": { "start": { - "line": 14, + "line": 44, "column": 15 }, "end": { - "line": 14, + "line": 44, "column": 19 } } }, "property": { "type": "Identifier", - "start": 426, - "end": 433, + "start": 752, + "end": 759, "loc": { "start": { - "line": 14, + "line": 44, "column": 20 }, "end": { - "line": 14, + "line": 44, "column": 27 }, "identifierName": "options" @@ -1274,15 +1368,15 @@ }, "property": { "type": "Identifier", - "start": 434, - "end": 440, + "start": 760, + "end": 766, "loc": { "start": { - "line": 14, + "line": 44, "column": 28 }, "end": { - "line": 14, + "line": 44, "column": 34 }, "identifierName": "getter" @@ -1294,15 +1388,15 @@ "operator": "!=", "right": { "type": "NullLiteral", - "start": 444, - "end": 448, + "start": 770, + "end": 774, "loc": { "start": { - "line": 14, + "line": 44, "column": 38 }, "end": { - "line": 14, + "line": 44, "column": 42 } } @@ -1310,58 +1404,58 @@ }, "consequent": { "type": "MemberExpression", - "start": 451, - "end": 470, + "start": 777, + "end": 796, "loc": { "start": { - "line": 14, + "line": 44, "column": 45 }, "end": { - "line": 14, + "line": 44, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 451, - "end": 463, + "start": 777, + "end": 789, "loc": { "start": { - "line": 14, + "line": 44, "column": 45 }, "end": { - "line": 14, + "line": 44, "column": 57 } }, "object": { "type": "ThisExpression", - "start": 451, - "end": 455, + "start": 777, + "end": 781, "loc": { "start": { - "line": 14, + "line": 44, "column": 45 }, "end": { - "line": 14, + "line": 44, "column": 49 } } }, "property": { "type": "Identifier", - "start": 456, - "end": 463, + "start": 782, + "end": 789, "loc": { "start": { - "line": 14, + "line": 44, "column": 50 }, "end": { - "line": 14, + "line": 44, "column": 57 }, "identifierName": "options" @@ -1372,15 +1466,15 @@ }, "property": { "type": "Identifier", - "start": 464, - "end": 470, + "start": 790, + "end": 796, "loc": { "start": { - "line": 14, + "line": 44, "column": 58 }, "end": { - "line": 14, + "line": 44, "column": 64 }, "identifierName": "getter" @@ -1391,15 +1485,15 @@ }, "alternate": { "type": "BooleanLiteral", - "start": 473, - "end": 478, + "start": 799, + "end": 804, "loc": { "start": { - "line": 14, + "line": 44, "column": 67 }, "end": { - "line": 14, + "line": 44, "column": 72 } }, @@ -1408,42 +1502,79 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 27\n * @type\n * {boolean}\n ", + "start": 622, + "end": 712, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 42, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 31\n * @type\n * {boolean}\n ", + "start": 816, + "end": 906, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 53, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 490, - "end": 590, + "start": 911, + "end": 1011, "loc": { "start": { - "line": 16, + "line": 54, "column": 4 }, "end": { - "line": 18, + "line": 56, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 494, - "end": 502, + "start": 915, + "end": 923, "loc": { "start": { - "line": 16, + "line": 54, "column": 8 }, "end": { - "line": 16, + "line": 54, "column": 16 }, "identifierName": "property" }, "name": "property" }, - "static": false, "kind": "get", "id": null, "generator": false, @@ -1452,115 +1583,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 505, - "end": 590, + "start": 926, + "end": 1011, "loc": { "start": { - "line": 16, + "line": 54, "column": 19 }, "end": { - "line": 18, + "line": 56, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 515, - "end": 584, + "start": 936, + "end": 1005, "loc": { "start": { - "line": 17, + "line": 55, "column": 8 }, "end": { - "line": 17, + "line": 55, "column": 77 } }, "argument": { "type": "ConditionalExpression", - "start": 522, - "end": 583, + "start": 943, + "end": 1004, "loc": { "start": { - "line": 17, + "line": 55, "column": 15 }, "end": { - "line": 17, + "line": 55, "column": 76 } }, "test": { "type": "BinaryExpression", - "start": 522, - "end": 551, + "start": 943, + "end": 972, "loc": { "start": { - "line": 17, + "line": 55, "column": 15 }, "end": { - "line": 17, + "line": 55, "column": 44 } }, "left": { "type": "MemberExpression", - "start": 522, - "end": 543, + "start": 943, + "end": 964, "loc": { "start": { - "line": 17, + "line": 55, "column": 15 }, "end": { - "line": 17, + "line": 55, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 522, - "end": 534, + "start": 943, + "end": 955, "loc": { "start": { - "line": 17, + "line": 55, "column": 15 }, "end": { - "line": 17, + "line": 55, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 522, - "end": 526, + "start": 943, + "end": 947, "loc": { "start": { - "line": 17, + "line": 55, "column": 15 }, "end": { - "line": 17, + "line": 55, "column": 19 } } }, "property": { "type": "Identifier", - "start": 527, - "end": 534, + "start": 948, + "end": 955, "loc": { "start": { - "line": 17, + "line": 55, "column": 20 }, "end": { - "line": 17, + "line": 55, "column": 27 }, "identifierName": "options" @@ -1571,15 +1702,15 @@ }, "property": { "type": "Identifier", - "start": 535, - "end": 543, + "start": 956, + "end": 964, "loc": { "start": { - "line": 17, + "line": 55, "column": 28 }, "end": { - "line": 17, + "line": 55, "column": 36 }, "identifierName": "property" @@ -1591,15 +1722,15 @@ "operator": "!=", "right": { "type": "NullLiteral", - "start": 547, - "end": 551, + "start": 968, + "end": 972, "loc": { "start": { - "line": 17, + "line": 55, "column": 40 }, "end": { - "line": 17, + "line": 55, "column": 44 } } @@ -1607,58 +1738,58 @@ }, "consequent": { "type": "MemberExpression", - "start": 554, - "end": 575, + "start": 975, + "end": 996, "loc": { "start": { - "line": 17, + "line": 55, "column": 47 }, "end": { - "line": 17, + "line": 55, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 554, - "end": 566, + "start": 975, + "end": 987, "loc": { "start": { - "line": 17, + "line": 55, "column": 47 }, "end": { - "line": 17, + "line": 55, "column": 59 } }, "object": { "type": "ThisExpression", - "start": 554, - "end": 558, + "start": 975, + "end": 979, "loc": { "start": { - "line": 17, + "line": 55, "column": 47 }, "end": { - "line": 17, + "line": 55, "column": 51 } } }, "property": { "type": "Identifier", - "start": 559, - "end": 566, + "start": 980, + "end": 987, "loc": { "start": { - "line": 17, + "line": 55, "column": 52 }, "end": { - "line": 17, + "line": 55, "column": 59 }, "identifierName": "options" @@ -1669,15 +1800,15 @@ }, "property": { "type": "Identifier", - "start": 567, - "end": 575, + "start": 988, + "end": 996, "loc": { "start": { - "line": 17, + "line": 55, "column": 60 }, "end": { - "line": 17, + "line": 55, "column": 68 }, "identifierName": "property" @@ -1688,15 +1819,15 @@ }, "alternate": { "type": "BooleanLiteral", - "start": 578, - "end": 583, + "start": 999, + "end": 1004, "loc": { "start": { - "line": 17, + "line": 55, "column": 71 }, "end": { - "line": 17, + "line": 55, "column": 76 } }, @@ -1705,42 +1836,79 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 31\n * @type\n * {boolean}\n ", + "start": 816, + "end": 906, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 53, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 35\n * @type\n * {boolean}\n ", + "start": 1016, + "end": 1106, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 64, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 595, - "end": 688, + "start": 1111, + "end": 1204, "loc": { "start": { - "line": 19, + "line": 65, "column": 4 }, "end": { - "line": 21, + "line": 67, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 599, - "end": 605, + "start": 1115, + "end": 1121, "loc": { "start": { - "line": 19, + "line": 65, "column": 8 }, "end": { - "line": 19, + "line": 65, "column": 14 }, "identifierName": "method" }, "name": "method" }, - "static": false, "kind": "get", "id": null, "generator": false, @@ -1749,115 +1917,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 608, - "end": 688, + "start": 1124, + "end": 1204, "loc": { "start": { - "line": 19, + "line": 65, "column": 17 }, "end": { - "line": 21, + "line": 67, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 618, - "end": 682, + "start": 1134, + "end": 1198, "loc": { "start": { - "line": 20, + "line": 66, "column": 8 }, "end": { - "line": 20, + "line": 66, "column": 72 } }, "argument": { "type": "ConditionalExpression", - "start": 625, - "end": 681, + "start": 1141, + "end": 1197, "loc": { "start": { - "line": 20, + "line": 66, "column": 15 }, "end": { - "line": 20, + "line": 66, "column": 71 } }, "test": { "type": "BinaryExpression", - "start": 625, - "end": 652, + "start": 1141, + "end": 1168, "loc": { "start": { - "line": 20, + "line": 66, "column": 15 }, "end": { - "line": 20, + "line": 66, "column": 42 } }, "left": { "type": "MemberExpression", - "start": 625, - "end": 644, + "start": 1141, + "end": 1160, "loc": { "start": { - "line": 20, + "line": 66, "column": 15 }, "end": { - "line": 20, + "line": 66, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 625, - "end": 637, + "start": 1141, + "end": 1153, "loc": { "start": { - "line": 20, + "line": 66, "column": 15 }, "end": { - "line": 20, + "line": 66, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 625, - "end": 629, + "start": 1141, + "end": 1145, "loc": { "start": { - "line": 20, + "line": 66, "column": 15 }, "end": { - "line": 20, + "line": 66, "column": 19 } } }, "property": { "type": "Identifier", - "start": 630, - "end": 637, + "start": 1146, + "end": 1153, "loc": { "start": { - "line": 20, + "line": 66, "column": 20 }, "end": { - "line": 20, + "line": 66, "column": 27 }, "identifierName": "options" @@ -1868,15 +2036,15 @@ }, "property": { "type": "Identifier", - "start": 638, - "end": 644, + "start": 1154, + "end": 1160, "loc": { "start": { - "line": 20, + "line": 66, "column": 28 }, "end": { - "line": 20, + "line": 66, "column": 34 }, "identifierName": "method" @@ -1888,15 +2056,15 @@ "operator": "!=", "right": { "type": "NullLiteral", - "start": 648, - "end": 652, + "start": 1164, + "end": 1168, "loc": { "start": { - "line": 20, + "line": 66, "column": 38 }, "end": { - "line": 20, + "line": 66, "column": 42 } } @@ -1904,58 +2072,58 @@ }, "consequent": { "type": "MemberExpression", - "start": 655, - "end": 674, + "start": 1171, + "end": 1190, "loc": { "start": { - "line": 20, + "line": 66, "column": 45 }, "end": { - "line": 20, + "line": 66, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 655, - "end": 667, + "start": 1171, + "end": 1183, "loc": { "start": { - "line": 20, + "line": 66, "column": 45 }, "end": { - "line": 20, + "line": 66, "column": 57 } }, "object": { "type": "ThisExpression", - "start": 655, - "end": 659, + "start": 1171, + "end": 1175, "loc": { "start": { - "line": 20, + "line": 66, "column": 45 }, "end": { - "line": 20, + "line": 66, "column": 49 } } }, "property": { "type": "Identifier", - "start": 660, - "end": 667, + "start": 1176, + "end": 1183, "loc": { "start": { - "line": 20, + "line": 66, "column": 50 }, "end": { - "line": 20, + "line": 66, "column": 57 }, "identifierName": "options" @@ -1966,15 +2134,15 @@ }, "property": { "type": "Identifier", - "start": 668, - "end": 674, + "start": 1184, + "end": 1190, "loc": { "start": { - "line": 20, + "line": 66, "column": 58 }, "end": { - "line": 20, + "line": 66, "column": 64 }, "identifierName": "method" @@ -1985,15 +2153,15 @@ }, "alternate": { "type": "BooleanLiteral", - "start": 677, - "end": 681, + "start": 1193, + "end": 1197, "loc": { "start": { - "line": 20, + "line": 66, "column": 67 }, "end": { - "line": 20, + "line": 66, "column": 71 } }, @@ -2002,124 +2170,1161 @@ } } ], - "directives": [] - } - } - ] - }, - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 7, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 13, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 29, - "end": 30, - "loc": { - "start": { - "line": 1, + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 35\n * @type\n * {boolean}\n ", + "start": 1016, + "end": 1106, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 64, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 39\n * @type\n * {boolean}\n ", + "start": 1209, + "end": 1299, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 75, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1304, + "end": 1422, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 78, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1308, + "end": 1322, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 22 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1325, + "end": 1422, + "loc": { + "start": { + "line": 76, + "column": 25 + }, + "end": { + "line": 78, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1335, + "end": 1416, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 89 + } + }, + "argument": { + "type": "ConditionalExpression", + "start": 1342, + "end": 1415, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 88 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1342, + "end": 1377, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 50 + } + }, + "left": { + "type": "MemberExpression", + "start": 1342, + "end": 1369, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 1342, + "end": 1354, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 1342, + "end": 1346, + "loc": { + "start": { + "line": 77, + "column": 15 + }, + "end": { + "line": 77, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 1347, + "end": 1354, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 27 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1355, + "end": 1369, + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 77, + "column": 42 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "computed": false + }, + "operator": "!=", + "right": { + "type": "NullLiteral", + "start": 1373, + "end": 1377, + "loc": { + "start": { + "line": 77, + "column": 46 + }, + "end": { + "line": 77, + "column": 50 + } + } + } + }, + "consequent": { + "type": "MemberExpression", + "start": 1380, + "end": 1407, + "loc": { + "start": { + "line": 77, + "column": 53 + }, + "end": { + "line": 77, + "column": 80 + } + }, + "object": { + "type": "MemberExpression", + "start": 1380, + "end": 1392, + "loc": { + "start": { + "line": 77, + "column": 53 + }, + "end": { + "line": 77, + "column": 65 + } + }, + "object": { + "type": "ThisExpression", + "start": 1380, + "end": 1384, + "loc": { + "start": { + "line": 77, + "column": 53 + }, + "end": { + "line": 77, + "column": 57 + } + } + }, + "property": { + "type": "Identifier", + "start": 1385, + "end": 1392, + "loc": { + "start": { + "line": 77, + "column": 58 + }, + "end": { + "line": 77, + "column": 65 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1393, + "end": 1407, + "loc": { + "start": { + "line": 77, + "column": 66 + }, + "end": { + "line": 77, + "column": 80 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "computed": false + }, + "alternate": { + "type": "BooleanLiteral", + "start": 1410, + "end": 1415, + "loc": { + "start": { + "line": 77, + "column": 83 + }, + "end": { + "line": 77, + "column": 88 + } + }, + "value": false + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 39\n * @type\n * {boolean}\n ", + "start": 1209, + "end": 1299, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 75, + "column": 7 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 12\n ", + "start": 0, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 12\n ", + "start": 0, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 12\n ", + "start": 0, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 19\n * @type\n * {boolean}\n ", + "start": 237, + "end": 327, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 23\n * @type\n * {boolean}\n ", + "start": 428, + "end": 518, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 31, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 27\n * @type\n * {boolean}\n ", + "start": 622, + "end": 712, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 42, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 31\n * @type\n * {boolean}\n ", + "start": 816, + "end": 906, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 53, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 35\n * @type\n * {boolean}\n ", + "start": 1016, + "end": 1106, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 64, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 39\n * @type\n * {boolean}\n ", + "start": 1209, + "end": 1299, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 75, + "column": 7 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 12\n ", + "start": 0, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 41, + "end": 47, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 48, + "end": 53, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 54, + "end": 69, + "loc": { + "start": { + "line": 7, + "column": 13 + }, + "end": { + "line": 7, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 7, "column": 29 }, "end": { - "line": 1, - "column": 30 + "line": 7, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 76, + "end": 87, + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 8, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 87, + "end": 88, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "execute", + "start": 88, + "end": 95, + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 95, + "end": 96, + "loc": { + "start": { + "line": 8, + "column": 23 + }, + "end": { + "line": 8, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "applicator", + "start": 97, + "end": 107, + "loc": { + "start": { + "line": 8, + "column": 25 + }, + "end": { + "line": 8, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 107, + "end": 108, + "loc": { + "start": { + "line": 8, + "column": 35 + }, + "end": { + "line": 8, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 109, + "end": 116, + "loc": { + "start": { + "line": 8, + "column": 37 + }, + "end": { + "line": 8, + "column": 44 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 117, + "end": 118, + "loc": { + "start": { + "line": 8, + "column": 45 + }, + "end": { + "line": 8, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 119, + "end": 120, + "loc": { + "start": { + "line": 8, + "column": 47 + }, + "end": { + "line": 8, + "column": 48 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 120, + "end": 121, + "loc": { + "start": { + "line": 8, + "column": 48 + }, + "end": { + "line": 8, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 121, + "end": 122, + "loc": { + "start": { + "line": 8, + "column": 49 + }, + "end": { + "line": 8, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 123, + "end": 124, + "loc": { + "start": { + "line": 8, + "column": 51 + }, + "end": { + "line": 8, + "column": 52 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 133, + "end": 137, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 137, + "end": 138, + "loc": { + "start": { + "line": 9, + "column": 12 + }, + "end": { + "line": 9, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "execute", + "start": 138, + "end": 145, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 146, + "end": 147, + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "execute", + "start": 148, + "end": 155, + "loc": { + "start": { + "line": 9, + "column": 23 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 155, + "end": 156, + "loc": { + "start": { + "line": 9, + "column": 30 + }, + "end": { + "line": 9, + "column": 31 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 165, + "end": 169, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 169, + "end": 170, + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 13 } } }, @@ -2135,42 +3340,44 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 35, - "end": 46, + "value": "applicator", + "start": 170, + "end": 180, "loc": { "start": { - "line": 2, - "column": 4 + "line": 10, + "column": 13 }, "end": { - "line": 2, - "column": 15 + "line": 10, + "column": 23 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 46, - "end": 47, + "value": "=", + "start": 181, + "end": 182, "loc": { "start": { - "line": 2, - "column": 15 + "line": 10, + "column": 24 }, "end": { - "line": 2, - "column": 16 + "line": 10, + "column": 25 } } }, @@ -2186,23 +3393,23 @@ "postfix": false, "binop": null }, - "value": "execute", - "start": 47, - "end": 54, + "value": "applicator", + "start": 183, + "end": 193, "loc": { "start": { - "line": 2, - "column": 16 + "line": 10, + "column": 26 }, "end": { - "line": 2, - "column": 23 + "line": 10, + "column": 36 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2213,22 +3420,23 @@ "binop": null, "updateContext": null }, - "start": 54, - "end": 55, + "start": 193, + "end": 194, "loc": { "start": { - "line": 2, - "column": 23 + "line": 10, + "column": 36 }, "end": { - "line": 2, - "column": 24 + "line": 10, + "column": 37 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2236,26 +3444,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "applicator", - "start": 56, - "end": 66, + "value": "this", + "start": 203, + "end": 207, "loc": { "start": { - "line": 2, - "column": 25 + "line": 11, + "column": 8 }, "end": { - "line": 2, - "column": 35 + "line": 11, + "column": 12 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2265,16 +3474,16 @@ "binop": null, "updateContext": null }, - "start": 66, - "end": 67, + "start": 207, + "end": 208, "loc": { "start": { - "line": 2, - "column": 35 + "line": 11, + "column": 12 }, "end": { - "line": 2, - "column": 36 + "line": 11, + "column": 13 } } }, @@ -2291,16 +3500,16 @@ "binop": null }, "value": "options", - "start": 68, - "end": 75, + "start": 208, + "end": 215, "loc": { "start": { - "line": 2, - "column": 37 + "line": 11, + "column": 13 }, "end": { - "line": 2, - "column": 44 + "line": 11, + "column": 20 } } }, @@ -2318,22 +3527,167 @@ "updateContext": null }, "value": "=", - "start": 76, - "end": 77, + "start": 216, + "end": 217, "loc": { "start": { - "line": 2, - "column": 45 + "line": 11, + "column": 21 }, "end": { - "line": 2, - "column": 46 + "line": 11, + "column": 22 } } }, { "type": { - "label": "{", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 218, + "end": 225, + "loc": { + "start": { + "line": 11, + "column": 23 + }, + "end": { + "line": 11, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 225, + "end": 226, + "loc": { + "start": { + "line": 11, + "column": 30 + }, + "end": { + "line": 11, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 19\n * @type\n * {boolean}\n ", + "start": 237, + "end": 327, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 332, + "end": 335, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bound", + "start": 336, + "end": 341, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + { + "type": { + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -2343,22 +3697,22 @@ "postfix": false, "binop": null }, - "start": 78, - "end": 79, + "start": 341, + "end": 342, "loc": { "start": { - "line": 2, - "column": 47 + "line": 21, + "column": 13 }, "end": { - "line": 2, - "column": 48 + "line": 21, + "column": 14 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2368,24 +3722,24 @@ "postfix": false, "binop": null }, - "start": 79, - "end": 80, + "start": 342, + "end": 343, "loc": { "start": { - "line": 2, - "column": 48 + "line": 21, + "column": 14 }, "end": { - "line": 2, - "column": 49 + "line": 21, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2393,41 +3747,44 @@ "postfix": false, "binop": null }, - "start": 80, - "end": 81, + "start": 344, + "end": 345, "loc": { "start": { - "line": 2, - "column": 49 + "line": 21, + "column": 16 }, "end": { - "line": 2, - "column": 50 + "line": 21, + "column": 17 } } }, { "type": { - "label": "{", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 82, - "end": 83, + "value": "return", + "start": 354, + "end": 360, "loc": { "start": { - "line": 2, - "column": 51 + "line": 22, + "column": 8 }, "end": { - "line": 2, - "column": 52 + "line": 22, + "column": 14 } } }, @@ -2446,16 +3803,16 @@ "updateContext": null }, "value": "this", - "start": 92, - "end": 96, + "start": 361, + "end": 365, "loc": { "start": { - "line": 3, - "column": 8 + "line": 22, + "column": 15 }, "end": { - "line": 3, - "column": 12 + "line": 22, + "column": 19 } } }, @@ -2472,16 +3829,16 @@ "binop": null, "updateContext": null }, - "start": 96, - "end": 97, + "start": 365, + "end": 366, "loc": { "start": { - "line": 3, - "column": 12 + "line": 22, + "column": 19 }, "end": { - "line": 3, - "column": 13 + "line": 22, + "column": 20 } } }, @@ -2497,44 +3854,43 @@ "postfix": false, "binop": null }, - "value": "execute", - "start": 97, - "end": 104, + "value": "options", + "start": 366, + "end": 373, "loc": { "start": { - "line": 3, - "column": 13 + "line": 22, + "column": 20 }, "end": { - "line": 3, - "column": 20 + "line": 22, + "column": 27 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 105, - "end": 106, + "start": 373, + "end": 374, "loc": { "start": { - "line": 3, - "column": 21 + "line": 22, + "column": 27 }, "end": { - "line": 3, - "column": 22 + "line": 22, + "column": 28 } } }, @@ -2550,23 +3906,23 @@ "postfix": false, "binop": null }, - "value": "execute", - "start": 107, - "end": 114, + "value": "bound", + "start": 374, + "end": 379, "loc": { "start": { - "line": 3, - "column": 23 + "line": 22, + "column": 28 }, "end": { - "line": 3, - "column": 30 + "line": 22, + "column": 33 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2574,26 +3930,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 114, - "end": 115, + "value": "!=", + "start": 380, + "end": 382, "loc": { "start": { - "line": 3, - "column": 30 + "line": 22, + "column": 34 }, "end": { - "line": 3, - "column": 31 + "line": 22, + "column": 36 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2604,24 +3961,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 124, - "end": 128, + "value": "null", + "start": 383, + "end": 387, "loc": { "start": { - "line": 4, - "column": 8 + "line": 22, + "column": 37 }, "end": { - "line": 4, - "column": 12 + "line": 22, + "column": 41 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2631,22 +3988,23 @@ "binop": null, "updateContext": null }, - "start": 128, - "end": 129, + "start": 388, + "end": 389, "loc": { "start": { - "line": 4, - "column": 12 + "line": 22, + "column": 42 }, "end": { - "line": 4, - "column": 13 + "line": 22, + "column": 43 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2654,79 +4012,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "applicator", - "start": 129, - "end": 139, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 140, - "end": 141, + "value": "this", + "start": 390, + "end": 394, "loc": { "start": { - "line": 4, - "column": 24 + "line": 22, + "column": 44 }, "end": { - "line": 4, - "column": 25 + "line": 22, + "column": 48 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "applicator", - "start": 142, - "end": 152, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2736,23 +4042,22 @@ "binop": null, "updateContext": null }, - "start": 152, - "end": 153, + "start": 394, + "end": 395, "loc": { "start": { - "line": 4, - "column": 36 + "line": 22, + "column": 48 }, "end": { - "line": 4, - "column": 37 + "line": 22, + "column": 49 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2760,20 +4065,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 162, - "end": 166, + "value": "options", + "start": 395, + "end": 402, "loc": { "start": { - "line": 5, - "column": 8 + "line": 22, + "column": 49 }, "end": { - "line": 5, - "column": 12 + "line": 22, + "column": 56 } } }, @@ -2790,16 +4094,16 @@ "binop": null, "updateContext": null }, - "start": 166, - "end": 167, + "start": 402, + "end": 403, "loc": { "start": { - "line": 5, - "column": 12 + "line": 22, + "column": 56 }, "end": { - "line": 5, - "column": 13 + "line": 22, + "column": 57 } } }, @@ -2815,50 +4119,50 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 167, - "end": 174, + "value": "bound", + "start": 403, + "end": 408, "loc": { "start": { - "line": 5, - "column": 13 + "line": 22, + "column": 57 }, "end": { - "line": 5, - "column": 20 + "line": 22, + "column": 62 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 175, - "end": 176, + "start": 409, + "end": 410, "loc": { "start": { - "line": 5, - "column": 21 + "line": 22, + "column": 63 }, "end": { - "line": 5, - "column": 22 + "line": 22, + "column": 64 } } }, { "type": { - "label": "name", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2866,19 +4170,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "options", - "start": 177, - "end": 184, + "value": "false", + "start": 411, + "end": 416, "loc": { "start": { - "line": 5, - "column": 23 + "line": 22, + "column": 65 }, "end": { - "line": 5, - "column": 30 + "line": 22, + "column": 70 } } }, @@ -2895,16 +4200,16 @@ "binop": null, "updateContext": null }, - "start": 184, - "end": 185, + "start": 416, + "end": 417, "loc": { "start": { - "line": 5, - "column": 30 + "line": 22, + "column": 70 }, "end": { - "line": 5, - "column": 31 + "line": 22, + "column": 71 } } }, @@ -2920,16 +4225,32 @@ "postfix": false, "binop": null }, - "start": 190, - "end": 191, + "start": 422, + "end": 423, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 23\n * @type\n * {boolean}\n ", + "start": 428, + "end": 518, "loc": { "start": { - "line": 6, + "line": 24, "column": 4 }, "end": { - "line": 6, - "column": 5 + "line": 31, + "column": 7 } } }, @@ -2946,15 +4267,15 @@ "binop": null }, "value": "get", - "start": 196, - "end": 199, + "start": 523, + "end": 526, "loc": { "start": { - "line": 7, + "line": 32, "column": 4 }, "end": { - "line": 7, + "line": 32, "column": 7 } } @@ -2971,17 +4292,17 @@ "postfix": false, "binop": null }, - "value": "bound", - "start": 200, - "end": 205, + "value": "setter", + "start": 527, + "end": 533, "loc": { "start": { - "line": 7, + "line": 32, "column": 8 }, "end": { - "line": 7, - "column": 13 + "line": 32, + "column": 14 } } }, @@ -2997,16 +4318,16 @@ "postfix": false, "binop": null }, - "start": 205, - "end": 206, + "start": 533, + "end": 534, "loc": { "start": { - "line": 7, - "column": 13 + "line": 32, + "column": 14 }, "end": { - "line": 7, - "column": 14 + "line": 32, + "column": 15 } } }, @@ -3022,16 +4343,16 @@ "postfix": false, "binop": null }, - "start": 206, - "end": 207, + "start": 534, + "end": 535, "loc": { "start": { - "line": 7, - "column": 14 + "line": 32, + "column": 15 }, "end": { - "line": 7, - "column": 15 + "line": 32, + "column": 16 } } }, @@ -3047,16 +4368,16 @@ "postfix": false, "binop": null }, - "start": 208, - "end": 209, + "start": 536, + "end": 537, "loc": { "start": { - "line": 7, - "column": 16 + "line": 32, + "column": 17 }, "end": { - "line": 7, - "column": 17 + "line": 32, + "column": 18 } } }, @@ -3075,15 +4396,15 @@ "updateContext": null }, "value": "return", - "start": 218, - "end": 224, + "start": 546, + "end": 552, "loc": { "start": { - "line": 8, + "line": 33, "column": 8 }, "end": { - "line": 8, + "line": 33, "column": 14 } } @@ -3103,15 +4424,15 @@ "updateContext": null }, "value": "this", - "start": 225, - "end": 229, + "start": 553, + "end": 557, "loc": { "start": { - "line": 8, + "line": 33, "column": 15 }, "end": { - "line": 8, + "line": 33, "column": 19 } } @@ -3129,15 +4450,15 @@ "binop": null, "updateContext": null }, - "start": 229, - "end": 230, + "start": 557, + "end": 558, "loc": { "start": { - "line": 8, + "line": 33, "column": 19 }, "end": { - "line": 8, + "line": 33, "column": 20 } } @@ -3155,15 +4476,15 @@ "binop": null }, "value": "options", - "start": 230, - "end": 237, + "start": 558, + "end": 565, "loc": { "start": { - "line": 8, + "line": 33, "column": 20 }, "end": { - "line": 8, + "line": 33, "column": 27 } } @@ -3181,15 +4502,15 @@ "binop": null, "updateContext": null }, - "start": 237, - "end": 238, + "start": 565, + "end": 566, "loc": { "start": { - "line": 8, + "line": 33, "column": 27 }, "end": { - "line": 8, + "line": 33, "column": 28 } } @@ -3206,17 +4527,17 @@ "postfix": false, "binop": null }, - "value": "bound", - "start": 238, - "end": 243, + "value": "setter", + "start": 566, + "end": 572, "loc": { "start": { - "line": 8, + "line": 33, "column": 28 }, "end": { - "line": 8, - "column": 33 + "line": 33, + "column": 34 } } }, @@ -3234,16 +4555,16 @@ "updateContext": null }, "value": "!=", - "start": 244, - "end": 246, + "start": 573, + "end": 575, "loc": { "start": { - "line": 8, - "column": 34 + "line": 33, + "column": 35 }, "end": { - "line": 8, - "column": 36 + "line": 33, + "column": 37 } } }, @@ -3262,16 +4583,16 @@ "updateContext": null }, "value": "null", - "start": 247, - "end": 251, + "start": 576, + "end": 580, "loc": { "start": { - "line": 8, - "column": 37 + "line": 33, + "column": 38 }, "end": { - "line": 8, - "column": 41 + "line": 33, + "column": 42 } } }, @@ -3288,16 +4609,16 @@ "binop": null, "updateContext": null }, - "start": 252, - "end": 253, + "start": 581, + "end": 582, "loc": { "start": { - "line": 8, - "column": 42 + "line": 33, + "column": 43 }, "end": { - "line": 8, - "column": 43 + "line": 33, + "column": 44 } } }, @@ -3316,16 +4637,16 @@ "updateContext": null }, "value": "this", - "start": 254, - "end": 258, + "start": 583, + "end": 587, "loc": { "start": { - "line": 8, - "column": 44 + "line": 33, + "column": 45 }, "end": { - "line": 8, - "column": 48 + "line": 33, + "column": 49 } } }, @@ -3342,16 +4663,16 @@ "binop": null, "updateContext": null }, - "start": 258, - "end": 259, + "start": 587, + "end": 588, "loc": { "start": { - "line": 8, - "column": 48 + "line": 33, + "column": 49 }, "end": { - "line": 8, - "column": 49 + "line": 33, + "column": 50 } } }, @@ -3368,16 +4689,16 @@ "binop": null }, "value": "options", - "start": 259, - "end": 266, + "start": 588, + "end": 595, "loc": { "start": { - "line": 8, - "column": 49 + "line": 33, + "column": 50 }, "end": { - "line": 8, - "column": 56 + "line": 33, + "column": 57 } } }, @@ -3394,16 +4715,16 @@ "binop": null, "updateContext": null }, - "start": 266, - "end": 267, + "start": 595, + "end": 596, "loc": { "start": { - "line": 8, - "column": 56 + "line": 33, + "column": 57 }, "end": { - "line": 8, - "column": 57 + "line": 33, + "column": 58 } } }, @@ -3419,17 +4740,17 @@ "postfix": false, "binop": null }, - "value": "bound", - "start": 267, - "end": 272, + "value": "setter", + "start": 596, + "end": 602, "loc": { "start": { - "line": 8, - "column": 57 + "line": 33, + "column": 58 }, "end": { - "line": 8, - "column": 62 + "line": 33, + "column": 64 } } }, @@ -3446,16 +4767,16 @@ "binop": null, "updateContext": null }, - "start": 273, - "end": 274, + "start": 603, + "end": 604, "loc": { "start": { - "line": 8, - "column": 63 + "line": 33, + "column": 65 }, "end": { - "line": 8, - "column": 64 + "line": 33, + "column": 66 } } }, @@ -3474,16 +4795,16 @@ "updateContext": null }, "value": "false", - "start": 275, - "end": 280, + "start": 605, + "end": 610, "loc": { "start": { - "line": 8, - "column": 65 + "line": 33, + "column": 67 }, "end": { - "line": 8, - "column": 70 + "line": 33, + "column": 72 } } }, @@ -3500,16 +4821,16 @@ "binop": null, "updateContext": null }, - "start": 280, - "end": 281, + "start": 610, + "end": 611, "loc": { "start": { - "line": 8, - "column": 70 + "line": 33, + "column": 72 }, "end": { - "line": 8, - "column": 71 + "line": 33, + "column": 73 } } }, @@ -3525,19 +4846,35 @@ "postfix": false, "binop": null }, - "start": 286, - "end": 287, + "start": 616, + "end": 617, "loc": { "start": { - "line": 9, + "line": 34, "column": 4 }, "end": { - "line": 9, + "line": 34, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 27\n * @type\n * {boolean}\n ", + "start": 622, + "end": 712, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 42, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -3551,15 +4888,15 @@ "binop": null }, "value": "get", - "start": 292, - "end": 295, + "start": 717, + "end": 720, "loc": { "start": { - "line": 10, + "line": 43, "column": 4 }, "end": { - "line": 10, + "line": 43, "column": 7 } } @@ -3576,16 +4913,16 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 296, - "end": 302, + "value": "getter", + "start": 721, + "end": 727, "loc": { "start": { - "line": 10, + "line": 43, "column": 8 }, "end": { - "line": 10, + "line": 43, "column": 14 } } @@ -3602,15 +4939,15 @@ "postfix": false, "binop": null }, - "start": 302, - "end": 303, + "start": 727, + "end": 728, "loc": { "start": { - "line": 10, + "line": 43, "column": 14 }, "end": { - "line": 10, + "line": 43, "column": 15 } } @@ -3627,15 +4964,15 @@ "postfix": false, "binop": null }, - "start": 303, - "end": 304, + "start": 728, + "end": 729, "loc": { "start": { - "line": 10, + "line": 43, "column": 15 }, "end": { - "line": 10, + "line": 43, "column": 16 } } @@ -3652,15 +4989,15 @@ "postfix": false, "binop": null }, - "start": 305, - "end": 306, + "start": 730, + "end": 731, "loc": { "start": { - "line": 10, + "line": 43, "column": 17 }, "end": { - "line": 10, + "line": 43, "column": 18 } } @@ -3680,15 +5017,15 @@ "updateContext": null }, "value": "return", - "start": 315, - "end": 321, + "start": 740, + "end": 746, "loc": { "start": { - "line": 11, + "line": 44, "column": 8 }, "end": { - "line": 11, + "line": 44, "column": 14 } } @@ -3708,15 +5045,15 @@ "updateContext": null }, "value": "this", - "start": 322, - "end": 326, + "start": 747, + "end": 751, "loc": { "start": { - "line": 11, + "line": 44, "column": 15 }, "end": { - "line": 11, + "line": 44, "column": 19 } } @@ -3734,15 +5071,15 @@ "binop": null, "updateContext": null }, - "start": 326, - "end": 327, + "start": 751, + "end": 752, "loc": { "start": { - "line": 11, + "line": 44, "column": 19 }, "end": { - "line": 11, + "line": 44, "column": 20 } } @@ -3760,15 +5097,15 @@ "binop": null }, "value": "options", - "start": 327, - "end": 334, + "start": 752, + "end": 759, "loc": { "start": { - "line": 11, + "line": 44, "column": 20 }, "end": { - "line": 11, + "line": 44, "column": 27 } } @@ -3786,15 +5123,15 @@ "binop": null, "updateContext": null }, - "start": 334, - "end": 335, + "start": 759, + "end": 760, "loc": { "start": { - "line": 11, + "line": 44, "column": 27 }, "end": { - "line": 11, + "line": 44, "column": 28 } } @@ -3811,16 +5148,16 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 335, - "end": 341, + "value": "getter", + "start": 760, + "end": 766, "loc": { "start": { - "line": 11, + "line": 44, "column": 28 }, "end": { - "line": 11, + "line": 44, "column": 34 } } @@ -3839,15 +5176,15 @@ "updateContext": null }, "value": "!=", - "start": 342, - "end": 344, + "start": 767, + "end": 769, "loc": { "start": { - "line": 11, + "line": 44, "column": 35 }, "end": { - "line": 11, + "line": 44, "column": 37 } } @@ -3867,15 +5204,15 @@ "updateContext": null }, "value": "null", - "start": 345, - "end": 349, + "start": 770, + "end": 774, "loc": { "start": { - "line": 11, + "line": 44, "column": 38 }, "end": { - "line": 11, + "line": 44, "column": 42 } } @@ -3893,15 +5230,15 @@ "binop": null, "updateContext": null }, - "start": 350, - "end": 351, + "start": 775, + "end": 776, "loc": { "start": { - "line": 11, + "line": 44, "column": 43 }, "end": { - "line": 11, + "line": 44, "column": 44 } } @@ -3921,15 +5258,15 @@ "updateContext": null }, "value": "this", - "start": 352, - "end": 356, + "start": 777, + "end": 781, "loc": { "start": { - "line": 11, + "line": 44, "column": 45 }, "end": { - "line": 11, + "line": 44, "column": 49 } } @@ -3947,15 +5284,15 @@ "binop": null, "updateContext": null }, - "start": 356, - "end": 357, + "start": 781, + "end": 782, "loc": { "start": { - "line": 11, + "line": 44, "column": 49 }, "end": { - "line": 11, + "line": 44, "column": 50 } } @@ -3973,15 +5310,15 @@ "binop": null }, "value": "options", - "start": 357, - "end": 364, + "start": 782, + "end": 789, "loc": { "start": { - "line": 11, + "line": 44, "column": 50 }, "end": { - "line": 11, + "line": 44, "column": 57 } } @@ -3999,15 +5336,15 @@ "binop": null, "updateContext": null }, - "start": 364, - "end": 365, + "start": 789, + "end": 790, "loc": { "start": { - "line": 11, + "line": 44, "column": 57 }, "end": { - "line": 11, + "line": 44, "column": 58 } } @@ -4024,16 +5361,16 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 365, - "end": 371, + "value": "getter", + "start": 790, + "end": 796, "loc": { "start": { - "line": 11, + "line": 44, "column": 58 }, "end": { - "line": 11, + "line": 44, "column": 64 } } @@ -4051,15 +5388,15 @@ "binop": null, "updateContext": null }, - "start": 372, - "end": 373, + "start": 797, + "end": 798, "loc": { "start": { - "line": 11, + "line": 44, "column": 65 }, "end": { - "line": 11, + "line": 44, "column": 66 } } @@ -4079,15 +5416,15 @@ "updateContext": null }, "value": "false", - "start": 374, - "end": 379, + "start": 799, + "end": 804, "loc": { "start": { - "line": 11, + "line": 44, "column": 67 }, "end": { - "line": 11, + "line": 44, "column": 72 } } @@ -4105,15 +5442,15 @@ "binop": null, "updateContext": null }, - "start": 379, - "end": 380, + "start": 804, + "end": 805, "loc": { "start": { - "line": 11, + "line": 44, "column": 72 }, "end": { - "line": 11, + "line": 44, "column": 73 } } @@ -4130,19 +5467,35 @@ "postfix": false, "binop": null }, - "start": 385, - "end": 386, + "start": 810, + "end": 811, "loc": { "start": { - "line": 12, + "line": 45, "column": 4 }, "end": { - "line": 12, + "line": 45, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 31\n * @type\n * {boolean}\n ", + "start": 816, + "end": 906, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 53, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -4156,15 +5509,15 @@ "binop": null }, "value": "get", - "start": 391, - "end": 394, + "start": 911, + "end": 914, "loc": { "start": { - "line": 13, + "line": 54, "column": 4 }, "end": { - "line": 13, + "line": 54, "column": 7 } } @@ -4181,17 +5534,17 @@ "postfix": false, "binop": null }, - "value": "getter", - "start": 395, - "end": 401, + "value": "property", + "start": 915, + "end": 923, "loc": { "start": { - "line": 13, + "line": 54, "column": 8 }, "end": { - "line": 13, - "column": 14 + "line": 54, + "column": 16 } } }, @@ -4207,16 +5560,16 @@ "postfix": false, "binop": null }, - "start": 401, - "end": 402, + "start": 923, + "end": 924, "loc": { "start": { - "line": 13, - "column": 14 + "line": 54, + "column": 16 }, "end": { - "line": 13, - "column": 15 + "line": 54, + "column": 17 } } }, @@ -4232,16 +5585,16 @@ "postfix": false, "binop": null }, - "start": 402, - "end": 403, + "start": 924, + "end": 925, "loc": { "start": { - "line": 13, - "column": 15 + "line": 54, + "column": 17 }, "end": { - "line": 13, - "column": 16 + "line": 54, + "column": 18 } } }, @@ -4257,16 +5610,16 @@ "postfix": false, "binop": null }, - "start": 404, - "end": 405, + "start": 926, + "end": 927, "loc": { "start": { - "line": 13, - "column": 17 + "line": 54, + "column": 19 }, "end": { - "line": 13, - "column": 18 + "line": 54, + "column": 20 } } }, @@ -4285,15 +5638,15 @@ "updateContext": null }, "value": "return", - "start": 414, - "end": 420, + "start": 936, + "end": 942, "loc": { "start": { - "line": 14, + "line": 55, "column": 8 }, "end": { - "line": 14, + "line": 55, "column": 14 } } @@ -4313,15 +5666,15 @@ "updateContext": null }, "value": "this", - "start": 421, - "end": 425, + "start": 943, + "end": 947, "loc": { "start": { - "line": 14, + "line": 55, "column": 15 }, "end": { - "line": 14, + "line": 55, "column": 19 } } @@ -4339,15 +5692,15 @@ "binop": null, "updateContext": null }, - "start": 425, - "end": 426, + "start": 947, + "end": 948, "loc": { "start": { - "line": 14, + "line": 55, "column": 19 }, "end": { - "line": 14, + "line": 55, "column": 20 } } @@ -4365,15 +5718,15 @@ "binop": null }, "value": "options", - "start": 426, - "end": 433, + "start": 948, + "end": 955, "loc": { "start": { - "line": 14, + "line": 55, "column": 20 }, "end": { - "line": 14, + "line": 55, "column": 27 } } @@ -4391,15 +5744,15 @@ "binop": null, "updateContext": null }, - "start": 433, - "end": 434, + "start": 955, + "end": 956, "loc": { "start": { - "line": 14, + "line": 55, "column": 27 }, "end": { - "line": 14, + "line": 55, "column": 28 } } @@ -4416,17 +5769,17 @@ "postfix": false, "binop": null }, - "value": "getter", - "start": 434, - "end": 440, + "value": "property", + "start": 956, + "end": 964, "loc": { "start": { - "line": 14, + "line": 55, "column": 28 }, "end": { - "line": 14, - "column": 34 + "line": 55, + "column": 36 } } }, @@ -4444,16 +5797,16 @@ "updateContext": null }, "value": "!=", - "start": 441, - "end": 443, + "start": 965, + "end": 967, "loc": { "start": { - "line": 14, - "column": 35 + "line": 55, + "column": 37 }, "end": { - "line": 14, - "column": 37 + "line": 55, + "column": 39 } } }, @@ -4472,16 +5825,16 @@ "updateContext": null }, "value": "null", - "start": 444, - "end": 448, + "start": 968, + "end": 972, "loc": { "start": { - "line": 14, - "column": 38 + "line": 55, + "column": 40 }, "end": { - "line": 14, - "column": 42 + "line": 55, + "column": 44 } } }, @@ -4498,16 +5851,16 @@ "binop": null, "updateContext": null }, - "start": 449, - "end": 450, + "start": 973, + "end": 974, "loc": { "start": { - "line": 14, - "column": 43 + "line": 55, + "column": 45 }, "end": { - "line": 14, - "column": 44 + "line": 55, + "column": 46 } } }, @@ -4526,16 +5879,16 @@ "updateContext": null }, "value": "this", - "start": 451, - "end": 455, + "start": 975, + "end": 979, "loc": { "start": { - "line": 14, - "column": 45 + "line": 55, + "column": 47 }, "end": { - "line": 14, - "column": 49 + "line": 55, + "column": 51 } } }, @@ -4552,16 +5905,16 @@ "binop": null, "updateContext": null }, - "start": 455, - "end": 456, + "start": 979, + "end": 980, "loc": { "start": { - "line": 14, - "column": 49 + "line": 55, + "column": 51 }, "end": { - "line": 14, - "column": 50 + "line": 55, + "column": 52 } } }, @@ -4578,16 +5931,16 @@ "binop": null }, "value": "options", - "start": 456, - "end": 463, + "start": 980, + "end": 987, "loc": { "start": { - "line": 14, - "column": 50 + "line": 55, + "column": 52 }, "end": { - "line": 14, - "column": 57 + "line": 55, + "column": 59 } } }, @@ -4604,16 +5957,16 @@ "binop": null, "updateContext": null }, - "start": 463, - "end": 464, + "start": 987, + "end": 988, "loc": { "start": { - "line": 14, - "column": 57 + "line": 55, + "column": 59 }, "end": { - "line": 14, - "column": 58 + "line": 55, + "column": 60 } } }, @@ -4629,17 +5982,17 @@ "postfix": false, "binop": null }, - "value": "getter", - "start": 464, - "end": 470, + "value": "property", + "start": 988, + "end": 996, "loc": { "start": { - "line": 14, - "column": 58 + "line": 55, + "column": 60 }, "end": { - "line": 14, - "column": 64 + "line": 55, + "column": 68 } } }, @@ -4656,16 +6009,16 @@ "binop": null, "updateContext": null }, - "start": 471, - "end": 472, + "start": 997, + "end": 998, "loc": { "start": { - "line": 14, - "column": 65 + "line": 55, + "column": 69 }, "end": { - "line": 14, - "column": 66 + "line": 55, + "column": 70 } } }, @@ -4684,16 +6037,16 @@ "updateContext": null }, "value": "false", - "start": 473, - "end": 478, + "start": 999, + "end": 1004, "loc": { "start": { - "line": 14, - "column": 67 + "line": 55, + "column": 71 }, "end": { - "line": 14, - "column": 72 + "line": 55, + "column": 76 } } }, @@ -4710,16 +6063,16 @@ "binop": null, "updateContext": null }, - "start": 478, - "end": 479, + "start": 1004, + "end": 1005, "loc": { "start": { - "line": 14, - "column": 72 + "line": 55, + "column": 76 }, "end": { - "line": 14, - "column": 73 + "line": 55, + "column": 77 } } }, @@ -4735,19 +6088,35 @@ "postfix": false, "binop": null }, - "start": 484, - "end": 485, + "start": 1010, + "end": 1011, "loc": { "start": { - "line": 15, + "line": 56, "column": 4 }, "end": { - "line": 15, + "line": 56, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 35\n * @type\n * {boolean}\n ", + "start": 1016, + "end": 1106, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 64, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -4761,15 +6130,15 @@ "binop": null }, "value": "get", - "start": 490, - "end": 493, + "start": 1111, + "end": 1114, "loc": { "start": { - "line": 16, + "line": 65, "column": 4 }, "end": { - "line": 16, + "line": 65, "column": 7 } } @@ -4786,17 +6155,17 @@ "postfix": false, "binop": null }, - "value": "property", - "start": 494, - "end": 502, + "value": "method", + "start": 1115, + "end": 1121, "loc": { "start": { - "line": 16, + "line": 65, "column": 8 }, "end": { - "line": 16, - "column": 16 + "line": 65, + "column": 14 } } }, @@ -4812,16 +6181,16 @@ "postfix": false, "binop": null }, - "start": 502, - "end": 503, + "start": 1121, + "end": 1122, "loc": { "start": { - "line": 16, - "column": 16 + "line": 65, + "column": 14 }, "end": { - "line": 16, - "column": 17 + "line": 65, + "column": 15 } } }, @@ -4837,16 +6206,16 @@ "postfix": false, "binop": null }, - "start": 503, - "end": 504, + "start": 1122, + "end": 1123, "loc": { "start": { - "line": 16, - "column": 17 + "line": 65, + "column": 15 }, "end": { - "line": 16, - "column": 18 + "line": 65, + "column": 16 } } }, @@ -4862,16 +6231,16 @@ "postfix": false, "binop": null }, - "start": 505, - "end": 506, + "start": 1124, + "end": 1125, "loc": { "start": { - "line": 16, - "column": 19 + "line": 65, + "column": 17 }, "end": { - "line": 16, - "column": 20 + "line": 65, + "column": 18 } } }, @@ -4890,15 +6259,15 @@ "updateContext": null }, "value": "return", - "start": 515, - "end": 521, + "start": 1134, + "end": 1140, "loc": { "start": { - "line": 17, + "line": 66, "column": 8 }, "end": { - "line": 17, + "line": 66, "column": 14 } } @@ -4918,15 +6287,15 @@ "updateContext": null }, "value": "this", - "start": 522, - "end": 526, + "start": 1141, + "end": 1145, "loc": { "start": { - "line": 17, + "line": 66, "column": 15 }, "end": { - "line": 17, + "line": 66, "column": 19 } } @@ -4944,15 +6313,15 @@ "binop": null, "updateContext": null }, - "start": 526, - "end": 527, + "start": 1145, + "end": 1146, "loc": { "start": { - "line": 17, + "line": 66, "column": 19 }, "end": { - "line": 17, + "line": 66, "column": 20 } } @@ -4970,15 +6339,15 @@ "binop": null }, "value": "options", - "start": 527, - "end": 534, + "start": 1146, + "end": 1153, "loc": { "start": { - "line": 17, + "line": 66, "column": 20 }, "end": { - "line": 17, + "line": 66, "column": 27 } } @@ -4996,15 +6365,15 @@ "binop": null, "updateContext": null }, - "start": 534, - "end": 535, + "start": 1153, + "end": 1154, "loc": { "start": { - "line": 17, + "line": 66, "column": 27 }, "end": { - "line": 17, + "line": 66, "column": 28 } } @@ -5021,17 +6390,17 @@ "postfix": false, "binop": null }, - "value": "property", - "start": 535, - "end": 543, + "value": "method", + "start": 1154, + "end": 1160, "loc": { "start": { - "line": 17, + "line": 66, "column": 28 }, "end": { - "line": 17, - "column": 36 + "line": 66, + "column": 34 } } }, @@ -5049,16 +6418,16 @@ "updateContext": null }, "value": "!=", - "start": 544, - "end": 546, + "start": 1161, + "end": 1163, "loc": { "start": { - "line": 17, - "column": 37 + "line": 66, + "column": 35 }, "end": { - "line": 17, - "column": 39 + "line": 66, + "column": 37 } } }, @@ -5077,16 +6446,16 @@ "updateContext": null }, "value": "null", - "start": 547, - "end": 551, + "start": 1164, + "end": 1168, "loc": { "start": { - "line": 17, - "column": 40 + "line": 66, + "column": 38 }, "end": { - "line": 17, - "column": 44 + "line": 66, + "column": 42 } } }, @@ -5103,16 +6472,16 @@ "binop": null, "updateContext": null }, - "start": 552, - "end": 553, + "start": 1169, + "end": 1170, "loc": { "start": { - "line": 17, - "column": 45 + "line": 66, + "column": 43 }, "end": { - "line": 17, - "column": 46 + "line": 66, + "column": 44 } } }, @@ -5131,16 +6500,16 @@ "updateContext": null }, "value": "this", - "start": 554, - "end": 558, + "start": 1171, + "end": 1175, "loc": { "start": { - "line": 17, - "column": 47 + "line": 66, + "column": 45 }, "end": { - "line": 17, - "column": 51 + "line": 66, + "column": 49 } } }, @@ -5157,16 +6526,16 @@ "binop": null, "updateContext": null }, - "start": 558, - "end": 559, + "start": 1175, + "end": 1176, "loc": { "start": { - "line": 17, - "column": 51 + "line": 66, + "column": 49 }, "end": { - "line": 17, - "column": 52 + "line": 66, + "column": 50 } } }, @@ -5183,16 +6552,16 @@ "binop": null }, "value": "options", - "start": 559, - "end": 566, + "start": 1176, + "end": 1183, "loc": { "start": { - "line": 17, - "column": 52 + "line": 66, + "column": 50 }, "end": { - "line": 17, - "column": 59 + "line": 66, + "column": 57 } } }, @@ -5209,16 +6578,16 @@ "binop": null, "updateContext": null }, - "start": 566, - "end": 567, + "start": 1183, + "end": 1184, "loc": { "start": { - "line": 17, - "column": 59 + "line": 66, + "column": 57 }, "end": { - "line": 17, - "column": 60 + "line": 66, + "column": 58 } } }, @@ -5234,17 +6603,17 @@ "postfix": false, "binop": null }, - "value": "property", - "start": 567, - "end": 575, + "value": "method", + "start": 1184, + "end": 1190, "loc": { "start": { - "line": 17, - "column": 60 + "line": 66, + "column": 58 }, "end": { - "line": 17, - "column": 68 + "line": 66, + "column": 64 } } }, @@ -5261,23 +6630,23 @@ "binop": null, "updateContext": null }, - "start": 576, - "end": 577, + "start": 1191, + "end": 1192, "loc": { "start": { - "line": 17, - "column": 69 + "line": 66, + "column": 65 }, "end": { - "line": 17, - "column": 70 + "line": 66, + "column": 66 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5288,17 +6657,17 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 578, - "end": 583, + "value": "true", + "start": 1193, + "end": 1197, "loc": { "start": { - "line": 17, - "column": 71 + "line": 66, + "column": 67 }, "end": { - "line": 17, - "column": 76 + "line": 66, + "column": 71 } } }, @@ -5315,16 +6684,16 @@ "binop": null, "updateContext": null }, - "start": 583, - "end": 584, + "start": 1197, + "end": 1198, "loc": { "start": { - "line": 17, - "column": 76 + "line": 66, + "column": 71 }, "end": { - "line": 17, - "column": 77 + "line": 66, + "column": 72 } } }, @@ -5340,19 +6709,35 @@ "postfix": false, "binop": null }, - "start": 589, - "end": 590, + "start": 1203, + "end": 1204, "loc": { "start": { - "line": 18, + "line": 67, "column": 4 }, "end": { - "line": 18, + "line": 67, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 39\n * @type\n * {boolean}\n ", + "start": 1209, + "end": 1299, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 75, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -5366,15 +6751,15 @@ "binop": null }, "value": "get", - "start": 595, - "end": 598, + "start": 1304, + "end": 1307, "loc": { "start": { - "line": 19, + "line": 76, "column": 4 }, "end": { - "line": 19, + "line": 76, "column": 7 } } @@ -5391,17 +6776,17 @@ "postfix": false, "binop": null }, - "value": "method", - "start": 599, - "end": 605, + "value": "optionalParams", + "start": 1308, + "end": 1322, "loc": { "start": { - "line": 19, + "line": 76, "column": 8 }, "end": { - "line": 19, - "column": 14 + "line": 76, + "column": 22 } } }, @@ -5417,16 +6802,16 @@ "postfix": false, "binop": null }, - "start": 605, - "end": 606, + "start": 1322, + "end": 1323, "loc": { "start": { - "line": 19, - "column": 14 + "line": 76, + "column": 22 }, "end": { - "line": 19, - "column": 15 + "line": 76, + "column": 23 } } }, @@ -5442,16 +6827,16 @@ "postfix": false, "binop": null }, - "start": 606, - "end": 607, + "start": 1323, + "end": 1324, "loc": { "start": { - "line": 19, - "column": 15 + "line": 76, + "column": 23 }, "end": { - "line": 19, - "column": 16 + "line": 76, + "column": 24 } } }, @@ -5467,16 +6852,16 @@ "postfix": false, "binop": null }, - "start": 608, - "end": 609, + "start": 1325, + "end": 1326, "loc": { "start": { - "line": 19, - "column": 17 + "line": 76, + "column": 25 }, "end": { - "line": 19, - "column": 18 + "line": 76, + "column": 26 } } }, @@ -5495,15 +6880,15 @@ "updateContext": null }, "value": "return", - "start": 618, - "end": 624, + "start": 1335, + "end": 1341, "loc": { "start": { - "line": 20, + "line": 77, "column": 8 }, "end": { - "line": 20, + "line": 77, "column": 14 } } @@ -5523,15 +6908,15 @@ "updateContext": null }, "value": "this", - "start": 625, - "end": 629, + "start": 1342, + "end": 1346, "loc": { "start": { - "line": 20, + "line": 77, "column": 15 }, "end": { - "line": 20, + "line": 77, "column": 19 } } @@ -5549,15 +6934,15 @@ "binop": null, "updateContext": null }, - "start": 629, - "end": 630, + "start": 1346, + "end": 1347, "loc": { "start": { - "line": 20, + "line": 77, "column": 19 }, "end": { - "line": 20, + "line": 77, "column": 20 } } @@ -5575,15 +6960,15 @@ "binop": null }, "value": "options", - "start": 630, - "end": 637, + "start": 1347, + "end": 1354, "loc": { "start": { - "line": 20, + "line": 77, "column": 20 }, "end": { - "line": 20, + "line": 77, "column": 27 } } @@ -5601,15 +6986,15 @@ "binop": null, "updateContext": null }, - "start": 637, - "end": 638, + "start": 1354, + "end": 1355, "loc": { "start": { - "line": 20, + "line": 77, "column": 27 }, "end": { - "line": 20, + "line": 77, "column": 28 } } @@ -5626,17 +7011,17 @@ "postfix": false, "binop": null }, - "value": "method", - "start": 638, - "end": 644, + "value": "optionalParams", + "start": 1355, + "end": 1369, "loc": { "start": { - "line": 20, + "line": 77, "column": 28 }, "end": { - "line": 20, - "column": 34 + "line": 77, + "column": 42 } } }, @@ -5654,16 +7039,16 @@ "updateContext": null }, "value": "!=", - "start": 645, - "end": 647, + "start": 1370, + "end": 1372, "loc": { "start": { - "line": 20, - "column": 35 + "line": 77, + "column": 43 }, "end": { - "line": 20, - "column": 37 + "line": 77, + "column": 45 } } }, @@ -5682,16 +7067,16 @@ "updateContext": null }, "value": "null", - "start": 648, - "end": 652, + "start": 1373, + "end": 1377, "loc": { "start": { - "line": 20, - "column": 38 + "line": 77, + "column": 46 }, "end": { - "line": 20, - "column": 42 + "line": 77, + "column": 50 } } }, @@ -5708,16 +7093,16 @@ "binop": null, "updateContext": null }, - "start": 653, - "end": 654, + "start": 1378, + "end": 1379, "loc": { "start": { - "line": 20, - "column": 43 + "line": 77, + "column": 51 }, "end": { - "line": 20, - "column": 44 + "line": 77, + "column": 52 } } }, @@ -5736,16 +7121,16 @@ "updateContext": null }, "value": "this", - "start": 655, - "end": 659, + "start": 1380, + "end": 1384, "loc": { "start": { - "line": 20, - "column": 45 + "line": 77, + "column": 53 }, "end": { - "line": 20, - "column": 49 + "line": 77, + "column": 57 } } }, @@ -5762,16 +7147,16 @@ "binop": null, "updateContext": null }, - "start": 659, - "end": 660, + "start": 1384, + "end": 1385, "loc": { "start": { - "line": 20, - "column": 49 + "line": 77, + "column": 57 }, "end": { - "line": 20, - "column": 50 + "line": 77, + "column": 58 } } }, @@ -5788,16 +7173,16 @@ "binop": null }, "value": "options", - "start": 660, - "end": 667, + "start": 1385, + "end": 1392, "loc": { "start": { - "line": 20, - "column": 50 + "line": 77, + "column": 58 }, "end": { - "line": 20, - "column": 57 + "line": 77, + "column": 65 } } }, @@ -5814,16 +7199,16 @@ "binop": null, "updateContext": null }, - "start": 667, - "end": 668, + "start": 1392, + "end": 1393, "loc": { "start": { - "line": 20, - "column": 57 + "line": 77, + "column": 65 }, "end": { - "line": 20, - "column": 58 + "line": 77, + "column": 66 } } }, @@ -5839,17 +7224,17 @@ "postfix": false, "binop": null }, - "value": "method", - "start": 668, - "end": 674, + "value": "optionalParams", + "start": 1393, + "end": 1407, "loc": { "start": { - "line": 20, - "column": 58 + "line": 77, + "column": 66 }, "end": { - "line": 20, - "column": 64 + "line": 77, + "column": 80 } } }, @@ -5866,23 +7251,23 @@ "binop": null, "updateContext": null }, - "start": 675, - "end": 676, + "start": 1408, + "end": 1409, "loc": { "start": { - "line": 20, - "column": 65 + "line": 77, + "column": 81 }, "end": { - "line": 20, - "column": 66 + "line": 77, + "column": 82 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5893,17 +7278,17 @@ "binop": null, "updateContext": null }, - "value": "true", - "start": 677, - "end": 681, + "value": "false", + "start": 1410, + "end": 1415, "loc": { "start": { - "line": 20, - "column": 67 + "line": 77, + "column": 83 }, "end": { - "line": 20, - "column": 71 + "line": 77, + "column": 88 } } }, @@ -5920,16 +7305,16 @@ "binop": null, "updateContext": null }, - "start": 681, - "end": 682, + "start": 1415, + "end": 1416, "loc": { "start": { - "line": 20, - "column": 71 + "line": 77, + "column": 88 }, "end": { - "line": 20, - "column": 72 + "line": 77, + "column": 89 } } }, @@ -5945,15 +7330,15 @@ "postfix": false, "binop": null }, - "start": 687, - "end": 688, + "start": 1421, + "end": 1422, "loc": { "start": { - "line": 21, + "line": 78, "column": 4 }, "end": { - "line": 21, + "line": 78, "column": 5 } } @@ -5970,15 +7355,15 @@ "postfix": false, "binop": null }, - "start": 689, - "end": 690, + "start": 1423, + "end": 1424, "loc": { "start": { - "line": 22, + "line": 79, "column": 0 }, "end": { - "line": 22, + "line": 79, "column": 1 } } @@ -5996,15 +7381,15 @@ "binop": null, "updateContext": null }, - "start": 691, - "end": 691, + "start": 1425, + "end": 1425, "loc": { "start": { - "line": 23, + "line": 80, "column": 0 }, "end": { - "line": 23, + "line": 80, "column": 0 } } diff --git a/docs/ast/source/factory/DecoratorFactory.js.json b/docs/ast/source/factory/DecoratorFactory.ts.json similarity index 64% rename from docs/ast/source/factory/DecoratorFactory.js.json rename to docs/ast/source/factory/DecoratorFactory.ts.json index b420b7b..30d038b 100644 --- a/docs/ast/source/factory/DecoratorFactory.js.json +++ b/docs/ast/source/factory/DecoratorFactory.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 5915, + "end": 7923, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 126, + "line": 200, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 5915, + "end": 7923, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 126, + "line": 200, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 36, + "end": 44, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 36 + "column": 44 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 19, + "end": 25, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 19 + "column": 25 } }, "imported": { "type": "Identifier", "start": 9, - "end": 19, + "end": 25, "loc": { "start": { "line": 1, @@ -68,16 +68,16 @@ }, "end": { "line": 1, - "column": 19 + "column": 25 }, - "identifierName": "isFunction" + "identifierName": "InstanceChainMap" }, - "name": "isFunction" + "name": "InstanceChainMap" }, "local": { "type": "Identifier", "start": 9, - "end": 19, + "end": 25, "loc": { "start": { "line": 1, @@ -85,39 +85,39 @@ }, "end": { "line": 1, - "column": 19 + "column": 25 }, - "identifierName": "isFunction" + "identifierName": "InstanceChainMap" }, - "name": "isFunction" + "name": "InstanceChainMap" } } ], "source": { "type": "StringLiteral", - "start": 27, - "end": 35, + "start": 33, + "end": 43, "loc": { "start": { "line": 1, - "column": 27 + "column": 33 }, "end": { "line": 1, - "column": 35 + "column": 43 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" + "rawValue": "./common", + "raw": "'./common'" }, - "value": "lodash" + "value": "./common" } }, { "type": "ImportDeclaration", - "start": 37, - "end": 81, + "start": 45, + "end": 143, "loc": { "start": { "line": 2, @@ -125,14 +125,14 @@ }, "end": { "line": 2, - "column": 44 + "column": 98 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 46, - "end": 62, + "start": 54, + "end": 66, "loc": { "start": { "line": 2, @@ -140,13 +140,13 @@ }, "end": { "line": 2, - "column": 25 + "column": 21 } }, "imported": { "type": "Identifier", - "start": 46, - "end": 62, + "start": 54, + "end": 66, "loc": { "start": { "line": 2, @@ -154,16 +154,16 @@ }, "end": { "line": 2, - "column": 25 + "column": 21 }, - "identifierName": "InstanceChainMap" + "identifierName": "copyMetadata" }, - "name": "InstanceChainMap" + "name": "copyMetadata" }, "local": { "type": "Identifier", - "start": 46, - "end": 62, + "start": 54, + "end": 66, "loc": { "start": { "line": 2, @@ -171,161 +171,173 @@ }, "end": { "line": 2, - "column": 25 + "column": 21 }, - "identifierName": "InstanceChainMap" + "identifierName": "copyMetadata" }, - "name": "InstanceChainMap" + "name": "copyMetadata" } - } - ], - "source": { - "type": "StringLiteral", - "start": 70, - "end": 80, - "loc": { - "start": { - "line": 2, - "column": 33 + }, + { + "type": "ImportSpecifier", + "start": 68, + "end": 72, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 27 + } }, - "end": { - "line": 2, - "column": 43 + "imported": { + "type": "Identifier", + "start": 68, + "end": 72, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "local": { + "type": "Identifier", + "start": 68, + "end": 72, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "bind" + }, + "name": "bind" } }, - "extra": { - "rawValue": "./common", - "raw": "'./common'" - }, - "value": "./common" - } - }, - { - "type": "ImportDeclaration", - "start": 82, - "end": 128, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 46 - } - }, - "specifiers": [ { "type": "ImportSpecifier", - "start": 91, - "end": 103, + "start": 74, + "end": 105, "loc": { "start": { - "line": 3, - "column": 9 + "line": 2, + "column": 29 }, "end": { - "line": 3, - "column": 21 + "line": 2, + "column": 60 } }, "imported": { "type": "Identifier", - "start": 91, - "end": 103, + "start": 74, + "end": 105, "loc": { "start": { - "line": 3, - "column": 9 + "line": 2, + "column": 29 }, "end": { - "line": 3, - "column": 21 + "line": 2, + "column": 60 }, - "identifierName": "copyMetadata" + "identifierName": "isMethodOrPropertyDecoratorArgs" }, - "name": "copyMetadata" + "name": "isMethodOrPropertyDecoratorArgs" }, "local": { "type": "Identifier", - "start": 91, - "end": 103, + "start": 74, + "end": 105, "loc": { "start": { - "line": 3, - "column": 9 + "line": 2, + "column": 29 }, "end": { - "line": 3, - "column": 21 + "line": 2, + "column": 60 }, - "identifierName": "copyMetadata" + "identifierName": "isMethodOrPropertyDecoratorArgs" }, - "name": "copyMetadata" + "name": "isMethodOrPropertyDecoratorArgs" } }, { "type": "ImportSpecifier", - "start": 105, - "end": 109, + "start": 107, + "end": 124, "loc": { "start": { - "line": 3, - "column": 23 + "line": 2, + "column": 62 }, "end": { - "line": 3, - "column": 27 + "line": 2, + "column": 79 } }, "imported": { "type": "Identifier", - "start": 105, - "end": 109, + "start": 107, + "end": 124, "loc": { "start": { - "line": 3, - "column": 23 + "line": 2, + "column": 62 }, "end": { - "line": 3, - "column": 27 + "line": 2, + "column": 79 }, - "identifierName": "bind" + "identifierName": "isPrototypeAccess" }, - "name": "bind" + "name": "isPrototypeAccess" }, "local": { "type": "Identifier", - "start": 105, - "end": 109, + "start": 107, + "end": 124, "loc": { "start": { - "line": 3, - "column": 23 + "line": 2, + "column": 62 }, "end": { - "line": 3, - "column": 27 + "line": 2, + "column": 79 }, - "identifierName": "bind" + "identifierName": "isPrototypeAccess" }, - "name": "bind" + "name": "isPrototypeAccess" } } ], "source": { "type": "StringLiteral", - "start": 117, - "end": 127, + "start": 132, + "end": 142, "loc": { "start": { - "line": 3, - "column": 35 + "line": 2, + "column": 87 }, "end": { - "line": 3, - "column": 45 + "line": 2, + "column": 97 } }, "extra": { @@ -333,19 +345,37 @@ "raw": "'../utils'" }, "value": "../utils" - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 18\n ", + "start": 144, + "end": 184, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 129, - "end": 5850, + "start": 185, + "end": 7858, "loc": { "start": { - "line": 4, + "line": 9, "column": 0 }, "end": { - "line": 124, + "line": 198, "column": 1 } }, @@ -353,84 +383,86 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 136, - "end": 5850, + "start": 192, + "end": 7858, "loc": { "start": { - "line": 4, + "line": 9, "column": 7 }, "end": { - "line": 124, + "line": 198, "column": 1 } }, "id": { "type": "Identifier", - "start": 142, - "end": 166, + "start": 198, + "end": 222, "loc": { "start": { - "line": 4, + "line": 9, "column": 13 }, "end": { - "line": 4, + "line": 9, "column": 37 }, "identifierName": "InternalDecoratorFactory" }, - "name": "InternalDecoratorFactory" + "name": "InternalDecoratorFactory", + "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", - "start": 167, - "end": 5850, + "start": 223, + "end": 7858, "loc": { "start": { - "line": 4, + "line": 9, "column": 38 }, "end": { - "line": 124, + "line": 198, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 173, - "end": 1349, + "start": 381, + "end": 1851, "loc": { "start": { - "line": 5, + "line": 20, "column": 4 }, "end": { - "line": 27, + "line": 48, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 173, - "end": 188, + "start": 381, + "end": 396, "loc": { "start": { - "line": 5, + "line": 20, "column": 4 }, "end": { - "line": 5, + "line": 20, "column": 19 }, "identifierName": "createDecorator" }, - "name": "createDecorator" + "name": "createDecorator", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -439,15 +471,15 @@ "params": [ { "type": "Identifier", - "start": 189, - "end": 195, + "start": 397, + "end": 403, "loc": { "start": { - "line": 5, + "line": 20, "column": 20 }, "end": { - "line": 5, + "line": 20, "column": 26 }, "identifierName": "config" @@ -457,74 +489,74 @@ ], "body": { "type": "BlockStatement", - "start": 197, - "end": 1349, + "start": 405, + "end": 1851, "loc": { "start": { - "line": 5, + "line": 20, "column": 28 }, "end": { - "line": 27, + "line": 48, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 207, - "end": 237, + "start": 415, + "end": 461, "loc": { "start": { - "line": 6, + "line": 21, "column": 8 }, "end": { - "line": 6, - "column": 38 + "line": 21, + "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 213, - "end": 236, + "start": 421, + "end": 460, "loc": { "start": { - "line": 6, + "line": 21, "column": 14 }, "end": { - "line": 6, - "column": 37 + "line": 21, + "column": 53 } }, "id": { "type": "ObjectPattern", - "start": 213, - "end": 227, + "start": 421, + "end": 451, "loc": { "start": { - "line": 6, + "line": 21, "column": 14 }, "end": { - "line": 6, - "column": 28 + "line": 21, + "column": 44 } }, "properties": [ { "type": "ObjectProperty", - "start": 215, - "end": 225, + "start": 423, + "end": 433, "loc": { "start": { - "line": 6, + "line": 21, "column": 16 }, "end": { - "line": 6, + "line": 21, "column": 26 } }, @@ -533,15 +565,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 215, - "end": 225, + "start": 423, + "end": 433, "loc": { "start": { - "line": 6, + "line": 21, "column": 16 }, "end": { - "line": 6, + "line": 21, "column": 26 }, "identifierName": "applicator" @@ -550,15 +582,15 @@ }, "value": { "type": "Identifier", - "start": 215, - "end": 225, + "start": 423, + "end": 433, "loc": { "start": { - "line": 6, + "line": 21, "column": 16 }, "end": { - "line": 6, + "line": 21, "column": 26 }, "identifierName": "applicator" @@ -568,21 +600,76 @@ "extra": { "shorthand": true } + }, + { + "type": "ObjectProperty", + "start": 435, + "end": 449, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 42 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 435, + "end": 449, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 42 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "Identifier", + "start": 435, + "end": 449, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 42 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "extra": { + "shorthand": true + } } ] }, "init": { "type": "Identifier", - "start": 230, - "end": 236, + "start": 454, + "end": 460, "loc": { "start": { - "line": 6, - "column": 31 + "line": 21, + "column": 47 }, "end": { - "line": 6, - "column": 37 + "line": 21, + "column": 53 }, "identifierName": "config" }, @@ -594,29 +681,29 @@ }, { "type": "ReturnStatement", - "start": 246, - "end": 1343, + "start": 470, + "end": 1845, "loc": { "start": { - "line": 7, + "line": 22, "column": 8 }, "end": { - "line": 26, + "line": 47, "column": 10 } }, "argument": { "type": "ArrowFunctionExpression", - "start": 253, - "end": 1342, + "start": 477, + "end": 1844, "loc": { "start": { - "line": 7, + "line": 22, "column": 15 }, "end": { - "line": 26, + "line": 47, "column": 9 } }, @@ -627,29 +714,29 @@ "params": [ { "type": "RestElement", - "start": 254, - "end": 261, + "start": 478, + "end": 485, "loc": { "start": { - "line": 7, + "line": 22, "column": 16 }, "end": { - "line": 7, + "line": 22, "column": 23 } }, "argument": { "type": "Identifier", - "start": 257, - "end": 261, + "start": 481, + "end": 485, "loc": { "start": { - "line": 7, + "line": 22, "column": 19 }, "end": { - "line": 7, + "line": 22, "column": 23 }, "identifierName": "args" @@ -660,9968 +747,12153 @@ ], "body": { "type": "BlockStatement", - "start": 266, - "end": 1342, + "start": 490, + "end": 1844, "loc": { "start": { - "line": 7, + "line": 22, "column": 28 }, "end": { - "line": 26, + "line": 47, "column": 9 } }, "body": [ { - "type": "ReturnStatement", - "start": 280, - "end": 1332, + "type": "VariableDeclaration", + "start": 504, + "end": 522, "loc": { "start": { - "line": 8, + "line": 23, "column": 12 }, "end": { - "line": 25, - "column": 14 + "line": 23, + "column": 30 } }, - "argument": { - "type": "ArrowFunctionExpression", - "start": 287, - "end": 1331, - "loc": { - "start": { - "line": 8, - "column": 19 - }, - "end": { - "line": 25, - "column": 13 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 288, - "end": 294, - "loc": { - "start": { - "line": 8, - "column": 20 - }, - "end": { - "line": 8, - "column": 26 - }, - "identifierName": "target" + "declarations": [ + { + "type": "VariableDeclarator", + "start": 508, + "end": 521, + "loc": { + "start": { + "line": 23, + "column": 16 }, - "name": "target" + "end": { + "line": 23, + "column": 29 + } }, - { + "id": { "type": "Identifier", - "start": 296, - "end": 300, + "start": 508, + "end": 514, "loc": { "start": { - "line": 8, - "column": 28 + "line": 23, + "column": 16 }, "end": { - "line": 8, - "column": 32 + "line": 23, + "column": 22 }, - "identifierName": "name" + "identifierName": "params" }, - "name": "name" + "name": "params" }, - { + "init": { "type": "Identifier", - "start": 302, - "end": 313, + "start": 517, + "end": 521, "loc": { "start": { - "line": 8, - "column": 34 + "line": 23, + "column": 25 }, "end": { - "line": 8, - "column": 45 + "line": 23, + "column": 29 }, - "identifierName": "_descriptor" + "identifierName": "args" }, - "name": "_descriptor" + "name": "args" } - ], - "body": { - "type": "BlockStatement", - "start": 318, - "end": 1331, + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 535, + "end": 1622, + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 41, + "column": 14 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 541, + "end": 1621, "loc": { "start": { - "line": 8, - "column": 50 + "line": 24, + "column": 18 }, "end": { - "line": 25, + "line": 41, "column": 13 } }, - "body": [ - { - "type": "VariableDeclaration", - "start": 336, - "end": 406, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 86 - } + "id": { + "type": "Identifier", + "start": 541, + "end": 550, + "loc": { + "start": { + "line": 24, + "column": 18 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 342, - "end": 405, - "loc": { - "start": { - "line": 9, - "column": 22 - }, - "end": { - "line": 9, - "column": 85 - } - }, - "id": { - "type": "Identifier", - "start": 342, - "end": 352, - "loc": { - "start": { - "line": 9, - "column": 22 - }, - "end": { - "line": 9, - "column": 32 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" - }, - "init": { - "type": "CallExpression", - "start": 355, - "end": 405, - "loc": { - "start": { - "line": 9, - "column": 35 - }, - "end": { - "line": 9, - "column": 85 - } - }, - "callee": { - "type": "MemberExpression", - "start": 355, - "end": 378, - "loc": { - "start": { - "line": 9, - "column": 35 - }, - "end": { - "line": 9, - "column": 58 - } - }, - "object": { - "type": "ThisExpression", - "start": 355, - "end": 359, - "loc": { - "start": { - "line": 9, - "column": 35 - }, - "end": { - "line": 9, - "column": 39 - } - } - }, - "property": { - "type": "Identifier", - "start": 360, - "end": 378, - "loc": { - "start": { - "line": 9, - "column": 40 - }, - "end": { - "line": 9, - "column": 58 - }, - "identifierName": "_resolveDescriptor" - }, - "name": "_resolveDescriptor" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 379, - "end": 385, - "loc": { - "start": { - "line": 9, - "column": 59 - }, - "end": { - "line": 9, - "column": 65 - }, - "identifierName": "target" - }, - "name": "target" - }, - { - "type": "Identifier", - "start": 387, - "end": 391, - "loc": { - "start": { - "line": 9, - "column": 67 - }, - "end": { - "line": 9, - "column": 71 - }, - "identifierName": "name" - }, - "name": "name" - }, - { - "type": "Identifier", - "start": 393, - "end": 404, - "loc": { - "start": { - "line": 9, - "column": 73 - }, - "end": { - "line": 9, - "column": 84 - }, - "identifierName": "_descriptor" - }, - "name": "_descriptor" - } - ] - } - } - ], - "kind": "const" + "end": { + "line": 24, + "column": 27 + }, + "identifierName": "decorator" }, - { - "type": "VariableDeclaration", - "start": 423, - "end": 462, + "name": "decorator" + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 553, + "end": 1621, + "loc": { + "start": { + "line": 24, + "column": 30 + }, + "end": { + "line": 41, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 554, + "end": 560, + "loc": { + "start": { + "line": 24, + "column": 31 + }, + "end": { + "line": 24, + "column": 37 + }, + "identifierName": "target" + }, + "name": "target" + }, + { + "type": "Identifier", + "start": 562, + "end": 566, + "loc": { + "start": { + "line": 24, + "column": 39 + }, + "end": { + "line": 24, + "column": 43 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 568, + "end": 579, + "loc": { + "start": { + "line": 24, + "column": 45 + }, + "end": { + "line": 24, + "column": 56 + }, + "identifierName": "_descriptor" + }, + "name": "_descriptor" + } + ], + "body": { + "type": "BlockStatement", + "start": 584, + "end": 1621, "loc": { "start": { - "line": 10, - "column": 16 + "line": 24, + "column": 61 }, "end": { - "line": 10, - "column": 55 + "line": 41, + "column": 13 } }, - "declarations": [ + "body": [ { - "type": "VariableDeclarator", - "start": 429, - "end": 461, + "type": "VariableDeclaration", + "start": 602, + "end": 672, "loc": { "start": { - "line": 10, - "column": 22 + "line": 25, + "column": 16 }, "end": { - "line": 10, - "column": 54 + "line": 25, + "column": 86 } }, - "id": { - "type": "ObjectPattern", - "start": 429, - "end": 448, - "loc": { - "start": { - "line": 10, - "column": 22 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 608, + "end": 671, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 85 + } }, - "end": { - "line": 10, - "column": 41 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 431, - "end": 436, + "id": { + "type": "Identifier", + "start": 608, + "end": 618, "loc": { "start": { - "line": 10, - "column": 24 + "line": 25, + "column": 22 }, "end": { - "line": 10, - "column": 29 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 431, - "end": 436, - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 29 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "Identifier", - "start": 431, - "end": 436, - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 29 - }, - "identifierName": "value" + "line": 25, + "column": 32 }, - "name": "value" + "identifierName": "descriptor" }, - "extra": { - "shorthand": true - } + "name": "descriptor" }, - { - "type": "ObjectProperty", - "start": 438, - "end": 441, + "init": { + "type": "CallExpression", + "start": 621, + "end": 671, "loc": { "start": { - "line": 10, - "column": 31 + "line": 25, + "column": 35 }, "end": { - "line": 10, - "column": 34 + "line": 25, + "column": 85 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 438, - "end": 441, + "callee": { + "type": "MemberExpression", + "start": 621, + "end": 644, "loc": { "start": { - "line": 10, - "column": 31 + "line": 25, + "column": 35 }, "end": { - "line": 10, - "column": 34 + "line": 25, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 621, + "end": 625, + "loc": { + "start": { + "line": 25, + "column": 35 + }, + "end": { + "line": 25, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 626, + "end": 644, + "loc": { + "start": { + "line": 25, + "column": 40 + }, + "end": { + "line": 25, + "column": 58 + }, + "identifierName": "_resolveDescriptor" }, - "identifierName": "get" + "name": "_resolveDescriptor" }, - "name": "get" + "computed": false }, - "value": { - "type": "Identifier", - "start": 438, - "end": 441, - "loc": { - "start": { - "line": 10, - "column": 31 + "arguments": [ + { + "type": "Identifier", + "start": 645, + "end": 651, + "loc": { + "start": { + "line": 25, + "column": 59 + }, + "end": { + "line": 25, + "column": 65 + }, + "identifierName": "target" }, - "end": { - "line": 10, - "column": 34 + "name": "target" + }, + { + "type": "Identifier", + "start": 653, + "end": 657, + "loc": { + "start": { + "line": 25, + "column": 67 + }, + "end": { + "line": 25, + "column": 71 + }, + "identifierName": "name" }, - "identifierName": "get" + "name": "name" }, - "name": "get" + { + "type": "Identifier", + "start": 659, + "end": 670, + "loc": { + "start": { + "line": 25, + "column": 73 + }, + "end": { + "line": 25, + "column": 84 + }, + "identifierName": "_descriptor" + }, + "name": "_descriptor" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 689, + "end": 728, + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 55 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 695, + "end": 727, + "loc": { + "start": { + "line": 26, + "column": 22 }, - "extra": { - "shorthand": true + "end": { + "line": 26, + "column": 54 } }, - { - "type": "ObjectProperty", - "start": 443, - "end": 446, + "id": { + "type": "ObjectPattern", + "start": 695, + "end": 714, "loc": { "start": { - "line": 10, - "column": 36 + "line": 26, + "column": 22 }, "end": { - "line": 10, - "column": 39 + "line": 26, + "column": 41 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 443, - "end": 446, - "loc": { - "start": { - "line": 10, - "column": 36 - }, - "end": { - "line": 10, - "column": 39 - }, - "identifierName": "set" - }, - "name": "set" - }, - "value": { - "type": "Identifier", - "start": 443, - "end": 446, - "loc": { - "start": { - "line": 10, - "column": 36 + "properties": [ + { + "type": "ObjectProperty", + "start": 697, + "end": 702, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 29 + } }, - "end": { - "line": 10, - "column": 39 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 697, + "end": 702, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 29 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 697, + "end": 702, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 29 + }, + "identifierName": "value" + }, + "name": "value" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 704, + "end": 707, + "loc": { + "start": { + "line": 26, + "column": 31 + }, + "end": { + "line": 26, + "column": 34 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 704, + "end": 707, + "loc": { + "start": { + "line": 26, + "column": 31 + }, + "end": { + "line": 26, + "column": 34 + }, + "identifierName": "get" + }, + "name": "get" + }, + "value": { + "type": "Identifier", + "start": 704, + "end": 707, + "loc": { + "start": { + "line": 26, + "column": 31 + }, + "end": { + "line": 26, + "column": 34 + }, + "identifierName": "get" + }, + "name": "get" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 709, + "end": 712, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 39 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 709, + "end": 712, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 39 + }, + "identifierName": "set" + }, + "name": "set" + }, + "value": { + "type": "Identifier", + "start": 709, + "end": 712, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 39 + }, + "identifierName": "set" + }, + "name": "set" }, - "identifierName": "set" + "extra": { + "shorthand": true + } + } + ] + }, + "init": { + "type": "Identifier", + "start": 717, + "end": 727, + "loc": { + "start": { + "line": 26, + "column": 44 }, - "name": "set" + "end": { + "line": 26, + "column": 54 + }, + "identifierName": "descriptor" }, - "extra": { - "shorthand": true - } + "name": "descriptor" } - ] - }, - "init": { - "type": "Identifier", - "start": 451, - "end": 461, - "loc": { - "start": { - "line": 10, - "column": 44 - }, - "end": { - "line": 10, - "column": 54 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " If this decorator is being applied after an instance decorator we simply ignore it", - "start": 479, - "end": 564, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 101 - } - } - }, - { - "type": "CommentLine", - "value": " as we can't apply it correctly.", - "start": 581, - "end": 615, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 50 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 632, - "end": 1282, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - }, - "test": { - "type": "UnaryExpression", - "start": 636, - "end": 673, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 57 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 637, - "end": 673, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 57 } - }, - "callee": { - "type": "MemberExpression", - "start": 637, - "end": 657, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 637, - "end": 653, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 37 - }, - "identifierName": "InstanceChainMap" - }, - "name": "InstanceChainMap", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 654, - "end": 657, + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " If this decorator is being applied after an instance decorator we simply ignore it", + "start": 745, + "end": 830, "loc": { "start": { - "line": 13, - "column": 38 + "line": 27, + "column": 16 }, "end": { - "line": 13, - "column": 41 - }, - "identifierName": "has" - }, - "name": "has" + "line": 27, + "column": 101 + } + } }, - "computed": false, - "leadingComments": null - }, - "arguments": [ { - "type": "ArrayExpression", - "start": 658, - "end": 672, + "type": "CommentLine", + "value": " as we can't apply it correctly.", + "start": 847, + "end": 881, "loc": { "start": { - "line": 13, - "column": 42 + "line": 28, + "column": 16 }, "end": { - "line": 13, - "column": 56 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 659, - "end": 665, - "loc": { - "start": { - "line": 13, - "column": 43 - }, - "end": { - "line": 13, - "column": 49 - }, - "identifierName": "target" - }, - "name": "target" - }, - { - "type": "Identifier", - "start": 667, - "end": 671, - "loc": { - "start": { - "line": 13, - "column": 51 - }, - "end": { - "line": 13, - "column": 55 - }, - "identifierName": "name" - }, - "name": "name" + "line": 28, + "column": 50 } - ] + } } - ], - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false + ] }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 675, - "end": 1282, - "loc": { - "start": { - "line": 13, - "column": 59 + { + "type": "IfStatement", + "start": 898, + "end": 1572, + "loc": { + "start": { + "line": 29, + "column": 16 + }, + "end": { + "line": 39, + "column": 17 + } }, - "end": { - "line": 23, - "column": 17 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 697, - "end": 1264, + "test": { + "type": "UnaryExpression", + "start": 902, + "end": 939, "loc": { "start": { - "line": 14, + "line": 29, "column": 20 }, "end": { - "line": 22, - "column": 21 + "line": 29, + "column": 57 } }, - "test": { + "operator": "!", + "prefix": true, + "argument": { "type": "CallExpression", - "start": 701, - "end": 718, + "start": 903, + "end": 939, "loc": { "start": { - "line": 14, - "column": 24 + "line": 29, + "column": 21 }, "end": { - "line": 14, - "column": 41 + "line": 29, + "column": 57 } }, "callee": { - "type": "Identifier", - "start": 701, - "end": 711, + "type": "MemberExpression", + "start": 903, + "end": 923, "loc": { "start": { - "line": 14, - "column": 24 + "line": 29, + "column": 21 }, "end": { - "line": 14, - "column": 34 - }, - "identifierName": "isFunction" + "line": 29, + "column": 41 + } }, - "name": "isFunction" - }, - "arguments": [ - { + "object": { "type": "Identifier", - "start": 712, - "end": 717, + "start": 903, + "end": 919, "loc": { "start": { - "line": 14, - "column": 35 + "line": 29, + "column": 21 }, "end": { - "line": 14, - "column": 40 + "line": 29, + "column": 37 }, - "identifierName": "value" + "identifierName": "InstanceChainMap" }, - "name": "value" - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 720, - "end": 858, - "loc": { - "start": { - "line": 14, - "column": 43 + "name": "InstanceChainMap", + "leadingComments": null }, - "end": { - "line": 16, - "column": 21 - } + "property": { + "type": "Identifier", + "start": 920, + "end": 923, + "loc": { + "start": { + "line": 29, + "column": 38 + }, + "end": { + "line": 29, + "column": 41 + }, + "identifierName": "has" + }, + "name": "has" + }, + "computed": false, + "leadingComments": null }, - "body": [ + "arguments": [ { - "type": "ExpressionStatement", - "start": 746, - "end": 836, + "type": "ArrayExpression", + "start": 924, + "end": 938, + "loc": { + "start": { + "line": 29, + "column": 42 + }, + "end": { + "line": 29, + "column": 56 + } + }, + "elements": [ + { + "type": "Identifier", + "start": 925, + "end": 931, + "loc": { + "start": { + "line": 29, + "column": 43 + }, + "end": { + "line": 29, + "column": 49 + }, + "identifierName": "target" + }, + "name": "target" + }, + { + "type": "Identifier", + "start": 933, + "end": 937, + "loc": { + "start": { + "line": 29, + "column": 51 + }, + "end": { + "line": 29, + "column": 55 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + } + ], + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 941, + "end": 1572, + "loc": { + "start": { + "line": 29, + "column": 59 + }, + "end": { + "line": 39, + "column": 17 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 963, + "end": 1554, + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 38, + "column": 21 + } + }, + "test": { + "type": "CallExpression", + "start": 967, + "end": 984, "loc": { "start": { - "line": 15, + "line": 30, "column": 24 }, "end": { - "line": 15, - "column": 114 + "line": 30, + "column": 41 } }, - "expression": { - "type": "AssignmentExpression", - "start": 746, - "end": 835, + "callee": { + "type": "Identifier", + "start": 967, + "end": 977, "loc": { "start": { - "line": 15, + "line": 30, "column": 24 }, "end": { - "line": 15, - "column": 113 - } + "line": 30, + "column": 34 + }, + "identifierName": "isFunction" }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 746, - "end": 762, + "name": "isFunction" + }, + "arguments": [ + { + "type": "Identifier", + "start": 978, + "end": 983, "loc": { "start": { - "line": 15, - "column": 24 + "line": 30, + "column": 35 }, "end": { - "line": 15, + "line": 30, "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 746, - "end": 756, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 34 - }, - "identifierName": "descriptor" }, - "name": "descriptor" + "identifierName": "value" }, - "property": { - "type": "Identifier", - "start": 757, - "end": 762, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 40 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false + "name": "value" + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 986, + "end": 1132, + "loc": { + "start": { + "line": 30, + "column": 43 }, - "right": { - "type": "CallExpression", - "start": 765, - "end": 835, + "end": { + "line": 32, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1012, + "end": 1110, "loc": { "start": { - "line": 15, - "column": 43 + "line": 31, + "column": 24 }, "end": { - "line": 15, - "column": 113 + "line": 31, + "column": 122 } }, - "callee": { - "type": "Identifier", - "start": 765, - "end": 777, + "expression": { + "type": "AssignmentExpression", + "start": 1012, + "end": 1109, "loc": { "start": { - "line": 15, - "column": 43 + "line": 31, + "column": 24 }, "end": { - "line": 15, - "column": 55 - }, - "identifierName": "copyMetadata" + "line": 31, + "column": 121 + } }, - "name": "copyMetadata" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 778, - "end": 827, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1012, + "end": 1028, "loc": { "start": { - "line": 15, - "column": 56 + "line": 31, + "column": 24 }, "end": { - "line": 15, - "column": 105 + "line": 31, + "column": 40 } }, - "callee": { - "type": "MemberExpression", - "start": 778, - "end": 794, + "object": { + "type": "Identifier", + "start": 1012, + "end": 1022, "loc": { "start": { - "line": 15, - "column": 56 + "line": 31, + "column": 24 }, "end": { - "line": 15, - "column": 72 - } + "line": 31, + "column": 34 + }, + "identifierName": "descriptor" }, - "object": { - "type": "Identifier", - "start": 778, - "end": 788, - "loc": { - "start": { - "line": 15, - "column": 56 - }, - "end": { - "line": 15, - "column": 66 - }, - "identifierName": "applicator" + "name": "descriptor" + }, + "property": { + "type": "Identifier", + "start": 1023, + "end": 1028, + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 40 }, - "name": "applicator" + "identifierName": "value" }, - "property": { - "type": "Identifier", - "start": 789, - "end": 794, - "loc": { - "start": { - "line": 15, - "column": 67 - }, - "end": { - "line": 15, - "column": 72 - }, - "identifierName": "apply" + "name": "value" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 1031, + "end": 1109, + "loc": { + "start": { + "line": 31, + "column": 43 + }, + "end": { + "line": 31, + "column": 121 + } + }, + "callee": { + "type": "Identifier", + "start": 1031, + "end": 1043, + "loc": { + "start": { + "line": 31, + "column": 43 + }, + "end": { + "line": 31, + "column": 55 }, - "name": "apply" + "identifierName": "copyMetadata" }, - "computed": false + "name": "copyMetadata" }, "arguments": [ { - "type": "ObjectExpression", - "start": 795, - "end": 826, + "type": "CallExpression", + "start": 1044, + "end": 1101, "loc": { "start": { - "line": 15, - "column": 73 + "line": 31, + "column": 56 }, "end": { - "line": 15, - "column": 104 + "line": 31, + "column": 113 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 797, - "end": 803, + "callee": { + "type": "MemberExpression", + "start": 1044, + "end": 1060, + "loc": { + "start": { + "line": 31, + "column": 56 + }, + "end": { + "line": 31, + "column": 72 + } + }, + "object": { + "type": "Identifier", + "start": 1044, + "end": 1054, "loc": { "start": { - "line": 15, - "column": 75 + "line": 31, + "column": 56 }, "end": { - "line": 15, - "column": 81 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 797, - "end": 803, - "loc": { - "start": { - "line": 15, - "column": 75 - }, - "end": { - "line": 15, - "column": 81 - }, - "identifierName": "config" + "line": 31, + "column": 66 }, - "name": "config" + "identifierName": "applicator" }, - "value": { - "type": "Identifier", - "start": 797, - "end": 803, - "loc": { - "start": { - "line": 15, - "column": 75 - }, - "end": { - "line": 15, - "column": 81 - }, - "identifierName": "config" - }, - "name": "config" - }, - "extra": { - "shorthand": true - } + "name": "applicator" }, - { - "type": "ObjectProperty", - "start": 805, - "end": 811, + "property": { + "type": "Identifier", + "start": 1055, + "end": 1060, "loc": { "start": { - "line": 15, - "column": 83 + "line": 31, + "column": 67 }, "end": { - "line": 15, - "column": 89 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 805, - "end": 811, - "loc": { - "start": { - "line": 15, - "column": 83 - }, - "end": { - "line": 15, - "column": 89 - }, - "identifierName": "target" + "line": 31, + "column": 72 }, - "name": "target" - }, - "value": { - "type": "Identifier", - "start": 805, - "end": 811, - "loc": { - "start": { - "line": 15, - "column": 83 - }, - "end": { - "line": 15, - "column": 89 - }, - "identifierName": "target" - }, - "name": "target" + "identifierName": "apply" }, - "extra": { - "shorthand": true - } + "name": "apply" }, + "computed": false + }, + "arguments": [ { - "type": "ObjectProperty", - "start": 813, - "end": 818, + "type": "ObjectExpression", + "start": 1061, + "end": 1100, "loc": { "start": { - "line": 15, - "column": 91 + "line": 31, + "column": 73 }, "end": { - "line": 15, - "column": 96 + "line": 31, + "column": 112 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 813, - "end": 818, - "loc": { - "start": { - "line": 15, - "column": 91 + "properties": [ + { + "type": "ObjectProperty", + "start": 1063, + "end": 1069, + "loc": { + "start": { + "line": 31, + "column": 75 + }, + "end": { + "line": 31, + "column": 81 + } }, - "end": { - "line": 15, - "column": 96 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1063, + "end": 1069, + "loc": { + "start": { + "line": 31, + "column": 75 + }, + "end": { + "line": 31, + "column": 81 + }, + "identifierName": "config" + }, + "name": "config" + }, + "value": { + "type": "Identifier", + "start": 1063, + "end": 1069, + "loc": { + "start": { + "line": 31, + "column": 75 + }, + "end": { + "line": 31, + "column": 81 + }, + "identifierName": "config" + }, + "name": "config" }, - "identifierName": "value" + "extra": { + "shorthand": true + } }, - "name": "value" - }, - "value": { - "type": "Identifier", - "start": 813, - "end": 818, - "loc": { - "start": { - "line": 15, - "column": 91 + { + "type": "ObjectProperty", + "start": 1071, + "end": 1077, + "loc": { + "start": { + "line": 31, + "column": 83 + }, + "end": { + "line": 31, + "column": 89 + } }, - "end": { - "line": 15, - "column": 96 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1071, + "end": 1077, + "loc": { + "start": { + "line": 31, + "column": 83 + }, + "end": { + "line": 31, + "column": 89 + }, + "identifierName": "target" + }, + "name": "target" }, - "identifierName": "value" - }, - "name": "value" - }, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 820, - "end": 824, - "loc": { - "start": { - "line": 15, - "column": 98 + "value": { + "type": "Identifier", + "start": 1071, + "end": 1077, + "loc": { + "start": { + "line": 31, + "column": 83 + }, + "end": { + "line": 31, + "column": 89 + }, + "identifierName": "target" + }, + "name": "target" + }, + "extra": { + "shorthand": true + } }, - "end": { - "line": 15, - "column": 102 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 820, - "end": 824, - "loc": { - "start": { - "line": 15, - "column": 98 + { + "type": "ObjectProperty", + "start": 1079, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 91 + }, + "end": { + "line": 31, + "column": 96 + } }, - "end": { - "line": 15, - "column": 102 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1079, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 91 + }, + "end": { + "line": 31, + "column": 96 + }, + "identifierName": "value" + }, + "name": "value" }, - "identifierName": "args" + "value": { + "type": "Identifier", + "start": 1079, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 91 + }, + "end": { + "line": 31, + "column": 96 + }, + "identifierName": "value" + }, + "name": "value" + }, + "extra": { + "shorthand": true + } }, - "name": "args" - }, - "value": { - "type": "Identifier", - "start": 820, - "end": 824, - "loc": { - "start": { - "line": 15, - "column": 98 + { + "type": "ObjectProperty", + "start": 1086, + "end": 1098, + "loc": { + "start": { + "line": 31, + "column": 98 + }, + "end": { + "line": 31, + "column": 110 + } }, - "end": { - "line": 15, - "column": 102 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1086, + "end": 1090, + "loc": { + "start": { + "line": 31, + "column": 98 + }, + "end": { + "line": 31, + "column": 102 + }, + "identifierName": "args" + }, + "name": "args" }, - "identifierName": "args" - }, - "name": "args" - }, - "extra": { - "shorthand": true - } + "value": { + "type": "Identifier", + "start": 1092, + "end": 1098, + "loc": { + "start": { + "line": 31, + "column": 104 + }, + "end": { + "line": 31, + "column": 110 + }, + "identifierName": "params" + }, + "name": "params" + } + } + ] } ] + }, + { + "type": "Identifier", + "start": 1103, + "end": 1108, + "loc": { + "start": { + "line": 31, + "column": 115 + }, + "end": { + "line": 31, + "column": 120 + }, + "identifierName": "value" + }, + "name": "value" } ] - }, - { - "type": "Identifier", - "start": 829, - "end": 834, - "loc": { - "start": { - "line": 15, - "column": 107 - }, - "end": { - "line": 15, - "column": 112 - }, - "identifierName": "value" - }, - "name": "value" } - ] + } } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 884, - "end": 1264, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 22, - "column": 21 - } - }, - "test": { - "type": "LogicalExpression", - "start": 888, - "end": 920, - "loc": { - "start": { - "line": 17, - "column": 29 - }, - "end": { - "line": 17, - "column": 61 - } + ], + "directives": [] }, - "left": { - "type": "CallExpression", - "start": 888, - "end": 903, + "alternate": { + "type": "IfStatement", + "start": 1158, + "end": 1554, "loc": { "start": { - "line": 17, - "column": 29 + "line": 33, + "column": 25 }, "end": { - "line": 17, - "column": 44 + "line": 38, + "column": 21 } }, - "callee": { - "type": "Identifier", - "start": 888, - "end": 898, + "test": { + "type": "LogicalExpression", + "start": 1162, + "end": 1194, "loc": { "start": { - "line": 17, + "line": 33, "column": 29 }, "end": { - "line": 17, - "column": 39 - }, - "identifierName": "isFunction" - }, - "name": "isFunction" - }, - "arguments": [ - { - "type": "Identifier", - "start": 899, - "end": 902, - "loc": { - "start": { - "line": 17, - "column": 40 - }, - "end": { - "line": 17, - "column": 43 - }, - "identifierName": "get" - }, - "name": "get" - } - ] - }, - "operator": "&&", - "right": { - "type": "MemberExpression", - "start": 907, - "end": 920, - "loc": { - "start": { - "line": 17, - "column": 48 - }, - "end": { - "line": 17, - "column": 61 - } - }, - "object": { - "type": "Identifier", - "start": 907, - "end": 913, - "loc": { - "start": { - "line": 17, - "column": 48 - }, - "end": { - "line": 17, - "column": 54 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 914, - "end": 920, - "loc": { - "start": { - "line": 17, - "column": 55 - }, - "end": { - "line": 17, + "line": 33, "column": 61 - }, - "identifierName": "getter" - }, - "name": "getter" - }, - "computed": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 922, - "end": 1061, - "loc": { - "start": { - "line": 17, - "column": 63 - }, - "end": { - "line": 19, - "column": 21 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 948, - "end": 1039, - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 115 } }, - "expression": { - "type": "AssignmentExpression", - "start": 948, - "end": 1038, + "left": { + "type": "CallExpression", + "start": 1162, + "end": 1177, "loc": { "start": { - "line": 18, - "column": 24 + "line": 33, + "column": 29 }, "end": { - "line": 18, - "column": 114 + "line": 33, + "column": 44 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 948, - "end": 962, + "callee": { + "type": "Identifier", + "start": 1162, + "end": 1172, "loc": { "start": { - "line": 18, - "column": 24 + "line": 33, + "column": 29 }, "end": { - "line": 18, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 948, - "end": 958, - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 34 - }, - "identifierName": "descriptor" + "line": 33, + "column": 39 }, - "name": "descriptor" + "identifierName": "isFunction" }, - "property": { + "name": "isFunction" + }, + "arguments": [ + { "type": "Identifier", - "start": 959, - "end": 962, + "start": 1173, + "end": 1176, "loc": { "start": { - "line": 18, - "column": 35 + "line": 33, + "column": 40 }, "end": { - "line": 18, - "column": 38 + "line": 33, + "column": 43 }, "identifierName": "get" }, "name": "get" + } + ] + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 1181, + "end": 1194, + "loc": { + "start": { + "line": 33, + "column": 48 }, - "computed": false + "end": { + "line": 33, + "column": 61 + } }, - "right": { - "type": "CallExpression", - "start": 965, - "end": 1038, + "object": { + "type": "Identifier", + "start": 1181, + "end": 1187, "loc": { "start": { - "line": 18, - "column": 41 + "line": 33, + "column": 48 + }, + "end": { + "line": 33, + "column": 54 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1188, + "end": 1194, + "loc": { + "start": { + "line": 33, + "column": 55 + }, + "end": { + "line": 33, + "column": 61 + }, + "identifierName": "getter" + }, + "name": "getter" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1196, + "end": 1343, + "loc": { + "start": { + "line": 33, + "column": 63 + }, + "end": { + "line": 35, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1222, + "end": 1321, + "loc": { + "start": { + "line": 34, + "column": 24 }, "end": { - "line": 18, - "column": 114 + "line": 34, + "column": 123 } }, - "callee": { - "type": "Identifier", - "start": 965, - "end": 977, + "expression": { + "type": "AssignmentExpression", + "start": 1222, + "end": 1320, "loc": { "start": { - "line": 18, - "column": 41 + "line": 34, + "column": 24 }, "end": { - "line": 18, - "column": 53 - }, - "identifierName": "copyMetadata" + "line": 34, + "column": 122 + } }, - "name": "copyMetadata" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 978, - "end": 1032, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1222, + "end": 1236, "loc": { "start": { - "line": 18, - "column": 54 + "line": 34, + "column": 24 }, "end": { - "line": 18, - "column": 108 + "line": 34, + "column": 38 } }, - "callee": { - "type": "MemberExpression", - "start": 978, - "end": 994, + "object": { + "type": "Identifier", + "start": 1222, + "end": 1232, "loc": { "start": { - "line": 18, - "column": 54 + "line": 34, + "column": 24 }, "end": { - "line": 18, - "column": 70 - } + "line": 34, + "column": 34 + }, + "identifierName": "descriptor" }, - "object": { - "type": "Identifier", - "start": 978, - "end": 988, - "loc": { - "start": { - "line": 18, - "column": 54 - }, - "end": { - "line": 18, - "column": 64 - }, - "identifierName": "applicator" + "name": "descriptor" + }, + "property": { + "type": "Identifier", + "start": 1233, + "end": 1236, + "loc": { + "start": { + "line": 34, + "column": 35 }, - "name": "applicator" + "end": { + "line": 34, + "column": 38 + }, + "identifierName": "get" }, - "property": { - "type": "Identifier", - "start": 989, - "end": 994, - "loc": { - "start": { - "line": 18, - "column": 65 - }, - "end": { - "line": 18, - "column": 70 - }, - "identifierName": "apply" + "name": "get" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 1239, + "end": 1320, + "loc": { + "start": { + "line": 34, + "column": 41 + }, + "end": { + "line": 34, + "column": 122 + } + }, + "callee": { + "type": "Identifier", + "start": 1239, + "end": 1251, + "loc": { + "start": { + "line": 34, + "column": 41 }, - "name": "apply" + "end": { + "line": 34, + "column": 53 + }, + "identifierName": "copyMetadata" }, - "computed": false + "name": "copyMetadata" }, "arguments": [ { - "type": "ObjectExpression", - "start": 995, - "end": 1031, + "type": "CallExpression", + "start": 1252, + "end": 1314, "loc": { "start": { - "line": 18, - "column": 71 + "line": 34, + "column": 54 }, "end": { - "line": 18, - "column": 107 + "line": 34, + "column": 116 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 997, - "end": 1003, - "loc": { - "start": { - "line": 18, - "column": 73 - }, - "end": { - "line": 18, - "column": 79 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 997, - "end": 1003, - "loc": { - "start": { - "line": 18, - "column": 73 - }, - "end": { - "line": 18, - "column": 79 - }, - "identifierName": "config" - }, - "name": "config" - }, - "value": { - "type": "Identifier", - "start": 997, - "end": 1003, - "loc": { - "start": { - "line": 18, - "column": 73 - }, - "end": { - "line": 18, - "column": 79 - }, - "identifierName": "config" - }, - "name": "config" + "callee": { + "type": "MemberExpression", + "start": 1252, + "end": 1268, + "loc": { + "start": { + "line": 34, + "column": 54 }, - "extra": { - "shorthand": true + "end": { + "line": 34, + "column": 70 } }, - { - "type": "ObjectProperty", - "start": 1005, - "end": 1011, + "object": { + "type": "Identifier", + "start": 1252, + "end": 1262, "loc": { "start": { - "line": 18, - "column": 81 + "line": 34, + "column": 54 }, "end": { - "line": 18, - "column": 87 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1005, - "end": 1011, - "loc": { - "start": { - "line": 18, - "column": 81 - }, - "end": { - "line": 18, - "column": 87 - }, - "identifierName": "target" - }, - "name": "target" - }, - "value": { - "type": "Identifier", - "start": 1005, - "end": 1011, - "loc": { - "start": { - "line": 18, - "column": 81 - }, - "end": { - "line": 18, - "column": 87 - }, - "identifierName": "target" + "line": 34, + "column": 64 }, - "name": "target" + "identifierName": "applicator" }, - "extra": { - "shorthand": true - } + "name": "applicator" }, - { - "type": "ObjectProperty", - "start": 1013, - "end": 1023, + "property": { + "type": "Identifier", + "start": 1263, + "end": 1268, "loc": { "start": { - "line": 18, - "column": 89 + "line": 34, + "column": 65 }, "end": { - "line": 18, - "column": 99 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1013, - "end": 1018, - "loc": { - "start": { - "line": 18, - "column": 89 - }, - "end": { - "line": 18, - "column": 94 - }, - "identifierName": "value" + "line": 34, + "column": 70 }, - "name": "value" + "identifierName": "apply" }, - "value": { - "type": "Identifier", - "start": 1020, - "end": 1023, - "loc": { - "start": { - "line": 18, - "column": 96 - }, - "end": { - "line": 18, - "column": 99 - }, - "identifierName": "get" - }, - "name": "get" - } + "name": "apply" }, + "computed": false + }, + "arguments": [ { - "type": "ObjectProperty", - "start": 1025, - "end": 1029, + "type": "ObjectExpression", + "start": 1269, + "end": 1313, "loc": { "start": { - "line": 18, - "column": 101 + "line": 34, + "column": 71 }, "end": { - "line": 18, - "column": 105 + "line": 34, + "column": 115 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1025, - "end": 1029, - "loc": { - "start": { - "line": 18, - "column": 101 + "properties": [ + { + "type": "ObjectProperty", + "start": 1271, + "end": 1277, + "loc": { + "start": { + "line": 34, + "column": 73 + }, + "end": { + "line": 34, + "column": 79 + } }, - "end": { - "line": 18, - "column": 105 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1271, + "end": 1277, + "loc": { + "start": { + "line": 34, + "column": 73 + }, + "end": { + "line": 34, + "column": 79 + }, + "identifierName": "config" + }, + "name": "config" }, - "identifierName": "args" + "value": { + "type": "Identifier", + "start": 1271, + "end": 1277, + "loc": { + "start": { + "line": 34, + "column": 73 + }, + "end": { + "line": 34, + "column": 79 + }, + "identifierName": "config" + }, + "name": "config" + }, + "extra": { + "shorthand": true + } }, - "name": "args" - }, - "value": { - "type": "Identifier", - "start": 1025, - "end": 1029, - "loc": { - "start": { - "line": 18, - "column": 101 + { + "type": "ObjectProperty", + "start": 1279, + "end": 1285, + "loc": { + "start": { + "line": 34, + "column": 81 + }, + "end": { + "line": 34, + "column": 87 + } }, - "end": { - "line": 18, - "column": 105 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1279, + "end": 1285, + "loc": { + "start": { + "line": 34, + "column": 81 + }, + "end": { + "line": 34, + "column": 87 + }, + "identifierName": "target" + }, + "name": "target" }, - "identifierName": "args" + "value": { + "type": "Identifier", + "start": 1279, + "end": 1285, + "loc": { + "start": { + "line": 34, + "column": 81 + }, + "end": { + "line": 34, + "column": 87 + }, + "identifierName": "target" + }, + "name": "target" + }, + "extra": { + "shorthand": true + } }, - "name": "args" - }, - "extra": { - "shorthand": true - } + { + "type": "ObjectProperty", + "start": 1287, + "end": 1297, + "loc": { + "start": { + "line": 34, + "column": 89 + }, + "end": { + "line": 34, + "column": 99 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1287, + "end": 1292, + "loc": { + "start": { + "line": 34, + "column": 89 + }, + "end": { + "line": 34, + "column": 94 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 1294, + "end": 1297, + "loc": { + "start": { + "line": 34, + "column": 96 + }, + "end": { + "line": 34, + "column": 99 + }, + "identifierName": "get" + }, + "name": "get" + } + }, + { + "type": "ObjectProperty", + "start": 1299, + "end": 1311, + "loc": { + "start": { + "line": 34, + "column": 101 + }, + "end": { + "line": 34, + "column": 113 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1299, + "end": 1303, + "loc": { + "start": { + "line": 34, + "column": 101 + }, + "end": { + "line": 34, + "column": 105 + }, + "identifierName": "args" + }, + "name": "args" + }, + "value": { + "type": "Identifier", + "start": 1305, + "end": 1311, + "loc": { + "start": { + "line": 34, + "column": 107 + }, + "end": { + "line": 34, + "column": 113 + }, + "identifierName": "params" + }, + "name": "params" + } + } + ] } ] + }, + { + "type": "Identifier", + "start": 1316, + "end": 1319, + "loc": { + "start": { + "line": 34, + "column": 118 + }, + "end": { + "line": 34, + "column": 121 + }, + "identifierName": "get" + }, + "name": "get" } ] - }, - { - "type": "Identifier", - "start": 1034, - "end": 1037, - "loc": { - "start": { - "line": 18, - "column": 110 - }, - "end": { - "line": 18, - "column": 113 - }, - "identifierName": "get" - }, - "name": "get" } - ] + } } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 1087, - "end": 1264, - "loc": { - "start": { - "line": 20, - "column": 25 + ], + "directives": [] }, - "end": { - "line": 22, - "column": 21 - } - }, - "test": { - "type": "LogicalExpression", - "start": 1091, - "end": 1123, - "loc": { - "start": { - "line": 20, - "column": 29 - }, - "end": { - "line": 20, - "column": 61 - } - }, - "left": { - "type": "CallExpression", - "start": 1091, - "end": 1106, + "alternate": { + "type": "IfStatement", + "start": 1369, + "end": 1554, "loc": { "start": { - "line": 20, - "column": 29 + "line": 36, + "column": 25 }, "end": { - "line": 20, - "column": 44 + "line": 38, + "column": 21 } }, - "callee": { - "type": "Identifier", - "start": 1091, - "end": 1101, + "test": { + "type": "LogicalExpression", + "start": 1373, + "end": 1405, "loc": { "start": { - "line": 20, + "line": 36, "column": 29 }, "end": { - "line": 20, - "column": 39 - }, - "identifierName": "isFunction" - }, - "name": "isFunction" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1102, - "end": 1105, - "loc": { - "start": { - "line": 20, - "column": 40 - }, - "end": { - "line": 20, - "column": 43 - }, - "identifierName": "set" - }, - "name": "set" - } - ] - }, - "operator": "&&", - "right": { - "type": "MemberExpression", - "start": 1110, - "end": 1123, - "loc": { - "start": { - "line": 20, - "column": 48 - }, - "end": { - "line": 20, - "column": 61 - } - }, - "object": { - "type": "Identifier", - "start": 1110, - "end": 1116, - "loc": { - "start": { - "line": 20, - "column": 48 - }, - "end": { - "line": 20, - "column": 54 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 1117, - "end": 1123, - "loc": { - "start": { - "line": 20, - "column": 55 - }, - "end": { - "line": 20, + "line": 36, "column": 61 - }, - "identifierName": "setter" - }, - "name": "setter" - }, - "computed": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1125, - "end": 1264, - "loc": { - "start": { - "line": 20, - "column": 63 - }, - "end": { - "line": 22, - "column": 21 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1151, - "end": 1242, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 115 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1151, - "end": 1241, + "left": { + "type": "CallExpression", + "start": 1373, + "end": 1388, "loc": { "start": { - "line": 21, - "column": 24 + "line": 36, + "column": 29 }, "end": { - "line": 21, - "column": 114 + "line": 36, + "column": 44 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1151, - "end": 1165, + "callee": { + "type": "Identifier", + "start": 1373, + "end": 1383, "loc": { "start": { - "line": 21, - "column": 24 + "line": 36, + "column": 29 }, "end": { - "line": 21, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 1151, - "end": 1161, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 34 - }, - "identifierName": "descriptor" + "line": 36, + "column": 39 }, - "name": "descriptor" + "identifierName": "isFunction" }, - "property": { + "name": "isFunction" + }, + "arguments": [ + { "type": "Identifier", - "start": 1162, - "end": 1165, + "start": 1384, + "end": 1387, "loc": { "start": { - "line": 21, - "column": 35 + "line": 36, + "column": 40 }, "end": { - "line": 21, - "column": 38 + "line": 36, + "column": 43 }, "identifierName": "set" }, "name": "set" + } + ] + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 1392, + "end": 1405, + "loc": { + "start": { + "line": 36, + "column": 48 }, - "computed": false + "end": { + "line": 36, + "column": 61 + } }, - "right": { - "type": "CallExpression", - "start": 1168, - "end": 1241, + "object": { + "type": "Identifier", + "start": 1392, + "end": 1398, "loc": { "start": { - "line": 21, - "column": 41 + "line": 36, + "column": 48 + }, + "end": { + "line": 36, + "column": 54 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1399, + "end": 1405, + "loc": { + "start": { + "line": 36, + "column": 55 + }, + "end": { + "line": 36, + "column": 61 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1407, + "end": 1554, + "loc": { + "start": { + "line": 36, + "column": 63 + }, + "end": { + "line": 38, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1433, + "end": 1532, + "loc": { + "start": { + "line": 37, + "column": 24 }, "end": { - "line": 21, - "column": 114 + "line": 37, + "column": 123 } }, - "callee": { - "type": "Identifier", - "start": 1168, - "end": 1180, + "expression": { + "type": "AssignmentExpression", + "start": 1433, + "end": 1531, "loc": { "start": { - "line": 21, - "column": 41 + "line": 37, + "column": 24 }, "end": { - "line": 21, - "column": 53 - }, - "identifierName": "copyMetadata" + "line": 37, + "column": 122 + } }, - "name": "copyMetadata" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 1181, - "end": 1235, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1433, + "end": 1447, "loc": { "start": { - "line": 21, - "column": 54 + "line": 37, + "column": 24 }, "end": { - "line": 21, - "column": 108 + "line": 37, + "column": 38 } }, - "callee": { - "type": "MemberExpression", - "start": 1181, - "end": 1197, + "object": { + "type": "Identifier", + "start": 1433, + "end": 1443, "loc": { "start": { - "line": 21, - "column": 54 + "line": 37, + "column": 24 }, "end": { - "line": 21, - "column": 70 - } + "line": 37, + "column": 34 + }, + "identifierName": "descriptor" }, - "object": { - "type": "Identifier", - "start": 1181, - "end": 1191, - "loc": { - "start": { - "line": 21, - "column": 54 - }, - "end": { - "line": 21, - "column": 64 - }, - "identifierName": "applicator" + "name": "descriptor" + }, + "property": { + "type": "Identifier", + "start": 1444, + "end": 1447, + "loc": { + "start": { + "line": 37, + "column": 35 }, - "name": "applicator" + "end": { + "line": 37, + "column": 38 + }, + "identifierName": "set" }, - "property": { - "type": "Identifier", - "start": 1192, - "end": 1197, - "loc": { - "start": { - "line": 21, - "column": 65 - }, - "end": { - "line": 21, - "column": 70 - }, - "identifierName": "apply" + "name": "set" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 1450, + "end": 1531, + "loc": { + "start": { + "line": 37, + "column": 41 + }, + "end": { + "line": 37, + "column": 122 + } + }, + "callee": { + "type": "Identifier", + "start": 1450, + "end": 1462, + "loc": { + "start": { + "line": 37, + "column": 41 }, - "name": "apply" + "end": { + "line": 37, + "column": 53 + }, + "identifierName": "copyMetadata" }, - "computed": false + "name": "copyMetadata" }, "arguments": [ { - "type": "ObjectExpression", - "start": 1198, - "end": 1234, + "type": "CallExpression", + "start": 1463, + "end": 1525, "loc": { "start": { - "line": 21, - "column": 71 + "line": 37, + "column": 54 }, "end": { - "line": 21, - "column": 107 + "line": 37, + "column": 116 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1200, - "end": 1206, - "loc": { - "start": { - "line": 21, - "column": 73 - }, - "end": { - "line": 21, - "column": 79 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1200, - "end": 1206, - "loc": { - "start": { - "line": 21, - "column": 73 - }, - "end": { - "line": 21, - "column": 79 - }, - "identifierName": "config" - }, - "name": "config" - }, - "value": { - "type": "Identifier", - "start": 1200, - "end": 1206, - "loc": { - "start": { - "line": 21, - "column": 73 - }, - "end": { - "line": 21, - "column": 79 - }, - "identifierName": "config" - }, - "name": "config" + "callee": { + "type": "MemberExpression", + "start": 1463, + "end": 1479, + "loc": { + "start": { + "line": 37, + "column": 54 }, - "extra": { - "shorthand": true + "end": { + "line": 37, + "column": 70 } }, - { - "type": "ObjectProperty", - "start": 1208, - "end": 1214, + "object": { + "type": "Identifier", + "start": 1463, + "end": 1473, "loc": { "start": { - "line": 21, - "column": 81 + "line": 37, + "column": 54 }, "end": { - "line": 21, - "column": 87 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1208, - "end": 1214, - "loc": { - "start": { - "line": 21, - "column": 81 - }, - "end": { - "line": 21, - "column": 87 - }, - "identifierName": "target" - }, - "name": "target" - }, - "value": { - "type": "Identifier", - "start": 1208, - "end": 1214, - "loc": { - "start": { - "line": 21, - "column": 81 - }, - "end": { - "line": 21, - "column": 87 - }, - "identifierName": "target" + "line": 37, + "column": 64 }, - "name": "target" + "identifierName": "applicator" }, - "extra": { - "shorthand": true - } + "name": "applicator" }, - { - "type": "ObjectProperty", - "start": 1216, - "end": 1226, + "property": { + "type": "Identifier", + "start": 1474, + "end": 1479, "loc": { "start": { - "line": 21, - "column": 89 + "line": 37, + "column": 65 }, "end": { - "line": 21, - "column": 99 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1216, - "end": 1221, - "loc": { - "start": { - "line": 21, - "column": 89 - }, - "end": { - "line": 21, - "column": 94 - }, - "identifierName": "value" + "line": 37, + "column": 70 }, - "name": "value" + "identifierName": "apply" }, - "value": { - "type": "Identifier", - "start": 1223, - "end": 1226, - "loc": { - "start": { - "line": 21, - "column": 96 - }, - "end": { - "line": 21, - "column": 99 - }, - "identifierName": "set" - }, - "name": "set" - } + "name": "apply" }, + "computed": false + }, + "arguments": [ { - "type": "ObjectProperty", - "start": 1228, - "end": 1232, + "type": "ObjectExpression", + "start": 1480, + "end": 1524, "loc": { "start": { - "line": 21, - "column": 101 + "line": 37, + "column": 71 }, "end": { - "line": 21, - "column": 105 + "line": 37, + "column": 115 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1228, - "end": 1232, - "loc": { - "start": { - "line": 21, - "column": 101 + "properties": [ + { + "type": "ObjectProperty", + "start": 1482, + "end": 1488, + "loc": { + "start": { + "line": 37, + "column": 73 + }, + "end": { + "line": 37, + "column": 79 + } }, - "end": { - "line": 21, - "column": 105 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1482, + "end": 1488, + "loc": { + "start": { + "line": 37, + "column": 73 + }, + "end": { + "line": 37, + "column": 79 + }, + "identifierName": "config" + }, + "name": "config" }, - "identifierName": "args" + "value": { + "type": "Identifier", + "start": 1482, + "end": 1488, + "loc": { + "start": { + "line": 37, + "column": 73 + }, + "end": { + "line": 37, + "column": 79 + }, + "identifierName": "config" + }, + "name": "config" + }, + "extra": { + "shorthand": true + } }, - "name": "args" - }, - "value": { - "type": "Identifier", - "start": 1228, - "end": 1232, - "loc": { - "start": { - "line": 21, - "column": 101 + { + "type": "ObjectProperty", + "start": 1490, + "end": 1496, + "loc": { + "start": { + "line": 37, + "column": 81 + }, + "end": { + "line": 37, + "column": 87 + } }, - "end": { - "line": 21, - "column": 105 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 1490, + "end": 1496, + "loc": { + "start": { + "line": 37, + "column": 81 + }, + "end": { + "line": 37, + "column": 87 + }, + "identifierName": "target" + }, + "name": "target" }, - "identifierName": "args" + "value": { + "type": "Identifier", + "start": 1490, + "end": 1496, + "loc": { + "start": { + "line": 37, + "column": 81 + }, + "end": { + "line": 37, + "column": 87 + }, + "identifierName": "target" + }, + "name": "target" + }, + "extra": { + "shorthand": true + } }, - "name": "args" - }, - "extra": { - "shorthand": true - } - } - ] - } - ] - }, - { - "type": "Identifier", - "start": 1237, - "end": 1240, - "loc": { - "start": { - "line": 21, - "column": 110 - }, - "end": { - "line": 21, - "column": 113 - }, - "identifierName": "get" - }, - "name": "get" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null - } - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If this decorator is being applied after an instance decorator we simply ignore it", - "start": 479, - "end": 564, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 101 - } - } - }, - { - "type": "CommentLine", - "value": " as we can't apply it correctly.", - "start": 581, - "end": 615, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 50 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 1299, - "end": 1317, - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 34 - } - }, - "argument": { - "type": "Identifier", - "start": 1306, - "end": 1316, - "loc": { - "start": { - "line": 24, - "column": 23 - }, - "end": { - "line": 24, - "column": 33 + { + "type": "ObjectProperty", + "start": 1498, + "end": 1508, + "loc": { + "start": { + "line": 37, + "column": 89 + }, + "end": { + "line": 37, + "column": 99 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1498, + "end": 1503, + "loc": { + "start": { + "line": 37, + "column": 89 + }, + "end": { + "line": 37, + "column": 94 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 1505, + "end": 1508, + "loc": { + "start": { + "line": 37, + "column": 96 + }, + "end": { + "line": 37, + "column": 99 + }, + "identifierName": "set" + }, + "name": "set" + } + }, + { + "type": "ObjectProperty", + "start": 1510, + "end": 1522, + "loc": { + "start": { + "line": 37, + "column": 101 + }, + "end": { + "line": 37, + "column": 113 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1510, + "end": 1514, + "loc": { + "start": { + "line": 37, + "column": 101 + }, + "end": { + "line": 37, + "column": 105 + }, + "identifierName": "args" + }, + "name": "args" + }, + "value": { + "type": "Identifier", + "start": 1516, + "end": 1522, + "loc": { + "start": { + "line": 37, + "column": 107 + }, + "end": { + "line": 37, + "column": 113 + }, + "identifierName": "params" + }, + "name": "params" + } + } + ] + } + ] + }, + { + "type": "Identifier", + "start": 1527, + "end": 1530, + "loc": { + "start": { + "line": 37, + "column": 118 + }, + "end": { + "line": 37, + "column": 121 + }, + "identifierName": "set" + }, + "name": "set" + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": null + } + } + } + ], + "directives": [] }, - "identifierName": "descriptor" + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If this decorator is being applied after an instance decorator we simply ignore it", + "start": 745, + "end": 830, + "loc": { + "start": { + "line": 27, + "column": 16 + }, + "end": { + "line": 27, + "column": 101 + } + } + }, + { + "type": "CommentLine", + "value": " as we can't apply it correctly.", + "start": 847, + "end": 881, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 50 + } + } + } + ] }, - "name": "descriptor" - } + { + "type": "ReturnStatement", + "start": 1589, + "end": 1607, + "loc": { + "start": { + "line": 40, + "column": 16 + }, + "end": { + "line": 40, + "column": 34 + } + }, + "argument": { + "type": "Identifier", + "start": 1596, + "end": 1606, + "loc": { + "start": { + "line": 40, + "column": 23 + }, + "end": { + "line": 40, + "column": 33 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + } + } + ], + "directives": [] } - ], - "directives": [] + } } - } - } - ], - "directives": [] - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 1354, - "end": 5406, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 111, - "column": 5 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1354, - "end": 1377, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 28, - "column": 27 - }, - "identifierName": "createInstanceDecorator" - }, - "name": "createInstanceDecorator" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1378, - "end": 1384, - "loc": { - "start": { - "line": 28, - "column": 28 - }, - "end": { - "line": 28, - "column": 34 - }, - "identifierName": "config" - }, - "name": "config" - } - ], - "body": { - "type": "BlockStatement", - "start": 1386, - "end": 5406, - "loc": { - "start": { - "line": 28, - "column": 36 - }, - "end": { - "line": 111, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1396, - "end": 1433, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 45 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1402, - "end": 1432, - "loc": { - "start": { - "line": 29, - "column": 14 + ], + "kind": "const" }, - "end": { - "line": 29, - "column": 44 - } - }, - "id": { - "type": "ObjectPattern", - "start": 1402, - "end": 1423, - "loc": { - "start": { - "line": 29, - "column": 14 + { + "type": "IfStatement", + "start": 1635, + "end": 1804, + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 45, + "column": 13 + } }, - "end": { - "line": 29, - "column": 35 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1404, - "end": 1414, + "test": { + "type": "LogicalExpression", + "start": 1639, + "end": 1697, "loc": { "start": { - "line": 29, + "line": 42, "column": 16 }, "end": { - "line": 29, - "column": 26 + "line": 42, + "column": 74 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1404, - "end": 1414, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 26 - }, - "identifierName": "applicator" - }, - "name": "applicator" - }, - "value": { + "left": { "type": "Identifier", - "start": 1404, - "end": 1414, + "start": 1639, + "end": 1653, "loc": { "start": { - "line": 29, + "line": 42, "column": 16 }, "end": { - "line": 29, - "column": 26 + "line": 42, + "column": 30 }, - "identifierName": "applicator" + "identifierName": "optionalParams" }, - "name": "applicator" - }, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 1416, - "end": 1421, - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 29, - "column": 33 - } + "name": "optionalParams" }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1416, - "end": 1421, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 1657, + "end": 1697, "loc": { "start": { - "line": 29, - "column": 28 + "line": 42, + "column": 34 }, "end": { - "line": 29, - "column": 33 - }, - "identifierName": "bound" + "line": 42, + "column": 74 + } }, - "name": "bound" - }, - "value": { - "type": "Identifier", - "start": 1416, - "end": 1421, - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 29, - "column": 33 + "callee": { + "type": "Identifier", + "start": 1657, + "end": 1688, + "loc": { + "start": { + "line": 42, + "column": 34 + }, + "end": { + "line": 42, + "column": 65 + }, + "identifierName": "isMethodOrPropertyDecoratorArgs" }, - "identifierName": "bound" + "name": "isMethodOrPropertyDecoratorArgs" }, - "name": "bound" - }, - "extra": { - "shorthand": true - } - } - ] - }, - "init": { - "type": "Identifier", - "start": 1426, - "end": 1432, - "loc": { - "start": { - "line": 29, - "column": 38 - }, - "end": { - "line": 29, - "column": 44 - }, - "identifierName": "config" - }, - "name": "config" - } - } - ], - "kind": "const" - }, - { - "type": "ReturnStatement", - "start": 1442, - "end": 5400, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 110, - "column": 10 - } - }, - "argument": { - "type": "ArrowFunctionExpression", - "start": 1449, - "end": 5399, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 110, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 1450, - "end": 1457, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 23 - } - }, - "argument": { - "type": "Identifier", - "start": 1453, - "end": 1457, - "loc": { - "start": { - "line": 30, - "column": 19 - }, - "end": { - "line": 30, - "column": 23 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 1462, - "end": 5399, - "loc": { - "start": { - "line": 30, - "column": 28 - }, - "end": { - "line": 110, - "column": 9 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1476, - "end": 5389, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 109, - "column": 14 + "arguments": [ + { + "type": "SpreadElement", + "start": 1689, + "end": 1696, + "loc": { + "start": { + "line": 42, + "column": 66 + }, + "end": { + "line": 42, + "column": 73 + } + }, + "argument": { + "type": "Identifier", + "start": 1692, + "end": 1696, + "loc": { + "start": { + "line": 42, + "column": 69 + }, + "end": { + "line": 42, + "column": 73 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ] } }, - "argument": { - "type": "ArrowFunctionExpression", - "start": 1483, - "end": 5388, + "consequent": { + "type": "BlockStatement", + "start": 1699, + "end": 1804, "loc": { "start": { - "line": 31, - "column": 19 + "line": 42, + "column": 76 }, "end": { - "line": 109, + "line": 45, "column": 13 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 1484, - "end": 1490, + "type": "ExpressionStatement", + "start": 1717, + "end": 1729, "loc": { "start": { - "line": 31, - "column": 20 + "line": 43, + "column": 16 }, "end": { - "line": 31, - "column": 26 - }, - "identifierName": "target" - }, - "name": "target" - }, - { - "type": "Identifier", - "start": 1492, - "end": 1496, - "loc": { - "start": { - "line": 31, + "line": 43, "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1717, + "end": 1728, + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 27 + } }, - "end": { - "line": 31, - "column": 32 + "operator": "=", + "left": { + "type": "Identifier", + "start": 1717, + "end": 1723, + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 22 + }, + "identifierName": "params" + }, + "name": "params" }, - "identifierName": "name" - }, - "name": "name" + "right": { + "type": "ArrayExpression", + "start": 1726, + "end": 1728, + "loc": { + "start": { + "line": 43, + "column": 25 + }, + "end": { + "line": 43, + "column": 27 + } + }, + "elements": [] + } + } }, { - "type": "Identifier", - "start": 1498, - "end": 1509, + "type": "ReturnStatement", + "start": 1746, + "end": 1790, "loc": { "start": { - "line": 31, - "column": 34 + "line": 44, + "column": 16 }, "end": { - "line": 31, - "column": 45 - }, - "identifierName": "_descriptor" - }, - "name": "_descriptor" - } - ], - "body": { - "type": "BlockStatement", - "start": 1514, - "end": 5388, - "loc": { - "start": { - "line": 31, - "column": 50 + "line": 44, + "column": 60 + } }, - "end": { - "line": 109, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1532, - "end": 1602, + "argument": { + "type": "CallExpression", + "start": 1753, + "end": 1789, "loc": { "start": { - "line": 32, - "column": 16 + "line": 44, + "column": 23 }, "end": { - "line": 32, - "column": 86 + "line": 44, + "column": 59 } }, - "declarations": [ + "callee": { + "type": "Identifier", + "start": 1753, + "end": 1762, + "loc": { + "start": { + "line": 44, + "column": 23 + }, + "end": { + "line": 44, + "column": 32 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ { - "type": "VariableDeclarator", - "start": 1538, - "end": 1601, + "type": "MemberExpression", + "start": 1763, + "end": 1770, "loc": { "start": { - "line": 32, - "column": 22 + "line": 44, + "column": 33 }, "end": { - "line": 32, - "column": 85 + "line": 44, + "column": 40 } }, - "id": { + "object": { "type": "Identifier", - "start": 1538, - "end": 1548, + "start": 1763, + "end": 1767, "loc": { "start": { - "line": 32, - "column": 22 + "line": 44, + "column": 33 }, "end": { - "line": 32, - "column": 32 + "line": 44, + "column": 37 }, - "identifierName": "descriptor" + "identifierName": "args" }, - "name": "descriptor" + "name": "args" }, - "init": { - "type": "CallExpression", - "start": 1551, - "end": 1601, + "property": { + "type": "NumericLiteral", + "start": 1768, + "end": 1769, "loc": { "start": { - "line": 32, - "column": 35 + "line": 44, + "column": 38 }, "end": { - "line": 32, - "column": 85 + "line": 44, + "column": 39 } }, - "callee": { - "type": "MemberExpression", - "start": 1551, - "end": 1574, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 58 - } - }, - "object": { - "type": "ThisExpression", - "start": 1551, - "end": 1555, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 39 - } - } + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + { + "type": "MemberExpression", + "start": 1772, + "end": 1779, + "loc": { + "start": { + "line": 44, + "column": 42 + }, + "end": { + "line": 44, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1772, + "end": 1776, + "loc": { + "start": { + "line": 44, + "column": 42 }, - "property": { - "type": "Identifier", - "start": 1556, - "end": 1574, - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 58 - }, - "identifierName": "_resolveDescriptor" - }, - "name": "_resolveDescriptor" + "end": { + "line": 44, + "column": 46 }, - "computed": false + "identifierName": "args" }, - "arguments": [ - { - "type": "Identifier", - "start": 1575, - "end": 1581, - "loc": { - "start": { - "line": 32, - "column": 59 - }, - "end": { - "line": 32, - "column": 65 - }, - "identifierName": "target" - }, - "name": "target" - }, - { - "type": "Identifier", - "start": 1583, - "end": 1587, - "loc": { - "start": { - "line": 32, - "column": 67 - }, - "end": { - "line": 32, - "column": 71 - }, - "identifierName": "name" - }, - "name": "name" + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 1777, + "end": 1778, + "loc": { + "start": { + "line": 44, + "column": 47 }, - { - "type": "Identifier", - "start": 1589, - "end": 1600, - "loc": { - "start": { - "line": 32, - "column": 73 - }, - "end": { - "line": 32, - "column": 84 - }, - "identifierName": "_descriptor" - }, - "name": "_descriptor" + "end": { + "line": 44, + "column": 48 } - ] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1619, - "end": 1694, - "loc": { - "start": { - "line": 33, - "column": 16 + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true }, - "end": { - "line": 33, - "column": 91 - } - }, - "declarations": [ { - "type": "VariableDeclarator", - "start": 1625, - "end": 1693, + "type": "MemberExpression", + "start": 1781, + "end": 1788, "loc": { "start": { - "line": 33, - "column": 22 + "line": 44, + "column": 51 }, "end": { - "line": 33, - "column": 90 + "line": 44, + "column": 58 } }, - "id": { - "type": "ObjectPattern", - "start": 1625, - "end": 1680, + "object": { + "type": "Identifier", + "start": 1781, + "end": 1785, "loc": { "start": { - "line": 33, - "column": 22 + "line": 44, + "column": 51 }, "end": { - "line": 33, - "column": 77 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1627, - "end": 1632, - "loc": { - "start": { - "line": 33, - "column": 24 - }, - "end": { - "line": 33, - "column": 29 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1627, - "end": 1632, - "loc": { - "start": { - "line": 33, - "column": 24 - }, - "end": { - "line": 33, - "column": 29 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "Identifier", - "start": 1627, - "end": 1632, - "loc": { - "start": { - "line": 33, - "column": 24 - }, - "end": { - "line": 33, - "column": 29 - }, - "identifierName": "value" - }, - "name": "value" - }, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 1634, - "end": 1642, - "loc": { - "start": { - "line": 33, - "column": 31 - }, - "end": { - "line": 33, - "column": 39 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1634, - "end": 1642, - "loc": { - "start": { - "line": 33, - "column": 31 - }, - "end": { - "line": 33, - "column": 39 - }, - "identifierName": "writable" - }, - "name": "writable" - }, - "value": { - "type": "Identifier", - "start": 1634, - "end": 1642, - "loc": { - "start": { - "line": 33, - "column": 31 - }, - "end": { - "line": 33, - "column": 39 - }, - "identifierName": "writable" - }, - "name": "writable" - }, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 1644, - "end": 1654, - "loc": { - "start": { - "line": 33, - "column": 41 - }, - "end": { - "line": 33, - "column": 51 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1644, - "end": 1654, - "loc": { - "start": { - "line": 33, - "column": 41 - }, - "end": { - "line": 33, - "column": 51 - }, - "identifierName": "enumerable" - }, - "name": "enumerable" - }, - "value": { - "type": "Identifier", - "start": 1644, - "end": 1654, - "loc": { - "start": { - "line": 33, - "column": 41 - }, - "end": { - "line": 33, - "column": 51 - }, - "identifierName": "enumerable" - }, - "name": "enumerable" - }, - "extra": { - "shorthand": true - } + "line": 44, + "column": 55 }, - { - "type": "ObjectProperty", - "start": 1656, - "end": 1668, - "loc": { - "start": { - "line": 33, - "column": 53 - }, - "end": { - "line": 33, - "column": 65 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1656, - "end": 1668, - "loc": { - "start": { - "line": 33, - "column": 53 - }, - "end": { - "line": 33, - "column": 65 - }, - "identifierName": "configurable" - }, - "name": "configurable" - }, - "value": { - "type": "Identifier", - "start": 1656, - "end": 1668, - "loc": { - "start": { - "line": 33, - "column": 53 - }, - "end": { - "line": 33, - "column": 65 - }, - "identifierName": "configurable" - }, - "name": "configurable" - }, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 1670, - "end": 1673, - "loc": { - "start": { - "line": 33, - "column": 67 - }, - "end": { - "line": 33, - "column": 70 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1670, - "end": 1673, - "loc": { - "start": { - "line": 33, - "column": 67 - }, - "end": { - "line": 33, - "column": 70 - }, - "identifierName": "get" - }, - "name": "get" - }, - "value": { - "type": "Identifier", - "start": 1670, - "end": 1673, - "loc": { - "start": { - "line": 33, - "column": 67 - }, - "end": { - "line": 33, - "column": 70 - }, - "identifierName": "get" - }, - "name": "get" - }, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 1675, - "end": 1678, - "loc": { - "start": { - "line": 33, - "column": 72 - }, - "end": { - "line": 33, - "column": 75 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1675, - "end": 1678, - "loc": { - "start": { - "line": 33, - "column": 72 - }, - "end": { - "line": 33, - "column": 75 - }, - "identifierName": "set" - }, - "name": "set" - }, - "value": { - "type": "Identifier", - "start": 1675, - "end": 1678, - "loc": { - "start": { - "line": 33, - "column": 72 - }, - "end": { - "line": 33, - "column": 75 - }, - "identifierName": "set" - }, - "name": "set" - }, - "extra": { - "shorthand": true - } - } - ] - }, - "init": { - "type": "Identifier", - "start": 1683, - "end": 1693, - "loc": { - "start": { - "line": 33, - "column": 80 - }, - "end": { - "line": 33, - "column": 90 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1711, - "end": 1773, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 78 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1717, - "end": 1772, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 34, - "column": 77 - } - }, - "id": { - "type": "Identifier", - "start": 1717, - "end": 1732, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 34, - "column": 37 - }, - "identifierName": "isFirstInstance" - }, - "name": "isFirstInstance" - }, - "init": { - "type": "UnaryExpression", - "start": 1735, - "end": 1772, - "loc": { - "start": { - "line": 34, - "column": 40 + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 1786, + "end": 1787, + "loc": { + "start": { + "line": 44, + "column": 56 }, "end": { - "line": 34, - "column": 77 + "line": 44, + "column": 57 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 1736, - "end": 1772, - "loc": { - "start": { - "line": 34, - "column": 41 - }, - "end": { - "line": 34, - "column": 77 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1736, - "end": 1756, - "loc": { - "start": { - "line": 34, - "column": 41 - }, - "end": { - "line": 34, - "column": 61 - } - }, - "object": { - "type": "Identifier", - "start": 1736, - "end": 1752, - "loc": { - "start": { - "line": 34, - "column": 41 - }, - "end": { - "line": 34, - "column": 57 - }, - "identifierName": "InstanceChainMap" - }, - "name": "InstanceChainMap" - }, - "property": { - "type": "Identifier", - "start": 1753, - "end": 1756, - "loc": { - "start": { - "line": 34, - "column": 58 - }, - "end": { - "line": 34, - "column": 61 - }, - "identifierName": "has" - }, - "name": "has" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1757, - "end": 1771, - "loc": { - "start": { - "line": 34, - "column": 62 - }, - "end": { - "line": 34, - "column": 76 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 1758, - "end": 1764, - "loc": { - "start": { - "line": 34, - "column": 63 - }, - "end": { - "line": 34, - "column": 69 - }, - "identifierName": "target" - }, - "name": "target" - }, - { - "type": "Identifier", - "start": 1766, - "end": 1770, - "loc": { - "start": { - "line": 34, - "column": 71 - }, - "end": { - "line": 34, - "column": 75 - }, - "identifierName": "name" - }, - "name": "name" - } - ] - } - ] - }, "extra": { - "parenthesizedArgument": false - } - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1790, - "end": 1849, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 75 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1796, - "end": 1848, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, - "column": 74 - } - }, - "id": { - "type": "Identifier", - "start": 1796, - "end": 1803, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, - "column": 29 - }, - "identifierName": "fnChain" + "rawValue": 2, + "raw": "2" }, - "name": "fnChain" + "value": 2 }, - "init": { - "type": "LogicalExpression", - "start": 1806, - "end": 1848, - "loc": { - "start": { - "line": 35, - "column": 32 - }, - "end": { - "line": 35, - "column": 74 - } - }, - "left": { - "type": "CallExpression", - "start": 1806, - "end": 1842, - "loc": { - "start": { - "line": 35, - "column": 32 - }, - "end": { - "line": 35, - "column": 68 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1806, - "end": 1826, - "loc": { - "start": { - "line": 35, - "column": 32 - }, - "end": { - "line": 35, - "column": 52 - } - }, - "object": { - "type": "Identifier", - "start": 1806, - "end": 1822, - "loc": { - "start": { - "line": 35, - "column": 32 - }, - "end": { - "line": 35, - "column": 48 - }, - "identifierName": "InstanceChainMap" - }, - "name": "InstanceChainMap" - }, - "property": { - "type": "Identifier", - "start": 1823, - "end": 1826, - "loc": { - "start": { - "line": 35, - "column": 49 - }, - "end": { - "line": 35, - "column": 52 - }, - "identifierName": "get" - }, - "name": "get" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1827, - "end": 1841, - "loc": { - "start": { - "line": 35, - "column": 53 - }, - "end": { - "line": 35, - "column": 67 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 1828, - "end": 1834, - "loc": { - "start": { - "line": 35, - "column": 54 - }, - "end": { - "line": 35, - "column": 60 - }, - "identifierName": "target" - }, - "name": "target" - }, - { - "type": "Identifier", - "start": 1836, - "end": 1840, - "loc": { - "start": { - "line": 35, - "column": 62 - }, - "end": { - "line": 35, - "column": 66 - }, - "identifierName": "name" - }, - "name": "name" - } - ] - } - ] - }, - "operator": "||", - "right": { - "type": "ArrayExpression", - "start": 1846, - "end": 1848, - "loc": { - "start": { - "line": 35, - "column": 72 - }, - "end": { - "line": 35, - "column": 74 - } - }, - "elements": [] - } - } + "computed": true } - ], - "kind": "const" + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 1817, + "end": 1834, + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 29 + } + }, + "argument": { + "type": "Identifier", + "start": 1824, + "end": 1833, + "loc": { + "start": { + "line": 46, + "column": 19 + }, + "end": { + "line": 46, + "column": 28 + }, + "identifierName": "decorator" + }, + "name": "decorator" + } + } + ], + "directives": [] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 19\n * @param\n * {DecoratorConfig} config\n * @return\n * {GenericDecorator}\n ", + "start": 229, + "end": 376, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 19, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 54\n * @param\n * {DecoratorConfig} config\n * @return\n * {GenericDecorator}\n ", + "start": 1856, + "end": 2003, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 58, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2008, + "end": 6984, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 159, + "column": 5 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2008, + "end": 2031, + "loc": { + "start": { + "line": 59, + "column": 4 + }, + "end": { + "line": 59, + "column": 27 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2032, + "end": 2038, + "loc": { + "start": { + "line": 59, + "column": 28 + }, + "end": { + "line": 59, + "column": 34 + }, + "identifierName": "config" + }, + "name": "config" + } + ], + "body": { + "type": "BlockStatement", + "start": 2040, + "end": 6984, + "loc": { + "start": { + "line": 59, + "column": 36 + }, + "end": { + "line": 159, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2050, + "end": 2103, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 61 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2056, + "end": 2102, + "loc": { + "start": { + "line": 60, + "column": 14 + }, + "end": { + "line": 60, + "column": 60 + } + }, + "id": { + "type": "ObjectPattern", + "start": 2056, + "end": 2093, + "loc": { + "start": { + "line": 60, + "column": 14 + }, + "end": { + "line": 60, + "column": 51 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2058, + "end": 2068, + "loc": { + "start": { + "line": 60, + "column": 16 + }, + "end": { + "line": 60, + "column": 26 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2058, + "end": 2068, + "loc": { + "start": { + "line": 60, + "column": 16 }, - { - "type": "VariableDeclaration", - "start": 1866, - "end": 1918, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 68 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1872, - "end": 1917, - "loc": { - "start": { - "line": 36, - "column": 22 - }, - "end": { - "line": 36, - "column": 67 - } - }, - "id": { - "type": "Identifier", - "start": 1872, - "end": 1880, - "loc": { - "start": { - "line": 36, - "column": 22 - }, - "end": { - "line": 36, - "column": 30 - }, - "identifierName": "isGetter" - }, - "name": "isGetter" - }, - "init": { - "type": "LogicalExpression", - "start": 1883, - "end": 1917, - "loc": { - "start": { - "line": 36, - "column": 33 - }, - "end": { - "line": 36, - "column": 67 - } - }, - "left": { - "type": "Identifier", - "start": 1883, - "end": 1898, - "loc": { - "start": { - "line": 36, - "column": 33 - }, - "end": { - "line": 36, - "column": 48 - }, - "identifierName": "isFirstInstance" - }, - "name": "isFirstInstance" - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 1902, - "end": 1917, - "loc": { - "start": { - "line": 36, - "column": 52 - }, - "end": { - "line": 36, - "column": 67 - } - }, - "callee": { - "type": "Identifier", - "start": 1902, - "end": 1912, - "loc": { - "start": { - "line": 36, - "column": 52 - }, - "end": { - "line": 36, - "column": 62 - }, - "identifierName": "isFunction" - }, - "name": "isFunction" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1913, - "end": 1916, - "loc": { - "start": { - "line": 36, - "column": 63 - }, - "end": { - "line": 36, - "column": 66 - }, - "identifierName": "get" - }, - "name": "get" - } - ] - } - } - } - ], - "kind": "const" + "end": { + "line": 60, + "column": 26 }, - { - "type": "VariableDeclaration", - "start": 1935, - "end": 1987, - "loc": { - "start": { - "line": 37, - "column": 16 - }, - "end": { - "line": 37, - "column": 68 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1941, - "end": 1986, - "loc": { - "start": { - "line": 37, - "column": 22 - }, - "end": { - "line": 37, - "column": 67 - } - }, - "id": { - "type": "Identifier", - "start": 1941, - "end": 1949, - "loc": { - "start": { - "line": 37, - "column": 22 - }, - "end": { - "line": 37, - "column": 30 - }, - "identifierName": "isSetter" - }, - "name": "isSetter" - }, - "init": { - "type": "LogicalExpression", - "start": 1952, - "end": 1986, - "loc": { - "start": { - "line": 37, - "column": 33 - }, - "end": { - "line": 37, - "column": 67 - } - }, - "left": { - "type": "Identifier", - "start": 1952, - "end": 1967, - "loc": { - "start": { - "line": 37, - "column": 33 - }, - "end": { - "line": 37, - "column": 48 - }, - "identifierName": "isFirstInstance" - }, - "name": "isFirstInstance" - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 1971, - "end": 1986, - "loc": { - "start": { - "line": 37, - "column": 52 - }, - "end": { - "line": 37, - "column": 67 - } - }, - "callee": { - "type": "Identifier", - "start": 1971, - "end": 1981, - "loc": { - "start": { - "line": 37, - "column": 52 - }, - "end": { - "line": 37, - "column": 62 - }, - "identifierName": "isFunction" - }, - "name": "isFunction" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1982, - "end": 1985, - "loc": { - "start": { - "line": 37, - "column": 63 - }, - "end": { - "line": 37, - "column": 66 - }, - "identifierName": "set" - }, - "name": "set" - } - ] - } - } - } - ], - "kind": "const" + "identifierName": "applicator" + }, + "name": "applicator" + }, + "value": { + "type": "Identifier", + "start": 2058, + "end": 2068, + "loc": { + "start": { + "line": 60, + "column": 16 }, - { - "type": "VariableDeclaration", - "start": 2004, - "end": 2058, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 70 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2010, - "end": 2057, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 38, - "column": 69 - } - }, - "id": { - "type": "Identifier", - "start": 2010, - "end": 2018, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 38, - "column": 30 - }, - "identifierName": "isMethod" - }, - "name": "isMethod" - }, - "init": { - "type": "LogicalExpression", - "start": 2021, - "end": 2057, - "loc": { - "start": { - "line": 38, - "column": 33 - }, - "end": { - "line": 38, - "column": 69 - } - }, - "left": { - "type": "Identifier", - "start": 2021, - "end": 2036, - "loc": { - "start": { - "line": 38, - "column": 33 - }, - "end": { - "line": 38, - "column": 48 - }, - "identifierName": "isFirstInstance" - }, - "name": "isFirstInstance" - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 2040, - "end": 2057, - "loc": { - "start": { - "line": 38, - "column": 52 - }, - "end": { - "line": 38, - "column": 69 - } - }, - "callee": { - "type": "Identifier", - "start": 2040, - "end": 2050, - "loc": { - "start": { - "line": 38, - "column": 52 - }, - "end": { - "line": 38, - "column": 62 - }, - "identifierName": "isFunction" - }, - "name": "isFunction" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2051, - "end": 2056, - "loc": { - "start": { - "line": 38, - "column": 63 - }, - "end": { - "line": 38, - "column": 68 - }, - "identifierName": "value" - }, - "name": "value" - } - ] - } - } - } - ], - "kind": "const" + "end": { + "line": 60, + "column": 26 }, - { - "type": "VariableDeclaration", - "start": 2075, - "end": 2149, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 90 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2081, - "end": 2148, - "loc": { - "start": { - "line": 39, - "column": 22 - }, - "end": { - "line": 39, - "column": 89 - } - }, - "id": { - "type": "Identifier", - "start": 2081, - "end": 2091, - "loc": { - "start": { - "line": 39, - "column": 22 - }, - "end": { - "line": 39, - "column": 32 - }, - "identifierName": "isProperty" - }, - "name": "isProperty" - }, - "init": { - "type": "LogicalExpression", - "start": 2094, - "end": 2148, - "loc": { - "start": { - "line": 39, - "column": 35 - }, - "end": { - "line": 39, - "column": 89 - } - }, - "left": { - "type": "LogicalExpression", - "start": 2094, - "end": 2135, - "loc": { - "start": { - "line": 39, - "column": 35 - }, - "end": { - "line": 39, - "column": 76 - } - }, - "left": { - "type": "LogicalExpression", - "start": 2094, - "end": 2122, - "loc": { - "start": { - "line": 39, - "column": 35 - }, - "end": { - "line": 39, - "column": 63 - } - }, - "left": { - "type": "Identifier", - "start": 2094, - "end": 2109, - "loc": { - "start": { - "line": 39, - "column": 35 - }, - "end": { - "line": 39, - "column": 50 - }, - "identifierName": "isFirstInstance" - }, - "name": "isFirstInstance" - }, - "operator": "&&", - "right": { - "type": "UnaryExpression", - "start": 2113, - "end": 2122, - "loc": { - "start": { - "line": 39, - "column": 54 - }, - "end": { - "line": 39, - "column": 63 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 2114, - "end": 2122, - "loc": { - "start": { - "line": 39, - "column": 55 - }, - "end": { - "line": 39, - "column": 63 - }, - "identifierName": "isGetter" - }, - "name": "isGetter" - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "operator": "&&", - "right": { - "type": "UnaryExpression", - "start": 2126, - "end": 2135, - "loc": { - "start": { - "line": 39, - "column": 67 - }, - "end": { - "line": 39, - "column": 76 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 2127, - "end": 2135, - "loc": { - "start": { - "line": 39, - "column": 68 - }, - "end": { - "line": 39, - "column": 76 - }, - "identifierName": "isSetter" - }, - "name": "isSetter" - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "operator": "&&", - "right": { - "type": "UnaryExpression", - "start": 2139, - "end": 2148, - "loc": { - "start": { - "line": 39, - "column": 80 - }, - "end": { - "line": 39, - "column": 89 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 2140, - "end": 2148, - "loc": { - "start": { - "line": 39, - "column": 81 - }, - "end": { - "line": 39, - "column": 89 - }, - "identifierName": "isMethod" - }, - "name": "isMethod" - }, - "extra": { - "parenthesizedArgument": false - } - } - } - } - ], - "kind": "const" + "identifierName": "applicator" + }, + "name": "applicator" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2070, + "end": 2075, + "loc": { + "start": { + "line": 60, + "column": 28 + }, + "end": { + "line": 60, + "column": 33 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2070, + "end": 2075, + "loc": { + "start": { + "line": 60, + "column": 28 }, - { - "type": "ExpressionStatement", - "start": 2166, - "end": 2562, - "loc": { - "start": { - "line": 40, - "column": 16 - }, - "end": { - "line": 48, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 2166, - "end": 2561, - "loc": { - "start": { - "line": 40, - "column": 16 - }, - "end": { - "line": 48, - "column": 18 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2166, - "end": 2178, - "loc": { - "start": { - "line": 40, - "column": 16 - }, - "end": { - "line": 40, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 2166, - "end": 2173, - "loc": { - "start": { - "line": 40, - "column": 16 - }, - "end": { - "line": 40, - "column": 23 - }, - "identifierName": "fnChain" - }, - "name": "fnChain" - }, - "property": { - "type": "Identifier", - "start": 2174, - "end": 2178, - "loc": { - "start": { - "line": 40, - "column": 24 - }, - "end": { - "line": 40, - "column": 28 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 2179, - "end": 2560, - "loc": { - "start": { - "line": 40, - "column": 29 - }, - "end": { - "line": 48, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2180, - "end": 2182, - "loc": { - "start": { - "line": 40, - "column": 30 - }, - "end": { - "line": 40, - "column": 32 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - { - "type": "Identifier", - "start": 2184, - "end": 2192, - "loc": { - "start": { - "line": 40, - "column": 34 - }, - "end": { - "line": 40, - "column": 42 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - { - "type": "Identifier", - "start": 2194, - "end": 2201, - "loc": { - "start": { - "line": 40, - "column": 44 - }, - "end": { - "line": 40, - "column": 51 - }, - "identifierName": "context" - }, - "name": "context" - } - ], - "body": { - "type": "BlockStatement", - "start": 2206, - "end": 2560, - "loc": { - "start": { - "line": 40, - "column": 56 - }, - "end": { - "line": 48, - "column": 17 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 2228, - "end": 2328, - "loc": { - "start": { - "line": 41, - "column": 20 - }, - "end": { - "line": 43, - "column": 21 - } - }, - "test": { - "type": "UnaryExpression", - "start": 2232, - "end": 2268, - "loc": { - "start": { - "line": 41, - "column": 24 - }, - "end": { - "line": 41, - "column": 60 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "CallExpression", - "start": 2233, - "end": 2268, - "loc": { - "start": { - "line": 41, - "column": 25 - }, - "end": { - "line": 41, - "column": 60 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2233, - "end": 2251, - "loc": { - "start": { - "line": 41, - "column": 25 - }, - "end": { - "line": 41, - "column": 43 - } - }, - "object": { - "type": "ThisExpression", - "start": 2233, - "end": 2237, - "loc": { - "start": { - "line": 41, - "column": 25 - }, - "end": { - "line": 41, - "column": 29 - } + "end": { + "line": 60, + "column": 33 + }, + "identifierName": "bound" + }, + "name": "bound" + }, + "value": { + "type": "Identifier", + "start": 2070, + "end": 2075, + "loc": { + "start": { + "line": 60, + "column": 28 + }, + "end": { + "line": 60, + "column": 33 + }, + "identifierName": "bound" + }, + "name": "bound" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2077, + "end": 2091, + "loc": { + "start": { + "line": 60, + "column": 35 + }, + "end": { + "line": 60, + "column": 49 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2077, + "end": 2091, + "loc": { + "start": { + "line": 60, + "column": 35 + }, + "end": { + "line": 60, + "column": 49 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "Identifier", + "start": 2077, + "end": 2091, + "loc": { + "start": { + "line": 60, + "column": 35 + }, + "end": { + "line": 60, + "column": 49 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "extra": { + "shorthand": true + } + } + ] + }, + "init": { + "type": "Identifier", + "start": 2096, + "end": 2102, + "loc": { + "start": { + "line": 60, + "column": 54 + }, + "end": { + "line": 60, + "column": 60 + }, + "identifierName": "config" + }, + "name": "config" + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 2112, + "end": 6978, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 158, + "column": 10 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 2119, + "end": 6977, + "loc": { + "start": { + "line": 61, + "column": 15 + }, + "end": { + "line": 158, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 2120, + "end": 2127, + "loc": { + "start": { + "line": 61, + "column": 16 + }, + "end": { + "line": 61, + "column": 23 + } + }, + "argument": { + "type": "Identifier", + "start": 2123, + "end": 2127, + "loc": { + "start": { + "line": 61, + "column": 19 + }, + "end": { + "line": 61, + "column": 23 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 2132, + "end": 6977, + "loc": { + "start": { + "line": 61, + "column": 28 + }, + "end": { + "line": 158, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2146, + "end": 2164, + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2150, + "end": 2163, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 2150, + "end": 2156, + "loc": { + "start": { + "line": 62, + "column": 16 + }, + "end": { + "line": 62, + "column": 22 + }, + "identifierName": "params" + }, + "name": "params" + }, + "init": { + "type": "Identifier", + "start": 2159, + "end": 2163, + "loc": { + "start": { + "line": 62, + "column": 25 + }, + "end": { + "line": 62, + "column": 29 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 2177, + "end": 6755, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 152, + "column": 14 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2183, + "end": 6754, + "loc": { + "start": { + "line": 63, + "column": 18 + }, + "end": { + "line": 152, + "column": 13 + } + }, + "id": { + "type": "Identifier", + "start": 2183, + "end": 2192, + "loc": { + "start": { + "line": 63, + "column": 18 + }, + "end": { + "line": 63, + "column": 27 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 2195, + "end": 6754, + "loc": { + "start": { + "line": 63, + "column": 30 + }, + "end": { + "line": 152, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2196, + "end": 2202, + "loc": { + "start": { + "line": 63, + "column": 31 + }, + "end": { + "line": 63, + "column": 37 + }, + "identifierName": "target" + }, + "name": "target" + }, + { + "type": "Identifier", + "start": 2204, + "end": 2208, + "loc": { + "start": { + "line": 63, + "column": 39 + }, + "end": { + "line": 63, + "column": 43 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 2210, + "end": 2221, + "loc": { + "start": { + "line": 63, + "column": 45 + }, + "end": { + "line": 63, + "column": 56 + }, + "identifierName": "_descriptor" + }, + "name": "_descriptor" + } + ], + "body": { + "type": "BlockStatement", + "start": 2226, + "end": 6754, + "loc": { + "start": { + "line": 63, + "column": 61 + }, + "end": { + "line": 152, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2244, + "end": 2314, + "loc": { + "start": { + "line": 64, + "column": 16 + }, + "end": { + "line": 64, + "column": 86 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2250, + "end": 2313, + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 64, + "column": 85 + } + }, + "id": { + "type": "Identifier", + "start": 2250, + "end": 2260, + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 64, + "column": 32 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + }, + "init": { + "type": "CallExpression", + "start": 2263, + "end": 2313, + "loc": { + "start": { + "line": 64, + "column": 35 + }, + "end": { + "line": 64, + "column": 85 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2263, + "end": 2286, + "loc": { + "start": { + "line": 64, + "column": 35 + }, + "end": { + "line": 64, + "column": 58 + } + }, + "object": { + "type": "ThisExpression", + "start": 2263, + "end": 2267, + "loc": { + "start": { + "line": 64, + "column": 35 + }, + "end": { + "line": 64, + "column": 39 + } + } + }, + "property": { + "type": "Identifier", + "start": 2268, + "end": 2286, + "loc": { + "start": { + "line": 64, + "column": 40 + }, + "end": { + "line": 64, + "column": 58 + }, + "identifierName": "_resolveDescriptor" + }, + "name": "_resolveDescriptor" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2287, + "end": 2293, + "loc": { + "start": { + "line": 64, + "column": 59 + }, + "end": { + "line": 64, + "column": 65 + }, + "identifierName": "target" + }, + "name": "target" + }, + { + "type": "Identifier", + "start": 2295, + "end": 2299, + "loc": { + "start": { + "line": 64, + "column": 67 + }, + "end": { + "line": 64, + "column": 71 + }, + "identifierName": "name" + }, + "name": "name" + }, + { + "type": "Identifier", + "start": 2301, + "end": 2312, + "loc": { + "start": { + "line": 64, + "column": 73 + }, + "end": { + "line": 64, + "column": 84 + }, + "identifierName": "_descriptor" + }, + "name": "_descriptor" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2331, + "end": 2406, + "loc": { + "start": { + "line": 65, + "column": 16 + }, + "end": { + "line": 65, + "column": 91 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2337, + "end": 2405, + "loc": { + "start": { + "line": 65, + "column": 22 + }, + "end": { + "line": 65, + "column": 90 + } + }, + "id": { + "type": "ObjectPattern", + "start": 2337, + "end": 2392, + "loc": { + "start": { + "line": 65, + "column": 22 + }, + "end": { + "line": 65, + "column": 77 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2339, + "end": 2344, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 29 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2339, + "end": 2344, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 29 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 2339, + "end": 2344, + "loc": { + "start": { + "line": 65, + "column": 24 + }, + "end": { + "line": 65, + "column": 29 + }, + "identifierName": "value" + }, + "name": "value" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2346, + "end": 2354, + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 65, + "column": 39 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2346, + "end": 2354, + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 65, + "column": 39 + }, + "identifierName": "writable" + }, + "name": "writable" + }, + "value": { + "type": "Identifier", + "start": 2346, + "end": 2354, + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 65, + "column": 39 + }, + "identifierName": "writable" + }, + "name": "writable" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2356, + "end": 2366, + "loc": { + "start": { + "line": 65, + "column": 41 + }, + "end": { + "line": 65, + "column": 51 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2356, + "end": 2366, + "loc": { + "start": { + "line": 65, + "column": 41 + }, + "end": { + "line": 65, + "column": 51 + }, + "identifierName": "enumerable" + }, + "name": "enumerable" + }, + "value": { + "type": "Identifier", + "start": 2356, + "end": 2366, + "loc": { + "start": { + "line": 65, + "column": 41 + }, + "end": { + "line": 65, + "column": 51 + }, + "identifierName": "enumerable" + }, + "name": "enumerable" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2368, + "end": 2380, + "loc": { + "start": { + "line": 65, + "column": 53 + }, + "end": { + "line": 65, + "column": 65 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2368, + "end": 2380, + "loc": { + "start": { + "line": 65, + "column": 53 + }, + "end": { + "line": 65, + "column": 65 + }, + "identifierName": "configurable" + }, + "name": "configurable" + }, + "value": { + "type": "Identifier", + "start": 2368, + "end": 2380, + "loc": { + "start": { + "line": 65, + "column": 53 + }, + "end": { + "line": 65, + "column": 65 + }, + "identifierName": "configurable" + }, + "name": "configurable" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2382, + "end": 2385, + "loc": { + "start": { + "line": 65, + "column": 67 + }, + "end": { + "line": 65, + "column": 70 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2382, + "end": 2385, + "loc": { + "start": { + "line": 65, + "column": 67 + }, + "end": { + "line": 65, + "column": 70 + }, + "identifierName": "get" + }, + "name": "get" + }, + "value": { + "type": "Identifier", + "start": 2382, + "end": 2385, + "loc": { + "start": { + "line": 65, + "column": 67 + }, + "end": { + "line": 65, + "column": 70 + }, + "identifierName": "get" + }, + "name": "get" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 2387, + "end": 2390, + "loc": { + "start": { + "line": 65, + "column": 72 + }, + "end": { + "line": 65, + "column": 75 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 2387, + "end": 2390, + "loc": { + "start": { + "line": 65, + "column": 72 + }, + "end": { + "line": 65, + "column": 75 + }, + "identifierName": "set" + }, + "name": "set" + }, + "value": { + "type": "Identifier", + "start": 2387, + "end": 2390, + "loc": { + "start": { + "line": 65, + "column": 72 + }, + "end": { + "line": 65, + "column": 75 + }, + "identifierName": "set" + }, + "name": "set" + }, + "extra": { + "shorthand": true + } + } + ] + }, + "init": { + "type": "Identifier", + "start": 2395, + "end": 2405, + "loc": { + "start": { + "line": 65, + "column": 80 + }, + "end": { + "line": 65, + "column": 90 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2423, + "end": 2485, + "loc": { + "start": { + "line": 66, + "column": 16 + }, + "end": { + "line": 66, + "column": 78 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2429, + "end": 2484, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 77 + } + }, + "id": { + "type": "Identifier", + "start": 2429, + "end": 2444, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 37 + }, + "identifierName": "isFirstInstance" + }, + "name": "isFirstInstance" + }, + "init": { + "type": "UnaryExpression", + "start": 2447, + "end": 2484, + "loc": { + "start": { + "line": 66, + "column": 40 + }, + "end": { + "line": 66, + "column": 77 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 2448, + "end": 2484, + "loc": { + "start": { + "line": 66, + "column": 41 + }, + "end": { + "line": 66, + "column": 77 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2448, + "end": 2468, + "loc": { + "start": { + "line": 66, + "column": 41 + }, + "end": { + "line": 66, + "column": 61 + } + }, + "object": { + "type": "Identifier", + "start": 2448, + "end": 2464, + "loc": { + "start": { + "line": 66, + "column": 41 + }, + "end": { + "line": 66, + "column": 57 + }, + "identifierName": "InstanceChainMap" + }, + "name": "InstanceChainMap" + }, + "property": { + "type": "Identifier", + "start": 2465, + "end": 2468, + "loc": { + "start": { + "line": 66, + "column": 58 + }, + "end": { + "line": 66, + "column": 61 + }, + "identifierName": "has" + }, + "name": "has" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 2469, + "end": 2483, + "loc": { + "start": { + "line": 66, + "column": 62 + }, + "end": { + "line": 66, + "column": 76 + } + }, + "elements": [ + { + "type": "Identifier", + "start": 2470, + "end": 2476, + "loc": { + "start": { + "line": 66, + "column": 63 + }, + "end": { + "line": 66, + "column": 69 + }, + "identifierName": "target" + }, + "name": "target" + }, + { + "type": "Identifier", + "start": 2478, + "end": 2482, + "loc": { + "start": { + "line": 66, + "column": 71 + }, + "end": { + "line": 66, + "column": 75 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + } + ] + }, + "extra": { + "parenthesizedArgument": false + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2502, + "end": 2588, + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 102 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2508, + "end": 2587, + "loc": { + "start": { + "line": 67, + "column": 22 + }, + "end": { + "line": 67, + "column": 101 + } + }, + "id": { + "type": "Identifier", + "start": 2508, + "end": 2517, + "loc": { + "start": { + "line": 67, + "column": 22 + }, + "end": { + "line": 67, + "column": 31 + }, + "identifierName": "chainData" + }, + "name": "chainData" + }, + "init": { + "type": "LogicalExpression", + "start": 2520, + "end": 2587, + "loc": { + "start": { + "line": 67, + "column": 34 + }, + "end": { + "line": 67, + "column": 101 + } + }, + "left": { + "type": "CallExpression", + "start": 2520, + "end": 2556, + "loc": { + "start": { + "line": 67, + "column": 34 + }, + "end": { + "line": 67, + "column": 70 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2520, + "end": 2540, + "loc": { + "start": { + "line": 67, + "column": 34 + }, + "end": { + "line": 67, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 2520, + "end": 2536, + "loc": { + "start": { + "line": 67, + "column": 34 + }, + "end": { + "line": 67, + "column": 50 + }, + "identifierName": "InstanceChainMap" + }, + "name": "InstanceChainMap" + }, + "property": { + "type": "Identifier", + "start": 2537, + "end": 2540, + "loc": { + "start": { + "line": 67, + "column": 51 + }, + "end": { + "line": 67, + "column": 54 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 2541, + "end": 2555, + "loc": { + "start": { + "line": 67, + "column": 55 + }, + "end": { + "line": 67, + "column": 69 + } + }, + "elements": [ + { + "type": "Identifier", + "start": 2542, + "end": 2548, + "loc": { + "start": { + "line": 67, + "column": 56 + }, + "end": { + "line": 67, + "column": 62 + }, + "identifierName": "target" + }, + "name": "target" + }, + { + "type": "Identifier", + "start": 2550, + "end": 2554, + "loc": { + "start": { + "line": 67, + "column": 64 + }, + "end": { + "line": 67, + "column": 68 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + } + ] + }, + "operator": "||", + "right": { + "type": "ObjectExpression", + "start": 2560, + "end": 2587, + "loc": { + "start": { + "line": 67, + "column": 74 + }, + "end": { + "line": 67, + "column": 101 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2562, + "end": 2569, + "loc": { + "start": { + "line": 67, + "column": 76 + }, + "end": { + "line": 67, + "column": 83 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2562, + "end": 2565, + "loc": { + "start": { + "line": 67, + "column": 76 + }, + "end": { + "line": 67, + "column": 79 + }, + "identifierName": "fns" + }, + "name": "fns" + }, + "value": { + "type": "ArrayExpression", + "start": 2567, + "end": 2569, + "loc": { + "start": { + "line": 67, + "column": 81 + }, + "end": { + "line": 67, + "column": 83 + } + }, + "elements": [] + } + }, + { + "type": "ObjectProperty", + "start": 2571, + "end": 2585, + "loc": { + "start": { + "line": 67, + "column": 85 + }, + "end": { + "line": 67, + "column": 99 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2571, + "end": 2581, + "loc": { + "start": { + "line": 67, + "column": 85 + }, + "end": { + "line": 67, + "column": 95 + }, + "identifierName": "properties" + }, + "name": "properties" + }, + "value": { + "type": "ArrayExpression", + "start": 2583, + "end": 2585, + "loc": { + "start": { + "line": 67, + "column": 97 + }, + "end": { + "line": 67, + "column": 99 } }, - "property": { - "type": "Identifier", - "start": 2238, - "end": 2251, - "loc": { - "start": { - "line": 41, - "column": 30 - }, - "end": { - "line": 41, - "column": 43 - }, - "identifierName": "_isApplicable" - }, - "name": "_isApplicable" + "elements": [] + } + } + ] + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2605, + "end": 2657, + "loc": { + "start": { + "line": 68, + "column": 16 + }, + "end": { + "line": 68, + "column": 68 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2611, + "end": 2656, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 67 + } + }, + "id": { + "type": "Identifier", + "start": 2611, + "end": 2619, + "loc": { + "start": { + "line": 68, + "column": 22 + }, + "end": { + "line": 68, + "column": 30 + }, + "identifierName": "isGetter" + }, + "name": "isGetter" + }, + "init": { + "type": "LogicalExpression", + "start": 2622, + "end": 2656, + "loc": { + "start": { + "line": 68, + "column": 33 + }, + "end": { + "line": 68, + "column": 67 + } + }, + "left": { + "type": "Identifier", + "start": 2622, + "end": 2637, + "loc": { + "start": { + "line": 68, + "column": 33 + }, + "end": { + "line": 68, + "column": 48 + }, + "identifierName": "isFirstInstance" + }, + "name": "isFirstInstance" + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2641, + "end": 2656, + "loc": { + "start": { + "line": 68, + "column": 52 + }, + "end": { + "line": 68, + "column": 67 + } + }, + "callee": { + "type": "Identifier", + "start": 2641, + "end": 2651, + "loc": { + "start": { + "line": 68, + "column": 52 + }, + "end": { + "line": 68, + "column": 62 + }, + "identifierName": "isFunction" + }, + "name": "isFunction" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2652, + "end": 2655, + "loc": { + "start": { + "line": 68, + "column": 63 + }, + "end": { + "line": 68, + "column": 66 + }, + "identifierName": "get" + }, + "name": "get" + } + ] + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2674, + "end": 2726, + "loc": { + "start": { + "line": 69, + "column": 16 + }, + "end": { + "line": 69, + "column": 68 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2680, + "end": 2725, + "loc": { + "start": { + "line": 69, + "column": 22 + }, + "end": { + "line": 69, + "column": 67 + } + }, + "id": { + "type": "Identifier", + "start": 2680, + "end": 2688, + "loc": { + "start": { + "line": 69, + "column": 22 + }, + "end": { + "line": 69, + "column": 30 + }, + "identifierName": "isSetter" + }, + "name": "isSetter" + }, + "init": { + "type": "LogicalExpression", + "start": 2691, + "end": 2725, + "loc": { + "start": { + "line": 69, + "column": 33 + }, + "end": { + "line": 69, + "column": 67 + } + }, + "left": { + "type": "Identifier", + "start": 2691, + "end": 2706, + "loc": { + "start": { + "line": 69, + "column": 33 + }, + "end": { + "line": 69, + "column": 48 + }, + "identifierName": "isFirstInstance" + }, + "name": "isFirstInstance" + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2710, + "end": 2725, + "loc": { + "start": { + "line": 69, + "column": 52 + }, + "end": { + "line": 69, + "column": 67 + } + }, + "callee": { + "type": "Identifier", + "start": 2710, + "end": 2720, + "loc": { + "start": { + "line": 69, + "column": 52 + }, + "end": { + "line": 69, + "column": 62 + }, + "identifierName": "isFunction" + }, + "name": "isFunction" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2721, + "end": 2724, + "loc": { + "start": { + "line": 69, + "column": 63 + }, + "end": { + "line": 69, + "column": 66 + }, + "identifierName": "set" + }, + "name": "set" + } + ] + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2743, + "end": 2797, + "loc": { + "start": { + "line": 70, + "column": 16 + }, + "end": { + "line": 70, + "column": 70 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2749, + "end": 2796, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 69 + } + }, + "id": { + "type": "Identifier", + "start": 2749, + "end": 2757, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 30 + }, + "identifierName": "isMethod" + }, + "name": "isMethod" + }, + "init": { + "type": "LogicalExpression", + "start": 2760, + "end": 2796, + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 70, + "column": 69 + } + }, + "left": { + "type": "Identifier", + "start": 2760, + "end": 2775, + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 70, + "column": 48 + }, + "identifierName": "isFirstInstance" + }, + "name": "isFirstInstance" + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 2779, + "end": 2796, + "loc": { + "start": { + "line": 70, + "column": 52 + }, + "end": { + "line": 70, + "column": 69 + } + }, + "callee": { + "type": "Identifier", + "start": 2779, + "end": 2789, + "loc": { + "start": { + "line": 70, + "column": 52 + }, + "end": { + "line": 70, + "column": 62 + }, + "identifierName": "isFunction" + }, + "name": "isFunction" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2790, + "end": 2795, + "loc": { + "start": { + "line": 70, + "column": 63 + }, + "end": { + "line": 70, + "column": 68 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2814, + "end": 2888, + "loc": { + "start": { + "line": 71, + "column": 16 + }, + "end": { + "line": 71, + "column": 90 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2820, + "end": 2887, + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 89 + } + }, + "id": { + "type": "Identifier", + "start": 2820, + "end": 2830, + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 32 + }, + "identifierName": "isProperty" + }, + "name": "isProperty" + }, + "init": { + "type": "LogicalExpression", + "start": 2833, + "end": 2887, + "loc": { + "start": { + "line": 71, + "column": 35 + }, + "end": { + "line": 71, + "column": 89 + } + }, + "left": { + "type": "LogicalExpression", + "start": 2833, + "end": 2874, + "loc": { + "start": { + "line": 71, + "column": 35 + }, + "end": { + "line": 71, + "column": 76 + } + }, + "left": { + "type": "LogicalExpression", + "start": 2833, + "end": 2861, + "loc": { + "start": { + "line": 71, + "column": 35 + }, + "end": { + "line": 71, + "column": 63 + } + }, + "left": { + "type": "Identifier", + "start": 2833, + "end": 2848, + "loc": { + "start": { + "line": 71, + "column": 35 + }, + "end": { + "line": 71, + "column": 50 + }, + "identifierName": "isFirstInstance" + }, + "name": "isFirstInstance" + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 2852, + "end": 2861, + "loc": { + "start": { + "line": 71, + "column": 54 + }, + "end": { + "line": 71, + "column": 63 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 2853, + "end": 2861, + "loc": { + "start": { + "line": 71, + "column": 55 + }, + "end": { + "line": 71, + "column": 63 + }, + "identifierName": "isGetter" + }, + "name": "isGetter" + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 2865, + "end": 2874, + "loc": { + "start": { + "line": 71, + "column": 67 + }, + "end": { + "line": 71, + "column": 76 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 2866, + "end": 2874, + "loc": { + "start": { + "line": 71, + "column": 68 + }, + "end": { + "line": 71, + "column": 76 }, - "computed": false + "identifierName": "isSetter" + }, + "name": "isSetter" + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "operator": "&&", + "right": { + "type": "UnaryExpression", + "start": 2878, + "end": 2887, + "loc": { + "start": { + "line": 71, + "column": 80 + }, + "end": { + "line": 71, + "column": 89 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 2879, + "end": 2887, + "loc": { + "start": { + "line": 71, + "column": 81 + }, + "end": { + "line": 71, + "column": 89 + }, + "identifierName": "isMethod" + }, + "name": "isMethod" + }, + "extra": { + "parenthesizedArgument": false + } + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2905, + "end": 2969, + "loc": { + "start": { + "line": 72, + "column": 16 + }, + "end": { + "line": 72, + "column": 80 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2911, + "end": 2968, + "loc": { + "start": { + "line": 72, + "column": 22 + }, + "end": { + "line": 72, + "column": 79 + } + }, + "id": { + "type": "Identifier", + "start": 2911, + "end": 2920, + "loc": { + "start": { + "line": 72, + "column": 22 + }, + "end": { + "line": 72, + "column": 31 + }, + "identifierName": "baseValue" + }, + "name": "baseValue" + }, + "init": { + "type": "ConditionalExpression", + "start": 2923, + "end": 2968, + "loc": { + "start": { + "line": 72, + "column": 34 + }, + "end": { + "line": 72, + "column": 79 + } + }, + "test": { + "type": "Identifier", + "start": 2923, + "end": 2931, + "loc": { + "start": { + "line": 72, + "column": 34 + }, + "end": { + "line": 72, + "column": 42 + }, + "identifierName": "isGetter" + }, + "name": "isGetter" + }, + "consequent": { + "type": "Identifier", + "start": 2934, + "end": 2937, + "loc": { + "start": { + "line": 72, + "column": 45 + }, + "end": { + "line": 72, + "column": 48 + }, + "identifierName": "get" + }, + "name": "get" + }, + "alternate": { + "type": "ConditionalExpression", + "start": 2940, + "end": 2968, + "loc": { + "start": { + "line": 72, + "column": 51 + }, + "end": { + "line": 72, + "column": 79 + } + }, + "test": { + "type": "Identifier", + "start": 2940, + "end": 2948, + "loc": { + "start": { + "line": 72, + "column": 51 + }, + "end": { + "line": 72, + "column": 59 + }, + "identifierName": "isMethod" + }, + "name": "isMethod" + }, + "consequent": { + "type": "Identifier", + "start": 2951, + "end": 2956, + "loc": { + "start": { + "line": 72, + "column": 62 + }, + "end": { + "line": 72, + "column": 67 + }, + "identifierName": "value" + }, + "name": "value" + }, + "alternate": { + "type": "Identifier", + "start": 2959, + "end": 2968, + "loc": { + "start": { + "line": 72, + "column": 70 + }, + "end": { + "line": 72, + "column": 79 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + } + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 2986, + "end": 3018, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 2986, + "end": 3017, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2986, + "end": 3011, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 2986, + "end": 3006, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 2986, + "end": 2995, + "loc": { + "start": { + "line": 73, + "column": 16 + }, + "end": { + "line": 73, + "column": 25 + }, + "identifierName": "chainData" + }, + "name": "chainData" + }, + "property": { + "type": "Identifier", + "start": 2996, + "end": 3006, + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 36 + }, + "identifierName": "properties" + }, + "name": "properties" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3007, + "end": 3011, + "loc": { + "start": { + "line": 73, + "column": 37 + }, + "end": { + "line": 73, + "column": 41 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 3012, + "end": 3016, + "loc": { + "start": { + "line": 73, + "column": 42 + }, + "end": { + "line": 73, + "column": 46 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3035, + "end": 3445, + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 82, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 3035, + "end": 3444, + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 82, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3035, + "end": 3053, + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 74, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 3035, + "end": 3048, + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 74, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 3035, + "end": 3044, + "loc": { + "start": { + "line": 74, + "column": 16 + }, + "end": { + "line": 74, + "column": 25 + }, + "identifierName": "chainData" + }, + "name": "chainData" + }, + "property": { + "type": "Identifier", + "start": 3045, + "end": 3048, + "loc": { + "start": { + "line": 74, + "column": 26 + }, + "end": { + "line": 74, + "column": 29 + }, + "identifierName": "fns" + }, + "name": "fns" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3049, + "end": 3053, + "loc": { + "start": { + "line": 74, + "column": 30 + }, + "end": { + "line": 74, + "column": 34 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 3054, + "end": 3443, + "loc": { + "start": { + "line": 74, + "column": 35 + }, + "end": { + "line": 82, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3055, + "end": 3057, + "loc": { + "start": { + "line": 74, + "column": 36 }, - "arguments": [ - { - "type": "Identifier", - "start": 2252, - "end": 2259, - "loc": { - "start": { - "line": 41, - "column": 44 - }, - "end": { - "line": 41, - "column": 51 - }, - "identifierName": "context" - }, - "name": "context" - }, - { - "type": "Identifier", - "start": 2261, - "end": 2267, - "loc": { - "start": { - "line": 41, - "column": 53 - }, - "end": { - "line": 41, - "column": 59 - }, - "identifierName": "config" - }, - "name": "config" - } - ] + "end": { + "line": 74, + "column": 38 + }, + "identifierName": "fn" }, - "extra": { - "parenthesizedArgument": false - } + "name": "fn" }, - "consequent": { - "type": "BlockStatement", - "start": 2270, - "end": 2328, + { + "type": "Identifier", + "start": 3059, + "end": 3067, "loc": { "start": { - "line": 41, - "column": 62 + "line": 74, + "column": 40 }, "end": { - "line": 43, - "column": 21 - } + "line": 74, + "column": 48 + }, + "identifierName": "instance" }, - "body": [ - { - "type": "ReturnStatement", - "start": 2296, - "end": 2306, + "name": "instance" + }, + { + "type": "Identifier", + "start": 3069, + "end": 3076, + "loc": { + "start": { + "line": 74, + "column": 50 + }, + "end": { + "line": 74, + "column": 57 + }, + "identifierName": "context" + }, + "name": "context" + } + ], + "body": { + "type": "BlockStatement", + "start": 3081, + "end": 3443, + "loc": { + "start": { + "line": 74, + "column": 62 + }, + "end": { + "line": 82, + "column": 17 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3103, + "end": 3203, + "loc": { + "start": { + "line": 75, + "column": 20 + }, + "end": { + "line": 77, + "column": 21 + } + }, + "test": { + "type": "UnaryExpression", + "start": 3107, + "end": 3143, "loc": { "start": { - "line": 42, + "line": 75, "column": 24 }, "end": { - "line": 42, - "column": 34 + "line": 75, + "column": 60 } }, + "operator": "!", + "prefix": true, "argument": { - "type": "Identifier", - "start": 2303, - "end": 2305, + "type": "CallExpression", + "start": 3108, + "end": 3143, "loc": { "start": { - "line": 42, - "column": 31 + "line": 75, + "column": 25 }, "end": { - "line": 42, - "column": 33 + "line": 75, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3108, + "end": 3126, + "loc": { + "start": { + "line": 75, + "column": 25 + }, + "end": { + "line": 75, + "column": 43 + } + }, + "object": { + "type": "ThisExpression", + "start": 3108, + "end": 3112, + "loc": { + "start": { + "line": 75, + "column": 25 + }, + "end": { + "line": 75, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "start": 3113, + "end": 3126, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 43 + }, + "identifierName": "_isApplicable" + }, + "name": "_isApplicable" }, - "identifierName": "fn" + "computed": false }, - "name": "fn" + "arguments": [ + { + "type": "Identifier", + "start": 3127, + "end": 3134, + "loc": { + "start": { + "line": 75, + "column": 44 + }, + "end": { + "line": 75, + "column": 51 + }, + "identifierName": "context" + }, + "name": "context" + }, + { + "type": "Identifier", + "start": 3136, + "end": 3142, + "loc": { + "start": { + "line": 75, + "column": 53 + }, + "end": { + "line": 75, + "column": 59 + }, + "identifierName": "config" + }, + "name": "config" + } + ] + }, + "extra": { + "parenthesizedArgument": false } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 2349, - "end": 2432, - "loc": { - "start": { - "line": 44, - "column": 20 - }, - "end": { - "line": 46, - "column": 21 - } - }, - "test": { - "type": "Identifier", - "start": 2353, - "end": 2358, - "loc": { - "start": { - "line": 44, - "column": 24 }, - "end": { - "line": 44, - "column": 29 + "consequent": { + "type": "BlockStatement", + "start": 3145, + "end": 3203, + "loc": { + "start": { + "line": 75, + "column": 62 + }, + "end": { + "line": 77, + "column": 21 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3171, + "end": 3181, + "loc": { + "start": { + "line": 76, + "column": 24 + }, + "end": { + "line": 76, + "column": 34 + } + }, + "argument": { + "type": "Identifier", + "start": 3178, + "end": 3180, + "loc": { + "start": { + "line": 76, + "column": 31 + }, + "end": { + "line": 76, + "column": 33 + }, + "identifierName": "fn" + }, + "name": "fn" + } + } + ], + "directives": [] }, - "identifierName": "bound" + "alternate": null }, - "name": "bound" - }, - "consequent": { - "type": "BlockStatement", - "start": 2360, - "end": 2432, - "loc": { - "start": { - "line": 44, - "column": 31 + { + "type": "IfStatement", + "start": 3224, + "end": 3307, + "loc": { + "start": { + "line": 78, + "column": 20 + }, + "end": { + "line": 80, + "column": 21 + } }, - "end": { - "line": 46, - "column": 21 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2386, - "end": 2410, + "test": { + "type": "Identifier", + "start": 3228, + "end": 3233, "loc": { "start": { - "line": 45, + "line": 78, "column": 24 }, "end": { - "line": 45, - "column": 48 - } + "line": 78, + "column": 29 + }, + "identifierName": "bound" }, - "expression": { - "type": "AssignmentExpression", - "start": 2386, - "end": 2409, - "loc": { - "start": { - "line": 45, - "column": 24 - }, - "end": { - "line": 45, - "column": 47 - } + "name": "bound" + }, + "consequent": { + "type": "BlockStatement", + "start": 3235, + "end": 3307, + "loc": { + "start": { + "line": 78, + "column": 31 }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2386, - "end": 2388, + "end": { + "line": 80, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3261, + "end": 3285, "loc": { "start": { - "line": 45, + "line": 79, "column": 24 }, "end": { - "line": 45, - "column": 26 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "right": { - "type": "CallExpression", - "start": 2391, - "end": 2409, - "loc": { - "start": { - "line": 45, - "column": 29 - }, - "end": { - "line": 45, - "column": 47 + "line": 79, + "column": 48 } }, - "callee": { - "type": "Identifier", - "start": 2391, - "end": 2395, + "expression": { + "type": "AssignmentExpression", + "start": 3261, + "end": 3284, "loc": { "start": { - "line": 45, - "column": 29 + "line": 79, + "column": 24 }, "end": { - "line": 45, - "column": 33 - }, - "identifierName": "bind" + "line": 79, + "column": 47 + } }, - "name": "bind" - }, - "arguments": [ - { + "operator": "=", + "left": { "type": "Identifier", - "start": 2396, - "end": 2398, + "start": 3261, + "end": 3263, "loc": { "start": { - "line": 45, - "column": 34 + "line": 79, + "column": 24 }, "end": { - "line": 45, - "column": 36 + "line": 79, + "column": 26 }, "identifierName": "fn" }, "name": "fn" }, - { - "type": "Identifier", - "start": 2400, - "end": 2408, + "right": { + "type": "CallExpression", + "start": 3266, + "end": 3284, "loc": { "start": { - "line": 45, - "column": 38 + "line": 79, + "column": 29 }, "end": { - "line": 45, - "column": 46 + "line": 79, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 3266, + "end": 3270, + "loc": { + "start": { + "line": 79, + "column": 29 + }, + "end": { + "line": 79, + "column": 33 + }, + "identifierName": "bind" }, - "identifierName": "instance" + "name": "bind" }, - "name": "instance" + "arguments": [ + { + "type": "Identifier", + "start": 3271, + "end": 3273, + "loc": { + "start": { + "line": 79, + "column": 34 + }, + "end": { + "line": 79, + "column": 36 + }, + "identifierName": "fn" + }, + "name": "fn" + }, + { + "type": "Identifier", + "start": 3275, + "end": 3283, + "loc": { + "start": { + "line": 79, + "column": 38 + }, + "end": { + "line": 79, + "column": 46 + }, + "identifierName": "instance" + }, + "name": "instance" + } + ] } - ] + } } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 2453, - "end": 2542, - "loc": { - "start": { - "line": 47, - "column": 20 - }, - "end": { - "line": 47, - "column": 109 - } - }, - "argument": { - "type": "CallExpression", - "start": 2460, - "end": 2541, - "loc": { - "start": { - "line": 47, - "column": 27 + ], + "directives": [] }, - "end": { - "line": 47, - "column": 108 - } + "alternate": null }, - "callee": { - "type": "Identifier", - "start": 2460, - "end": 2472, + { + "type": "ReturnStatement", + "start": 3328, + "end": 3425, "loc": { "start": { - "line": 47, - "column": 27 + "line": 81, + "column": 20 }, "end": { - "line": 47, - "column": 39 - }, - "identifierName": "copyMetadata" + "line": 81, + "column": 117 + } }, - "name": "copyMetadata" - }, - "arguments": [ - { + "argument": { "type": "CallExpression", - "start": 2473, - "end": 2536, + "start": 3335, + "end": 3424, "loc": { "start": { - "line": 47, - "column": 40 + "line": 81, + "column": 27 }, "end": { - "line": 47, - "column": 103 + "line": 81, + "column": 116 } }, "callee": { - "type": "MemberExpression", - "start": 2473, - "end": 2489, + "type": "Identifier", + "start": 3335, + "end": 3347, "loc": { "start": { - "line": 47, - "column": 40 + "line": 81, + "column": 27 }, "end": { - "line": 47, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 2473, - "end": 2483, - "loc": { - "start": { - "line": 47, - "column": 40 - }, - "end": { - "line": 47, - "column": 50 - }, - "identifierName": "applicator" - }, - "name": "applicator" - }, - "property": { - "type": "Identifier", - "start": 2484, - "end": 2489, - "loc": { - "start": { - "line": 47, - "column": 51 - }, - "end": { - "line": 47, - "column": 56 - }, - "identifierName": "apply" + "line": 81, + "column": 39 }, - "name": "apply" + "identifierName": "copyMetadata" }, - "computed": false + "name": "copyMetadata" }, "arguments": [ { - "type": "ObjectExpression", - "start": 2490, - "end": 2535, + "type": "CallExpression", + "start": 3348, + "end": 3419, "loc": { "start": { - "line": 47, - "column": 57 + "line": 81, + "column": 40 }, "end": { - "line": 47, - "column": 102 + "line": 81, + "column": 111 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 2492, - "end": 2496, - "loc": { - "start": { - "line": 47, - "column": 59 - }, - "end": { - "line": 47, - "column": 63 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 2492, - "end": 2496, - "loc": { - "start": { - "line": 47, - "column": 59 - }, - "end": { - "line": 47, - "column": 63 - }, - "identifierName": "args" - }, - "name": "args" - }, - "value": { - "type": "Identifier", - "start": 2492, - "end": 2496, - "loc": { - "start": { - "line": 47, - "column": 59 - }, - "end": { - "line": 47, - "column": 63 - }, - "identifierName": "args" - }, - "name": "args" + "callee": { + "type": "MemberExpression", + "start": 3348, + "end": 3364, + "loc": { + "start": { + "line": 81, + "column": 40 }, - "extra": { - "shorthand": true + "end": { + "line": 81, + "column": 56 } }, - { - "type": "ObjectProperty", - "start": 2498, - "end": 2504, + "object": { + "type": "Identifier", + "start": 3348, + "end": 3358, "loc": { "start": { - "line": 47, - "column": 65 + "line": 81, + "column": 40 }, "end": { - "line": 47, - "column": 71 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 2498, - "end": 2504, - "loc": { - "start": { - "line": 47, - "column": 65 - }, - "end": { - "line": 47, - "column": 71 - }, - "identifierName": "target" - }, - "name": "target" - }, - "value": { - "type": "Identifier", - "start": 2498, - "end": 2504, - "loc": { - "start": { - "line": 47, - "column": 65 - }, - "end": { - "line": 47, - "column": 71 - }, - "identifierName": "target" + "line": 81, + "column": 50 }, - "name": "target" + "identifierName": "applicator" }, - "extra": { - "shorthand": true - } + "name": "applicator" }, - { - "type": "ObjectProperty", - "start": 2506, - "end": 2514, + "property": { + "type": "Identifier", + "start": 3359, + "end": 3364, "loc": { - "start": { - "line": 47, - "column": 73 - }, - "end": { - "line": 47, - "column": 81 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 2506, - "end": 2514, - "loc": { - "start": { - "line": 47, - "column": 73 - }, - "end": { - "line": 47, - "column": 81 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - "value": { - "type": "Identifier", - "start": 2506, - "end": 2514, - "loc": { - "start": { - "line": 47, - "column": 73 - }, - "end": { - "line": 47, - "column": 81 - }, - "identifierName": "instance" + "start": { + "line": 81, + "column": 51 }, - "name": "instance" + "end": { + "line": 81, + "column": 56 + }, + "identifierName": "apply" }, - "extra": { - "shorthand": true - } + "name": "apply" }, + "computed": false + }, + "arguments": [ { - "type": "ObjectProperty", - "start": 2516, - "end": 2525, + "type": "ObjectExpression", + "start": 3365, + "end": 3418, "loc": { "start": { - "line": 47, - "column": 83 + "line": 81, + "column": 57 }, "end": { - "line": 47, - "column": 92 + "line": 81, + "column": 110 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2516, - "end": 2521, - "loc": { - "start": { - "line": 47, - "column": 83 + "properties": [ + { + "type": "ObjectProperty", + "start": 3367, + "end": 3379, + "loc": { + "start": { + "line": 81, + "column": 59 + }, + "end": { + "line": 81, + "column": 71 + } }, - "end": { - "line": 47, - "column": 88 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3367, + "end": 3371, + "loc": { + "start": { + "line": 81, + "column": 59 + }, + "end": { + "line": 81, + "column": 63 + }, + "identifierName": "args" + }, + "name": "args" }, - "identifierName": "value" + "value": { + "type": "Identifier", + "start": 3373, + "end": 3379, + "loc": { + "start": { + "line": 81, + "column": 65 + }, + "end": { + "line": 81, + "column": 71 + }, + "identifierName": "params" + }, + "name": "params" + } }, - "name": "value" - }, - "value": { - "type": "Identifier", - "start": 2523, - "end": 2525, - "loc": { - "start": { - "line": 47, - "column": 90 + { + "type": "ObjectProperty", + "start": 3381, + "end": 3387, + "loc": { + "start": { + "line": 81, + "column": 73 + }, + "end": { + "line": 81, + "column": 79 + } }, - "end": { - "line": 47, - "column": 92 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 3381, + "end": 3387, + "loc": { + "start": { + "line": 81, + "column": 73 + }, + "end": { + "line": 81, + "column": 79 + }, + "identifierName": "target" + }, + "name": "target" }, - "identifierName": "fn" - }, - "name": "fn" - } - }, - { - "type": "ObjectProperty", - "start": 2527, - "end": 2533, - "loc": { - "start": { - "line": 47, - "column": 94 + "value": { + "type": "Identifier", + "start": 3381, + "end": 3387, + "loc": { + "start": { + "line": 81, + "column": 73 + }, + "end": { + "line": 81, + "column": 79 + }, + "identifierName": "target" + }, + "name": "target" + }, + "extra": { + "shorthand": true + } }, - "end": { - "line": 47, - "column": 100 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 2527, - "end": 2533, - "loc": { - "start": { - "line": 47, - "column": 94 + { + "type": "ObjectProperty", + "start": 3389, + "end": 3397, + "loc": { + "start": { + "line": 81, + "column": 81 + }, + "end": { + "line": 81, + "column": 89 + } }, - "end": { - "line": 47, - "column": 100 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 3389, + "end": 3397, + "loc": { + "start": { + "line": 81, + "column": 81 + }, + "end": { + "line": 81, + "column": 89 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + "value": { + "type": "Identifier", + "start": 3389, + "end": 3397, + "loc": { + "start": { + "line": 81, + "column": 81 + }, + "end": { + "line": 81, + "column": 89 + }, + "identifierName": "instance" + }, + "name": "instance" }, - "identifierName": "config" + "extra": { + "shorthand": true + } }, - "name": "config" - }, - "value": { - "type": "Identifier", - "start": 2527, - "end": 2533, - "loc": { - "start": { - "line": 47, - "column": 94 + { + "type": "ObjectProperty", + "start": 3399, + "end": 3408, + "loc": { + "start": { + "line": 81, + "column": 91 + }, + "end": { + "line": 81, + "column": 100 + } }, - "end": { - "line": 47, - "column": 100 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3399, + "end": 3404, + "loc": { + "start": { + "line": 81, + "column": 91 + }, + "end": { + "line": 81, + "column": 96 + }, + "identifierName": "value" + }, + "name": "value" }, - "identifierName": "config" + "value": { + "type": "Identifier", + "start": 3406, + "end": 3408, + "loc": { + "start": { + "line": 81, + "column": 98 + }, + "end": { + "line": 81, + "column": 100 + }, + "identifierName": "fn" + }, + "name": "fn" + } }, - "name": "config" - }, - "extra": { - "shorthand": true - } + { + "type": "ObjectProperty", + "start": 3410, + "end": 3416, + "loc": { + "start": { + "line": 81, + "column": 102 + }, + "end": { + "line": 81, + "column": 108 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 3410, + "end": 3416, + "loc": { + "start": { + "line": 81, + "column": 102 + }, + "end": { + "line": 81, + "column": 108 + }, + "identifierName": "config" + }, + "name": "config" + }, + "value": { + "type": "Identifier", + "start": 3410, + "end": 3416, + "loc": { + "start": { + "line": 81, + "column": 102 + }, + "end": { + "line": 81, + "column": 108 + }, + "identifierName": "config" + }, + "name": "config" + }, + "extra": { + "shorthand": true + } + } + ] } ] + }, + { + "type": "Identifier", + "start": 3421, + "end": 3423, + "loc": { + "start": { + "line": 81, + "column": 113 + }, + "end": { + "line": 81, + "column": 115 + }, + "identifierName": "fn" + }, + "name": "fn" } ] - }, - { - "type": "Identifier", - "start": 2538, - "end": 2540, - "loc": { - "start": { - "line": 47, - "column": 105 - }, - "end": { - "line": 47, - "column": 107 - }, - "identifierName": "fn" - }, - "name": "fn" } - ] - } + } + ], + "directives": [] } - ], - "directives": [] + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3462, + "end": 3510, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 64 } + }, + "expression": { + "type": "CallExpression", + "start": 3462, + "end": 3509, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3462, + "end": 3482, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 3462, + "end": 3478, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 32 + }, + "identifierName": "InstanceChainMap" + }, + "name": "InstanceChainMap" + }, + "property": { + "type": "Identifier", + "start": 3479, + "end": 3482, + "loc": { + "start": { + "line": 83, + "column": 33 + }, + "end": { + "line": 83, + "column": 36 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 3483, + "end": 3497, + "loc": { + "start": { + "line": 83, + "column": 37 + }, + "end": { + "line": 83, + "column": 51 + } + }, + "elements": [ + { + "type": "Identifier", + "start": 3484, + "end": 3490, + "loc": { + "start": { + "line": 83, + "column": 38 + }, + "end": { + "line": 83, + "column": 44 + }, + "identifierName": "target" + }, + "name": "target" + }, + { + "type": "Identifier", + "start": 3492, + "end": 3496, + "loc": { + "start": { + "line": 83, + "column": 46 + }, + "end": { + "line": 83, + "column": 50 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + }, + { + "type": "Identifier", + "start": 3499, + "end": 3508, + "loc": { + "start": { + "line": 83, + "column": 53 + }, + "end": { + "line": 83, + "column": 62 + }, + "identifierName": "chainData" + }, + "name": "chainData" + } + ] } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2579, - "end": 2625, - "loc": { - "start": { - "line": 49, - "column": 16 }, - "end": { - "line": 49, - "column": 62 - } - }, - "expression": { - "type": "CallExpression", - "start": 2579, - "end": 2624, - "loc": { - "start": { - "line": 49, - "column": 16 + { + "type": "IfStatement", + "start": 3527, + "end": 3607, + "loc": { + "start": { + "line": 84, + "column": 16 + }, + "end": { + "line": 86, + "column": 17 + } }, - "end": { - "line": 49, - "column": 61 + "test": { + "type": "UnaryExpression", + "start": 3531, + "end": 3547, + "loc": { + "start": { + "line": 84, + "column": 20 + }, + "end": { + "line": 84, + "column": 36 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 3532, + "end": 3547, + "loc": { + "start": { + "line": 84, + "column": 21 + }, + "end": { + "line": 84, + "column": 36 + }, + "identifierName": "isFirstInstance" + }, + "name": "isFirstInstance" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3549, + "end": 3607, + "loc": { + "start": { + "line": 84, + "column": 38 + }, + "end": { + "line": 86, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3571, + "end": 3589, + "loc": { + "start": { + "line": 85, + "column": 20 + }, + "end": { + "line": 85, + "column": 38 + } + }, + "argument": { + "type": "Identifier", + "start": 3578, + "end": 3588, + "loc": { + "start": { + "line": 85, + "column": 27 + }, + "end": { + "line": 85, + "column": 37 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 3624, + "end": 3654, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3624, + "end": 3653, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 45 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3624, + "end": 3642, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 3624, + "end": 3633, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 25 + }, + "identifierName": "chainData" + }, + "name": "chainData" + }, + "property": { + "type": "Identifier", + "start": 3634, + "end": 3642, + "loc": { + "start": { + "line": 87, + "column": 26 + }, + "end": { + "line": 87, + "column": 34 + }, + "identifierName": "isSetter" + }, + "name": "isSetter" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 3645, + "end": 3653, + "loc": { + "start": { + "line": 87, + "column": 37 + }, + "end": { + "line": 87, + "column": 45 + }, + "identifierName": "isSetter" + }, + "name": "isSetter" + } } }, - "callee": { - "type": "MemberExpression", - "start": 2579, - "end": 2599, + { + "type": "ExpressionStatement", + "start": 3671, + "end": 3701, "loc": { "start": { - "line": 49, + "line": 88, "column": 16 }, "end": { - "line": 49, - "column": 36 + "line": 88, + "column": 46 } }, - "object": { - "type": "Identifier", - "start": 2579, - "end": 2595, + "expression": { + "type": "AssignmentExpression", + "start": 3671, + "end": 3700, "loc": { "start": { - "line": 49, + "line": 88, "column": 16 }, "end": { - "line": 49, - "column": 32 - }, - "identifierName": "InstanceChainMap" - }, - "name": "InstanceChainMap" - }, - "property": { - "type": "Identifier", - "start": 2596, - "end": 2599, - "loc": { - "start": { - "line": 49, - "column": 33 - }, - "end": { - "line": 49, - "column": 36 - }, - "identifierName": "set" - }, - "name": "set" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 2600, - "end": 2614, - "loc": { - "start": { - "line": 49, - "column": 37 - }, - "end": { - "line": 49, - "column": 51 + "line": 88, + "column": 45 } }, - "elements": [ - { + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3671, + "end": 3689, + "loc": { + "start": { + "line": 88, + "column": 16 + }, + "end": { + "line": 88, + "column": 34 + } + }, + "object": { "type": "Identifier", - "start": 2601, - "end": 2607, + "start": 3671, + "end": 3680, "loc": { "start": { - "line": 49, - "column": 38 + "line": 88, + "column": 16 }, "end": { - "line": 49, - "column": 44 + "line": 88, + "column": 25 }, - "identifierName": "target" + "identifierName": "chainData" }, - "name": "target" + "name": "chainData" }, - { + "property": { "type": "Identifier", - "start": 2609, - "end": 2613, + "start": 3681, + "end": 3689, "loc": { "start": { - "line": 49, - "column": 46 + "line": 88, + "column": 26 }, "end": { - "line": 49, - "column": 50 + "line": 88, + "column": 34 }, - "identifierName": "name" + "identifierName": "isGetter" }, - "name": "name" - } - ] - }, - { - "type": "Identifier", - "start": 2616, - "end": 2623, - "loc": { - "start": { - "line": 49, - "column": 53 + "name": "isGetter" }, - "end": { - "line": 49, - "column": 60 - }, - "identifierName": "fnChain" + "computed": false }, - "name": "fnChain" - } - ] - } - }, - { - "type": "IfStatement", - "start": 2642, - "end": 2722, - "loc": { - "start": { - "line": 50, - "column": 16 - }, - "end": { - "line": 52, - "column": 17 - } - }, - "test": { - "type": "UnaryExpression", - "start": 2646, - "end": 2662, - "loc": { - "start": { - "line": 50, - "column": 20 - }, - "end": { - "line": 50, - "column": 36 + "right": { + "type": "Identifier", + "start": 3692, + "end": 3700, + "loc": { + "start": { + "line": 88, + "column": 37 + }, + "end": { + "line": 88, + "column": 45 + }, + "identifierName": "isGetter" + }, + "name": "isGetter" + } } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 2647, - "end": 2662, + { + "type": "ExpressionStatement", + "start": 3718, + "end": 3748, "loc": { "start": { - "line": 50, - "column": 21 + "line": 89, + "column": 16 }, "end": { - "line": 50, - "column": 36 - }, - "identifierName": "isFirstInstance" - }, - "name": "isFirstInstance" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 2664, - "end": 2722, - "loc": { - "start": { - "line": 50, - "column": 38 + "line": 89, + "column": 46 + } }, - "end": { - "line": 52, - "column": 17 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2686, - "end": 2704, + "expression": { + "type": "AssignmentExpression", + "start": 3718, + "end": 3747, "loc": { "start": { - "line": 51, - "column": 20 + "line": 89, + "column": 16 }, "end": { - "line": 51, - "column": 38 + "line": 89, + "column": 45 } }, - "argument": { - "type": "Identifier", - "start": 2693, - "end": 2703, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3718, + "end": 3736, "loc": { "start": { - "line": 51, - "column": 27 + "line": 89, + "column": 16 }, "end": { - "line": 51, + "line": 89, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 3718, + "end": 3727, + "loc": { + "start": { + "line": 89, + "column": 16 + }, + "end": { + "line": 89, + "column": 25 + }, + "identifierName": "chainData" + }, + "name": "chainData" + }, + "property": { + "type": "Identifier", + "start": 3728, + "end": 3736, + "loc": { + "start": { + "line": 89, + "column": 26 + }, + "end": { + "line": 89, + "column": 34 + }, + "identifierName": "isMethod" + }, + "name": "isMethod" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 3739, + "end": 3747, + "loc": { + "start": { + "line": 89, "column": 37 }, - "identifierName": "descriptor" + "end": { + "line": 89, + "column": 45 + }, + "identifierName": "isMethod" }, - "name": "descriptor" + "name": "isMethod" } } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 2739, - "end": 2903, - "loc": { - "start": { - "line": 53, - "column": 16 }, - "end": { - "line": 55, - "column": 18 - } - }, - "declarations": [ { - "type": "VariableDeclarator", - "start": 2745, - "end": 2902, + "type": "ExpressionStatement", + "start": 3765, + "end": 3799, "loc": { "start": { - "line": 53, - "column": 22 + "line": 90, + "column": 16 }, "end": { - "line": 55, - "column": 17 + "line": 90, + "column": 50 } }, - "id": { - "type": "Identifier", - "start": 2745, - "end": 2755, - "loc": { - "start": { - "line": 53, - "column": 22 - }, - "end": { - "line": 53, - "column": 32 - }, - "identifierName": "applyChain" - }, - "name": "applyChain" - }, - "init": { - "type": "ArrowFunctionExpression", - "start": 2758, - "end": 2902, + "expression": { + "type": "AssignmentExpression", + "start": 3765, + "end": 3798, "loc": { "start": { - "line": 53, - "column": 35 + "line": 90, + "column": 16 }, "end": { - "line": 55, - "column": 17 + "line": 90, + "column": 49 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3765, + "end": 3785, + "loc": { + "start": { + "line": 90, + "column": 16 + }, + "end": { + "line": 90, + "column": 36 + } + }, + "object": { "type": "Identifier", - "start": 2759, - "end": 2761, + "start": 3765, + "end": 3774, "loc": { "start": { - "line": 53, - "column": 36 + "line": 90, + "column": 16 }, "end": { - "line": 53, - "column": 38 + "line": 90, + "column": 25 }, - "identifierName": "fn" + "identifierName": "chainData" }, - "name": "fn" + "name": "chainData" }, - { + "property": { "type": "Identifier", - "start": 2763, - "end": 2770, + "start": 3775, + "end": 3785, "loc": { "start": { - "line": 53, - "column": 40 + "line": 90, + "column": 26 }, "end": { - "line": 53, - "column": 47 + "line": 90, + "column": 36 }, - "identifierName": "context" + "identifierName": "isProperty" }, - "name": "context" + "name": "isProperty" }, - { + "computed": false + }, + "right": { + "type": "Identifier", + "start": 3788, + "end": 3798, + "loc": { + "start": { + "line": 90, + "column": 39 + }, + "end": { + "line": 90, + "column": 49 + }, + "identifierName": "isProperty" + }, + "name": "isProperty" + } + } + }, + { + "type": "VariableDeclaration", + "start": 3816, + "end": 3986, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 93, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3822, + "end": 3985, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 93, + "column": 17 + } + }, + "id": { "type": "Identifier", - "start": 2772, - "end": 2780, + "start": 3822, + "end": 3832, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 32 + }, + "identifierName": "applyChain" + }, + "name": "applyChain" + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 3835, + "end": 3985, "loc": { "start": { - "line": 53, - "column": 49 + "line": 91, + "column": 35 }, "end": { - "line": 53, - "column": 57 + "line": 93, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3836, + "end": 3838, + "loc": { + "start": { + "line": 91, + "column": 36 + }, + "end": { + "line": 91, + "column": 38 + }, + "identifierName": "fn" + }, + "name": "fn" }, - "identifierName": "instance" - }, - "name": "instance" - } - ], - "body": { - "type": "BlockStatement", - "start": 2785, - "end": 2902, - "loc": { - "start": { - "line": 53, - "column": 62 - }, - "end": { - "line": 55, - "column": 17 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2807, - "end": 2884, - "loc": { - "start": { - "line": 54, - "column": 20 + { + "type": "Identifier", + "start": 3840, + "end": 3847, + "loc": { + "start": { + "line": 91, + "column": 40 + }, + "end": { + "line": 91, + "column": 47 + }, + "identifierName": "context" }, - "end": { - "line": 54, - "column": 97 - } + "name": "context" }, - "argument": { - "type": "CallExpression", - "start": 2814, - "end": 2883, + { + "type": "Identifier", + "start": 3849, + "end": 3857, "loc": { "start": { - "line": 54, - "column": 27 + "line": 91, + "column": 49 }, "end": { - "line": 54, - "column": 96 - } + "line": 91, + "column": 57 + }, + "identifierName": "instance" }, - "callee": { - "type": "MemberExpression", - "start": 2814, - "end": 2828, + "name": "instance" + } + ], + "body": { + "type": "BlockStatement", + "start": 3862, + "end": 3985, + "loc": { + "start": { + "line": 91, + "column": 62 + }, + "end": { + "line": 93, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3884, + "end": 3967, "loc": { "start": { - "line": 54, - "column": 27 + "line": 92, + "column": 20 }, "end": { - "line": 54, - "column": 41 + "line": 92, + "column": 103 } }, - "object": { - "type": "Identifier", - "start": 2814, - "end": 2821, + "argument": { + "type": "CallExpression", + "start": 3891, + "end": 3966, "loc": { "start": { - "line": 54, + "line": 92, "column": 27 }, "end": { - "line": 54, - "column": 34 - }, - "identifierName": "fnChain" - }, - "name": "fnChain" - }, - "property": { - "type": "Identifier", - "start": 2822, - "end": 2828, - "loc": { - "start": { - "line": 54, - "column": 35 - }, - "end": { - "line": 54, - "column": 41 - }, - "identifierName": "reduce" - }, - "name": "reduce" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 2829, - "end": 2878, - "loc": { - "start": { - "line": 54, - "column": 42 - }, - "end": { - "line": 54, - "column": 91 + "line": 92, + "column": 102 } }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2830, - "end": 2836, - "loc": { - "start": { - "line": 54, - "column": 43 - }, - "end": { - "line": 54, - "column": 49 - }, - "identifierName": "result" - }, - "name": "result" - }, - { - "type": "Identifier", - "start": 2838, - "end": 2842, - "loc": { - "start": { - "line": 54, - "column": 51 - }, - "end": { - "line": 54, - "column": 55 - }, - "identifierName": "next" - }, - "name": "next" - } - ], - "body": { - "type": "CallExpression", - "start": 2847, - "end": 2878, + "callee": { + "type": "MemberExpression", + "start": 3891, + "end": 3911, "loc": { "start": { - "line": 54, - "column": 60 + "line": 92, + "column": 27 }, "end": { - "line": 54, - "column": 91 + "line": 92, + "column": 47 } }, - "callee": { - "type": "Identifier", - "start": 2847, - "end": 2851, + "object": { + "type": "MemberExpression", + "start": 3891, + "end": 3904, "loc": { "start": { - "line": 54, - "column": 60 + "line": 92, + "column": 27 }, "end": { - "line": 54, - "column": 64 - }, - "identifierName": "next" + "line": 92, + "column": 40 + } }, - "name": "next" - }, - "arguments": [ - { + "object": { "type": "Identifier", - "start": 2852, - "end": 2858, + "start": 3891, + "end": 3900, "loc": { "start": { - "line": 54, - "column": 65 + "line": 92, + "column": 27 }, "end": { - "line": 54, - "column": 71 + "line": 92, + "column": 36 }, - "identifierName": "result" + "identifierName": "chainData" }, - "name": "result" + "name": "chainData" }, - { + "property": { "type": "Identifier", - "start": 2860, - "end": 2868, + "start": 3901, + "end": 3904, "loc": { "start": { - "line": 54, - "column": 73 + "line": 92, + "column": 37 }, "end": { - "line": 54, - "column": 81 + "line": 92, + "column": 40 }, - "identifierName": "instance" + "identifierName": "fns" }, - "name": "instance" + "name": "fns" }, - { - "type": "Identifier", - "start": 2870, - "end": 2877, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3905, + "end": 3911, + "loc": { + "start": { + "line": 92, + "column": 41 + }, + "end": { + "line": 92, + "column": 47 + }, + "identifierName": "reduce" + }, + "name": "reduce" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 3912, + "end": 3961, + "loc": { + "start": { + "line": 92, + "column": 48 + }, + "end": { + "line": 92, + "column": 97 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3913, + "end": 3919, + "loc": { + "start": { + "line": 92, + "column": 49 + }, + "end": { + "line": 92, + "column": 55 + }, + "identifierName": "result" + }, + "name": "result" + }, + { + "type": "Identifier", + "start": 3921, + "end": 3925, + "loc": { + "start": { + "line": 92, + "column": 57 + }, + "end": { + "line": 92, + "column": 61 + }, + "identifierName": "next" + }, + "name": "next" + } + ], + "body": { + "type": "CallExpression", + "start": 3930, + "end": 3961, "loc": { "start": { - "line": 54, - "column": 83 + "line": 92, + "column": 66 }, "end": { - "line": 54, - "column": 90 + "line": 92, + "column": 97 + } + }, + "callee": { + "type": "Identifier", + "start": 3930, + "end": 3934, + "loc": { + "start": { + "line": 92, + "column": 66 + }, + "end": { + "line": 92, + "column": 70 + }, + "identifierName": "next" }, - "identifierName": "context" + "name": "next" }, - "name": "context" + "arguments": [ + { + "type": "Identifier", + "start": 3935, + "end": 3941, + "loc": { + "start": { + "line": 92, + "column": 71 + }, + "end": { + "line": 92, + "column": 77 + }, + "identifierName": "result" + }, + "name": "result" + }, + { + "type": "Identifier", + "start": 3943, + "end": 3951, + "loc": { + "start": { + "line": 92, + "column": 79 + }, + "end": { + "line": 92, + "column": 87 + }, + "identifierName": "instance" + }, + "name": "instance" + }, + { + "type": "Identifier", + "start": 3953, + "end": 3960, + "loc": { + "start": { + "line": 92, + "column": 89 + }, + "end": { + "line": 92, + "column": 96 + }, + "identifierName": "context" + }, + "name": "context" + } + ] } - ] - } - }, - { - "type": "Identifier", - "start": 2880, - "end": 2882, - "loc": { - "start": { - "line": 54, - "column": 93 - }, - "end": { - "line": 54, - "column": 95 }, - "identifierName": "fn" - }, - "name": "fn" - } - ] - } - } - ], - "directives": [] - } - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 2920, - "end": 4383, - "loc": { - "start": { - "line": 56, - "column": 16 + { + "type": "Identifier", + "start": 3963, + "end": 3965, + "loc": { + "start": { + "line": 92, + "column": 99 + }, + "end": { + "line": 92, + "column": 101 + }, + "identifierName": "fn" + }, + "name": "fn" + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "kind": "const" }, - "end": { - "line": 85, - "column": 18 - } - }, - "declarations": [ { - "type": "VariableDeclarator", - "start": 2926, - "end": 4382, + "type": "VariableDeclaration", + "start": 4003, + "end": 5466, "loc": { "start": { - "line": 56, - "column": 22 + "line": 94, + "column": 16 }, "end": { - "line": 85, - "column": 17 + "line": 123, + "column": 18 } }, - "id": { - "type": "Identifier", - "start": 2926, - "end": 2940, - "loc": { - "start": { - "line": 56, - "column": 22 - }, - "end": { - "line": 56, - "column": 36 - }, - "identifierName": "applyDecorator" - }, - "name": "applyDecorator" - }, - "init": { - "type": "ArrowFunctionExpression", - "start": 2943, - "end": 4382, - "loc": { - "start": { - "line": 56, - "column": 39 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4009, + "end": 5465, + "loc": { + "start": { + "line": 94, + "column": 22 + }, + "end": { + "line": 123, + "column": 17 + } }, - "end": { - "line": 85, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "id": { "type": "Identifier", - "start": 2944, - "end": 2952, + "start": 4009, + "end": 4023, "loc": { "start": { - "line": 56, - "column": 40 + "line": 94, + "column": 22 }, "end": { - "line": 56, - "column": 48 + "line": 94, + "column": 36 }, - "identifierName": "instance" - }, - "name": "instance" - } - ], - "body": { - "type": "BlockStatement", - "start": 2957, - "end": 4382, - "loc": { - "start": { - "line": 56, - "column": 53 + "identifierName": "applyDecorator" }, - "end": { - "line": 85, - "column": 17 - } + "name": "applyDecorator" }, - "body": [ - { - "type": "VariableDeclaration", - "start": 2979, - "end": 3009, - "loc": { - "start": { - "line": 57, - "column": 20 - }, - "end": { - "line": 57, - "column": 50 - } + "init": { + "type": "ArrowFunctionExpression", + "start": 4026, + "end": 5465, + "loc": { + "start": { + "line": 94, + "column": 39 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2983, - "end": 3008, - "loc": { - "start": { - "line": 57, - "column": 24 - }, - "end": { - "line": 57, - "column": 49 - } + "end": { + "line": 123, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4027, + "end": 4035, + "loc": { + "start": { + "line": 94, + "column": 40 }, - "id": { - "type": "Identifier", - "start": 2983, - "end": 2989, - "loc": { - "start": { - "line": 57, - "column": 24 - }, - "end": { - "line": 57, - "column": 30 - }, - "identifierName": "getter" - }, - "name": "getter" + "end": { + "line": 94, + "column": 48 }, - "init": { - "type": "LogicalExpression", - "start": 2992, - "end": 3008, - "loc": { - "start": { - "line": 57, - "column": 33 - }, - "end": { - "line": 57, - "column": 49 - } - }, - "left": { - "type": "Identifier", - "start": 2992, - "end": 2995, - "loc": { - "start": { - "line": 57, - "column": 33 - }, - "end": { - "line": 57, - "column": 36 - }, - "identifierName": "get" - }, - "name": "get" - }, - "operator": "||", - "right": { - "type": "Identifier", - "start": 2999, - "end": 3008, - "loc": { - "start": { - "line": 57, - "column": 40 - }, - "end": { - "line": 57, - "column": 49 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 3030, - "end": 3060, + "identifierName": "instance" + }, + "name": "instance" + } + ], + "body": { + "type": "BlockStatement", + "start": 4040, + "end": 5465, "loc": { "start": { - "line": 58, - "column": 20 + "line": 94, + "column": 53 }, "end": { - "line": 58, - "column": 50 + "line": 123, + "column": 17 } }, - "declarations": [ + "body": [ { - "type": "VariableDeclarator", - "start": 3034, - "end": 3059, + "type": "VariableDeclaration", + "start": 4062, + "end": 4092, "loc": { "start": { - "line": 58, - "column": 24 + "line": 95, + "column": 20 }, "end": { - "line": 58, - "column": 49 + "line": 95, + "column": 50 } }, - "id": { - "type": "Identifier", - "start": 3034, - "end": 3040, - "loc": { - "start": { - "line": 58, - "column": 24 - }, - "end": { - "line": 58, - "column": 30 - }, - "identifierName": "setter" - }, - "name": "setter" - }, - "init": { - "type": "LogicalExpression", - "start": 3043, - "end": 3059, - "loc": { - "start": { - "line": 58, - "column": 33 - }, - "end": { - "line": 58, - "column": 49 - } - }, - "left": { - "type": "Identifier", - "start": 3043, - "end": 3046, - "loc": { - "start": { - "line": 58, - "column": 33 - }, - "end": { - "line": 58, - "column": 36 - }, - "identifierName": "set" - }, - "name": "set" - }, - "operator": "||", - "right": { - "type": "Identifier", - "start": 3050, - "end": 3059, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4066, + "end": 4091, "loc": { "start": { - "line": 58, - "column": 40 + "line": 95, + "column": 24 }, "end": { - "line": 58, + "line": 95, "column": 49 - }, - "identifierName": "undefined" + } }, - "name": "undefined" - } - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 3081, - "end": 4364, - "loc": { - "start": { - "line": 59, - "column": 20 - }, - "end": { - "line": 84, - "column": 21 - } - }, - "test": { - "type": "LogicalExpression", - "start": 3085, - "end": 3105, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 44 - } - }, - "left": { - "type": "Identifier", - "start": 3085, - "end": 3093, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 32 - }, - "identifierName": "isGetter" - }, - "name": "isGetter" - }, - "operator": "||", - "right": { - "type": "Identifier", - "start": 3097, - "end": 3105, - "loc": { - "start": { - "line": 59, - "column": 36 - }, - "end": { - "line": 59, - "column": 44 - }, - "identifierName": "isSetter" - }, - "name": "isSetter" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3107, - "end": 3818, - "loc": { - "start": { - "line": 59, - "column": 46 - }, - "end": { - "line": 73, - "column": 21 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 3246, - "end": 3381, - "loc": { - "start": { - "line": 61, - "column": 24 + "id": { + "type": "Identifier", + "start": 4066, + "end": 4072, + "loc": { + "start": { + "line": 95, + "column": 24 + }, + "end": { + "line": 95, + "column": 30 + }, + "identifierName": "getter" + }, + "name": "getter" }, - "end": { - "line": 63, - "column": 25 + "init": { + "type": "LogicalExpression", + "start": 4075, + "end": 4091, + "loc": { + "start": { + "line": 95, + "column": 33 + }, + "end": { + "line": 95, + "column": 49 + } + }, + "left": { + "type": "Identifier", + "start": 4075, + "end": 4078, + "loc": { + "start": { + "line": 95, + "column": 33 + }, + "end": { + "line": 95, + "column": 36 + }, + "identifierName": "get" + }, + "name": "get" + }, + "operator": "||", + "right": { + "type": "Identifier", + "start": 4082, + "end": 4091, + "loc": { + "start": { + "line": 95, + "column": 40 + }, + "end": { + "line": 95, + "column": 49 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 4113, + "end": 4143, + "loc": { + "start": { + "line": 96, + "column": 20 }, - "test": { - "type": "Identifier", - "start": 3250, - "end": 3258, + "end": { + "line": 96, + "column": 50 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4117, + "end": 4142, "loc": { "start": { - "line": 61, - "column": 28 + "line": 96, + "column": 24 }, "end": { - "line": 61, - "column": 36 - }, - "identifierName": "isGetter" + "line": 96, + "column": 49 + } }, - "name": "isGetter", - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 3260, - "end": 3381, - "loc": { - "start": { - "line": 61, - "column": 38 + "id": { + "type": "Identifier", + "start": 4117, + "end": 4123, + "loc": { + "start": { + "line": 96, + "column": 24 + }, + "end": { + "line": 96, + "column": 30 + }, + "identifierName": "setter" }, - "end": { - "line": 63, - "column": 25 - } + "name": "setter" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3290, - "end": 3355, + "init": { + "type": "LogicalExpression", + "start": 4126, + "end": 4142, + "loc": { + "start": { + "line": 96, + "column": 33 + }, + "end": { + "line": 96, + "column": 49 + } + }, + "left": { + "type": "Identifier", + "start": 4126, + "end": 4129, "loc": { "start": { - "line": 62, - "column": 28 + "line": 96, + "column": 33 }, "end": { - "line": 62, - "column": 93 - } + "line": 96, + "column": 36 + }, + "identifierName": "set" }, - "expression": { - "type": "AssignmentExpression", - "start": 3290, - "end": 3354, - "loc": { - "start": { - "line": 62, - "column": 28 - }, - "end": { - "line": 62, - "column": 92 - } + "name": "set" + }, + "operator": "||", + "right": { + "type": "Identifier", + "start": 4133, + "end": 4142, + "loc": { + "start": { + "line": 96, + "column": 40 }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 3290, - "end": 3296, - "loc": { - "start": { - "line": 62, - "column": 28 - }, - "end": { - "line": 62, - "column": 34 - }, - "identifierName": "getter" - }, - "name": "getter" + "end": { + "line": 96, + "column": 49 }, - "right": { - "type": "CallExpression", - "start": 3299, - "end": 3354, - "loc": { - "start": { - "line": 62, - "column": 37 - }, - "end": { - "line": 62, - "column": 92 - } - }, - "callee": { - "type": "Identifier", - "start": 3299, - "end": 3309, - "loc": { - "start": { - "line": 62, - "column": 37 - }, - "end": { - "line": 62, - "column": 47 - }, - "identifierName": "applyChain" - }, - "name": "applyChain" - }, - "arguments": [ - { - "type": "Identifier", - "start": 3310, - "end": 3313, - "loc": { - "start": { - "line": 62, - "column": 48 - }, - "end": { - "line": 62, - "column": 51 - }, - "identifierName": "get" - }, - "name": "get" - }, - { - "type": "ObjectExpression", - "start": 3315, - "end": 3343, - "loc": { - "start": { - "line": 62, - "column": 53 - }, - "end": { - "line": 62, - "column": 81 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 3317, - "end": 3327, - "loc": { - "start": { - "line": 62, - "column": 55 - }, - "end": { - "line": 62, - "column": 65 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3317, - "end": 3322, - "loc": { - "start": { - "line": 62, - "column": 55 - }, - "end": { - "line": 62, - "column": 60 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "Identifier", - "start": 3324, - "end": 3327, - "loc": { - "start": { - "line": 62, - "column": 62 - }, - "end": { - "line": 62, - "column": 65 - }, - "identifierName": "get" - }, - "name": "get" - } - }, - { - "type": "ObjectProperty", - "start": 3329, - "end": 3341, - "loc": { - "start": { - "line": 62, - "column": 67 - }, - "end": { - "line": 62, - "column": 79 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3329, - "end": 3335, - "loc": { - "start": { - "line": 62, - "column": 67 - }, - "end": { - "line": 62, - "column": 73 - }, - "identifierName": "getter" - }, - "name": "getter" - }, - "value": { - "type": "BooleanLiteral", - "start": 3337, - "end": 3341, - "loc": { - "start": { - "line": 62, - "column": 75 - }, - "end": { - "line": 62, - "column": 79 - } - }, - "value": true - } - } - ] - }, - { - "type": "Identifier", - "start": 3345, - "end": 3353, - "loc": { - "start": { - "line": 62, - "column": 83 - }, - "end": { - "line": 62, - "column": 91 - }, - "identifierName": "instance" - }, - "name": "instance" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If we have a getter apply the decorators to the getter and assign it to the instance.", - "start": 3133, - "end": 3221, - "loc": { - "start": { - "line": 60, - "column": 24 + "identifierName": "undefined" }, - "end": { - "line": 60, - "column": 112 - } + "name": "undefined" } } - ] + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 4164, + "end": 5447, + "loc": { + "start": { + "line": 97, + "column": 20 + }, + "end": { + "line": 122, + "column": 21 + } }, - { - "type": "IfStatement", - "start": 3406, - "end": 3541, + "test": { + "type": "LogicalExpression", + "start": 4168, + "end": 4188, "loc": { "start": { - "line": 64, + "line": 97, "column": 24 }, "end": { - "line": 66, - "column": 25 + "line": 97, + "column": 44 } }, - "test": { + "left": { "type": "Identifier", - "start": 3410, - "end": 3418, + "start": 4168, + "end": 4176, "loc": { "start": { - "line": 64, - "column": 28 + "line": 97, + "column": 24 }, "end": { - "line": 64, - "column": 36 + "line": 97, + "column": 32 }, - "identifierName": "isSetter" + "identifierName": "isGetter" }, - "name": "isSetter" + "name": "isGetter" }, - "consequent": { - "type": "BlockStatement", - "start": 3420, - "end": 3541, + "operator": "||", + "right": { + "type": "Identifier", + "start": 4180, + "end": 4188, "loc": { "start": { - "line": 64, - "column": 38 + "line": 97, + "column": 36 }, "end": { - "line": 66, - "column": 25 - } + "line": 97, + "column": 44 + }, + "identifierName": "isSetter" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3450, - "end": 3515, + "name": "isSetter" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 4190, + "end": 4901, + "loc": { + "start": { + "line": 97, + "column": 46 + }, + "end": { + "line": 111, + "column": 21 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 4329, + "end": 4464, + "loc": { + "start": { + "line": 99, + "column": 24 + }, + "end": { + "line": 101, + "column": 25 + } + }, + "test": { + "type": "Identifier", + "start": 4333, + "end": 4341, "loc": { "start": { - "line": 65, + "line": 99, "column": 28 }, "end": { - "line": 65, - "column": 93 - } + "line": 99, + "column": 36 + }, + "identifierName": "isGetter" }, - "expression": { - "type": "AssignmentExpression", - "start": 3450, - "end": 3514, - "loc": { - "start": { - "line": 65, - "column": 28 - }, - "end": { - "line": 65, - "column": 92 - } + "name": "isGetter", + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 4343, + "end": 4464, + "loc": { + "start": { + "line": 99, + "column": 38 }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 3450, - "end": 3456, + "end": { + "line": 101, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4373, + "end": 4438, "loc": { "start": { - "line": 65, + "line": 100, "column": 28 }, "end": { - "line": 65, - "column": 34 - }, - "identifierName": "setter" - }, - "name": "setter" - }, - "right": { - "type": "CallExpression", - "start": 3459, - "end": 3514, - "loc": { - "start": { - "line": 65, - "column": 37 - }, - "end": { - "line": 65, - "column": 92 + "line": 100, + "column": 93 } }, - "callee": { - "type": "Identifier", - "start": 3459, - "end": 3469, + "expression": { + "type": "AssignmentExpression", + "start": 4373, + "end": 4437, "loc": { "start": { - "line": 65, - "column": 37 + "line": 100, + "column": 28 }, "end": { - "line": 65, - "column": 47 - }, - "identifierName": "applyChain" + "line": 100, + "column": 92 + } }, - "name": "applyChain" - }, - "arguments": [ - { + "operator": "=", + "left": { "type": "Identifier", - "start": 3470, - "end": 3473, + "start": 4373, + "end": 4379, "loc": { "start": { - "line": 65, - "column": 48 + "line": 100, + "column": 28 }, "end": { - "line": 65, - "column": 51 + "line": 100, + "column": 34 }, - "identifierName": "set" + "identifierName": "getter" }, - "name": "set" + "name": "getter" }, - { - "type": "ObjectExpression", - "start": 3475, - "end": 3503, + "right": { + "type": "CallExpression", + "start": 4382, + "end": 4437, "loc": { "start": { - "line": 65, - "column": 53 + "line": 100, + "column": 37 }, "end": { - "line": 65, - "column": 81 + "line": 100, + "column": 92 } }, - "properties": [ + "callee": { + "type": "Identifier", + "start": 4382, + "end": 4392, + "loc": { + "start": { + "line": 100, + "column": 37 + }, + "end": { + "line": 100, + "column": 47 + }, + "identifierName": "applyChain" + }, + "name": "applyChain" + }, + "arguments": [ { - "type": "ObjectProperty", - "start": 3477, - "end": 3487, + "type": "Identifier", + "start": 4393, + "end": 4396, "loc": { "start": { - "line": 65, - "column": 55 + "line": 100, + "column": 48 }, "end": { - "line": 65, - "column": 65 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3477, - "end": 3482, - "loc": { - "start": { - "line": 65, - "column": 55 - }, - "end": { - "line": 65, - "column": 60 - }, - "identifierName": "value" + "line": 100, + "column": 51 }, - "name": "value" + "identifierName": "get" }, - "value": { - "type": "Identifier", - "start": 3484, - "end": 3487, - "loc": { - "start": { - "line": 65, - "column": 62 - }, - "end": { - "line": 65, - "column": 65 - }, - "identifierName": "set" - }, - "name": "set" - } + "name": "get" }, { - "type": "ObjectProperty", - "start": 3489, - "end": 3501, + "type": "ObjectExpression", + "start": 4398, + "end": 4426, "loc": { "start": { - "line": 65, - "column": 67 + "line": 100, + "column": 53 }, "end": { - "line": 65, - "column": 79 + "line": 100, + "column": 81 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3489, - "end": 3495, - "loc": { - "start": { - "line": 65, - "column": 67 + "properties": [ + { + "type": "ObjectProperty", + "start": 4400, + "end": 4410, + "loc": { + "start": { + "line": 100, + "column": 55 + }, + "end": { + "line": 100, + "column": 65 + } }, - "end": { - "line": 65, - "column": 73 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4400, + "end": 4405, + "loc": { + "start": { + "line": 100, + "column": 55 + }, + "end": { + "line": 100, + "column": 60 + }, + "identifierName": "value" + }, + "name": "value" }, - "identifierName": "setter" + "value": { + "type": "Identifier", + "start": 4407, + "end": 4410, + "loc": { + "start": { + "line": 100, + "column": 62 + }, + "end": { + "line": 100, + "column": 65 + }, + "identifierName": "get" + }, + "name": "get" + } }, - "name": "setter" - }, - "value": { - "type": "BooleanLiteral", - "start": 3497, - "end": 3501, - "loc": { - "start": { - "line": 65, - "column": 75 + { + "type": "ObjectProperty", + "start": 4412, + "end": 4424, + "loc": { + "start": { + "line": 100, + "column": 67 + }, + "end": { + "line": 100, + "column": 79 + } }, - "end": { - "line": 65, - "column": 79 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4412, + "end": 4418, + "loc": { + "start": { + "line": 100, + "column": 67 + }, + "end": { + "line": 100, + "column": 73 + }, + "identifierName": "getter" + }, + "name": "getter" + }, + "value": { + "type": "BooleanLiteral", + "start": 4420, + "end": 4424, + "loc": { + "start": { + "line": 100, + "column": 75 + }, + "end": { + "line": 100, + "column": 79 + } + }, + "value": true } + } + ] + }, + { + "type": "Identifier", + "start": 4428, + "end": 4436, + "loc": { + "start": { + "line": 100, + "column": 83 }, - "value": true - } + "end": { + "line": 100, + "column": 91 + }, + "identifierName": "instance" + }, + "name": "instance" } ] - }, - { - "type": "Identifier", - "start": 3505, - "end": 3513, - "loc": { - "start": { - "line": 65, - "column": 83 - }, - "end": { - "line": 65, - "column": 91 - }, - "identifierName": "instance" - }, - "name": "instance" } - ] + } } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 3566, - "end": 3796, - "loc": { - "start": { - "line": 67, - "column": 24 - }, - "end": { - "line": 72, - "column": 27 - } - }, - "expression": { - "type": "CallExpression", - "start": 3566, - "end": 3795, - "loc": { - "start": { - "line": 67, - "column": 24 + ], + "directives": [] }, - "end": { - "line": 72, - "column": 26 - } + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If we have a getter apply the decorators to the getter and assign it to the instance.", + "start": 4216, + "end": 4304, + "loc": { + "start": { + "line": 98, + "column": 24 + }, + "end": { + "line": 98, + "column": 112 + } + } + } + ] }, - "callee": { - "type": "MemberExpression", - "start": 3566, - "end": 3587, + { + "type": "IfStatement", + "start": 4489, + "end": 4624, "loc": { "start": { - "line": 67, + "line": 102, "column": 24 }, "end": { - "line": 67, - "column": 45 + "line": 104, + "column": 25 } }, - "object": { - "type": "Identifier", - "start": 3566, - "end": 3572, - "loc": { - "start": { - "line": 67, - "column": 24 - }, - "end": { - "line": 67, - "column": 30 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { + "test": { "type": "Identifier", - "start": 3573, - "end": 3587, + "start": 4493, + "end": 4501, "loc": { "start": { - "line": 67, - "column": 31 + "line": 102, + "column": 28 }, "end": { - "line": 67, - "column": 45 + "line": 102, + "column": 36 }, - "identifierName": "defineProperty" + "identifierName": "isSetter" }, - "name": "defineProperty" + "name": "isSetter" }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 3588, - "end": 3596, + "consequent": { + "type": "BlockStatement", + "start": 4503, + "end": 4624, "loc": { "start": { - "line": 67, - "column": 46 + "line": 102, + "column": 38 }, "end": { - "line": 67, - "column": 54 - }, - "identifierName": "instance" + "line": 104, + "column": 25 + } }, - "name": "instance" + "body": [ + { + "type": "ExpressionStatement", + "start": 4533, + "end": 4598, + "loc": { + "start": { + "line": 103, + "column": 28 + }, + "end": { + "line": 103, + "column": 93 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4533, + "end": 4597, + "loc": { + "start": { + "line": 103, + "column": 28 + }, + "end": { + "line": 103, + "column": 92 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4533, + "end": 4539, + "loc": { + "start": { + "line": 103, + "column": 28 + }, + "end": { + "line": 103, + "column": 34 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "right": { + "type": "CallExpression", + "start": 4542, + "end": 4597, + "loc": { + "start": { + "line": 103, + "column": 37 + }, + "end": { + "line": 103, + "column": 92 + } + }, + "callee": { + "type": "Identifier", + "start": 4542, + "end": 4552, + "loc": { + "start": { + "line": 103, + "column": 37 + }, + "end": { + "line": 103, + "column": 47 + }, + "identifierName": "applyChain" + }, + "name": "applyChain" + }, + "arguments": [ + { + "type": "Identifier", + "start": 4553, + "end": 4556, + "loc": { + "start": { + "line": 103, + "column": 48 + }, + "end": { + "line": 103, + "column": 51 + }, + "identifierName": "set" + }, + "name": "set" + }, + { + "type": "ObjectExpression", + "start": 4558, + "end": 4586, + "loc": { + "start": { + "line": 103, + "column": 53 + }, + "end": { + "line": 103, + "column": 81 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 4560, + "end": 4570, + "loc": { + "start": { + "line": 103, + "column": 55 + }, + "end": { + "line": 103, + "column": 65 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4560, + "end": 4565, + "loc": { + "start": { + "line": 103, + "column": 55 + }, + "end": { + "line": 103, + "column": 60 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 4567, + "end": 4570, + "loc": { + "start": { + "line": 103, + "column": 62 + }, + "end": { + "line": 103, + "column": 65 + }, + "identifierName": "set" + }, + "name": "set" + } + }, + { + "type": "ObjectProperty", + "start": 4572, + "end": 4584, + "loc": { + "start": { + "line": 103, + "column": 67 + }, + "end": { + "line": 103, + "column": 79 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4572, + "end": 4578, + "loc": { + "start": { + "line": 103, + "column": 67 + }, + "end": { + "line": 103, + "column": 73 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 4580, + "end": 4584, + "loc": { + "start": { + "line": 103, + "column": 75 + }, + "end": { + "line": 103, + "column": 79 + } + }, + "value": true + } + } + ] + }, + { + "type": "Identifier", + "start": 4588, + "end": 4596, + "loc": { + "start": { + "line": 103, + "column": 83 + }, + "end": { + "line": 103, + "column": 91 + }, + "identifierName": "instance" + }, + "name": "instance" + } + ] + } + } + } + ], + "directives": [] }, - { - "type": "Identifier", - "start": 3598, - "end": 3602, - "loc": { - "start": { - "line": 67, - "column": 56 - }, - "end": { - "line": 67, - "column": 60 - }, - "identifierName": "name" + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 4649, + "end": 4879, + "loc": { + "start": { + "line": 105, + "column": 24 }, - "name": "name" + "end": { + "line": 110, + "column": 27 + } }, - { - "type": "ObjectExpression", - "start": 3604, - "end": 3794, + "expression": { + "type": "CallExpression", + "start": 4649, + "end": 4878, "loc": { "start": { - "line": 67, - "column": 62 + "line": 105, + "column": 24 }, "end": { - "line": 72, - "column": 25 + "line": 110, + "column": 26 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 3634, - "end": 3644, + "callee": { + "type": "MemberExpression", + "start": 4649, + "end": 4670, + "loc": { + "start": { + "line": 105, + "column": 24 + }, + "end": { + "line": 105, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 4649, + "end": 4655, "loc": { "start": { - "line": 68, - "column": 28 + "line": 105, + "column": 24 }, "end": { - "line": 68, - "column": 38 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 3634, - "end": 3644, - "loc": { - "start": { - "line": 68, - "column": 28 - }, - "end": { - "line": 68, - "column": 38 - }, - "identifierName": "enumerable" + "line": 105, + "column": 30 }, - "name": "enumerable" + "identifierName": "Object" }, - "value": { - "type": "Identifier", - "start": 3634, - "end": 3644, - "loc": { - "start": { - "line": 68, - "column": 28 - }, - "end": { - "line": 68, - "column": 38 - }, - "identifierName": "enumerable" + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 4656, + "end": 4670, + "loc": { + "start": { + "line": 105, + "column": 31 + }, + "end": { + "line": 105, + "column": 45 }, - "name": "enumerable" + "identifierName": "defineProperty" }, - "extra": { - "shorthand": true - } + "name": "defineProperty" }, + "computed": false + }, + "arguments": [ { - "type": "ObjectProperty", - "start": 3674, - "end": 3686, + "type": "Identifier", + "start": 4671, + "end": 4679, "loc": { "start": { - "line": 69, - "column": 28 + "line": 105, + "column": 46 }, "end": { - "line": 69, - "column": 40 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 3674, - "end": 3686, - "loc": { - "start": { - "line": 69, - "column": 28 - }, - "end": { - "line": 69, - "column": 40 - }, - "identifierName": "configurable" - }, - "name": "configurable" - }, - "value": { - "type": "Identifier", - "start": 3674, - "end": 3686, - "loc": { - "start": { - "line": 69, - "column": 28 - }, - "end": { - "line": 69, - "column": 40 - }, - "identifierName": "configurable" + "line": 105, + "column": 54 }, - "name": "configurable" + "identifierName": "instance" }, - "extra": { - "shorthand": true - } + "name": "instance" }, { - "type": "ObjectProperty", - "start": 3716, - "end": 3727, + "type": "Identifier", + "start": 4681, + "end": 4685, "loc": { "start": { - "line": 70, - "column": 28 + "line": 105, + "column": 56 }, "end": { - "line": 70, - "column": 39 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3716, - "end": 3719, - "loc": { - "start": { - "line": 70, - "column": 28 - }, - "end": { - "line": 70, - "column": 31 - }, - "identifierName": "get" + "line": 105, + "column": 60 }, - "name": "get" + "identifierName": "name" }, - "value": { - "type": "Identifier", - "start": 3721, - "end": 3727, - "loc": { - "start": { - "line": 70, - "column": 33 - }, - "end": { - "line": 70, - "column": 39 - }, - "identifierName": "getter" - }, - "name": "getter" - } + "name": "name" }, { - "type": "ObjectProperty", - "start": 3757, - "end": 3768, + "type": "ObjectExpression", + "start": 4687, + "end": 4877, "loc": { "start": { - "line": 71, - "column": 28 + "line": 105, + "column": 62 }, "end": { - "line": 71, - "column": 39 + "line": 110, + "column": 25 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3757, - "end": 3760, - "loc": { - "start": { - "line": 71, - "column": 28 + "properties": [ + { + "type": "ObjectProperty", + "start": 4717, + "end": 4727, + "loc": { + "start": { + "line": 106, + "column": 28 + }, + "end": { + "line": 106, + "column": 38 + } }, - "end": { - "line": 71, - "column": 31 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 4717, + "end": 4727, + "loc": { + "start": { + "line": 106, + "column": 28 + }, + "end": { + "line": 106, + "column": 38 + }, + "identifierName": "enumerable" + }, + "name": "enumerable" + }, + "value": { + "type": "Identifier", + "start": 4717, + "end": 4727, + "loc": { + "start": { + "line": 106, + "column": 28 + }, + "end": { + "line": 106, + "column": 38 + }, + "identifierName": "enumerable" + }, + "name": "enumerable" }, - "identifierName": "set" + "extra": { + "shorthand": true + } }, - "name": "set" - }, - "value": { - "type": "Identifier", - "start": 3762, - "end": 3768, - "loc": { - "start": { - "line": 71, - "column": 33 + { + "type": "ObjectProperty", + "start": 4757, + "end": 4769, + "loc": { + "start": { + "line": 107, + "column": 28 + }, + "end": { + "line": 107, + "column": 40 + } }, - "end": { - "line": 71, - "column": 39 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 4757, + "end": 4769, + "loc": { + "start": { + "line": 107, + "column": 28 + }, + "end": { + "line": 107, + "column": 40 + }, + "identifierName": "configurable" + }, + "name": "configurable" + }, + "value": { + "type": "Identifier", + "start": 4757, + "end": 4769, + "loc": { + "start": { + "line": 107, + "column": 28 + }, + "end": { + "line": 107, + "column": 40 + }, + "identifierName": "configurable" + }, + "name": "configurable" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 4799, + "end": 4810, + "loc": { + "start": { + "line": 108, + "column": 28 + }, + "end": { + "line": 108, + "column": 39 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4799, + "end": 4802, + "loc": { + "start": { + "line": 108, + "column": 28 + }, + "end": { + "line": 108, + "column": 31 + }, + "identifierName": "get" + }, + "name": "get" + }, + "value": { + "type": "Identifier", + "start": 4804, + "end": 4810, + "loc": { + "start": { + "line": 108, + "column": 33 + }, + "end": { + "line": 108, + "column": 39 + }, + "identifierName": "getter" + }, + "name": "getter" + } + }, + { + "type": "ObjectProperty", + "start": 4840, + "end": 4851, + "loc": { + "start": { + "line": 109, + "column": 28 + }, + "end": { + "line": 109, + "column": 39 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4840, + "end": 4843, + "loc": { + "start": { + "line": 109, + "column": 28 + }, + "end": { + "line": 109, + "column": 31 + }, + "identifierName": "set" + }, + "name": "set" }, - "identifierName": "setter" - }, - "name": "setter" - } + "value": { + "type": "Identifier", + "start": 4845, + "end": 4851, + "loc": { + "start": { + "line": 109, + "column": 33 + }, + "end": { + "line": 109, + "column": 39 + }, + "identifierName": "setter" + }, + "name": "setter" + } + } + ] } ] } - ] - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 3844, - "end": 4364, - "loc": { - "start": { - "line": 74, - "column": 25 - }, - "end": { - "line": 84, - "column": 21 - } - }, - "test": { - "type": "LogicalExpression", - "start": 3848, - "end": 3870, - "loc": { - "start": { - "line": 74, - "column": 29 - }, - "end": { - "line": 74, - "column": 51 - } + } + ], + "directives": [] }, - "left": { - "type": "Identifier", - "start": 3848, - "end": 3856, + "alternate": { + "type": "IfStatement", + "start": 4927, + "end": 5447, "loc": { "start": { - "line": 74, - "column": 29 + "line": 112, + "column": 25 }, "end": { - "line": 74, - "column": 37 - }, - "identifierName": "isMethod" + "line": 122, + "column": 21 + } }, - "name": "isMethod" - }, - "operator": "||", - "right": { - "type": "Identifier", - "start": 3860, - "end": 3870, - "loc": { - "start": { - "line": 74, - "column": 41 + "test": { + "type": "LogicalExpression", + "start": 4931, + "end": 4953, + "loc": { + "start": { + "line": 112, + "column": 29 + }, + "end": { + "line": 112, + "column": 51 + } }, - "end": { - "line": 74, - "column": 51 + "left": { + "type": "Identifier", + "start": 4931, + "end": 4939, + "loc": { + "start": { + "line": 112, + "column": 29 + }, + "end": { + "line": 112, + "column": 37 + }, + "identifierName": "isMethod" + }, + "name": "isMethod" }, - "identifierName": "isProperty" - }, - "name": "isProperty" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3872, - "end": 4364, - "loc": { - "start": { - "line": 74, - "column": 53 + "operator": "||", + "right": { + "type": "Identifier", + "start": 4943, + "end": 4953, + "loc": { + "start": { + "line": 112, + "column": 41 + }, + "end": { + "line": 112, + "column": 51 + }, + "identifierName": "isProperty" + }, + "name": "isProperty" + } }, - "end": { - "line": 84, - "column": 21 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3898, - "end": 4089, + "consequent": { + "type": "BlockStatement", + "start": 4955, + "end": 5447, "loc": { "start": { - "line": 75, - "column": 24 + "line": 112, + "column": 53 }, "end": { - "line": 77, - "column": 85 + "line": 122, + "column": 21 } }, - "declarations": [ + "body": [ { - "type": "VariableDeclarator", - "start": 3904, - "end": 4088, + "type": "VariableDeclaration", + "start": 4981, + "end": 5172, "loc": { "start": { - "line": 75, - "column": 30 + "line": 113, + "column": 24 }, "end": { - "line": 77, - "column": 84 + "line": 115, + "column": 85 } }, - "id": { - "type": "Identifier", - "start": 3904, - "end": 3909, - "loc": { - "start": { - "line": 75, - "column": 30 - }, - "end": { - "line": 75, - "column": 35 - }, - "identifierName": "newFn" - }, - "name": "newFn" - }, - "init": { - "type": "ConditionalExpression", - "start": 3912, - "end": 4088, - "loc": { - "start": { - "line": 75, - "column": 38 - }, - "end": { - "line": 77, - "column": 84 - } - }, - "test": { - "type": "Identifier", - "start": 3912, - "end": 3920, - "loc": { - "start": { - "line": 75, - "column": 38 - }, - "end": { - "line": 75, - "column": 46 - }, - "identifierName": "isMethod" - }, - "name": "isMethod" - }, - "consequent": { - "type": "CallExpression", - "start": 3951, - "end": 4003, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4987, + "end": 5171, "loc": { "start": { - "line": 76, + "line": 113, "column": 30 }, "end": { - "line": 76, - "column": 82 + "line": 115, + "column": 84 } }, - "callee": { + "id": { "type": "Identifier", - "start": 3951, - "end": 3961, + "start": 4987, + "end": 4992, "loc": { "start": { - "line": 76, + "line": 113, "column": 30 }, "end": { - "line": 76, - "column": 40 + "line": 113, + "column": 35 }, - "identifierName": "applyChain" + "identifierName": "newFn" }, - "name": "applyChain" + "name": "newFn" }, - "arguments": [ - { + "init": { + "type": "ConditionalExpression", + "start": 4995, + "end": 5171, + "loc": { + "start": { + "line": 113, + "column": 38 + }, + "end": { + "line": 115, + "column": 84 + } + }, + "test": { "type": "Identifier", - "start": 3962, - "end": 3967, + "start": 4995, + "end": 5003, "loc": { "start": { - "line": 76, - "column": 41 + "line": 113, + "column": 38 }, "end": { - "line": 76, + "line": 113, "column": 46 }, - "identifierName": "value" + "identifierName": "isMethod" }, - "name": "value" + "name": "isMethod" }, - { - "type": "ObjectExpression", - "start": 3969, - "end": 3992, + "consequent": { + "type": "CallExpression", + "start": 5034, + "end": 5086, "loc": { "start": { - "line": 76, - "column": 48 + "line": 114, + "column": 30 }, "end": { - "line": 76, - "column": 71 + "line": 114, + "column": 82 } }, - "properties": [ + "callee": { + "type": "Identifier", + "start": 5034, + "end": 5044, + "loc": { + "start": { + "line": 114, + "column": 30 + }, + "end": { + "line": 114, + "column": 40 + }, + "identifierName": "applyChain" + }, + "name": "applyChain" + }, + "arguments": [ { - "type": "ObjectProperty", - "start": 3971, - "end": 3976, + "type": "Identifier", + "start": 5045, + "end": 5050, "loc": { "start": { - "line": 76, - "column": 50 + "line": 114, + "column": 41 }, "end": { - "line": 76, - "column": 55 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 3971, - "end": 3976, - "loc": { - "start": { - "line": 76, - "column": 50 - }, - "end": { - "line": 76, - "column": 55 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "Identifier", - "start": 3971, - "end": 3976, - "loc": { - "start": { - "line": 76, - "column": 50 - }, - "end": { - "line": 76, - "column": 55 - }, - "identifierName": "value" + "line": 114, + "column": 46 }, - "name": "value" + "identifierName": "value" }, - "extra": { - "shorthand": true - } + "name": "value" }, { - "type": "ObjectProperty", - "start": 3978, - "end": 3990, + "type": "ObjectExpression", + "start": 5052, + "end": 5075, "loc": { "start": { - "line": 76, - "column": 57 + "line": 114, + "column": 48 }, "end": { - "line": 76, - "column": 69 + "line": 114, + "column": 71 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3978, - "end": 3984, - "loc": { - "start": { - "line": 76, - "column": 57 - }, - "end": { - "line": 76, - "column": 63 - }, - "identifierName": "method" - }, - "name": "method" - }, - "value": { - "type": "BooleanLiteral", - "start": 3986, - "end": 3990, - "loc": { - "start": { - "line": 76, - "column": 65 + "properties": [ + { + "type": "ObjectProperty", + "start": 5054, + "end": 5059, + "loc": { + "start": { + "line": 114, + "column": 50 + }, + "end": { + "line": 114, + "column": 55 + } }, - "end": { - "line": 76, - "column": 69 - } - }, - "value": true - } - } - ] - }, - { - "type": "Identifier", - "start": 3994, - "end": 4002, - "loc": { - "start": { - "line": 76, - "column": 73 - }, - "end": { - "line": 76, - "column": 81 - }, - "identifierName": "instance" - }, - "name": "instance" - } - ] - }, - "alternate": { - "type": "CallExpression", - "start": 4034, - "end": 4088, - "loc": { - "start": { - "line": 77, - "column": 30 - }, - "end": { - "line": 77, - "column": 84 - } - }, - "callee": { - "type": "Identifier", - "start": 4034, - "end": 4044, - "loc": { - "start": { - "line": 77, - "column": 30 - }, - "end": { - "line": 77, - "column": 40 - }, - "identifierName": "applyChain" - }, - "name": "applyChain" - }, - "arguments": [ - { - "type": "Identifier", - "start": 4045, - "end": 4050, - "loc": { - "start": { - "line": 77, - "column": 41 - }, - "end": { - "line": 77, - "column": 46 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5054, + "end": 5059, + "loc": { + "start": { + "line": 114, + "column": 50 + }, + "end": { + "line": 114, + "column": 55 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 5054, + "end": 5059, + "loc": { + "start": { + "line": 114, + "column": 50 + }, + "end": { + "line": 114, + "column": 55 + }, + "identifierName": "value" + }, + "name": "value" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 5061, + "end": 5073, + "loc": { + "start": { + "line": 114, + "column": 57 + }, + "end": { + "line": 114, + "column": 69 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5061, + "end": 5067, + "loc": { + "start": { + "line": 114, + "column": 57 + }, + "end": { + "line": 114, + "column": 63 + }, + "identifierName": "method" + }, + "name": "method" + }, + "value": { + "type": "BooleanLiteral", + "start": 5069, + "end": 5073, + "loc": { + "start": { + "line": 114, + "column": 65 + }, + "end": { + "line": 114, + "column": 69 + } + }, + "value": true + } + } + ] }, - "identifierName": "value" - }, - "name": "value" + { + "type": "Identifier", + "start": 5077, + "end": 5085, + "loc": { + "start": { + "line": 114, + "column": 73 + }, + "end": { + "line": 114, + "column": 81 + }, + "identifierName": "instance" + }, + "name": "instance" + } + ] }, - { - "type": "ObjectExpression", - "start": 4052, - "end": 4077, + "alternate": { + "type": "CallExpression", + "start": 5117, + "end": 5171, "loc": { "start": { - "line": 77, - "column": 48 + "line": 115, + "column": 30 }, "end": { - "line": 77, - "column": 73 + "line": 115, + "column": 84 } }, - "properties": [ + "callee": { + "type": "Identifier", + "start": 5117, + "end": 5127, + "loc": { + "start": { + "line": 115, + "column": 30 + }, + "end": { + "line": 115, + "column": 40 + }, + "identifierName": "applyChain" + }, + "name": "applyChain" + }, + "arguments": [ { - "type": "ObjectProperty", - "start": 4054, - "end": 4059, + "type": "Identifier", + "start": 5128, + "end": 5133, "loc": { "start": { - "line": 77, - "column": 50 + "line": 115, + "column": 41 }, "end": { - "line": 77, - "column": 55 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 4054, - "end": 4059, - "loc": { - "start": { - "line": 77, - "column": 50 - }, - "end": { - "line": 77, - "column": 55 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "Identifier", - "start": 4054, - "end": 4059, - "loc": { - "start": { - "line": 77, - "column": 50 - }, - "end": { - "line": 77, - "column": 55 - }, - "identifierName": "value" + "line": 115, + "column": 46 }, - "name": "value" + "identifierName": "value" }, - "extra": { - "shorthand": true - } + "name": "value" }, { - "type": "ObjectProperty", - "start": 4061, - "end": 4075, + "type": "ObjectExpression", + "start": 5135, + "end": 5160, "loc": { "start": { - "line": 77, - "column": 57 + "line": 115, + "column": 48 }, "end": { - "line": 77, - "column": 71 + "line": 115, + "column": 73 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4061, - "end": 4069, - "loc": { - "start": { - "line": 77, - "column": 57 + "properties": [ + { + "type": "ObjectProperty", + "start": 5137, + "end": 5142, + "loc": { + "start": { + "line": 115, + "column": 50 + }, + "end": { + "line": 115, + "column": 55 + } }, - "end": { - "line": 77, - "column": 65 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5137, + "end": 5142, + "loc": { + "start": { + "line": 115, + "column": 50 + }, + "end": { + "line": 115, + "column": 55 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 5137, + "end": 5142, + "loc": { + "start": { + "line": 115, + "column": 50 + }, + "end": { + "line": 115, + "column": 55 + }, + "identifierName": "value" + }, + "name": "value" }, - "identifierName": "property" + "extra": { + "shorthand": true + } }, - "name": "property" - }, - "value": { - "type": "BooleanLiteral", - "start": 4071, - "end": 4075, - "loc": { - "start": { - "line": 77, - "column": 67 + { + "type": "ObjectProperty", + "start": 5144, + "end": 5158, + "loc": { + "start": { + "line": 115, + "column": 57 + }, + "end": { + "line": 115, + "column": 71 + } }, - "end": { - "line": 77, - "column": 71 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5144, + "end": 5152, + "loc": { + "start": { + "line": 115, + "column": 57 + }, + "end": { + "line": 115, + "column": 65 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 5154, + "end": 5158, + "loc": { + "start": { + "line": 115, + "column": 67 + }, + "end": { + "line": 115, + "column": 71 + } + }, + "value": true } + } + ] + }, + { + "type": "Identifier", + "start": 5162, + "end": 5170, + "loc": { + "start": { + "line": 115, + "column": 75 }, - "value": true - } + "end": { + "line": 115, + "column": 83 + }, + "identifierName": "instance" + }, + "name": "instance" } ] - }, - { - "type": "Identifier", - "start": 4079, - "end": 4087, - "loc": { - "start": { - "line": 77, - "column": 75 - }, - "end": { - "line": 77, - "column": 83 - }, - "identifierName": "instance" - }, - "name": "instance" } - ] + } } - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 4114, - "end": 4342, - "loc": { - "start": { - "line": 78, - "column": 24 + ], + "kind": "const" }, - "end": { - "line": 83, - "column": 27 - } - }, - "expression": { - "type": "CallExpression", - "start": 4114, - "end": 4341, - "loc": { - "start": { - "line": 78, - "column": 24 - }, - "end": { - "line": 83, - "column": 26 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4114, - "end": 4135, + { + "type": "ExpressionStatement", + "start": 5197, + "end": 5425, "loc": { "start": { - "line": 78, + "line": 116, "column": 24 }, "end": { - "line": 78, - "column": 45 + "line": 121, + "column": 27 } }, - "object": { - "type": "Identifier", - "start": 4114, - "end": 4120, + "expression": { + "type": "CallExpression", + "start": 5197, + "end": 5424, "loc": { "start": { - "line": 78, + "line": 116, "column": 24 }, "end": { - "line": 78, - "column": 30 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 4121, - "end": 4135, - "loc": { - "start": { - "line": 78, - "column": 31 - }, - "end": { - "line": 78, - "column": 45 - }, - "identifierName": "defineProperty" - }, - "name": "defineProperty" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4136, - "end": 4144, - "loc": { - "start": { - "line": 78, - "column": 46 - }, - "end": { - "line": 78, - "column": 54 - }, - "identifierName": "instance" - }, - "name": "instance" - }, - { - "type": "Identifier", - "start": 4146, - "end": 4150, - "loc": { - "start": { - "line": 78, - "column": 56 - }, - "end": { - "line": 78, - "column": 60 - }, - "identifierName": "name" - }, - "name": "name" - }, - { - "type": "ObjectExpression", - "start": 4152, - "end": 4340, - "loc": { - "start": { - "line": 78, - "column": 62 - }, - "end": { - "line": 83, - "column": 25 + "line": 121, + "column": 26 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 4182, - "end": 4190, + "callee": { + "type": "MemberExpression", + "start": 5197, + "end": 5218, + "loc": { + "start": { + "line": 116, + "column": 24 + }, + "end": { + "line": 116, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 5197, + "end": 5203, "loc": { "start": { - "line": 79, - "column": 28 + "line": 116, + "column": 24 }, "end": { - "line": 79, - "column": 36 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 4182, - "end": 4190, - "loc": { - "start": { - "line": 79, - "column": 28 - }, - "end": { - "line": 79, - "column": 36 - }, - "identifierName": "writable" + "line": 116, + "column": 30 }, - "name": "writable" + "identifierName": "Object" }, - "value": { - "type": "Identifier", - "start": 4182, - "end": 4190, - "loc": { - "start": { - "line": 79, - "column": 28 - }, - "end": { - "line": 79, - "column": 36 - }, - "identifierName": "writable" + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 5204, + "end": 5218, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 45 }, - "name": "writable" + "identifierName": "defineProperty" }, - "extra": { - "shorthand": true - } + "name": "defineProperty" }, + "computed": false + }, + "arguments": [ { - "type": "ObjectProperty", - "start": 4220, - "end": 4230, + "type": "Identifier", + "start": 5219, + "end": 5227, "loc": { "start": { - "line": 80, - "column": 28 + "line": 116, + "column": 46 }, "end": { - "line": 80, - "column": 38 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 4220, - "end": 4230, - "loc": { - "start": { - "line": 80, - "column": 28 - }, - "end": { - "line": 80, - "column": 38 - }, - "identifierName": "enumerable" - }, - "name": "enumerable" - }, - "value": { - "type": "Identifier", - "start": 4220, - "end": 4230, - "loc": { - "start": { - "line": 80, - "column": 28 - }, - "end": { - "line": 80, - "column": 38 - }, - "identifierName": "enumerable" + "line": 116, + "column": 54 }, - "name": "enumerable" - }, - "extra": { - "shorthand": true - } + "identifierName": "instance" + }, + "name": "instance" }, { - "type": "ObjectProperty", - "start": 4260, - "end": 4272, + "type": "Identifier", + "start": 5229, + "end": 5233, "loc": { "start": { - "line": 81, - "column": 28 + "line": 116, + "column": 56 }, "end": { - "line": 81, - "column": 40 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 4260, - "end": 4272, - "loc": { - "start": { - "line": 81, - "column": 28 - }, - "end": { - "line": 81, - "column": 40 - }, - "identifierName": "configurable" - }, - "name": "configurable" - }, - "value": { - "type": "Identifier", - "start": 4260, - "end": 4272, - "loc": { - "start": { - "line": 81, - "column": 28 - }, - "end": { - "line": 81, - "column": 40 - }, - "identifierName": "configurable" + "line": 116, + "column": 60 }, - "name": "configurable" + "identifierName": "name" }, - "extra": { - "shorthand": true - } + "name": "name" }, { - "type": "ObjectProperty", - "start": 4302, - "end": 4314, + "type": "ObjectExpression", + "start": 5235, + "end": 5423, "loc": { "start": { - "line": 82, - "column": 28 + "line": 116, + "column": 62 }, "end": { - "line": 82, - "column": 40 + "line": 121, + "column": 25 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4302, - "end": 4307, - "loc": { - "start": { - "line": 82, - "column": 28 + "properties": [ + { + "type": "ObjectProperty", + "start": 5265, + "end": 5273, + "loc": { + "start": { + "line": 117, + "column": 28 + }, + "end": { + "line": 117, + "column": 36 + } }, - "end": { - "line": 82, - "column": 33 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5265, + "end": 5273, + "loc": { + "start": { + "line": 117, + "column": 28 + }, + "end": { + "line": 117, + "column": 36 + }, + "identifierName": "writable" + }, + "name": "writable" }, - "identifierName": "value" + "value": { + "type": "Identifier", + "start": 5265, + "end": 5273, + "loc": { + "start": { + "line": 117, + "column": 28 + }, + "end": { + "line": 117, + "column": 36 + }, + "identifierName": "writable" + }, + "name": "writable" + }, + "extra": { + "shorthand": true + } }, - "name": "value" - }, - "value": { - "type": "Identifier", - "start": 4309, - "end": 4314, - "loc": { - "start": { - "line": 82, - "column": 35 + { + "type": "ObjectProperty", + "start": 5303, + "end": 5313, + "loc": { + "start": { + "line": 118, + "column": 28 + }, + "end": { + "line": 118, + "column": 38 + } }, - "end": { - "line": 82, - "column": 40 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5303, + "end": 5313, + "loc": { + "start": { + "line": 118, + "column": 28 + }, + "end": { + "line": 118, + "column": 38 + }, + "identifierName": "enumerable" + }, + "name": "enumerable" + }, + "value": { + "type": "Identifier", + "start": 5303, + "end": 5313, + "loc": { + "start": { + "line": 118, + "column": 28 + }, + "end": { + "line": 118, + "column": 38 + }, + "identifierName": "enumerable" + }, + "name": "enumerable" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 5343, + "end": 5355, + "loc": { + "start": { + "line": 119, + "column": 28 + }, + "end": { + "line": 119, + "column": 40 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5343, + "end": 5355, + "loc": { + "start": { + "line": 119, + "column": 28 + }, + "end": { + "line": 119, + "column": 40 + }, + "identifierName": "configurable" + }, + "name": "configurable" + }, + "value": { + "type": "Identifier", + "start": 5343, + "end": 5355, + "loc": { + "start": { + "line": 119, + "column": 28 + }, + "end": { + "line": 119, + "column": 40 + }, + "identifierName": "configurable" + }, + "name": "configurable" }, - "identifierName": "newFn" + "extra": { + "shorthand": true + } }, - "name": "newFn" - } + { + "type": "ObjectProperty", + "start": 5385, + "end": 5397, + "loc": { + "start": { + "line": 120, + "column": 28 + }, + "end": { + "line": 120, + "column": 40 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5385, + "end": 5390, + "loc": { + "start": { + "line": 120, + "column": 28 + }, + "end": { + "line": 120, + "column": 33 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 5392, + "end": 5397, + "loc": { + "start": { + "line": 120, + "column": 35 + }, + "end": { + "line": 120, + "column": 40 + }, + "identifierName": "newFn" + }, + "name": "newFn" + } + } + ] } ] } - ] - } - } - ], - "directives": [] - }, - "alternate": null - } - } - ], - "directives": [] - } - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 4400, - "end": 4540, - "loc": { - "start": { - "line": 86, - "column": 16 - }, - "end": { - "line": 89, - "column": 17 - } - }, - "test": { - "type": "LogicalExpression", - "start": 4404, - "end": 4426, - "loc": { - "start": { - "line": 86, - "column": 20 - }, - "end": { - "line": 86, - "column": 42 - } - }, - "left": { - "type": "Identifier", - "start": 4404, - "end": 4412, - "loc": { - "start": { - "line": 86, - "column": 20 - }, - "end": { - "line": 86, - "column": 28 - }, - "identifierName": "isMethod" - }, - "name": "isMethod" - }, - "operator": "||", - "right": { - "type": "Identifier", - "start": 4416, - "end": 4426, - "loc": { - "start": { - "line": 86, - "column": 32 - }, - "end": { - "line": 86, - "column": 42 - }, - "identifierName": "isProperty" - }, - "name": "isProperty" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 4428, - "end": 4540, - "loc": { - "start": { - "line": 86, - "column": 44 - }, - "end": { - "line": 89, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4450, - "end": 4474, - "loc": { - "start": { - "line": 87, - "column": 20 - }, - "end": { - "line": 87, - "column": 44 - } - }, - "expression": { - "type": "UnaryExpression", - "start": 4450, - "end": 4473, - "loc": { - "start": { - "line": 87, - "column": 20 - }, - "end": { - "line": 87, - "column": 43 - } - }, - "operator": "delete", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 4457, - "end": 4473, - "loc": { - "start": { - "line": 87, - "column": 27 - }, - "end": { - "line": 87, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 4457, - "end": 4467, - "loc": { - "start": { - "line": 87, - "column": 27 - }, - "end": { - "line": 87, - "column": 37 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" - }, - "property": { - "type": "Identifier", - "start": 4468, - "end": 4473, - "loc": { - "start": { - "line": 87, - "column": 38 - }, - "end": { - "line": 87, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false + } + ], + "directives": [] + }, + "alternate": null + } + } + ], + "directives": [] + } } } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 5483, + "end": 5623, + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 127, + "column": 17 + } }, - { - "type": "ExpressionStatement", - "start": 4495, - "end": 4522, + "test": { + "type": "LogicalExpression", + "start": 5487, + "end": 5509, "loc": { "start": { - "line": 88, + "line": 124, "column": 20 }, "end": { - "line": 88, - "column": 47 + "line": 124, + "column": 42 } }, - "expression": { - "type": "UnaryExpression", - "start": 4495, - "end": 4521, + "left": { + "type": "Identifier", + "start": 5487, + "end": 5495, "loc": { "start": { - "line": 88, + "line": 124, "column": 20 }, "end": { - "line": 88, - "column": 46 - } + "line": 124, + "column": 28 + }, + "identifierName": "isMethod" }, - "operator": "delete", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 4502, - "end": 4521, + "name": "isMethod" + }, + "operator": "||", + "right": { + "type": "Identifier", + "start": 5499, + "end": 5509, + "loc": { + "start": { + "line": 124, + "column": 32 + }, + "end": { + "line": 124, + "column": 42 + }, + "identifierName": "isProperty" + }, + "name": "isProperty" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 5511, + "end": 5623, + "loc": { + "start": { + "line": 124, + "column": 44 + }, + "end": { + "line": 127, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5533, + "end": 5557, "loc": { "start": { - "line": 88, - "column": 27 + "line": 125, + "column": 20 }, "end": { - "line": 88, - "column": 46 + "line": 125, + "column": 44 } }, - "object": { - "type": "Identifier", - "start": 4502, - "end": 4512, + "expression": { + "type": "UnaryExpression", + "start": 5533, + "end": 5556, "loc": { "start": { - "line": 88, - "column": 27 + "line": 125, + "column": 20 }, "end": { - "line": 88, - "column": 37 + "line": 125, + "column": 43 + } + }, + "operator": "delete", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 5540, + "end": 5556, + "loc": { + "start": { + "line": 125, + "column": 27 + }, + "end": { + "line": 125, + "column": 43 + } }, - "identifierName": "descriptor" + "object": { + "type": "Identifier", + "start": 5540, + "end": 5550, + "loc": { + "start": { + "line": 125, + "column": 27 + }, + "end": { + "line": 125, + "column": 37 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + }, + "property": { + "type": "Identifier", + "start": 5551, + "end": 5556, + "loc": { + "start": { + "line": 125, + "column": 38 + }, + "end": { + "line": 125, + "column": 43 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false }, - "name": "descriptor" + "extra": { + "parenthesizedArgument": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 5578, + "end": 5605, + "loc": { + "start": { + "line": 126, + "column": 20 + }, + "end": { + "line": 126, + "column": 47 + } }, - "property": { - "type": "Identifier", - "start": 4513, - "end": 4521, + "expression": { + "type": "UnaryExpression", + "start": 5578, + "end": 5604, "loc": { "start": { - "line": 88, - "column": 38 + "line": 126, + "column": 20 }, "end": { - "line": 88, + "line": 126, "column": 46 + } + }, + "operator": "delete", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 5585, + "end": 5604, + "loc": { + "start": { + "line": 126, + "column": 27 + }, + "end": { + "line": 126, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 5585, + "end": 5595, + "loc": { + "start": { + "line": 126, + "column": 27 + }, + "end": { + "line": 126, + "column": 37 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + }, + "property": { + "type": "Identifier", + "start": 5596, + "end": 5604, + "loc": { + "start": { + "line": 126, + "column": 38 + }, + "end": { + "line": 126, + "column": 46 + }, + "identifierName": "writable" + }, + "name": "writable" }, - "identifierName": "writable" + "computed": false }, - "name": "writable" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } + } } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 4557, - "end": 4899, - "loc": { - "start": { - "line": 90, - "column": 16 - }, - "end": { - "line": 97, - "column": 18 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 4557, - "end": 4898, - "loc": { - "start": { - "line": 90, - "column": 16 + ], + "directives": [] }, - "end": { - "line": 97, - "column": 17 - } + "alternate": null }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 4557, - "end": 4571, + { + "type": "ExpressionStatement", + "start": 5640, + "end": 6259, "loc": { "start": { - "line": 90, + "line": 128, "column": 16 }, "end": { - "line": 90, - "column": 30 + "line": 140, + "column": 18 } }, - "object": { - "type": "Identifier", - "start": 4557, - "end": 4567, + "expression": { + "type": "AssignmentExpression", + "start": 5640, + "end": 6258, "loc": { "start": { - "line": 90, + "line": 128, "column": 16 }, "end": { - "line": 90, - "column": 26 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" - }, - "property": { - "type": "Identifier", - "start": 4568, - "end": 4571, - "loc": { - "start": { - "line": 90, - "column": 27 - }, - "end": { - "line": 90, - "column": 30 - }, - "identifierName": "get" - }, - "name": "get" - }, - "computed": false - }, - "right": { - "type": "FunctionExpression", - "start": 4574, - "end": 4898, - "loc": { - "start": { - "line": 90, - "column": 33 - }, - "end": { - "line": 97, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 4586, - "end": 4898, - "loc": { - "start": { - "line": 90, - "column": 45 - }, - "end": { - "line": 97, + "line": 140, "column": 17 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4608, - "end": 4629, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5640, + "end": 5654, + "loc": { + "start": { + "line": 128, + "column": 16 + }, + "end": { + "line": 128, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 5640, + "end": 5650, "loc": { "start": { - "line": 91, - "column": 20 - }, - "end": { - "line": 91, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 4608, - "end": 4628, - "loc": { - "start": { - "line": 91, - "column": 20 - }, - "end": { - "line": 91, - "column": 40 - } + "line": 128, + "column": 16 }, - "callee": { - "type": "Identifier", - "start": 4608, - "end": 4622, - "loc": { - "start": { - "line": 91, - "column": 20 - }, - "end": { - "line": 91, - "column": 34 - }, - "identifierName": "applyDecorator" - }, - "name": "applyDecorator" + "end": { + "line": 128, + "column": 26 }, - "arguments": [ - { - "type": "ThisExpression", - "start": 4623, - "end": 4627, - "loc": { - "start": { - "line": 91, - "column": 35 - }, - "end": { - "line": 91, - "column": 39 - } - } - } - ] + "identifierName": "descriptor" + }, + "name": "descriptor" + }, + "property": { + "type": "Identifier", + "start": 5651, + "end": 5654, + "loc": { + "start": { + "line": 128, + "column": 27 + }, + "end": { + "line": 128, + "column": 30 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "right": { + "type": "FunctionExpression", + "start": 5657, + "end": 6258, + "loc": { + "start": { + "line": 128, + "column": 33 + }, + "end": { + "line": 140, + "column": 17 } }, - { - "type": "VariableDeclaration", - "start": 4650, - "end": 4713, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5669, + "end": 6258, "loc": { "start": { - "line": 92, - "column": 20 + "line": 128, + "column": 45 }, "end": { - "line": 92, - "column": 83 + "line": 140, + "column": 17 } }, - "declarations": [ + "body": [ { - "type": "VariableDeclarator", - "start": 4656, - "end": 4712, + "type": "IfStatement", + "start": 5841, + "end": 5943, "loc": { "start": { - "line": 92, - "column": 26 + "line": 131, + "column": 20 }, "end": { - "line": 92, - "column": 82 + "line": 133, + "column": 21 } }, - "id": { - "type": "Identifier", - "start": 4656, - "end": 4666, - "loc": { - "start": { - "line": 92, - "column": 26 - }, - "end": { - "line": 92, - "column": 36 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" - }, - "init": { + "test": { "type": "CallExpression", - "start": 4669, - "end": 4712, + "start": 5845, + "end": 5876, "loc": { "start": { - "line": 92, - "column": 39 + "line": 131, + "column": 24 }, "end": { - "line": 92, - "column": 82 + "line": 131, + "column": 55 } }, "callee": { - "type": "MemberExpression", - "start": 4669, - "end": 4700, + "type": "Identifier", + "start": 5845, + "end": 5862, "loc": { "start": { - "line": 92, - "column": 39 + "line": 131, + "column": 24 }, "end": { - "line": 92, - "column": 70 - } - }, - "object": { - "type": "Identifier", - "start": 4669, - "end": 4675, - "loc": { - "start": { - "line": 92, - "column": 39 - }, - "end": { - "line": 92, - "column": 45 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 4676, - "end": 4700, - "loc": { - "start": { - "line": 92, - "column": 46 - }, - "end": { - "line": 92, - "column": 70 - }, - "identifierName": "getOwnPropertyDescriptor" + "line": 131, + "column": 41 }, - "name": "getOwnPropertyDescriptor" + "identifierName": "isPrototypeAccess" }, - "computed": false + "name": "isPrototypeAccess", + "leadingComments": null }, "arguments": [ { "type": "ThisExpression", - "start": 4701, - "end": 4705, + "start": 5863, + "end": 5867, "loc": { "start": { - "line": 92, - "column": 71 + "line": 131, + "column": 42 }, "end": { - "line": 92, - "column": 75 + "line": 131, + "column": 46 } } }, { "type": "Identifier", - "start": 4707, - "end": 4711, + "start": 5869, + "end": 5875, "loc": { "start": { - "line": 92, - "column": 77 + "line": 131, + "column": 48 }, "end": { - "line": 92, - "column": 81 + "line": 131, + "column": 54 }, - "identifierName": "name" + "identifierName": "target" }, - "name": "name" + "name": "target" } - ] - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 4734, - "end": 4835, - "loc": { - "start": { - "line": 93, - "column": 20 - }, - "end": { - "line": 95, - "column": 21 - } - }, - "test": { - "type": "MemberExpression", - "start": 4738, - "end": 4752, - "loc": { - "start": { - "line": 93, - "column": 24 + ], + "leadingComments": null }, - "end": { - "line": 93, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 4738, - "end": 4748, - "loc": { - "start": { - "line": 93, - "column": 24 - }, - "end": { - "line": 93, - "column": 34 + "consequent": { + "type": "BlockStatement", + "start": 5878, + "end": 5943, + "loc": { + "start": { + "line": 131, + "column": 57 + }, + "end": { + "line": 133, + "column": 21 + } }, - "identifierName": "descriptor" + "body": [ + { + "type": "ReturnStatement", + "start": 5904, + "end": 5921, + "loc": { + "start": { + "line": 132, + "column": 24 + }, + "end": { + "line": 132, + "column": 41 + } + }, + "argument": { + "type": "Identifier", + "start": 5911, + "end": 5920, + "loc": { + "start": { + "line": 132, + "column": 31 + }, + "end": { + "line": 132, + "column": 40 + }, + "identifierName": "baseValue" + }, + "name": "baseValue" + } + } + ], + "directives": [] }, - "name": "descriptor" + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Check for direct access on the prototype.", + "start": 5691, + "end": 5735, + "loc": { + "start": { + "line": 129, + "column": 20 + }, + "end": { + "line": 129, + "column": 64 + } + } + }, + { + "type": "CommentLine", + "value": " MyClass.prototype.fn <-- This should not apply the decorator.", + "start": 5756, + "end": 5820, + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 84 + } + } + } + ] }, - "property": { - "type": "Identifier", - "start": 4749, - "end": 4752, + { + "type": "ExpressionStatement", + "start": 5964, + "end": 5985, "loc": { "start": { - "line": 93, - "column": 35 + "line": 134, + "column": 20 }, "end": { - "line": 93, - "column": 38 - }, - "identifierName": "get" - }, - "name": "get" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 4754, - "end": 4835, - "loc": { - "start": { - "line": 93, - "column": 40 + "line": 134, + "column": 41 + } }, - "end": { - "line": 95, - "column": 21 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 4780, - "end": 4813, + "expression": { + "type": "CallExpression", + "start": 5964, + "end": 5984, "loc": { "start": { - "line": 94, - "column": 24 + "line": 134, + "column": 20 }, "end": { - "line": 94, - "column": 57 + "line": 134, + "column": 40 + } + }, + "callee": { + "type": "Identifier", + "start": 5964, + "end": 5978, + "loc": { + "start": { + "line": 134, + "column": 20 + }, + "end": { + "line": 134, + "column": 34 + }, + "identifierName": "applyDecorator" + }, + "name": "applyDecorator" + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 5979, + "end": 5983, + "loc": { + "start": { + "line": 134, + "column": 35 + }, + "end": { + "line": 134, + "column": 39 + } + } } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 6006, + "end": 6070, + "loc": { + "start": { + "line": 135, + "column": 20 }, - "argument": { - "type": "CallExpression", - "start": 4787, - "end": 4812, + "end": { + "line": 135, + "column": 84 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6012, + "end": 6069, "loc": { "start": { - "line": 94, - "column": 31 + "line": 135, + "column": 26 }, "end": { - "line": 94, - "column": 56 + "line": 135, + "column": 83 } }, - "callee": { - "type": "MemberExpression", - "start": 4787, - "end": 4806, + "id": { + "type": "Identifier", + "start": 6012, + "end": 6023, + "loc": { + "start": { + "line": 135, + "column": 26 + }, + "end": { + "line": 135, + "column": 37 + }, + "identifierName": "descriptor2" + }, + "name": "descriptor2" + }, + "init": { + "type": "CallExpression", + "start": 6026, + "end": 6069, "loc": { "start": { - "line": 94, - "column": 31 + "line": 135, + "column": 40 }, "end": { - "line": 94, - "column": 50 + "line": 135, + "column": 83 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 4787, - "end": 4801, + "start": 6026, + "end": 6057, "loc": { "start": { - "line": 94, - "column": 31 + "line": 135, + "column": 40 }, "end": { - "line": 94, - "column": 45 + "line": 135, + "column": 71 } }, "object": { "type": "Identifier", - "start": 4787, - "end": 4797, + "start": 6026, + "end": 6032, "loc": { "start": { - "line": 94, - "column": 31 + "line": 135, + "column": 40 }, "end": { - "line": 94, - "column": 41 + "line": 135, + "column": 46 }, - "identifierName": "descriptor" + "identifierName": "Object" }, - "name": "descriptor" + "name": "Object" }, "property": { "type": "Identifier", - "start": 4798, - "end": 4801, + "start": 6033, + "end": 6057, "loc": { "start": { - "line": 94, - "column": 42 + "line": 135, + "column": 47 }, "end": { - "line": 94, - "column": 45 + "line": 135, + "column": 71 }, - "identifierName": "get" + "identifierName": "getOwnPropertyDescriptor" }, - "name": "get" + "name": "getOwnPropertyDescriptor" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 4802, - "end": 4806, - "loc": { - "start": { - "line": 94, - "column": 46 - }, - "end": { - "line": 94, - "column": 50 - }, - "identifierName": "call" + "arguments": [ + { + "type": "ThisExpression", + "start": 6058, + "end": 6062, + "loc": { + "start": { + "line": 135, + "column": 72 + }, + "end": { + "line": 135, + "column": 76 + } + } }, - "name": "call" + { + "type": "Identifier", + "start": 6064, + "end": 6068, + "loc": { + "start": { + "line": 135, + "column": 78 + }, + "end": { + "line": 135, + "column": 82 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 6091, + "end": 6194, + "loc": { + "start": { + "line": 136, + "column": 20 + }, + "end": { + "line": 138, + "column": 21 + } + }, + "test": { + "type": "MemberExpression", + "start": 6095, + "end": 6110, + "loc": { + "start": { + "line": 136, + "column": 24 + }, + "end": { + "line": 136, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 6095, + "end": 6106, + "loc": { + "start": { + "line": 136, + "column": 24 }, - "computed": false + "end": { + "line": 136, + "column": 35 + }, + "identifierName": "descriptor2" }, - "arguments": [ - { - "type": "ThisExpression", - "start": 4807, - "end": 4811, + "name": "descriptor2" + }, + "property": { + "type": "Identifier", + "start": 6107, + "end": 6110, + "loc": { + "start": { + "line": 136, + "column": 36 + }, + "end": { + "line": 136, + "column": 39 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 6112, + "end": 6194, + "loc": { + "start": { + "line": 136, + "column": 41 + }, + "end": { + "line": 138, + "column": 21 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6138, + "end": 6172, + "loc": { + "start": { + "line": 137, + "column": 24 + }, + "end": { + "line": 137, + "column": 58 + } + }, + "argument": { + "type": "CallExpression", + "start": 6145, + "end": 6171, "loc": { "start": { - "line": 94, - "column": 51 + "line": 137, + "column": 31 }, "end": { - "line": 94, - "column": 55 + "line": 137, + "column": 57 } - } + }, + "callee": { + "type": "MemberExpression", + "start": 6145, + "end": 6165, + "loc": { + "start": { + "line": 137, + "column": 31 + }, + "end": { + "line": 137, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 6145, + "end": 6160, + "loc": { + "start": { + "line": 137, + "column": 31 + }, + "end": { + "line": 137, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 6145, + "end": 6156, + "loc": { + "start": { + "line": 137, + "column": 31 + }, + "end": { + "line": 137, + "column": 42 + }, + "identifierName": "descriptor2" + }, + "name": "descriptor2" + }, + "property": { + "type": "Identifier", + "start": 6157, + "end": 6160, + "loc": { + "start": { + "line": 137, + "column": 43 + }, + "end": { + "line": 137, + "column": 46 + }, + "identifierName": "get" + }, + "name": "get" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6161, + "end": 6165, + "loc": { + "start": { + "line": 137, + "column": 47 + }, + "end": { + "line": 137, + "column": 51 + }, + "identifierName": "call" + }, + "name": "call" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 6166, + "end": 6170, + "loc": { + "start": { + "line": 137, + "column": 52 + }, + "end": { + "line": 137, + "column": 56 + } + } + } + ] } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 4856, - "end": 4880, - "loc": { - "start": { - "line": 96, - "column": 20 - }, - "end": { - "line": 96, - "column": 44 - } - }, - "argument": { - "type": "MemberExpression", - "start": 4863, - "end": 4879, - "loc": { - "start": { - "line": 96, - "column": 27 + } + ], + "directives": [] }, - "end": { - "line": 96, - "column": 43 - } + "alternate": null }, - "object": { - "type": "Identifier", - "start": 4863, - "end": 4873, + { + "type": "ReturnStatement", + "start": 6215, + "end": 6240, "loc": { "start": { - "line": 96, - "column": 27 + "line": 139, + "column": 20 }, "end": { - "line": 96, - "column": 37 - }, - "identifierName": "descriptor" + "line": 139, + "column": 45 + } }, - "name": "descriptor" - }, - "property": { - "type": "Identifier", - "start": 4874, - "end": 4879, - "loc": { - "start": { - "line": 96, - "column": 38 + "argument": { + "type": "MemberExpression", + "start": 6222, + "end": 6239, + "loc": { + "start": { + "line": 139, + "column": 27 + }, + "end": { + "line": 139, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 6222, + "end": 6233, + "loc": { + "start": { + "line": 139, + "column": 27 + }, + "end": { + "line": 139, + "column": 38 + }, + "identifierName": "descriptor2" + }, + "name": "descriptor2" }, - "end": { - "line": 96, - "column": 43 + "property": { + "type": "Identifier", + "start": 6234, + "end": 6239, + "loc": { + "start": { + "line": 139, + "column": 39 + }, + "end": { + "line": 139, + "column": 44 + }, + "identifierName": "value" + }, + "name": "value" }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } + "computed": false + } + } + ], + "directives": [] } - ], - "directives": [] - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 4916, - "end": 5339, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 107, - "column": 18 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 4916, - "end": 5338, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 107, - "column": 17 + } } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 4916, - "end": 4930, + { + "type": "ExpressionStatement", + "start": 6276, + "end": 6705, "loc": { "start": { - "line": 98, + "line": 141, "column": 16 }, "end": { - "line": 98, - "column": 30 + "line": 150, + "column": 18 } }, - "object": { - "type": "Identifier", - "start": 4916, - "end": 4926, + "expression": { + "type": "AssignmentExpression", + "start": 6276, + "end": 6704, "loc": { "start": { - "line": 98, + "line": 141, "column": 16 }, "end": { - "line": 98, - "column": 26 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" - }, - "property": { - "type": "Identifier", - "start": 4927, - "end": 4930, - "loc": { - "start": { - "line": 98, - "column": 27 - }, - "end": { - "line": 98, - "column": 30 - }, - "identifierName": "set" - }, - "name": "set" - }, - "computed": false - }, - "right": { - "type": "FunctionExpression", - "start": 4933, - "end": 5338, - "loc": { - "start": { - "line": 98, - "column": 33 + "line": 150, + "column": 17 + } }, - "end": { - "line": 107, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 4943, - "end": 4948, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6276, + "end": 6290, "loc": { "start": { - "line": 98, - "column": 43 + "line": 141, + "column": 16 }, "end": { - "line": 98, - "column": 48 - }, - "identifierName": "value" + "line": 141, + "column": 30 + } }, - "name": "value" - } - ], - "body": { - "type": "BlockStatement", - "start": 4950, - "end": 5338, - "loc": { - "start": { - "line": 98, - "column": 50 + "object": { + "type": "Identifier", + "start": 6276, + "end": 6286, + "loc": { + "start": { + "line": 141, + "column": 16 + }, + "end": { + "line": 141, + "column": 26 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" }, - "end": { - "line": 107, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4972, - "end": 4993, + "property": { + "type": "Identifier", + "start": 6287, + "end": 6290, "loc": { "start": { - "line": 99, - "column": 20 + "line": 141, + "column": 27 }, "end": { - "line": 99, - "column": 41 - } + "line": 141, + "column": 30 + }, + "identifierName": "set" }, - "expression": { - "type": "CallExpression", - "start": 4972, - "end": 4992, + "name": "set" + }, + "computed": false + }, + "right": { + "type": "FunctionExpression", + "start": 6293, + "end": 6704, + "loc": { + "start": { + "line": 141, + "column": 33 + }, + "end": { + "line": 150, + "column": 17 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 6303, + "end": 6309, "loc": { "start": { - "line": 99, - "column": 20 + "line": 141, + "column": 43 }, "end": { - "line": 99, - "column": 40 - } - }, - "callee": { - "type": "Identifier", - "start": 4972, - "end": 4986, - "loc": { - "start": { - "line": 99, - "column": 20 - }, - "end": { - "line": 99, - "column": 34 - }, - "identifierName": "applyDecorator" + "line": 141, + "column": 49 }, - "name": "applyDecorator" + "identifierName": "value2" }, - "arguments": [ - { - "type": "ThisExpression", - "start": 4987, - "end": 4991, - "loc": { - "start": { - "line": 99, - "column": 35 - }, - "end": { - "line": 99, - "column": 39 - } - } - } - ] + "name": "value2" } - }, - { - "type": "VariableDeclaration", - "start": 5014, - "end": 5077, + ], + "body": { + "type": "BlockStatement", + "start": 6311, + "end": 6704, "loc": { "start": { - "line": 100, - "column": 20 + "line": 141, + "column": 51 }, "end": { - "line": 100, - "column": 83 + "line": 150, + "column": 17 } }, - "declarations": [ + "body": [ { - "type": "VariableDeclarator", - "start": 5020, - "end": 5076, + "type": "ExpressionStatement", + "start": 6333, + "end": 6354, "loc": { "start": { - "line": 100, - "column": 26 + "line": 142, + "column": 20 }, "end": { - "line": 100, - "column": 82 + "line": 142, + "column": 41 } }, - "id": { - "type": "Identifier", - "start": 5020, - "end": 5030, - "loc": { - "start": { - "line": 100, - "column": 26 - }, - "end": { - "line": 100, - "column": 36 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" - }, - "init": { + "expression": { "type": "CallExpression", - "start": 5033, - "end": 5076, + "start": 6333, + "end": 6353, "loc": { "start": { - "line": 100, - "column": 39 + "line": 142, + "column": 20 }, "end": { - "line": 100, - "column": 82 + "line": 142, + "column": 40 } }, "callee": { - "type": "MemberExpression", - "start": 5033, - "end": 5064, + "type": "Identifier", + "start": 6333, + "end": 6347, "loc": { "start": { - "line": 100, - "column": 39 + "line": 142, + "column": 20 }, "end": { - "line": 100, - "column": 70 - } - }, - "object": { - "type": "Identifier", - "start": 5033, - "end": 5039, - "loc": { - "start": { - "line": 100, - "column": 39 - }, - "end": { - "line": 100, - "column": 45 - }, - "identifierName": "Object" - }, - "name": "Object" - }, - "property": { - "type": "Identifier", - "start": 5040, - "end": 5064, - "loc": { - "start": { - "line": 100, - "column": 46 - }, - "end": { - "line": 100, - "column": 70 - }, - "identifierName": "getOwnPropertyDescriptor" + "line": 142, + "column": 34 }, - "name": "getOwnPropertyDescriptor" + "identifierName": "applyDecorator" }, - "computed": false + "name": "applyDecorator" }, "arguments": [ { "type": "ThisExpression", - "start": 5065, - "end": 5069, + "start": 6348, + "end": 6352, "loc": { "start": { - "line": 100, - "column": 71 + "line": 142, + "column": 35 }, "end": { - "line": 100, - "column": 75 + "line": 142, + "column": 39 } } - }, - { - "type": "Identifier", - "start": 5071, - "end": 5075, - "loc": { - "start": { - "line": 100, - "column": 77 - }, - "end": { - "line": 100, - "column": 81 - }, - "identifierName": "name" - }, - "name": "name" - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 5098, - "end": 5320, - "loc": { - "start": { - "line": 101, - "column": 20 - }, - "end": { - "line": 106, - "column": 21 - } - }, - "test": { - "type": "MemberExpression", - "start": 5102, - "end": 5116, - "loc": { - "start": { - "line": 101, - "column": 24 - }, - "end": { - "line": 101, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 5102, - "end": 5112, - "loc": { - "start": { - "line": 101, - "column": 24 - }, - "end": { - "line": 101, - "column": 34 - }, - "identifierName": "descriptor" - }, - "name": "descriptor" + } + ] + } }, - "property": { - "type": "Identifier", - "start": 5113, - "end": 5116, + { + "type": "VariableDeclaration", + "start": 6375, + "end": 6439, "loc": { "start": { - "line": 101, - "column": 35 + "line": 143, + "column": 20 }, "end": { - "line": 101, - "column": 38 - }, - "identifierName": "set" - }, - "name": "set" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 5118, - "end": 5199, - "loc": { - "start": { - "line": 101, - "column": 40 + "line": 143, + "column": 84 + } }, - "end": { - "line": 103, - "column": 21 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 5144, - "end": 5177, - "loc": { - "start": { - "line": 102, - "column": 24 - }, - "end": { - "line": 102, - "column": 57 - } - }, - "expression": { - "type": "CallExpression", - "start": 5144, - "end": 5176, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6381, + "end": 6438, "loc": { "start": { - "line": 102, - "column": 24 + "line": 143, + "column": 26 }, "end": { - "line": 102, - "column": 56 + "line": 143, + "column": 83 } }, - "callee": { - "type": "MemberExpression", - "start": 5144, - "end": 5163, + "id": { + "type": "Identifier", + "start": 6381, + "end": 6392, "loc": { "start": { - "line": 102, - "column": 24 + "line": 143, + "column": 26 }, "end": { - "line": 102, - "column": 43 + "line": 143, + "column": 37 + }, + "identifierName": "descriptor2" + }, + "name": "descriptor2" + }, + "init": { + "type": "CallExpression", + "start": 6395, + "end": 6438, + "loc": { + "start": { + "line": 143, + "column": 40 + }, + "end": { + "line": 143, + "column": 83 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 5144, - "end": 5158, + "start": 6395, + "end": 6426, "loc": { "start": { - "line": 102, - "column": 24 + "line": 143, + "column": 40 }, "end": { - "line": 102, - "column": 38 + "line": 143, + "column": 71 } }, "object": { "type": "Identifier", - "start": 5144, - "end": 5154, + "start": 6395, + "end": 6401, "loc": { "start": { - "line": 102, - "column": 24 + "line": 143, + "column": 40 }, "end": { - "line": 102, - "column": 34 + "line": 143, + "column": 46 }, - "identifierName": "descriptor" + "identifierName": "Object" }, - "name": "descriptor" + "name": "Object" }, "property": { "type": "Identifier", - "start": 5155, - "end": 5158, + "start": 6402, + "end": 6426, "loc": { "start": { - "line": 102, - "column": 35 + "line": 143, + "column": 47 }, "end": { - "line": 102, - "column": 38 + "line": 143, + "column": 71 }, - "identifierName": "set" + "identifierName": "getOwnPropertyDescriptor" }, - "name": "set" + "name": "getOwnPropertyDescriptor" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 5159, - "end": 5163, - "loc": { - "start": { - "line": 102, - "column": 39 - }, - "end": { - "line": 102, - "column": 43 - }, - "identifierName": "call" + "arguments": [ + { + "type": "ThisExpression", + "start": 6427, + "end": 6431, + "loc": { + "start": { + "line": 143, + "column": 72 + }, + "end": { + "line": 143, + "column": 76 + } + } }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 5164, - "end": 5168, - "loc": { - "start": { - "line": 102, - "column": 44 + { + "type": "Identifier", + "start": 6433, + "end": 6437, + "loc": { + "start": { + "line": 143, + "column": 78 + }, + "end": { + "line": 143, + "column": 82 + }, + "identifierName": "name" }, - "end": { - "line": 102, - "column": 48 - } + "name": "name" } - }, - { - "type": "Identifier", - "start": 5170, - "end": 5175, - "loc": { - "start": { - "line": 102, - "column": 50 - }, - "end": { - "line": 102, - "column": 55 - }, - "identifierName": "value" - }, - "name": "value" - } - ] + ] + } } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 5225, - "end": 5320, - "loc": { - "start": { - "line": 104, - "column": 25 - }, - "end": { - "line": 106, - "column": 21 - } + ], + "kind": "const" }, - "test": { - "type": "LogicalExpression", - "start": 5229, - "end": 5251, + { + "type": "IfStatement", + "start": 6460, + "end": 6686, "loc": { "start": { - "line": 104, - "column": 29 + "line": 144, + "column": 20 }, "end": { - "line": 104, - "column": 51 + "line": 149, + "column": 21 } }, - "left": { - "type": "Identifier", - "start": 5229, - "end": 5239, + "test": { + "type": "MemberExpression", + "start": 6464, + "end": 6479, "loc": { "start": { - "line": 104, - "column": 29 + "line": 144, + "column": 24 }, "end": { - "line": 104, + "line": 144, "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 6464, + "end": 6475, + "loc": { + "start": { + "line": 144, + "column": 24 + }, + "end": { + "line": 144, + "column": 35 + }, + "identifierName": "descriptor2" + }, + "name": "descriptor2" + }, + "property": { + "type": "Identifier", + "start": 6476, + "end": 6479, + "loc": { + "start": { + "line": 144, + "column": 36 + }, + "end": { + "line": 144, + "column": 39 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 6481, + "end": 6564, + "loc": { + "start": { + "line": 144, + "column": 41 }, - "identifierName": "isProperty" + "end": { + "line": 146, + "column": 21 + } }, - "name": "isProperty" + "body": [ + { + "type": "ExpressionStatement", + "start": 6507, + "end": 6542, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 6507, + "end": 6541, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 6507, + "end": 6527, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 6507, + "end": 6522, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 6507, + "end": 6518, + "loc": { + "start": { + "line": 145, + "column": 24 + }, + "end": { + "line": 145, + "column": 35 + }, + "identifierName": "descriptor2" + }, + "name": "descriptor2" + }, + "property": { + "type": "Identifier", + "start": 6519, + "end": 6522, + "loc": { + "start": { + "line": 145, + "column": 36 + }, + "end": { + "line": 145, + "column": 39 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6523, + "end": 6527, + "loc": { + "start": { + "line": 145, + "column": 40 + }, + "end": { + "line": 145, + "column": 44 + }, + "identifierName": "call" + }, + "name": "call" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 6528, + "end": 6532, + "loc": { + "start": { + "line": 145, + "column": 45 + }, + "end": { + "line": 145, + "column": 49 + } + } + }, + { + "type": "Identifier", + "start": 6534, + "end": 6540, + "loc": { + "start": { + "line": 145, + "column": 51 + }, + "end": { + "line": 145, + "column": 57 + }, + "identifierName": "value2" + }, + "name": "value2" + } + ] + } + } + ], + "directives": [] }, - "operator": "||", - "right": { - "type": "Identifier", - "start": 5243, - "end": 5251, + "alternate": { + "type": "IfStatement", + "start": 6590, + "end": 6686, "loc": { "start": { - "line": 104, - "column": 43 + "line": 147, + "column": 25 }, "end": { - "line": 104, - "column": 51 - }, - "identifierName": "isMethod" - }, - "name": "isMethod" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 5253, - "end": 5320, - "loc": { - "start": { - "line": 104, - "column": 53 + "line": 149, + "column": 21 + } }, - "end": { - "line": 106, - "column": 21 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 5279, - "end": 5298, + "test": { + "type": "LogicalExpression", + "start": 6594, + "end": 6616, "loc": { "start": { - "line": 105, - "column": 24 + "line": 147, + "column": 29 }, "end": { - "line": 105, - "column": 43 + "line": 147, + "column": 51 } }, - "expression": { - "type": "AssignmentExpression", - "start": 5279, - "end": 5297, + "left": { + "type": "Identifier", + "start": 6594, + "end": 6604, "loc": { "start": { - "line": 105, - "column": 24 + "line": 147, + "column": 29 }, "end": { - "line": 105, - "column": 42 - } + "line": 147, + "column": 39 + }, + "identifierName": "isProperty" }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5279, - "end": 5289, + "name": "isProperty" + }, + "operator": "||", + "right": { + "type": "Identifier", + "start": 6608, + "end": 6616, + "loc": { + "start": { + "line": 147, + "column": 43 + }, + "end": { + "line": 147, + "column": 51 + }, + "identifierName": "isMethod" + }, + "name": "isMethod" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 6618, + "end": 6686, + "loc": { + "start": { + "line": 147, + "column": 53 + }, + "end": { + "line": 149, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6644, + "end": 6664, "loc": { "start": { - "line": 105, + "line": 148, "column": 24 }, "end": { - "line": 105, - "column": 34 + "line": 148, + "column": 44 } }, - "object": { - "type": "ThisExpression", - "start": 5279, - "end": 5283, + "expression": { + "type": "AssignmentExpression", + "start": 6644, + "end": 6663, "loc": { "start": { - "line": 105, + "line": 148, "column": 24 }, "end": { - "line": 105, - "column": 28 + "line": 148, + "column": 43 } - } - }, - "property": { - "type": "Identifier", - "start": 5284, - "end": 5288, - "loc": { - "start": { - "line": 105, - "column": 29 + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6644, + "end": 6654, + "loc": { + "start": { + "line": 148, + "column": 24 + }, + "end": { + "line": 148, + "column": 34 + } }, - "end": { - "line": 105, - "column": 33 + "object": { + "type": "ThisExpression", + "start": 6644, + "end": 6648, + "loc": { + "start": { + "line": 148, + "column": 24 + }, + "end": { + "line": 148, + "column": 28 + } + } }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 5292, - "end": 5297, - "loc": { - "start": { - "line": 105, - "column": 37 - }, - "end": { - "line": 105, - "column": 42 + "property": { + "type": "Identifier", + "start": 6649, + "end": 6653, + "loc": { + "start": { + "line": 148, + "column": 29 + }, + "end": { + "line": 148, + "column": 33 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true }, - "identifierName": "value" - }, - "name": "value" + "right": { + "type": "Identifier", + "start": 6657, + "end": 6663, + "loc": { + "start": { + "line": 148, + "column": 37 + }, + "end": { + "line": 148, + "column": 43 + }, + "identifierName": "value2" + }, + "name": "value2" + } + } } - } - } - ], - "directives": [] - }, - "alternate": null - } + ], + "directives": [] + }, + "alternate": null + } + } + ], + "directives": [] } - ], - "directives": [] + } + } + }, + { + "type": "ReturnStatement", + "start": 6722, + "end": 6740, + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 151, + "column": 34 + } + }, + "argument": { + "type": "Identifier", + "start": 6729, + "end": 6739, + "loc": { + "start": { + "line": 151, + "column": 23 + }, + "end": { + "line": 151, + "column": 33 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" } } + ], + "directives": [] + } + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 6768, + "end": 6937, + "loc": { + "start": { + "line": 153, + "column": 12 + }, + "end": { + "line": 156, + "column": 13 + } + }, + "test": { + "type": "LogicalExpression", + "start": 6772, + "end": 6830, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 74 + } + }, + "left": { + "type": "Identifier", + "start": 6772, + "end": 6786, + "loc": { + "start": { + "line": 153, + "column": 16 + }, + "end": { + "line": 153, + "column": 30 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 6790, + "end": 6830, + "loc": { + "start": { + "line": 153, + "column": 34 + }, + "end": { + "line": 153, + "column": 74 + } + }, + "callee": { + "type": "Identifier", + "start": 6790, + "end": 6821, + "loc": { + "start": { + "line": 153, + "column": 34 + }, + "end": { + "line": 153, + "column": 65 + }, + "identifierName": "isMethodOrPropertyDecoratorArgs" + }, + "name": "isMethodOrPropertyDecoratorArgs" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 6822, + "end": 6829, + "loc": { + "start": { + "line": 153, + "column": 66 + }, + "end": { + "line": 153, + "column": 73 + } + }, + "argument": { + "type": "Identifier", + "start": 6825, + "end": 6829, + "loc": { + "start": { + "line": 153, + "column": 69 + }, + "end": { + "line": 153, + "column": 73 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ] + } + }, + "consequent": { + "type": "BlockStatement", + "start": 6832, + "end": 6937, + "loc": { + "start": { + "line": 153, + "column": 76 + }, + "end": { + "line": 156, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6850, + "end": 6862, + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 28 } }, - { - "type": "ReturnStatement", - "start": 5356, - "end": 5374, + "expression": { + "type": "AssignmentExpression", + "start": 6850, + "end": 6861, "loc": { "start": { - "line": 108, + "line": 154, "column": 16 }, "end": { - "line": 108, - "column": 34 + "line": 154, + "column": 27 } }, - "argument": { + "operator": "=", + "left": { "type": "Identifier", - "start": 5363, - "end": 5373, + "start": 6850, + "end": 6856, "loc": { "start": { - "line": 108, - "column": 23 + "line": 154, + "column": 16 }, "end": { - "line": 108, - "column": 33 + "line": 154, + "column": 22 + }, + "identifierName": "params" + }, + "name": "params" + }, + "right": { + "type": "ArrayExpression", + "start": 6859, + "end": 6861, + "loc": { + "start": { + "line": 154, + "column": 25 }, - "identifierName": "descriptor" + "end": { + "line": 154, + "column": 27 + } }, - "name": "descriptor" + "elements": [] + } + } + }, + { + "type": "ReturnStatement", + "start": 6879, + "end": 6923, + "loc": { + "start": { + "line": 155, + "column": 16 + }, + "end": { + "line": 155, + "column": 60 } + }, + "argument": { + "type": "CallExpression", + "start": 6886, + "end": 6922, + "loc": { + "start": { + "line": 155, + "column": 23 + }, + "end": { + "line": 155, + "column": 59 + } + }, + "callee": { + "type": "Identifier", + "start": 6886, + "end": 6895, + "loc": { + "start": { + "line": 155, + "column": 23 + }, + "end": { + "line": 155, + "column": 32 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 6896, + "end": 6903, + "loc": { + "start": { + "line": 155, + "column": 33 + }, + "end": { + "line": 155, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 6896, + "end": 6900, + "loc": { + "start": { + "line": 155, + "column": 33 + }, + "end": { + "line": 155, + "column": 37 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 6901, + "end": 6902, + "loc": { + "start": { + "line": 155, + "column": 38 + }, + "end": { + "line": 155, + "column": 39 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + { + "type": "MemberExpression", + "start": 6905, + "end": 6912, + "loc": { + "start": { + "line": 155, + "column": 42 + }, + "end": { + "line": 155, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 6905, + "end": 6909, + "loc": { + "start": { + "line": 155, + "column": 42 + }, + "end": { + "line": 155, + "column": 46 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 6910, + "end": 6911, + "loc": { + "start": { + "line": 155, + "column": 47 + }, + "end": { + "line": 155, + "column": 48 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + }, + { + "type": "MemberExpression", + "start": 6914, + "end": 6921, + "loc": { + "start": { + "line": 155, + "column": 51 + }, + "end": { + "line": 155, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 6914, + "end": 6918, + "loc": { + "start": { + "line": 155, + "column": 51 + }, + "end": { + "line": 155, + "column": 55 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 6919, + "end": 6920, + "loc": { + "start": { + "line": 155, + "column": 56 + }, + "end": { + "line": 155, + "column": 57 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + "computed": true + } + ] } - ], - "directives": [] + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 6950, + "end": 6967, + "loc": { + "start": { + "line": 157, + "column": 12 + }, + "end": { + "line": 157, + "column": 29 } + }, + "argument": { + "type": "Identifier", + "start": 6957, + "end": 6966, + "loc": { + "start": { + "line": 157, + "column": 19 + }, + "end": { + "line": 157, + "column": 28 + }, + "identifierName": "decorator" + }, + "name": "decorator" } } ], @@ -10630,42 +12902,80 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 54\n * @param\n * {DecoratorConfig} config\n * @return\n * {GenericDecorator}\n ", + "start": 1856, + "end": 2003, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 58, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 183\n * @param\n * {InstanceChainContext} context\n * @param\n * {DecoratorConfig} config\n * @return\n * {boolean}\n ", + "start": 6989, + "end": 7180, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 171, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 5411, - "end": 5656, + "start": 7185, + "end": 7430, "loc": { "start": { - "line": 112, + "line": 172, "column": 4 }, "end": { - "line": 117, + "line": 177, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 5411, - "end": 5424, + "start": 7185, + "end": 7198, "loc": { "start": { - "line": 112, + "line": 172, "column": 4 }, "end": { - "line": 112, + "line": 172, "column": 17 }, "identifierName": "_isApplicable" }, - "name": "_isApplicable" + "name": "_isApplicable", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -10674,15 +12984,15 @@ "params": [ { "type": "Identifier", - "start": 5425, - "end": 5432, + "start": 7199, + "end": 7206, "loc": { "start": { - "line": 112, + "line": 172, "column": 18 }, "end": { - "line": 112, + "line": 172, "column": 25 }, "identifierName": "context" @@ -10691,15 +13001,15 @@ }, { "type": "Identifier", - "start": 5434, - "end": 5440, + "start": 7208, + "end": 7214, "loc": { "start": { - "line": 112, + "line": 172, "column": 27 }, "end": { - "line": 112, + "line": 172, "column": 33 }, "identifierName": "config" @@ -10709,44 +13019,44 @@ ], "body": { "type": "BlockStatement", - "start": 5442, - "end": 5656, + "start": 7216, + "end": 7430, "loc": { "start": { - "line": 112, + "line": 172, "column": 35 }, "end": { - "line": 117, + "line": 177, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 5452, - "end": 5650, + "start": 7226, + "end": 7424, "loc": { "start": { - "line": 113, + "line": 173, "column": 8 }, "end": { - "line": 116, + "line": 176, "column": 53 } }, "argument": { "type": "UnaryExpression", - "start": 5459, - "end": 5649, + "start": 7233, + "end": 7423, "loc": { "start": { - "line": 113, + "line": 173, "column": 15 }, "end": { - "line": 116, + "line": 176, "column": 52 } }, @@ -10754,29 +13064,29 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 5460, - "end": 5649, + "start": 7234, + "end": 7423, "loc": { "start": { - "line": 113, + "line": 173, "column": 16 }, "end": { - "line": 116, + "line": 176, "column": 52 } }, "callee": { "type": "Identifier", - "start": 5460, - "end": 5467, + "start": 7234, + "end": 7241, "loc": { "start": { - "line": 113, + "line": 173, "column": 16 }, "end": { - "line": 113, + "line": 173, "column": 23 }, "identifierName": "Boolean" @@ -10786,85 +13096,85 @@ "arguments": [ { "type": "LogicalExpression", - "start": 5468, - "end": 5648, + "start": 7242, + "end": 7422, "loc": { "start": { - "line": 113, + "line": 173, "column": 24 }, "end": { - "line": 116, + "line": 176, "column": 51 } }, "left": { "type": "LogicalExpression", - "start": 5468, - "end": 5596, + "start": 7242, + "end": 7370, "loc": { "start": { - "line": 113, + "line": 173, "column": 24 }, "end": { - "line": 115, + "line": 175, "column": 47 } }, "left": { "type": "LogicalExpression", - "start": 5468, - "end": 5548, + "start": 7242, + "end": 7322, "loc": { "start": { - "line": 113, + "line": 173, "column": 24 }, "end": { - "line": 114, + "line": 174, "column": 47 } }, "left": { "type": "LogicalExpression", - "start": 5468, - "end": 5500, + "start": 7242, + "end": 7274, "loc": { "start": { - "line": 113, + "line": 173, "column": 24 }, "end": { - "line": 113, + "line": 173, "column": 56 } }, "left": { "type": "MemberExpression", - "start": 5468, - "end": 5482, + "start": 7242, + "end": 7256, "loc": { "start": { - "line": 113, + "line": 173, "column": 24 }, "end": { - "line": 113, + "line": 173, "column": 38 } }, "object": { "type": "Identifier", - "start": 5468, - "end": 5475, + "start": 7242, + "end": 7249, "loc": { "start": { - "line": 113, + "line": 173, "column": 24 }, "end": { - "line": 113, + "line": 173, "column": 31 }, "identifierName": "context" @@ -10873,15 +13183,15 @@ }, "property": { "type": "Identifier", - "start": 5476, - "end": 5482, + "start": 7250, + "end": 7256, "loc": { "start": { - "line": 113, + "line": 173, "column": 32 }, "end": { - "line": 113, + "line": 173, "column": 38 }, "identifierName": "getter" @@ -10893,15 +13203,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 5486, - "end": 5500, + "start": 7260, + "end": 7274, "loc": { "start": { - "line": 113, + "line": 173, "column": 42 }, "end": { - "line": 113, + "line": 173, "column": 56 } }, @@ -10909,29 +13219,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 5487, - "end": 5500, + "start": 7261, + "end": 7274, "loc": { "start": { - "line": 113, + "line": 173, "column": 43 }, "end": { - "line": 113, + "line": 173, "column": 56 } }, "object": { "type": "Identifier", - "start": 5487, - "end": 5493, + "start": 7261, + "end": 7267, "loc": { "start": { - "line": 113, + "line": 173, "column": 43 }, "end": { - "line": 113, + "line": 173, "column": 49 }, "identifierName": "config" @@ -10940,15 +13250,15 @@ }, "property": { "type": "Identifier", - "start": 5494, - "end": 5500, + "start": 7268, + "end": 7274, "loc": { "start": { - "line": 113, + "line": 173, "column": 50 }, "end": { - "line": 113, + "line": 173, "column": 56 }, "identifierName": "getter" @@ -10965,43 +13275,43 @@ "operator": "||", "right": { "type": "LogicalExpression", - "start": 5516, - "end": 5548, + "start": 7290, + "end": 7322, "loc": { "start": { - "line": 114, + "line": 174, "column": 15 }, "end": { - "line": 114, + "line": 174, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 5516, - "end": 5530, + "start": 7290, + "end": 7304, "loc": { "start": { - "line": 114, + "line": 174, "column": 15 }, "end": { - "line": 114, + "line": 174, "column": 29 } }, "object": { "type": "Identifier", - "start": 5516, - "end": 5523, + "start": 7290, + "end": 7297, "loc": { "start": { - "line": 114, + "line": 174, "column": 15 }, "end": { - "line": 114, + "line": 174, "column": 22 }, "identifierName": "context" @@ -11010,15 +13320,15 @@ }, "property": { "type": "Identifier", - "start": 5524, - "end": 5530, + "start": 7298, + "end": 7304, "loc": { "start": { - "line": 114, + "line": 174, "column": 23 }, "end": { - "line": 114, + "line": 174, "column": 29 }, "identifierName": "setter" @@ -11030,15 +13340,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 5534, - "end": 5548, + "start": 7308, + "end": 7322, "loc": { "start": { - "line": 114, + "line": 174, "column": 33 }, "end": { - "line": 114, + "line": 174, "column": 47 } }, @@ -11046,29 +13356,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 5535, - "end": 5548, + "start": 7309, + "end": 7322, "loc": { "start": { - "line": 114, + "line": 174, "column": 34 }, "end": { - "line": 114, + "line": 174, "column": 47 } }, "object": { "type": "Identifier", - "start": 5535, - "end": 5541, + "start": 7309, + "end": 7315, "loc": { "start": { - "line": 114, + "line": 174, "column": 34 }, "end": { - "line": 114, + "line": 174, "column": 40 }, "identifierName": "config" @@ -11077,15 +13387,15 @@ }, "property": { "type": "Identifier", - "start": 5542, - "end": 5548, + "start": 7316, + "end": 7322, "loc": { "start": { - "line": 114, + "line": 174, "column": 41 }, "end": { - "line": 114, + "line": 174, "column": 47 }, "identifierName": "setter" @@ -11103,43 +13413,43 @@ "operator": "||", "right": { "type": "LogicalExpression", - "start": 5564, - "end": 5596, + "start": 7338, + "end": 7370, "loc": { "start": { - "line": 115, + "line": 175, "column": 15 }, "end": { - "line": 115, + "line": 175, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 5564, - "end": 5578, + "start": 7338, + "end": 7352, "loc": { "start": { - "line": 115, + "line": 175, "column": 15 }, "end": { - "line": 115, + "line": 175, "column": 29 } }, "object": { "type": "Identifier", - "start": 5564, - "end": 5571, + "start": 7338, + "end": 7345, "loc": { "start": { - "line": 115, + "line": 175, "column": 15 }, "end": { - "line": 115, + "line": 175, "column": 22 }, "identifierName": "context" @@ -11148,15 +13458,15 @@ }, "property": { "type": "Identifier", - "start": 5572, - "end": 5578, + "start": 7346, + "end": 7352, "loc": { "start": { - "line": 115, + "line": 175, "column": 23 }, "end": { - "line": 115, + "line": 175, "column": 29 }, "identifierName": "method" @@ -11168,15 +13478,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 5582, - "end": 5596, + "start": 7356, + "end": 7370, "loc": { "start": { - "line": 115, + "line": 175, "column": 33 }, "end": { - "line": 115, + "line": 175, "column": 47 } }, @@ -11184,29 +13494,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 5583, - "end": 5596, + "start": 7357, + "end": 7370, "loc": { "start": { - "line": 115, + "line": 175, "column": 34 }, "end": { - "line": 115, + "line": 175, "column": 47 } }, "object": { "type": "Identifier", - "start": 5583, - "end": 5589, + "start": 7357, + "end": 7363, "loc": { "start": { - "line": 115, + "line": 175, "column": 34 }, "end": { - "line": 115, + "line": 175, "column": 40 }, "identifierName": "config" @@ -11215,15 +13525,15 @@ }, "property": { "type": "Identifier", - "start": 5590, - "end": 5596, + "start": 7364, + "end": 7370, "loc": { "start": { - "line": 115, + "line": 175, "column": 41 }, "end": { - "line": 115, + "line": 175, "column": 47 }, "identifierName": "method" @@ -11241,43 +13551,43 @@ "operator": "||", "right": { "type": "LogicalExpression", - "start": 5612, - "end": 5648, + "start": 7386, + "end": 7422, "loc": { "start": { - "line": 116, + "line": 176, "column": 15 }, "end": { - "line": 116, + "line": 176, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 5612, - "end": 5628, + "start": 7386, + "end": 7402, "loc": { "start": { - "line": 116, + "line": 176, "column": 15 }, "end": { - "line": 116, + "line": 176, "column": 31 } }, "object": { "type": "Identifier", - "start": 5612, - "end": 5619, + "start": 7386, + "end": 7393, "loc": { "start": { - "line": 116, + "line": 176, "column": 15 }, "end": { - "line": 116, + "line": 176, "column": 22 }, "identifierName": "context" @@ -11286,15 +13596,15 @@ }, "property": { "type": "Identifier", - "start": 5620, - "end": 5628, + "start": 7394, + "end": 7402, "loc": { "start": { - "line": 116, + "line": 176, "column": 23 }, "end": { - "line": 116, + "line": 176, "column": 31 }, "identifierName": "property" @@ -11306,15 +13616,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 5632, - "end": 5648, + "start": 7406, + "end": 7422, "loc": { "start": { - "line": 116, + "line": 176, "column": 35 }, "end": { - "line": 116, + "line": 176, "column": 51 } }, @@ -11322,29 +13632,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 5633, - "end": 5648, + "start": 7407, + "end": 7422, "loc": { "start": { - "line": 116, + "line": 176, "column": 36 }, "end": { - "line": 116, + "line": 176, "column": 51 } }, "object": { "type": "Identifier", - "start": 5633, - "end": 5639, + "start": 7407, + "end": 7413, "loc": { "start": { - "line": 116, + "line": 176, "column": 36 }, "end": { - "line": 116, + "line": 176, "column": 42 }, "identifierName": "config" @@ -11353,15 +13663,15 @@ }, "property": { "type": "Identifier", - "start": 5640, - "end": 5648, + "start": 7414, + "end": 7422, "loc": { "start": { - "line": 116, + "line": 176, "column": 43 }, "end": { - "line": 116, + "line": 176, "column": 51 }, "identifierName": "property" @@ -11384,42 +13694,80 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 183\n * @param\n * {InstanceChainContext} context\n * @param\n * {DecoratorConfig} config\n * @return\n * {boolean}\n ", + "start": 6989, + "end": 7180, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 171, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 192\n * @param\n * {Object} target\n * @param\n * {string} name\n * @param\n * {PropertyDescriptor} descriptor\n * @return\n * {PropertyDescriptor}\n ", + "start": 7435, + "end": 7664, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 191, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 5661, - "end": 5848, + "start": 7669, + "end": 7856, "loc": { "start": { - "line": 118, + "line": 192, "column": 4 }, "end": { - "line": 123, + "line": 197, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 5661, - "end": 5679, + "start": 7669, + "end": 7687, "loc": { "start": { - "line": 118, + "line": 192, "column": 4 }, "end": { - "line": 118, + "line": 192, "column": 22 }, "identifierName": "_resolveDescriptor" }, - "name": "_resolveDescriptor" + "name": "_resolveDescriptor", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -11428,15 +13776,15 @@ "params": [ { "type": "Identifier", - "start": 5680, - "end": 5686, + "start": 7688, + "end": 7694, "loc": { "start": { - "line": 118, + "line": 192, "column": 23 }, "end": { - "line": 118, + "line": 192, "column": 29 }, "identifierName": "target" @@ -11445,15 +13793,15 @@ }, { "type": "Identifier", - "start": 5688, - "end": 5692, + "start": 7696, + "end": 7700, "loc": { "start": { - "line": 118, + "line": 192, "column": 31 }, "end": { - "line": 118, + "line": 192, "column": 35 }, "identifierName": "name" @@ -11462,15 +13810,15 @@ }, { "type": "Identifier", - "start": 5694, - "end": 5704, + "start": 7702, + "end": 7712, "loc": { "start": { - "line": 118, + "line": 192, "column": 37 }, "end": { - "line": 118, + "line": 192, "column": 47 }, "identifierName": "descriptor" @@ -11480,44 +13828,44 @@ ], "body": { "type": "BlockStatement", - "start": 5706, - "end": 5848, + "start": 7714, + "end": 7856, "loc": { "start": { - "line": 118, + "line": 192, "column": 49 }, "end": { - "line": 123, + "line": 197, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 5716, - "end": 5774, + "start": 7724, + "end": 7782, "loc": { "start": { - "line": 119, + "line": 193, "column": 8 }, "end": { - "line": 121, + "line": 195, "column": 9 } }, "test": { "type": "Identifier", - "start": 5720, - "end": 5730, + "start": 7728, + "end": 7738, "loc": { "start": { - "line": 119, + "line": 193, "column": 12 }, "end": { - "line": 119, + "line": 193, "column": 22 }, "identifierName": "descriptor" @@ -11526,44 +13874,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 5732, - "end": 5774, + "start": 7740, + "end": 7782, "loc": { "start": { - "line": 119, + "line": 193, "column": 24 }, "end": { - "line": 121, + "line": 195, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 5746, - "end": 5764, + "start": 7754, + "end": 7772, "loc": { "start": { - "line": 120, + "line": 194, "column": 12 }, "end": { - "line": 120, + "line": 194, "column": 30 } }, "argument": { "type": "Identifier", - "start": 5753, - "end": 5763, + "start": 7761, + "end": 7771, "loc": { "start": { - "line": 120, + "line": 194, "column": 19 }, "end": { - "line": 120, + "line": 194, "column": 29 }, "identifierName": "descriptor" @@ -11578,71 +13926,71 @@ }, { "type": "ReturnStatement", - "start": 5783, - "end": 5842, + "start": 7791, + "end": 7850, "loc": { "start": { - "line": 122, + "line": 196, "column": 8 }, "end": { - "line": 122, + "line": 196, "column": 67 } }, "argument": { "type": "LogicalExpression", - "start": 5790, - "end": 5841, + "start": 7798, + "end": 7849, "loc": { "start": { - "line": 122, + "line": 196, "column": 15 }, "end": { - "line": 122, + "line": 196, "column": 66 } }, "left": { "type": "CallExpression", - "start": 5790, - "end": 5835, + "start": 7798, + "end": 7843, "loc": { "start": { - "line": 122, + "line": 196, "column": 15 }, "end": { - "line": 122, + "line": 196, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 5790, - "end": 5821, + "start": 7798, + "end": 7829, "loc": { "start": { - "line": 122, + "line": 196, "column": 15 }, "end": { - "line": 122, + "line": 196, "column": 46 } }, "object": { "type": "Identifier", - "start": 5790, - "end": 5796, + "start": 7798, + "end": 7804, "loc": { "start": { - "line": 122, + "line": 196, "column": 15 }, "end": { - "line": 122, + "line": 196, "column": 21 }, "identifierName": "Object" @@ -11651,15 +13999,15 @@ }, "property": { "type": "Identifier", - "start": 5797, - "end": 5821, + "start": 7805, + "end": 7829, "loc": { "start": { - "line": 122, + "line": 196, "column": 22 }, "end": { - "line": 122, + "line": 196, "column": 46 }, "identifierName": "getOwnPropertyDescriptor" @@ -11671,15 +14019,15 @@ "arguments": [ { "type": "Identifier", - "start": 5822, - "end": 5828, + "start": 7830, + "end": 7836, "loc": { "start": { - "line": 122, + "line": 196, "column": 47 }, "end": { - "line": 122, + "line": 196, "column": 53 }, "identifierName": "target" @@ -11688,15 +14036,15 @@ }, { "type": "Identifier", - "start": 5830, - "end": 5834, + "start": 7838, + "end": 7842, "loc": { "start": { - "line": 122, + "line": 196, "column": 55 }, "end": { - "line": 122, + "line": 196, "column": 59 }, "identifierName": "name" @@ -11708,15 +14056,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 5839, - "end": 5841, + "start": 7847, + "end": 7849, "loc": { "start": { - "line": 122, + "line": 196, "column": 64 }, "end": { - "line": 122, + "line": 196, "column": 66 } }, @@ -11726,175 +14074,4819 @@ } ], "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 192\n * @param\n * {Object} target\n * @param\n * {string} name\n * @param\n * {PropertyDescriptor} descriptor\n * @return\n * {PropertyDescriptor}\n ", + "start": 7435, + "end": 7664, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 191, + "column": 7 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 18\n ", + "start": 144, + "end": 184, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 } } - ] + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 18\n ", + "start": 144, + "end": 184, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 7859, + "end": 7922, + "loc": { + "start": { + "line": 199, + "column": 0 + }, + "end": { + "line": 199, + "column": 63 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 7866, + "end": 7922, + "loc": { + "start": { + "line": 199, + "column": 7 + }, + "end": { + "line": 199, + "column": 63 + } }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7872, + "end": 7921, + "loc": { + "start": { + "line": 199, + "column": 13 + }, + "end": { + "line": 199, + "column": 62 + } + }, + "id": { + "type": "Identifier", + "start": 7872, + "end": 7888, + "loc": { + "start": { + "line": 199, + "column": 13 + }, + "end": { + "line": 199, + "column": 29 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "init": { + "type": "NewExpression", + "start": 7891, + "end": 7921, + "loc": { + "start": { + "line": 199, + "column": 32 + }, + "end": { + "line": 199, + "column": 62 + } + }, + "callee": { + "type": "Identifier", + "start": 7895, + "end": 7919, + "loc": { + "start": { + "line": 199, + "column": 36 + }, + "end": { + "line": 199, + "column": 60 + }, + "identifierName": "InternalDecoratorFactory" + }, + "name": "InternalDecoratorFactory" + }, + "arguments": [] + } + } + ], + "kind": "const", "leadingComments": [], "trailingComments": [] } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 18\n ", + "start": 144, + "end": 184, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 19\n * @param\n * {DecoratorConfig} config\n * @return\n * {GenericDecorator}\n ", + "start": 229, + "end": 376, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " If this decorator is being applied after an instance decorator we simply ignore it", + "start": 745, + "end": 830, + "loc": { + "start": { + "line": 27, + "column": 16 + }, + "end": { + "line": 27, + "column": 101 + } + } + }, + { + "type": "CommentLine", + "value": " as we can't apply it correctly.", + "start": 847, + "end": 881, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 54\n * @param\n * {DecoratorConfig} config\n * @return\n * {GenericDecorator}\n ", + "start": 1856, + "end": 2003, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 58, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " If we have a getter apply the decorators to the getter and assign it to the instance.", + "start": 4216, + "end": 4304, + "loc": { + "start": { + "line": 98, + "column": 24 + }, + "end": { + "line": 98, + "column": 112 + } + } + }, + { + "type": "CommentLine", + "value": " Check for direct access on the prototype.", + "start": 5691, + "end": 5735, + "loc": { + "start": { + "line": 129, + "column": 20 + }, + "end": { + "line": 129, + "column": 64 + } + } + }, + { + "type": "CommentLine", + "value": " MyClass.prototype.fn <-- This should not apply the decorator.", + "start": 5756, + "end": 5820, + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 84 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 183\n * @param\n * {InstanceChainContext} context\n * @param\n * {DecoratorConfig} config\n * @return\n * {boolean}\n ", + "start": 6989, + "end": 7180, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 171, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 192\n * @param\n * {Object} target\n * @param\n * {string} name\n * @param\n * {PropertyDescriptor} descriptor\n * @return\n * {PropertyDescriptor}\n ", + "start": 7435, + "end": 7664, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 191, + "column": 7 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "InstanceChainMap", + "start": 9, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 26, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 28, + "end": 32, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./common", + "start": 33, + "end": 43, + "loc": { + "start": { + "line": 1, + "column": 33 + }, + "end": { + "line": 1, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 45, + "end": 51, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 52, + "end": 53, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "copyMetadata", + "start": 54, + "end": 66, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 66, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 68, + "end": 72, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 72, + "end": 73, + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isMethodOrPropertyDecoratorArgs", + "start": 74, + "end": 105, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 60 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 105, + "end": 106, + "loc": { + "start": { + "line": 2, + "column": 60 + }, + "end": { + "line": 2, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isPrototypeAccess", + "start": 107, + "end": 124, + "loc": { + "start": { + "line": 2, + "column": 62 + }, + "end": { + "line": 2, + "column": 79 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 125, + "end": 126, + "loc": { + "start": { + "line": 2, + "column": 80 + }, + "end": { + "line": 2, + "column": 81 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 127, + "end": 131, + "loc": { + "start": { + "line": 2, + "column": 82 + }, + "end": { + "line": 2, + "column": 86 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../utils", + "start": 132, + "end": 142, + "loc": { + "start": { + "line": 2, + "column": 87 + }, + "end": { + "line": 2, + "column": 97 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 142, + "end": 143, + "loc": { + "start": { + "line": 2, + "column": 97 + }, + "end": { + "line": 2, + "column": 98 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 18\n ", + "start": 144, + "end": 184, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 185, + "end": 191, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 192, + "end": 197, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "InternalDecoratorFactory", + "start": 198, + "end": 222, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 223, + "end": 224, + "loc": { + "start": { + "line": 9, + "column": 38 + }, + "end": { + "line": 9, + "column": 39 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 19\n * @param\n * {DecoratorConfig} config\n * @return\n * {GenericDecorator}\n ", + "start": 229, + "end": 376, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createDecorator", + "start": 381, + "end": 396, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 396, + "end": 397, + "loc": { + "start": { + "line": 20, + "column": 19 + }, + "end": { + "line": 20, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 397, + "end": 403, + "loc": { + "start": { + "line": 20, + "column": 20 + }, + "end": { + "line": 20, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 403, + "end": 404, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 405, + "end": 406, + "loc": { + "start": { + "line": 20, + "column": 28 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 415, + "end": 420, + "loc": { + "start": { + "line": 21, + "column": 8 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 421, + "end": 422, + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "applicator", + "start": 423, + "end": 433, + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 433, + "end": 434, + "loc": { + "start": { + "line": 21, + "column": 26 + }, + "end": { + "line": 21, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 435, + "end": 449, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 450, + "end": 451, + "loc": { + "start": { + "line": 21, + "column": 43 + }, + "end": { + "line": 21, + "column": 44 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 452, + "end": 453, + "loc": { + "start": { + "line": 21, + "column": 45 + }, + "end": { + "line": 21, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 454, + "end": 460, + "loc": { + "start": { + "line": 21, + "column": 47 + }, + "end": { + "line": 21, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 460, + "end": 461, + "loc": { + "start": { + "line": 21, + "column": 53 + }, + "end": { + "line": 21, + "column": 54 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 470, + "end": 476, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 477, + "end": 478, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 16 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 478, + "end": 481, + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 481, + "end": 485, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 485, + "end": 486, + "loc": { + "start": { + "line": 22, + "column": 23 + }, + "end": { + "line": 22, + "column": 24 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 487, + "end": 489, + "loc": { + "start": { + "line": 22, + "column": 25 + }, + "end": { + "line": 22, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 490, + "end": 491, + "loc": { + "start": { + "line": 22, + "column": 28 + }, + "end": { + "line": 22, + "column": 29 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 504, + "end": 507, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "params", + "start": 508, + "end": 514, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 515, + "end": 516, + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 517, + "end": 521, + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 521, + "end": 522, + "loc": { + "start": { + "line": 23, + "column": 29 + }, + "end": { + "line": 23, + "column": 30 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 535, + "end": 540, + "loc": { + "start": { + "line": 24, + "column": 12 + }, + "end": { + "line": 24, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 541, + "end": 550, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 551, + "end": 552, + "loc": { + "start": { + "line": 24, + "column": 28 + }, + "end": { + "line": 24, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 553, + "end": 554, + "loc": { + "start": { + "line": 24, + "column": 30 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 554, + "end": 560, + "loc": { + "start": { + "line": 24, + "column": 31 + }, + "end": { + "line": 24, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 560, + "end": 561, + "loc": { + "start": { + "line": 24, + "column": 37 + }, + "end": { + "line": 24, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 562, + "end": 566, + "loc": { + "start": { + "line": 24, + "column": 39 + }, + "end": { + "line": 24, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 566, + "end": 567, + "loc": { + "start": { + "line": 24, + "column": 43 + }, + "end": { + "line": 24, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_descriptor", + "start": 568, + "end": 579, + "loc": { + "start": { + "line": 24, + "column": 45 + }, + "end": { + "line": 24, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 579, + "end": 580, + "loc": { + "start": { + "line": 24, + "column": 56 + }, + "end": { + "line": 24, + "column": 57 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 581, + "end": 583, + "loc": { + "start": { + "line": 24, + "column": 58 + }, + "end": { + "line": 24, + "column": 60 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 584, + "end": 585, + "loc": { + "start": { + "line": 24, + "column": 61 + }, + "end": { + "line": 24, + "column": 62 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 602, + "end": 607, + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "descriptor", + "start": 608, + "end": 618, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 619, + "end": 620, + "loc": { + "start": { + "line": 25, + "column": 33 + }, + "end": { + "line": 25, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 621, + "end": 625, + "loc": { + "start": { + "line": 25, + "column": 35 + }, + "end": { + "line": 25, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 625, + "end": 626, + "loc": { + "start": { + "line": 25, + "column": 39 + }, + "end": { + "line": 25, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_resolveDescriptor", + "start": 626, + "end": 644, + "loc": { + "start": { + "line": 25, + "column": 40 + }, + "end": { + "line": 25, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 644, + "end": 645, + "loc": { + "start": { + "line": 25, + "column": 58 + }, + "end": { + "line": 25, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 645, + "end": 651, + "loc": { + "start": { + "line": 25, + "column": 59 + }, + "end": { + "line": 25, + "column": 65 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 651, + "end": 652, + "loc": { + "start": { + "line": 25, + "column": 65 + }, + "end": { + "line": 25, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 653, + "end": 657, + "loc": { + "start": { + "line": 25, + "column": 67 + }, + "end": { + "line": 25, + "column": 71 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 657, + "end": 658, + "loc": { + "start": { + "line": 25, + "column": 71 + }, + "end": { + "line": 25, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "_descriptor", + "start": 659, + "end": 670, + "loc": { + "start": { + "line": 25, + "column": 73 + }, + "end": { + "line": 25, + "column": 84 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 670, + "end": 671, + "loc": { + "start": { + "line": 25, + "column": 84 + }, + "end": { + "line": 25, + "column": 85 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 671, + "end": 672, + "loc": { + "start": { + "line": 25, + "column": 85 + }, + "end": { + "line": 25, + "column": 86 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 689, + "end": 694, + "loc": { + "start": { + "line": 26, + "column": 16 + }, + "end": { + "line": 26, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 695, + "end": 696, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 697, + "end": 702, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 702, + "end": 703, + "loc": { + "start": { + "line": 26, + "column": 29 + }, + "end": { + "line": 26, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 704, + "end": 707, + "loc": { + "start": { + "line": 26, + "column": 31 + }, + "end": { + "line": 26, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 707, + "end": 708, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 709, + "end": 712, + "loc": { + "start": { + "line": 26, + "column": 36 + }, + "end": { + "line": 26, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 713, + "end": 714, + "loc": { + "start": { + "line": 26, + "column": 40 + }, + "end": { + "line": 26, + "column": 41 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 715, + "end": 716, + "loc": { + "start": { + "line": 26, + "column": 42 + }, + "end": { + "line": 26, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "descriptor", + "start": 717, + "end": 727, + "loc": { + "start": { + "line": 26, + "column": 44 + }, + "end": { + "line": 26, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 727, + "end": 728, + "loc": { + "start": { + "line": 26, + "column": 54 + }, + "end": { + "line": 26, + "column": 55 + } + } + }, + { + "type": "CommentLine", + "value": " If this decorator is being applied after an instance decorator we simply ignore it", + "start": 745, + "end": 830, + "loc": { + "start": { + "line": 27, + "column": 16 + }, + "end": { + "line": 27, + "column": 101 + } + } + }, + { + "type": "CommentLine", + "value": " as we can't apply it correctly.", + "start": 847, + "end": 881, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 50 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 898, + "end": 900, + "loc": { + "start": { + "line": 29, + "column": 16 + }, + "end": { + "line": 29, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 901, + "end": 902, + "loc": { + "start": { + "line": 29, + "column": 19 + }, + "end": { + "line": 29, + "column": 20 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 902, + "end": 903, + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "InstanceChainMap", + "start": 903, + "end": 919, + "loc": { + "start": { + "line": 29, + "column": 21 + }, + "end": { + "line": 29, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 919, + "end": 920, + "loc": { + "start": { + "line": 29, + "column": 37 + }, + "end": { + "line": 29, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "has", + "start": 920, + "end": 923, + "loc": { + "start": { + "line": 29, + "column": 38 + }, + "end": { + "line": 29, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 923, + "end": 924, + "loc": { + "start": { + "line": 29, + "column": 41 + }, + "end": { + "line": 29, + "column": 42 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 924, + "end": 925, + "loc": { + "start": { + "line": 29, + "column": 42 + }, + "end": { + "line": 29, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 925, + "end": 931, + "loc": { + "start": { + "line": 29, + "column": 43 + }, + "end": { + "line": 29, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 931, + "end": 932, + "loc": { + "start": { + "line": 29, + "column": 49 + }, + "end": { + "line": 29, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 933, + "end": 937, + "loc": { + "start": { + "line": 29, + "column": 51 + }, + "end": { + "line": 29, + "column": 55 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 937, + "end": 938, + "loc": { + "start": { + "line": 29, + "column": 55 + }, + "end": { + "line": 29, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 938, + "end": 939, + "loc": { + "start": { + "line": 29, + "column": 56 + }, + "end": { + "line": 29, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 939, + "end": 940, + "loc": { + "start": { + "line": 29, + "column": 57 + }, + "end": { + "line": 29, + "column": 58 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 941, + "end": 942, + "loc": { + "start": { + "line": 29, + "column": 59 + }, + "end": { + "line": 29, + "column": 60 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 963, + "end": 965, + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 30, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 966, + "end": 967, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isFunction", + "start": 967, + "end": 977, + "loc": { + "start": { + "line": 30, + "column": 24 + }, + "end": { + "line": 30, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 977, + "end": 978, + "loc": { + "start": { + "line": 30, + "column": 34 + }, + "end": { + "line": 30, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 978, + "end": 983, + "loc": { + "start": { + "line": 30, + "column": 35 + }, + "end": { + "line": 30, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 983, + "end": 984, + "loc": { + "start": { + "line": 30, + "column": 40 + }, + "end": { + "line": 30, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 984, + "end": 985, + "loc": { + "start": { + "line": 30, + "column": 41 + }, + "end": { + "line": 30, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 986, + "end": 987, + "loc": { + "start": { + "line": 30, + "column": 43 + }, + "end": { + "line": 30, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "descriptor", + "start": 1012, + "end": 1022, + "loc": { + "start": { + "line": 31, + "column": 24 + }, + "end": { + "line": 31, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1022, + "end": 1023, + "loc": { + "start": { + "line": 31, + "column": 34 + }, + "end": { + "line": 31, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1023, + "end": 1028, + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 40 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1029, + "end": 1030, + "loc": { + "start": { + "line": 31, + "column": 41 + }, + "end": { + "line": 31, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "copyMetadata", + "start": 1031, + "end": 1043, + "loc": { + "start": { + "line": 31, + "column": 43 + }, + "end": { + "line": 31, + "column": 55 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1043, + "end": 1044, + "loc": { + "start": { + "line": 31, + "column": 55 + }, + "end": { + "line": 31, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "applicator", + "start": 1044, + "end": 1054, + "loc": { + "start": { + "line": 31, + "column": 56 + }, + "end": { + "line": 31, + "column": 66 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1054, + "end": 1055, + "loc": { + "start": { + "line": 31, + "column": 66 + }, + "end": { + "line": 31, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "apply", + "start": 1055, + "end": 1060, + "loc": { + "start": { + "line": 31, + "column": 67 + }, + "end": { + "line": 31, + "column": 72 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1060, + "end": 1061, + "loc": { + "start": { + "line": 31, + "column": 72 + }, + "end": { + "line": 31, + "column": 73 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1061, + "end": 1062, + "loc": { + "start": { + "line": 31, + "column": 73 + }, + "end": { + "line": 31, + "column": 74 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 1063, + "end": 1069, + "loc": { + "start": { + "line": 31, + "column": 75 + }, + "end": { + "line": 31, + "column": 81 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1069, + "end": 1070, + "loc": { + "start": { + "line": 31, + "column": 81 + }, + "end": { + "line": 31, + "column": 82 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 1071, + "end": 1077, + "loc": { + "start": { + "line": 31, + "column": 83 + }, + "end": { + "line": 31, + "column": 89 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1077, + "end": 1078, + "loc": { + "start": { + "line": 31, + "column": 89 + }, + "end": { + "line": 31, + "column": 90 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1079, + "end": 1084, + "loc": { + "start": { + "line": 31, + "column": 91 + }, + "end": { + "line": 31, + "column": 96 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1084, + "end": 1085, + "loc": { + "start": { + "line": 31, + "column": 96 + }, + "end": { + "line": 31, + "column": 97 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 1086, + "end": 1090, + "loc": { + "start": { + "line": 31, + "column": 98 + }, + "end": { + "line": 31, + "column": 102 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1090, + "end": 1091, + "loc": { + "start": { + "line": 31, + "column": 102 + }, + "end": { + "line": 31, + "column": 103 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "params", + "start": 1092, + "end": 1098, + "loc": { + "start": { + "line": 31, + "column": 104 + }, + "end": { + "line": 31, + "column": 110 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1099, + "end": 1100, + "loc": { + "start": { + "line": 31, + "column": 111 + }, + "end": { + "line": 31, + "column": 112 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1100, + "end": 1101, + "loc": { + "start": { + "line": 31, + "column": 112 + }, + "end": { + "line": 31, + "column": 113 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1101, + "end": 1102, + "loc": { + "start": { + "line": 31, + "column": 113 + }, + "end": { + "line": 31, + "column": 114 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1103, + "end": 1108, + "loc": { + "start": { + "line": 31, + "column": 115 + }, + "end": { + "line": 31, + "column": 120 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1108, + "end": 1109, + "loc": { + "start": { + "line": 31, + "column": 120 + }, + "end": { + "line": 31, + "column": 121 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1109, + "end": 1110, + "loc": { + "start": { + "line": 31, + "column": 121 + }, + "end": { + "line": 31, + "column": 122 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1131, + "end": 1132, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1153, + "end": 1157, + "loc": { + "start": { + "line": 33, + "column": 20 + }, + "end": { + "line": 33, + "column": 24 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 1158, + "end": 1160, + "loc": { + "start": { + "line": 33, + "column": 25 + }, + "end": { + "line": 33, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1161, + "end": 1162, + "loc": { + "start": { + "line": 33, + "column": 28 + }, + "end": { + "line": 33, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isFunction", + "start": 1162, + "end": 1172, + "loc": { + "start": { + "line": 33, + "column": 29 + }, + "end": { + "line": 33, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1172, + "end": 1173, + "loc": { + "start": { + "line": 33, + "column": 39 + }, + "end": { + "line": 33, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 1173, + "end": 1176, + "loc": { + "start": { + "line": 33, + "column": 40 + }, + "end": { + "line": 33, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1176, + "end": 1177, + "loc": { + "start": { + "line": 33, + "column": 43 + }, + "end": { + "line": 33, + "column": 44 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 1178, + "end": 1180, + "loc": { + "start": { + "line": 33, + "column": 45 + }, + "end": { + "line": 33, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 1181, + "end": 1187, + "loc": { + "start": { + "line": 33, + "column": 48 + }, + "end": { + "line": 33, + "column": 54 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1187, + "end": 1188, + "loc": { + "start": { + "line": 33, + "column": 54 + }, + "end": { + "line": 33, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getter", + "start": 1188, + "end": 1194, + "loc": { + "start": { + "line": 33, + "column": 55 + }, + "end": { + "line": 33, + "column": 61 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1194, + "end": 1195, + "loc": { + "start": { + "line": 33, + "column": 61 + }, + "end": { + "line": 33, + "column": 62 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1196, + "end": 1197, + "loc": { + "start": { + "line": 33, + "column": 63 + }, + "end": { + "line": 33, + "column": 64 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "descriptor", + "start": 1222, + "end": 1232, + "loc": { + "start": { + "line": 34, + "column": 24 + }, + "end": { + "line": 34, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1232, + "end": 1233, + "loc": { + "start": { + "line": 34, + "column": 34 + }, + "end": { + "line": 34, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 1233, + "end": 1236, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 38 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1237, + "end": 1238, + "loc": { + "start": { + "line": 34, + "column": 39 + }, + "end": { + "line": 34, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "copyMetadata", + "start": 1239, + "end": 1251, + "loc": { + "start": { + "line": 34, + "column": 41 + }, + "end": { + "line": 34, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1251, + "end": 1252, + "loc": { + "start": { + "line": 34, + "column": 53 + }, + "end": { + "line": 34, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "applicator", + "start": 1252, + "end": 1262, + "loc": { + "start": { + "line": 34, + "column": 54 + }, + "end": { + "line": 34, + "column": 64 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1262, + "end": 1263, + "loc": { + "start": { + "line": 34, + "column": 64 + }, + "end": { + "line": 34, + "column": 65 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "apply", + "start": 1263, + "end": 1268, + "loc": { + "start": { + "line": 34, + "column": 65 + }, + "end": { + "line": 34, + "column": 70 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - { - "type": "ExportNamedDeclaration", - "start": 5851, - "end": 5914, - "loc": { - "start": { - "line": 125, - "column": 0 - }, - "end": { - "line": 125, - "column": 63 - } + "start": 1268, + "end": 1269, + "loc": { + "start": { + "line": 34, + "column": 70 }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 5858, - "end": 5914, - "loc": { - "start": { - "line": 125, - "column": 7 - }, - "end": { - "line": 125, - "column": 63 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 5864, - "end": 5913, - "loc": { - "start": { - "line": 125, - "column": 13 - }, - "end": { - "line": 125, - "column": 62 - } - }, - "id": { - "type": "Identifier", - "start": 5864, - "end": 5880, - "loc": { - "start": { - "line": 125, - "column": 13 - }, - "end": { - "line": 125, - "column": 29 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "init": { - "type": "NewExpression", - "start": 5883, - "end": 5913, - "loc": { - "start": { - "line": 125, - "column": 32 - }, - "end": { - "line": 125, - "column": 62 - } - }, - "callee": { - "type": "Identifier", - "start": 5887, - "end": 5911, - "loc": { - "start": { - "line": 125, - "column": 36 - }, - "end": { - "line": 125, - "column": 60 - }, - "identifierName": "InternalDecoratorFactory" - }, - "name": "InternalDecoratorFactory" - }, - "arguments": [] - } - } - ], - "kind": "const", - "leadingComments": [], - "trailingComments": [] + "end": { + "line": 34, + "column": 71 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1269, + "end": 1270, + "loc": { + "start": { + "line": 34, + "column": 71 + }, + "end": { + "line": 34, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 1271, + "end": 1277, + "loc": { + "start": { + "line": 34, + "column": 73 + }, + "end": { + "line": 34, + "column": 79 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1277, + "end": 1278, + "loc": { + "start": { + "line": 34, + "column": 79 + }, + "end": { + "line": 34, + "column": 80 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 1279, + "end": 1285, + "loc": { + "start": { + "line": 34, + "column": 81 + }, + "end": { + "line": 34, + "column": 87 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1285, + "end": 1286, + "loc": { + "start": { + "line": 34, + "column": 87 + }, + "end": { + "line": 34, + "column": 88 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1287, + "end": 1292, + "loc": { + "start": { + "line": 34, + "column": 89 + }, + "end": { + "line": 34, + "column": 94 } } - ], - "directives": [] - }, - "comments": [ + }, { - "type": "CommentLine", - "value": " If this decorator is being applied after an instance decorator we simply ignore it", - "start": 479, - "end": 564, + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1292, + "end": 1293, "loc": { "start": { - "line": 11, - "column": 16 + "line": 34, + "column": 94 }, "end": { - "line": 11, - "column": 101 + "line": 34, + "column": 95 } } }, { - "type": "CommentLine", - "value": " as we can't apply it correctly.", - "start": 581, - "end": 615, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 1294, + "end": 1297, "loc": { "start": { - "line": 12, - "column": 16 + "line": 34, + "column": 96 }, "end": { - "line": 12, - "column": 50 + "line": 34, + "column": 99 } } }, { - "type": "CommentLine", - "value": " If we have a getter apply the decorators to the getter and assign it to the instance.", - "start": 3133, - "end": 3221, + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1297, + "end": 1298, "loc": { "start": { - "line": 60, - "column": 24 + "line": 34, + "column": 99 }, "end": { - "line": 60, - "column": 112 + "line": 34, + "column": 100 } } - } - ], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 1299, + "end": 1303, + "loc": { + "start": { + "line": 34, + "column": 101 + }, + "end": { + "line": 34, + "column": 105 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -11904,24 +18896,23 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 0, - "end": 6, + "start": 1303, + "end": 1304, "loc": { "start": { - "line": 1, - "column": 0 + "line": 34, + "column": 105 }, "end": { - "line": 1, - "column": 6 + "line": 34, + "column": 106 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11930,24 +18921,25 @@ "postfix": false, "binop": null }, - "start": 7, - "end": 8, + "value": "params", + "start": 1305, + "end": 1311, "loc": { "start": { - "line": 1, - "column": 7 + "line": 34, + "column": 107 }, "end": { - "line": 1, - "column": 8 + "line": 34, + "column": 113 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11955,23 +18947,22 @@ "postfix": false, "binop": null }, - "value": "isFunction", - "start": 9, - "end": 19, + "start": 1312, + "end": 1313, "loc": { "start": { - "line": 1, - "column": 9 + "line": 34, + "column": 114 }, "end": { - "line": 1, - "column": 19 + "line": 34, + "column": 115 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11981,16 +18972,42 @@ "postfix": false, "binop": null }, - "start": 20, - "end": 21, + "start": 1313, + "end": 1314, "loc": { "start": { - "line": 1, - "column": 20 + "line": 34, + "column": 115 }, "end": { - "line": 1, - "column": 21 + "line": 34, + "column": 116 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1314, + "end": 1315, + "loc": { + "start": { + "line": 34, + "column": 116 + }, + "end": { + "line": 34, + "column": 117 } } }, @@ -12006,25 +19023,50 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 22, - "end": 26, + "value": "get", + "start": 1316, + "end": 1319, "loc": { "start": { - "line": 1, - "column": 22 + "line": 34, + "column": 118 }, "end": { - "line": 1, - "column": 26 + "line": 34, + "column": 121 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1319, + "end": 1320, + "loc": { + "start": { + "line": 34, + "column": 121 + }, + "end": { + "line": 34, + "column": 122 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12033,23 +19075,48 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 27, - "end": 35, + "start": 1320, + "end": 1321, "loc": { "start": { - "line": 1, - "column": 27 + "line": 34, + "column": 122 }, "end": { - "line": 1, - "column": 35 + "line": 34, + "column": 123 } } }, { "type": { - "label": ";", + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1342, + "end": 1343, + "loc": { + "start": { + "line": 35, + "column": 20 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -12060,23 +19127,24 @@ "binop": null, "updateContext": null }, - "start": 35, - "end": 36, + "value": "else", + "start": 1364, + "end": 1368, "loc": { "start": { - "line": 1, - "column": 35 + "line": 36, + "column": 20 }, "end": { - "line": 1, - "column": 36 + "line": 36, + "column": 24 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12087,23 +19155,23 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 37, - "end": 43, + "value": "if", + "start": 1369, + "end": 1371, "loc": { "start": { - "line": 2, - "column": 0 + "line": 36, + "column": 25 }, "end": { - "line": 2, - "column": 6 + "line": 36, + "column": 27 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -12113,16 +19181,16 @@ "postfix": false, "binop": null }, - "start": 44, - "end": 45, + "start": 1372, + "end": 1373, "loc": { "start": { - "line": 2, - "column": 7 + "line": 36, + "column": 28 }, "end": { - "line": 2, - "column": 8 + "line": 36, + "column": 29 } } }, @@ -12138,25 +19206,25 @@ "postfix": false, "binop": null }, - "value": "InstanceChainMap", - "start": 46, - "end": 62, + "value": "isFunction", + "start": 1373, + "end": 1383, "loc": { "start": { - "line": 2, - "column": 9 + "line": 36, + "column": 29 }, "end": { - "line": 2, - "column": 25 + "line": 36, + "column": 39 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12164,16 +19232,16 @@ "postfix": false, "binop": null }, - "start": 63, - "end": 64, + "start": 1383, + "end": 1384, "loc": { "start": { - "line": 2, - "column": 26 + "line": 36, + "column": 39 }, "end": { - "line": 2, - "column": 27 + "line": 36, + "column": 40 } } }, @@ -12189,105 +19257,76 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 65, - "end": 69, - "loc": { - "start": { - "line": 2, - "column": 28 - }, - "end": { - "line": 2, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./common", - "start": 70, - "end": 80, + "value": "set", + "start": 1384, + "end": 1387, "loc": { "start": { - "line": 2, - "column": 33 + "line": 36, + "column": 40 }, "end": { - "line": 2, + "line": 36, "column": 43 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 80, - "end": 81, + "start": 1387, + "end": 1388, "loc": { "start": { - "line": 2, + "line": 36, "column": 43 }, "end": { - "line": 2, + "line": 36, "column": 44 } } }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, + "label": "&&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "value": "import", - "start": 82, - "end": 88, + "value": "&&", + "start": 1389, + "end": 1391, "loc": { "start": { - "line": 3, - "column": 0 + "line": 36, + "column": 45 }, "end": { - "line": 3, - "column": 6 + "line": 36, + "column": 47 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12296,76 +19335,77 @@ "postfix": false, "binop": null }, - "start": 89, - "end": 90, + "value": "config", + "start": 1392, + "end": 1398, "loc": { "start": { - "line": 3, - "column": 7 + "line": 36, + "column": 48 }, "end": { - "line": 3, - "column": 8 + "line": 36, + "column": 54 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "copyMetadata", - "start": 91, - "end": 103, + "start": 1398, + "end": 1399, "loc": { "start": { - "line": 3, - "column": 9 + "line": 36, + "column": 54 }, "end": { - "line": 3, - "column": 21 + "line": 36, + "column": 55 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 103, - "end": 104, + "value": "setter", + "start": 1399, + "end": 1405, "loc": { "start": { - "line": 3, - "column": 21 + "line": 36, + "column": 55 }, "end": { - "line": 3, - "column": 22 + "line": 36, + "column": 61 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12373,25 +19413,24 @@ "postfix": false, "binop": null }, - "value": "bind", - "start": 105, - "end": 109, + "start": 1405, + "end": 1406, "loc": { "start": { - "line": 3, - "column": 23 + "line": 36, + "column": 61 }, "end": { - "line": 3, - "column": 27 + "line": 36, + "column": 62 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12399,16 +19438,16 @@ "postfix": false, "binop": null }, - "start": 110, - "end": 111, + "start": 1407, + "end": 1408, "loc": { "start": { - "line": 3, - "column": 28 + "line": 36, + "column": 63 }, "end": { - "line": 3, - "column": 29 + "line": 36, + "column": 64 } } }, @@ -12424,25 +19463,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 112, - "end": 116, + "value": "descriptor", + "start": 1433, + "end": 1443, "loc": { "start": { - "line": 3, - "column": 30 + "line": 37, + "column": 24 }, "end": { - "line": 3, + "line": 37, "column": 34 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12451,106 +19490,102 @@ "binop": null, "updateContext": null }, - "value": "../utils", - "start": 117, - "end": 127, + "start": 1443, + "end": 1444, "loc": { "start": { - "line": 3, - "column": 35 + "line": 37, + "column": 34 }, "end": { - "line": 3, - "column": 45 + "line": 37, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 127, - "end": 128, + "value": "set", + "start": 1444, + "end": 1447, "loc": { "start": { - "line": 3, - "column": 45 + "line": 37, + "column": 35 }, "end": { - "line": 3, - "column": 46 + "line": 37, + "column": 38 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "export", - "start": 129, - "end": 135, + "value": "=", + "start": 1448, + "end": 1449, "loc": { "start": { - "line": 4, - "column": 0 + "line": 37, + "column": 39 }, "end": { - "line": 4, - "column": 6 + "line": 37, + "column": 40 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 136, - "end": 141, + "value": "copyMetadata", + "start": 1450, + "end": 1462, "loc": { "start": { - "line": 4, - "column": 7 + "line": 37, + "column": 41 }, "end": { - "line": 4, - "column": 12 + "line": 37, + "column": 53 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12559,24 +19594,23 @@ "postfix": false, "binop": null }, - "value": "InternalDecoratorFactory", - "start": 142, - "end": 166, + "start": 1462, + "end": 1463, "loc": { "start": { - "line": 4, - "column": 13 + "line": 37, + "column": 53 }, "end": { - "line": 4, - "column": 37 + "line": 37, + "column": 54 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12585,49 +19619,50 @@ "postfix": false, "binop": null }, - "start": 167, - "end": 168, + "value": "applicator", + "start": 1463, + "end": 1473, "loc": { "start": { - "line": 4, - "column": 38 + "line": 37, + "column": 54 }, "end": { - "line": 4, - "column": 39 + "line": 37, + "column": 64 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "createDecorator", - "start": 173, - "end": 188, + "start": 1473, + "end": 1474, "loc": { "start": { - "line": 5, - "column": 4 + "line": 37, + "column": 64 }, "end": { - "line": 5, - "column": 19 + "line": 37, + "column": 65 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12636,23 +19671,24 @@ "postfix": false, "binop": null }, - "start": 188, - "end": 189, + "value": "apply", + "start": 1474, + "end": 1479, "loc": { "start": { - "line": 5, - "column": 19 + "line": 37, + "column": 65 }, "end": { - "line": 5, - "column": 20 + "line": 37, + "column": 70 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12661,25 +19697,24 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 189, - "end": 195, + "start": 1479, + "end": 1480, "loc": { "start": { - "line": 5, - "column": 20 + "line": 37, + "column": 70 }, "end": { - "line": 5, - "column": 26 + "line": 37, + "column": 71 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12687,23 +19722,23 @@ "postfix": false, "binop": null }, - "start": 195, - "end": 196, + "start": 1480, + "end": 1481, "loc": { "start": { - "line": 5, - "column": 26 + "line": 37, + "column": 71 }, "end": { - "line": 5, - "column": 27 + "line": 37, + "column": 72 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12712,24 +19747,24 @@ "postfix": false, "binop": null }, - "start": 197, - "end": 198, + "value": "config", + "start": 1482, + "end": 1488, "loc": { "start": { - "line": 5, - "column": 28 + "line": 37, + "column": 73 }, "end": { - "line": 5, - "column": 29 + "line": 37, + "column": 79 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12739,24 +19774,23 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 207, - "end": 212, + "start": 1488, + "end": 1489, "loc": { "start": { - "line": 6, - "column": 8 + "line": 37, + "column": 79 }, "end": { - "line": 6, - "column": 13 + "line": 37, + "column": 80 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12765,50 +19799,51 @@ "postfix": false, "binop": null }, - "start": 213, - "end": 214, + "value": "target", + "start": 1490, + "end": 1496, "loc": { "start": { - "line": 6, - "column": 14 + "line": 37, + "column": 81 }, "end": { - "line": 6, - "column": 15 + "line": 37, + "column": 87 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "applicator", - "start": 215, - "end": 225, + "start": 1496, + "end": 1497, "loc": { "start": { - "line": 6, - "column": 16 + "line": 37, + "column": 87 }, "end": { - "line": 6, - "column": 26 + "line": 37, + "column": 88 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12816,43 +19851,43 @@ "postfix": false, "binop": null }, - "start": 226, - "end": 227, + "value": "value", + "start": 1498, + "end": 1503, "loc": { "start": { - "line": 6, - "column": 27 + "line": 37, + "column": 89 }, "end": { - "line": 6, - "column": 28 + "line": 37, + "column": 94 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 228, - "end": 229, + "start": 1503, + "end": 1504, "loc": { "start": { - "line": 6, - "column": 29 + "line": 37, + "column": 94 }, "end": { - "line": 6, - "column": 30 + "line": 37, + "column": 95 } } }, @@ -12868,23 +19903,23 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 230, - "end": 236, + "value": "set", + "start": 1505, + "end": 1508, "loc": { "start": { - "line": 6, - "column": 31 + "line": 37, + "column": 96 }, "end": { - "line": 6, - "column": 37 + "line": 37, + "column": 99 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -12895,103 +19930,102 @@ "binop": null, "updateContext": null }, - "start": 236, - "end": 237, + "start": 1508, + "end": 1509, "loc": { "start": { - "line": 6, - "column": 37 + "line": 37, + "column": 99 }, "end": { - "line": 6, - "column": 38 + "line": 37, + "column": 100 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 246, - "end": 252, + "value": "args", + "start": 1510, + "end": 1514, "loc": { "start": { - "line": 7, - "column": 8 + "line": 37, + "column": 101 }, "end": { - "line": 7, - "column": 14 + "line": 37, + "column": 105 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 253, - "end": 254, + "start": 1514, + "end": 1515, "loc": { "start": { - "line": 7, - "column": 15 + "line": 37, + "column": 105 }, "end": { - "line": 7, - "column": 16 + "line": 37, + "column": 106 } } }, { "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 254, - "end": 257, + "value": "params", + "start": 1516, + "end": 1522, "loc": { "start": { - "line": 7, - "column": 16 + "line": 37, + "column": 107 }, "end": { - "line": 7, - "column": 19 + "line": 37, + "column": 113 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12999,17 +20033,16 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 257, - "end": 261, + "start": 1523, + "end": 1524, "loc": { "start": { - "line": 7, - "column": 19 + "line": 37, + "column": 114 }, "end": { - "line": 7, - "column": 23 + "line": 37, + "column": 115 } } }, @@ -13025,22 +20058,22 @@ "postfix": false, "binop": null }, - "start": 261, - "end": 262, + "start": 1524, + "end": 1525, "loc": { "start": { - "line": 7, - "column": 23 + "line": 37, + "column": 115 }, "end": { - "line": 7, - "column": 24 + "line": 37, + "column": 116 } } }, { "type": { - "label": "=>", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13051,24 +20084,50 @@ "binop": null, "updateContext": null }, - "start": 263, - "end": 265, + "start": 1525, + "end": 1526, "loc": { "start": { - "line": 7, - "column": 25 + "line": 37, + "column": 116 + }, + "end": { + "line": 37, + "column": 117 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 1527, + "end": 1530, + "loc": { + "start": { + "line": 37, + "column": 118 }, "end": { - "line": 7, - "column": 27 + "line": 37, + "column": 121 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13076,23 +20135,22 @@ "postfix": false, "binop": null }, - "start": 266, - "end": 267, + "start": 1530, + "end": 1531, "loc": { "start": { - "line": 7, - "column": 28 + "line": 37, + "column": 121 }, "end": { - "line": 7, - "column": 29 + "line": 37, + "column": 122 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13103,25 +20161,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 280, - "end": 286, + "start": 1531, + "end": 1532, "loc": { "start": { - "line": 8, - "column": 12 + "line": 37, + "column": 122 }, "end": { - "line": 8, - "column": 18 + "line": 37, + "column": 123 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13129,24 +20186,24 @@ "postfix": false, "binop": null }, - "start": 287, - "end": 288, + "start": 1553, + "end": 1554, "loc": { "start": { - "line": 8, - "column": 19 + "line": 38, + "column": 20 }, "end": { - "line": 8, - "column": 20 + "line": 38, + "column": 21 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13154,23 +20211,23 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 288, - "end": 294, + "start": 1571, + "end": 1572, "loc": { "start": { - "line": 8, - "column": 20 + "line": 39, + "column": 16 }, "end": { - "line": 8, - "column": 26 + "line": 39, + "column": 17 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13181,16 +20238,17 @@ "binop": null, "updateContext": null }, - "start": 294, - "end": 295, + "value": "return", + "start": 1589, + "end": 1595, "loc": { "start": { - "line": 8, - "column": 26 + "line": 40, + "column": 16 }, "end": { - "line": 8, - "column": 27 + "line": 40, + "column": 22 } } }, @@ -13206,23 +20264,23 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 296, - "end": 300, + "value": "descriptor", + "start": 1596, + "end": 1606, "loc": { "start": { - "line": 8, - "column": 28 + "line": 40, + "column": 23 }, "end": { - "line": 8, - "column": 32 + "line": 40, + "column": 33 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -13233,24 +20291,24 @@ "binop": null, "updateContext": null }, - "start": 300, - "end": 301, + "start": 1606, + "end": 1607, "loc": { "start": { - "line": 8, - "column": 32 + "line": 40, + "column": 33 }, "end": { - "line": 8, - "column": 33 + "line": 40, + "column": 34 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13258,49 +20316,50 @@ "postfix": false, "binop": null }, - "value": "_descriptor", - "start": 302, - "end": 313, + "start": 1620, + "end": 1621, "loc": { "start": { - "line": 8, - "column": 34 + "line": 41, + "column": 12 }, "end": { - "line": 8, - "column": 45 + "line": 41, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 313, - "end": 314, + "start": 1621, + "end": 1622, "loc": { "start": { - "line": 8, - "column": 45 + "line": 41, + "column": 13 }, "end": { - "line": 8, - "column": 46 + "line": 41, + "column": 14 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -13310,22 +20369,23 @@ "binop": null, "updateContext": null }, - "start": 315, - "end": 317, + "value": "if", + "start": 1635, + "end": 1637, "loc": { "start": { - "line": 8, - "column": 47 + "line": 42, + "column": 12 }, "end": { - "line": 8, - "column": 49 + "line": 42, + "column": 14 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -13335,132 +20395,127 @@ "postfix": false, "binop": null }, - "start": 318, - "end": 319, + "start": 1638, + "end": 1639, "loc": { "start": { - "line": 8, - "column": 50 + "line": 42, + "column": 15 }, "end": { - "line": 8, - "column": 51 + "line": 42, + "column": 16 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 336, - "end": 341, + "value": "optionalParams", + "start": 1639, + "end": 1653, "loc": { "start": { - "line": 9, + "line": 42, "column": 16 }, "end": { - "line": 9, - "column": 21 + "line": 42, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "&&", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "value": "descriptor", - "start": 342, - "end": 352, + "value": "&&", + "start": 1654, + "end": 1656, "loc": { "start": { - "line": 9, - "column": 22 + "line": 42, + "column": 31 }, "end": { - "line": 9, - "column": 32 + "line": 42, + "column": 33 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 353, - "end": 354, + "value": "isMethodOrPropertyDecoratorArgs", + "start": 1657, + "end": 1688, "loc": { "start": { - "line": 9, - "column": 33 + "line": 42, + "column": 34 }, "end": { - "line": 9, - "column": 34 + "line": 42, + "column": 65 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 355, - "end": 359, + "start": 1688, + "end": 1689, "loc": { "start": { - "line": 9, - "column": 35 + "line": 42, + "column": 65 }, "end": { - "line": 9, - "column": 39 + "line": 42, + "column": 66 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "...", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -13470,16 +20525,16 @@ "binop": null, "updateContext": null }, - "start": 359, - "end": 360, + "start": 1689, + "end": 1692, "loc": { "start": { - "line": 9, - "column": 39 + "line": 42, + "column": 66 }, "end": { - "line": 9, - "column": 40 + "line": 42, + "column": 69 } } }, @@ -13495,25 +20550,25 @@ "postfix": false, "binop": null }, - "value": "_resolveDescriptor", - "start": 360, - "end": 378, + "value": "args", + "start": 1692, + "end": 1696, "loc": { "start": { - "line": 9, - "column": 40 + "line": 42, + "column": 69 }, "end": { - "line": 9, - "column": 58 + "line": 42, + "column": 73 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13521,24 +20576,24 @@ "postfix": false, "binop": null }, - "start": 378, - "end": 379, + "start": 1696, + "end": 1697, "loc": { "start": { - "line": 9, - "column": 58 + "line": 42, + "column": 73 }, "end": { - "line": 9, - "column": 59 + "line": 42, + "column": 74 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13546,43 +20601,41 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 379, - "end": 385, + "start": 1697, + "end": 1698, "loc": { "start": { - "line": 9, - "column": 59 + "line": 42, + "column": 74 }, "end": { - "line": 9, - "column": 65 + "line": 42, + "column": 75 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 385, - "end": 386, + "start": 1699, + "end": 1700, "loc": { "start": { - "line": 9, - "column": 65 + "line": 42, + "column": 76 }, "end": { - "line": 9, - "column": 66 + "line": 42, + "column": 77 } } }, @@ -13598,75 +20651,76 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 387, - "end": 391, + "value": "params", + "start": 1717, + "end": 1723, "loc": { "start": { - "line": 9, - "column": 67 + "line": 43, + "column": 16 }, "end": { - "line": 9, - "column": 71 + "line": 43, + "column": 22 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 391, - "end": 392, + "value": "=", + "start": 1724, + "end": 1725, "loc": { "start": { - "line": 9, - "column": 71 + "line": 43, + "column": 23 }, "end": { - "line": 9, - "column": 72 + "line": 43, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_descriptor", - "start": 393, - "end": 404, + "start": 1726, + "end": 1727, "loc": { "start": { - "line": 9, - "column": 73 + "line": 43, + "column": 25 }, "end": { - "line": 9, - "column": 84 + "line": 43, + "column": 26 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13674,18 +20728,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 404, - "end": 405, + "start": 1727, + "end": 1728, "loc": { "start": { - "line": 9, - "column": 84 + "line": 43, + "column": 26 }, "end": { - "line": 9, - "column": 85 + "line": 43, + "column": 27 } } }, @@ -13702,24 +20757,24 @@ "binop": null, "updateContext": null }, - "start": 405, - "end": 406, + "start": 1728, + "end": 1729, "loc": { "start": { - "line": 9, - "column": 85 + "line": 43, + "column": 27 }, "end": { - "line": 9, - "column": 86 + "line": 43, + "column": 28 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -13729,42 +20784,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 423, - "end": 428, + "value": "return", + "start": 1746, + "end": 1752, "loc": { "start": { - "line": 10, + "line": 44, "column": 16 }, "end": { - "line": 10, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 429, - "end": 430, - "loc": { - "start": { - "line": 10, + "line": 44, "column": 22 - }, - "end": { - "line": 10, - "column": 23 } } }, @@ -13780,43 +20810,42 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 431, - "end": 436, + "value": "decorator", + "start": 1753, + "end": 1762, "loc": { "start": { - "line": 10, - "column": 24 + "line": 44, + "column": 23 }, "end": { - "line": 10, - "column": 29 + "line": 44, + "column": 32 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 436, - "end": 437, + "start": 1762, + "end": 1763, "loc": { "start": { - "line": 10, - "column": 29 + "line": 44, + "column": 32 }, "end": { - "line": 10, - "column": 30 + "line": 44, + "column": 33 } } }, @@ -13832,25 +20861,25 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 438, - "end": 441, + "value": "args", + "start": 1763, + "end": 1767, "loc": { "start": { - "line": 10, - "column": 31 + "line": 44, + "column": 33 }, "end": { - "line": 10, - "column": 34 + "line": 44, + "column": 37 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13859,22 +20888,22 @@ "binop": null, "updateContext": null }, - "start": 441, - "end": 442, + "start": 1767, + "end": 1768, "loc": { "start": { - "line": 10, - "column": 34 + "line": 44, + "column": 37 }, "end": { - "line": 10, - "column": 35 + "line": 44, + "column": 38 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13882,25 +20911,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "set", - "start": 443, - "end": 446, + "value": 0, + "start": 1768, + "end": 1769, "loc": { "start": { - "line": 10, - "column": 36 + "line": 44, + "column": 38 }, "end": { - "line": 10, + "line": 44, "column": 39 } } }, { "type": { - "label": "}", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13908,45 +20938,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 447, - "end": 448, + "start": 1769, + "end": 1770, "loc": { "start": { - "line": 10, - "column": 40 + "line": 44, + "column": 39 }, "end": { - "line": 10, - "column": 41 + "line": 44, + "column": 40 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 449, - "end": 450, + "start": 1770, + "end": 1771, "loc": { "start": { - "line": 10, - "column": 42 + "line": 44, + "column": 40 }, "end": { - "line": 10, - "column": 43 + "line": 44, + "column": 41 } } }, @@ -13962,25 +20992,25 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 451, - "end": 461, + "value": "args", + "start": 1772, + "end": 1776, "loc": { "start": { - "line": 10, - "column": 44 + "line": 44, + "column": 42 }, "end": { - "line": 10, - "column": 54 + "line": 44, + "column": 46 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13989,55 +21019,49 @@ "binop": null, "updateContext": null }, - "start": 461, - "end": 462, - "loc": { - "start": { - "line": 10, - "column": 54 - }, - "end": { - "line": 10, - "column": 55 - } - } - }, - { - "type": "CommentLine", - "value": " If this decorator is being applied after an instance decorator we simply ignore it", - "start": 479, - "end": 564, + "start": 1776, + "end": 1777, "loc": { "start": { - "line": 11, - "column": 16 + "line": 44, + "column": 46 }, "end": { - "line": 11, - "column": 101 + "line": 44, + "column": 47 } } }, { - "type": "CommentLine", - "value": " as we can't apply it correctly.", - "start": 581, - "end": 615, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1777, + "end": 1778, "loc": { "start": { - "line": 12, - "column": 16 + "line": 44, + "column": 47 }, "end": { - "line": 12, - "column": 50 + "line": 44, + "column": 48 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14048,103 +21072,102 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 632, - "end": 634, + "start": 1778, + "end": 1779, "loc": { "start": { - "line": 13, - "column": 16 + "line": 44, + "column": 48 }, "end": { - "line": 13, - "column": 18 + "line": 44, + "column": 49 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 635, - "end": 636, + "start": 1779, + "end": 1780, "loc": { "start": { - "line": 13, - "column": 19 + "line": 44, + "column": 49 }, "end": { - "line": 13, - "column": 20 + "line": 44, + "column": 50 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 636, - "end": 637, + "value": "args", + "start": 1781, + "end": 1785, "loc": { "start": { - "line": 13, - "column": 20 + "line": 44, + "column": 51 }, "end": { - "line": 13, - "column": 21 + "line": 44, + "column": 55 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "InstanceChainMap", - "start": 637, - "end": 653, + "start": 1785, + "end": 1786, "loc": { "start": { - "line": 13, - "column": 21 + "line": 44, + "column": 55 }, "end": { - "line": 13, - "column": 37 + "line": 44, + "column": 56 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14153,50 +21176,51 @@ "binop": null, "updateContext": null }, - "start": 653, - "end": 654, + "value": 2, + "start": 1786, + "end": 1787, "loc": { "start": { - "line": 13, - "column": 37 + "line": 44, + "column": 56 }, "end": { - "line": 13, - "column": 38 + "line": 44, + "column": 57 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "has", - "start": 654, - "end": 657, + "start": 1787, + "end": 1788, "loc": { "start": { - "line": 13, - "column": 38 + "line": 44, + "column": 57 }, "end": { - "line": 13, - "column": 41 + "line": 44, + "column": 58 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14204,24 +21228,24 @@ "postfix": false, "binop": null }, - "start": 657, - "end": 658, + "start": 1788, + "end": 1789, "loc": { "start": { - "line": 13, - "column": 41 + "line": 44, + "column": 58 }, "end": { - "line": 13, - "column": 42 + "line": 44, + "column": 59 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14230,24 +21254,24 @@ "binop": null, "updateContext": null }, - "start": 658, - "end": 659, + "start": 1789, + "end": 1790, "loc": { "start": { - "line": 13, - "column": 42 + "line": 44, + "column": 59 }, "end": { - "line": 13, - "column": 43 + "line": 44, + "column": 60 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14255,23 +21279,23 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 659, - "end": 665, + "start": 1803, + "end": 1804, "loc": { "start": { - "line": 13, - "column": 43 + "line": 45, + "column": 12 }, "end": { - "line": 13, - "column": 49 + "line": 45, + "column": 13 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14282,16 +21306,17 @@ "binop": null, "updateContext": null }, - "start": 665, - "end": 666, + "value": "return", + "start": 1817, + "end": 1823, "loc": { "start": { - "line": 13, - "column": 49 + "line": 46, + "column": 12 }, "end": { - "line": 13, - "column": 50 + "line": 46, + "column": 18 } } }, @@ -14307,24 +21332,24 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 667, - "end": 671, + "value": "decorator", + "start": 1824, + "end": 1833, "loc": { "start": { - "line": 13, - "column": 51 + "line": 46, + "column": 19 }, "end": { - "line": 13, - "column": 55 + "line": 46, + "column": 28 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14334,22 +21359,22 @@ "binop": null, "updateContext": null }, - "start": 671, - "end": 672, + "start": 1833, + "end": 1834, "loc": { "start": { - "line": 13, - "column": 55 + "line": 46, + "column": 28 }, "end": { - "line": 13, - "column": 56 + "line": 46, + "column": 29 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14359,49 +21384,50 @@ "postfix": false, "binop": null }, - "start": 672, - "end": 673, + "start": 1843, + "end": 1844, "loc": { "start": { - "line": 13, - "column": 56 + "line": 47, + "column": 8 }, "end": { - "line": 13, - "column": 57 + "line": 47, + "column": 9 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 673, - "end": 674, + "start": 1844, + "end": 1845, "loc": { "start": { - "line": 13, - "column": 57 + "line": 47, + "column": 9 }, "end": { - "line": 13, - "column": 58 + "line": 47, + "column": 10 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14409,51 +21435,39 @@ "postfix": false, "binop": null }, - "start": 675, - "end": 676, + "start": 1850, + "end": 1851, "loc": { "start": { - "line": 13, - "column": 59 + "line": 48, + "column": 4 }, "end": { - "line": 13, - "column": 60 + "line": 48, + "column": 5 } } }, { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 697, - "end": 699, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 54\n * @param\n * {DecoratorConfig} config\n * @return\n * {GenericDecorator}\n ", + "start": 1856, + "end": 2003, "loc": { "start": { - "line": 14, - "column": 20 + "line": 49, + "column": 4 }, "end": { - "line": 14, - "column": 22 + "line": 58, + "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14462,23 +21476,24 @@ "postfix": false, "binop": null }, - "start": 700, - "end": 701, + "value": "createInstanceDecorator", + "start": 2008, + "end": 2031, "loc": { "start": { - "line": 14, - "column": 23 + "line": 59, + "column": 4 }, "end": { - "line": 14, - "column": 24 + "line": 59, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14487,24 +21502,23 @@ "postfix": false, "binop": null }, - "value": "isFunction", - "start": 701, - "end": 711, + "start": 2031, + "end": 2032, "loc": { "start": { - "line": 14, - "column": 24 + "line": 59, + "column": 27 }, "end": { - "line": 14, - "column": 34 + "line": 59, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14513,24 +21527,25 @@ "postfix": false, "binop": null }, - "start": 711, - "end": 712, + "value": "config", + "start": 2032, + "end": 2038, "loc": { "start": { - "line": 14, - "column": 34 + "line": 59, + "column": 28 }, "end": { - "line": 14, - "column": 35 + "line": 59, + "column": 34 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14538,25 +21553,24 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 712, - "end": 717, + "start": 2038, + "end": 2039, "loc": { "start": { - "line": 14, - "column": 35 + "line": 59, + "column": 34 }, "end": { - "line": 14, - "column": 40 + "line": 59, + "column": 35 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14564,22 +21578,23 @@ "postfix": false, "binop": null }, - "start": 717, - "end": 718, + "start": 2040, + "end": 2041, "loc": { "start": { - "line": 14, - "column": 40 + "line": 59, + "column": 36 }, "end": { - "line": 14, - "column": 41 + "line": 59, + "column": 37 } } }, { "type": { - "label": ")", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14587,18 +21602,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 718, - "end": 719, + "value": "const", + "start": 2050, + "end": 2055, "loc": { "start": { - "line": 14, - "column": 41 + "line": 60, + "column": 8 }, "end": { - "line": 14, - "column": 42 + "line": 60, + "column": 13 } } }, @@ -14614,16 +21631,16 @@ "postfix": false, "binop": null }, - "start": 720, - "end": 721, + "start": 2056, + "end": 2057, "loc": { "start": { - "line": 14, - "column": 43 + "line": 60, + "column": 14 }, "end": { - "line": 14, - "column": 44 + "line": 60, + "column": 15 } } }, @@ -14639,24 +21656,24 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 746, - "end": 756, + "value": "applicator", + "start": 2058, + "end": 2068, "loc": { "start": { - "line": 15, - "column": 24 + "line": 60, + "column": 16 }, "end": { - "line": 15, - "column": 34 + "line": 60, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14666,16 +21683,16 @@ "binop": null, "updateContext": null }, - "start": 756, - "end": 757, + "start": 2068, + "end": 2069, "loc": { "start": { - "line": 15, - "column": 34 + "line": 60, + "column": 26 }, "end": { - "line": 15, - "column": 35 + "line": 60, + "column": 27 } } }, @@ -14691,44 +21708,43 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 757, - "end": 762, + "value": "bound", + "start": 2070, + "end": 2075, "loc": { "start": { - "line": 15, - "column": 35 + "line": 60, + "column": 28 }, "end": { - "line": 15, - "column": 40 + "line": 60, + "column": 33 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 763, - "end": 764, + "start": 2075, + "end": 2076, "loc": { "start": { - "line": 15, - "column": 41 + "line": 60, + "column": 33 }, "end": { - "line": 15, - "column": 42 + "line": 60, + "column": 34 } } }, @@ -14744,50 +21760,25 @@ "postfix": false, "binop": null }, - "value": "copyMetadata", - "start": 765, - "end": 777, - "loc": { - "start": { - "line": 15, - "column": 43 - }, - "end": { - "line": 15, - "column": 55 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 777, - "end": 778, + "value": "optionalParams", + "start": 2077, + "end": 2091, "loc": { "start": { - "line": 15, - "column": 55 + "line": 60, + "column": 35 }, "end": { - "line": 15, - "column": 56 + "line": 60, + "column": 49 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14795,43 +21786,43 @@ "postfix": false, "binop": null }, - "value": "applicator", - "start": 778, - "end": 788, + "start": 2092, + "end": 2093, "loc": { "start": { - "line": 15, - "column": 56 + "line": 60, + "column": 50 }, "end": { - "line": 15, - "column": 66 + "line": 60, + "column": 51 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 788, - "end": 789, + "value": "=", + "start": 2094, + "end": 2095, "loc": { "start": { - "line": 15, - "column": 66 + "line": 60, + "column": 52 }, "end": { - "line": 15, - "column": 67 + "line": 60, + "column": 53 } } }, @@ -14847,74 +21838,78 @@ "postfix": false, "binop": null }, - "value": "apply", - "start": 789, - "end": 794, + "value": "config", + "start": 2096, + "end": 2102, "loc": { "start": { - "line": 15, - "column": 67 + "line": 60, + "column": 54 }, "end": { - "line": 15, - "column": 72 + "line": 60, + "column": 60 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 794, - "end": 795, + "start": 2102, + "end": 2103, "loc": { "start": { - "line": 15, - "column": 72 + "line": 60, + "column": 60 }, "end": { - "line": 15, - "column": 73 + "line": 60, + "column": 61 } } }, { "type": { - "label": "{", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 795, - "end": 796, + "value": "return", + "start": 2112, + "end": 2118, "loc": { "start": { - "line": 15, - "column": 73 + "line": 61, + "column": 8 }, "end": { - "line": 15, - "column": 74 + "line": 61, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14923,23 +21918,22 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 797, - "end": 803, + "start": 2119, + "end": 2120, "loc": { "start": { - "line": 15, - "column": 75 + "line": 61, + "column": 15 }, "end": { - "line": 15, - "column": 81 + "line": 61, + "column": 16 } } }, { "type": { - "label": ",", + "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14950,16 +21944,16 @@ "binop": null, "updateContext": null }, - "start": 803, - "end": 804, + "start": 2120, + "end": 2123, "loc": { "start": { - "line": 15, - "column": 81 + "line": 61, + "column": 16 }, "end": { - "line": 15, - "column": 82 + "line": 61, + "column": 19 } } }, @@ -14975,51 +21969,25 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 805, - "end": 811, - "loc": { - "start": { - "line": 15, - "column": 83 - }, - "end": { - "line": 15, - "column": 89 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 811, - "end": 812, + "value": "args", + "start": 2123, + "end": 2127, "loc": { "start": { - "line": 15, - "column": 89 + "line": 61, + "column": 19 }, "end": { - "line": 15, - "column": 90 + "line": 61, + "column": 23 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15027,23 +21995,22 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 813, - "end": 818, + "start": 2127, + "end": 2128, "loc": { "start": { - "line": 15, - "column": 91 + "line": 61, + "column": 23 }, "end": { - "line": 15, - "column": 96 + "line": 61, + "column": 24 } } }, { "type": { - "label": ",", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -15054,23 +22021,23 @@ "binop": null, "updateContext": null }, - "start": 818, - "end": 819, + "start": 2129, + "end": 2131, "loc": { "start": { - "line": 15, - "column": 96 + "line": 61, + "column": 25 }, "end": { - "line": 15, - "column": 97 + "line": 61, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15079,23 +22046,23 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 820, - "end": 824, + "start": 2132, + "end": 2133, "loc": { "start": { - "line": 15, - "column": 98 + "line": 61, + "column": 28 }, "end": { - "line": 15, - "column": 102 + "line": 61, + "column": 29 } } }, { "type": { - "label": "}", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15103,26 +22070,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 825, - "end": 826, + "value": "let", + "start": 2146, + "end": 2149, "loc": { "start": { - "line": 15, - "column": 103 + "line": 62, + "column": 12 }, "end": { - "line": 15, - "column": 104 + "line": 62, + "column": 15 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15130,42 +22099,44 @@ "postfix": false, "binop": null }, - "start": 826, - "end": 827, + "value": "params", + "start": 2150, + "end": 2156, "loc": { "start": { - "line": 15, - "column": 104 + "line": 62, + "column": 16 }, "end": { - "line": 15, - "column": 105 + "line": 62, + "column": 22 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 827, - "end": 828, + "value": "=", + "start": 2157, + "end": 2158, "loc": { "start": { - "line": 15, - "column": 105 + "line": 62, + "column": 23 }, "end": { - "line": 15, - "column": 106 + "line": 62, + "column": 24 } } }, @@ -15181,42 +22152,17 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 829, - "end": 834, - "loc": { - "start": { - "line": 15, - "column": 107 - }, - "end": { - "line": 15, - "column": 112 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 834, - "end": 835, + "value": "args", + "start": 2159, + "end": 2163, "loc": { "start": { - "line": 15, - "column": 112 + "line": 62, + "column": 25 }, "end": { - "line": 15, - "column": 113 + "line": 62, + "column": 29 } } }, @@ -15233,22 +22179,23 @@ "binop": null, "updateContext": null }, - "start": 835, - "end": 836, + "start": 2163, + "end": 2164, "loc": { "start": { - "line": 15, - "column": 113 + "line": 62, + "column": 29 }, "end": { - "line": 15, - "column": 114 + "line": 62, + "column": 30 } } }, { "type": { - "label": "}", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15256,74 +22203,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 857, - "end": 858, + "value": "const", + "start": 2177, + "end": 2182, "loc": { "start": { - "line": 16, - "column": 20 + "line": 63, + "column": 12 }, "end": { - "line": 16, - "column": 21 + "line": 63, + "column": 17 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 879, - "end": 883, + "value": "decorator", + "start": 2183, + "end": 2192, "loc": { "start": { - "line": 17, - "column": 20 + "line": 63, + "column": 18 }, "end": { - "line": 17, - "column": 24 + "line": 63, + "column": 27 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 884, - "end": 886, + "value": "=", + "start": 2193, + "end": 2194, "loc": { "start": { - "line": 17, - "column": 25 + "line": 63, + "column": 28 }, "end": { - "line": 17, - "column": 27 + "line": 63, + "column": 29 } } }, @@ -15339,16 +22285,16 @@ "postfix": false, "binop": null }, - "start": 887, - "end": 888, + "start": 2195, + "end": 2196, "loc": { "start": { - "line": 17, - "column": 28 + "line": 63, + "column": 30 }, "end": { - "line": 17, - "column": 29 + "line": 63, + "column": 31 } } }, @@ -15364,42 +22310,43 @@ "postfix": false, "binop": null }, - "value": "isFunction", - "start": 888, - "end": 898, + "value": "target", + "start": 2196, + "end": 2202, "loc": { "start": { - "line": 17, - "column": 29 + "line": 63, + "column": 31 }, "end": { - "line": 17, - "column": 39 + "line": 63, + "column": 37 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 898, - "end": 899, + "start": 2202, + "end": 2203, "loc": { "start": { - "line": 17, - "column": 39 + "line": 63, + "column": 37 }, "end": { - "line": 17, - "column": 40 + "line": 63, + "column": 38 } } }, @@ -15415,77 +22362,77 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 899, - "end": 902, + "value": "name", + "start": 2204, + "end": 2208, "loc": { "start": { - "line": 17, - "column": 40 + "line": 63, + "column": 39 }, "end": { - "line": 17, + "line": 63, "column": 43 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 902, - "end": 903, + "start": 2208, + "end": 2209, "loc": { "start": { - "line": 17, + "line": 63, "column": 43 }, "end": { - "line": 17, + "line": 63, "column": 44 } } }, { "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 904, - "end": 906, + "value": "_descriptor", + "start": 2210, + "end": 2221, "loc": { "start": { - "line": 17, + "line": 63, "column": 45 }, "end": { - "line": 17, - "column": 47 + "line": 63, + "column": 56 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15493,24 +22440,23 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 907, - "end": 913, + "start": 2221, + "end": 2222, "loc": { "start": { - "line": 17, - "column": 48 + "line": 63, + "column": 56 }, "end": { - "line": 17, - "column": 54 + "line": 63, + "column": 57 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15520,23 +22466,23 @@ "binop": null, "updateContext": null }, - "start": 913, - "end": 914, + "start": 2223, + "end": 2225, "loc": { "start": { - "line": 17, - "column": 54 + "line": 63, + "column": 58 }, "end": { - "line": 17, - "column": 55 + "line": 63, + "column": 60 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15545,23 +22491,23 @@ "postfix": false, "binop": null }, - "value": "getter", - "start": 914, - "end": 920, + "start": 2226, + "end": 2227, "loc": { "start": { - "line": 17, - "column": 55 + "line": 63, + "column": 61 }, "end": { - "line": 17, - "column": 61 + "line": 63, + "column": 62 } } }, { "type": { - "label": ")", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15569,25 +22515,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 920, - "end": 921, + "value": "const", + "start": 2244, + "end": 2249, "loc": { "start": { - "line": 17, - "column": 61 + "line": 64, + "column": 16 }, "end": { - "line": 17, - "column": 62 + "line": 64, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15596,22 +22544,51 @@ "postfix": false, "binop": null }, - "start": 922, - "end": 923, + "value": "descriptor", + "start": 2250, + "end": 2260, "loc": { "start": { - "line": 17, - "column": 63 + "line": 64, + "column": 22 }, "end": { - "line": 17, - "column": 64 + "line": 64, + "column": 32 } } }, { "type": { - "label": "name", + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2261, + "end": 2262, + "loc": { + "start": { + "line": 64, + "column": 33 + }, + "end": { + "line": 64, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15619,19 +22596,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "descriptor", - "start": 948, - "end": 958, + "value": "this", + "start": 2263, + "end": 2267, "loc": { "start": { - "line": 18, - "column": 24 + "line": 64, + "column": 35 }, "end": { - "line": 18, - "column": 34 + "line": 64, + "column": 39 } } }, @@ -15648,16 +22626,16 @@ "binop": null, "updateContext": null }, - "start": 958, - "end": 959, + "start": 2267, + "end": 2268, "loc": { "start": { - "line": 18, - "column": 34 + "line": 64, + "column": 39 }, "end": { - "line": 18, - "column": 35 + "line": 64, + "column": 40 } } }, @@ -15673,44 +22651,42 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 959, - "end": 962, + "value": "_resolveDescriptor", + "start": 2268, + "end": 2286, "loc": { "start": { - "line": 18, - "column": 35 + "line": 64, + "column": 40 }, "end": { - "line": 18, - "column": 38 + "line": 64, + "column": 58 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 963, - "end": 964, + "start": 2286, + "end": 2287, "loc": { "start": { - "line": 18, - "column": 39 + "line": 64, + "column": 58 }, "end": { - "line": 18, - "column": 40 + "line": 64, + "column": 59 } } }, @@ -15726,42 +22702,43 @@ "postfix": false, "binop": null }, - "value": "copyMetadata", - "start": 965, - "end": 977, + "value": "target", + "start": 2287, + "end": 2293, "loc": { "start": { - "line": 18, - "column": 41 + "line": 64, + "column": 59 }, "end": { - "line": 18, - "column": 53 + "line": 64, + "column": 65 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 977, - "end": 978, + "start": 2293, + "end": 2294, "loc": { "start": { - "line": 18, - "column": 53 + "line": 64, + "column": 65 }, "end": { - "line": 18, - "column": 54 + "line": 64, + "column": 66 } } }, @@ -15777,24 +22754,24 @@ "postfix": false, "binop": null }, - "value": "applicator", - "start": 978, - "end": 988, + "value": "name", + "start": 2295, + "end": 2299, "loc": { "start": { - "line": 18, - "column": 54 + "line": 64, + "column": 67 }, "end": { - "line": 18, - "column": 64 + "line": 64, + "column": 71 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15804,16 +22781,16 @@ "binop": null, "updateContext": null }, - "start": 988, - "end": 989, + "start": 2299, + "end": 2300, "loc": { "start": { - "line": 18, - "column": 64 + "line": 64, + "column": 71 }, "end": { - "line": 18, - "column": 65 + "line": 64, + "column": 72 } } }, @@ -15829,25 +22806,25 @@ "postfix": false, "binop": null }, - "value": "apply", - "start": 989, - "end": 994, + "value": "_descriptor", + "start": 2301, + "end": 2312, "loc": { "start": { - "line": 18, - "column": 65 + "line": 64, + "column": 73 }, "end": { - "line": 18, - "column": 70 + "line": 64, + "column": 84 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15855,93 +22832,95 @@ "postfix": false, "binop": null }, - "start": 994, - "end": 995, + "start": 2312, + "end": 2313, "loc": { "start": { - "line": 18, - "column": 70 + "line": 64, + "column": 84 }, "end": { - "line": 18, - "column": 71 + "line": 64, + "column": 85 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 995, - "end": 996, + "start": 2313, + "end": 2314, "loc": { "start": { - "line": 18, - "column": 71 + "line": 64, + "column": 85 }, "end": { - "line": 18, - "column": 72 + "line": 64, + "column": 86 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 997, - "end": 1003, + "value": "const", + "start": 2331, + "end": 2336, "loc": { "start": { - "line": 18, - "column": 73 + "line": 65, + "column": 16 }, "end": { - "line": 18, - "column": 79 + "line": 65, + "column": 21 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1003, - "end": 1004, + "start": 2337, + "end": 2338, "loc": { "start": { - "line": 18, - "column": 79 + "line": 65, + "column": 22 }, "end": { - "line": 18, - "column": 80 + "line": 65, + "column": 23 } } }, @@ -15957,17 +22936,17 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 1005, - "end": 1011, + "value": "value", + "start": 2339, + "end": 2344, "loc": { "start": { - "line": 18, - "column": 81 + "line": 65, + "column": 24 }, "end": { - "line": 18, - "column": 87 + "line": 65, + "column": 29 } } }, @@ -15984,16 +22963,16 @@ "binop": null, "updateContext": null }, - "start": 1011, - "end": 1012, + "start": 2344, + "end": 2345, "loc": { "start": { - "line": 18, - "column": 87 + "line": 65, + "column": 29 }, "end": { - "line": 18, - "column": 88 + "line": 65, + "column": 30 } } }, @@ -16009,23 +22988,23 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1013, - "end": 1018, + "value": "writable", + "start": 2346, + "end": 2354, "loc": { "start": { - "line": 18, - "column": 89 + "line": 65, + "column": 31 }, "end": { - "line": 18, - "column": 94 + "line": 65, + "column": 39 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -16036,16 +23015,16 @@ "binop": null, "updateContext": null }, - "start": 1018, - "end": 1019, + "start": 2354, + "end": 2355, "loc": { "start": { - "line": 18, - "column": 94 + "line": 65, + "column": 39 }, "end": { - "line": 18, - "column": 95 + "line": 65, + "column": 40 } } }, @@ -16061,17 +23040,17 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 1020, - "end": 1023, + "value": "enumerable", + "start": 2356, + "end": 2366, "loc": { "start": { - "line": 18, - "column": 96 + "line": 65, + "column": 41 }, "end": { - "line": 18, - "column": 99 + "line": 65, + "column": 51 } } }, @@ -16088,16 +23067,16 @@ "binop": null, "updateContext": null }, - "start": 1023, - "end": 1024, + "start": 2366, + "end": 2367, "loc": { "start": { - "line": 18, - "column": 99 + "line": 65, + "column": 51 }, "end": { - "line": 18, - "column": 100 + "line": 65, + "column": 52 } } }, @@ -16113,50 +23092,51 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 1025, - "end": 1029, + "value": "configurable", + "start": 2368, + "end": 2380, "loc": { "start": { - "line": 18, - "column": 101 + "line": 65, + "column": 53 }, "end": { - "line": 18, - "column": 105 + "line": 65, + "column": 65 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1030, - "end": 1031, + "start": 2380, + "end": 2381, "loc": { "start": { - "line": 18, - "column": 106 + "line": 65, + "column": 65 }, "end": { - "line": 18, - "column": 107 + "line": 65, + "column": 66 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16164,16 +23144,17 @@ "postfix": false, "binop": null }, - "start": 1031, - "end": 1032, + "value": "get", + "start": 2382, + "end": 2385, "loc": { "start": { - "line": 18, - "column": 107 + "line": 65, + "column": 67 }, "end": { - "line": 18, - "column": 108 + "line": 65, + "column": 70 } } }, @@ -16190,16 +23171,16 @@ "binop": null, "updateContext": null }, - "start": 1032, - "end": 1033, + "start": 2385, + "end": 2386, "loc": { "start": { - "line": 18, - "column": 108 + "line": 65, + "column": 70 }, "end": { - "line": 18, - "column": 109 + "line": 65, + "column": 71 } } }, @@ -16215,23 +23196,23 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 1034, - "end": 1037, + "value": "set", + "start": 2387, + "end": 2390, "loc": { "start": { - "line": 18, - "column": 110 + "line": 65, + "column": 72 }, "end": { - "line": 18, - "column": 113 + "line": 65, + "column": 75 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16241,50 +23222,51 @@ "postfix": false, "binop": null }, - "start": 1037, - "end": 1038, + "start": 2391, + "end": 2392, "loc": { "start": { - "line": 18, - "column": 113 + "line": 65, + "column": 76 }, "end": { - "line": 18, - "column": 114 + "line": 65, + "column": 77 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1038, - "end": 1039, + "value": "=", + "start": 2393, + "end": 2394, "loc": { "start": { - "line": 18, - "column": 114 + "line": 65, + "column": 78 }, "end": { - "line": 18, - "column": 115 + "line": 65, + "column": 79 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16292,23 +23274,23 @@ "postfix": false, "binop": null }, - "start": 1060, - "end": 1061, + "value": "descriptor", + "start": 2395, + "end": 2405, "loc": { "start": { - "line": 19, - "column": 20 + "line": 65, + "column": 80 }, "end": { - "line": 19, - "column": 21 + "line": 65, + "column": 90 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -16319,24 +23301,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 1082, - "end": 1086, + "start": 2405, + "end": 2406, "loc": { "start": { - "line": 20, - "column": 20 + "line": 65, + "column": 90 }, "end": { - "line": 20, - "column": 24 + "line": 65, + "column": 91 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16347,24 +23328,24 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1087, - "end": 1089, + "value": "const", + "start": 2423, + "end": 2428, "loc": { "start": { - "line": 20, - "column": 25 + "line": 66, + "column": 16 }, "end": { - "line": 20, - "column": 27 + "line": 66, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -16373,67 +23354,71 @@ "postfix": false, "binop": null }, - "start": 1090, - "end": 1091, + "value": "isFirstInstance", + "start": 2429, + "end": 2444, "loc": { "start": { - "line": 20, - "column": 28 + "line": 66, + "column": 22 }, "end": { - "line": 20, - "column": 29 + "line": 66, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isFunction", - "start": 1091, - "end": 1101, + "value": "=", + "start": 2445, + "end": 2446, "loc": { "start": { - "line": 20, - "column": 29 + "line": 66, + "column": 38 }, "end": { - "line": 20, + "line": 66, "column": 39 } } }, { "type": { - "label": "(", + "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1101, - "end": 1102, + "value": "!", + "start": 2447, + "end": 2448, "loc": { "start": { - "line": 20, - "column": 39 + "line": 66, + "column": 40 }, "end": { - "line": 20, - "column": 40 + "line": 66, + "column": 41 } } }, @@ -16449,23 +23434,23 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 1102, - "end": 1105, + "value": "InstanceChainMap", + "start": 2448, + "end": 2464, "loc": { "start": { - "line": 20, - "column": 40 + "line": 66, + "column": 41 }, "end": { - "line": 20, - "column": 43 + "line": 66, + "column": 57 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16473,52 +23458,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1105, - "end": 1106, + "start": 2464, + "end": 2465, "loc": { "start": { - "line": 20, - "column": 43 + "line": 66, + "column": 57 }, "end": { - "line": 20, - "column": 44 + "line": 66, + "column": 58 } } }, { "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 1107, - "end": 1109, + "value": "has", + "start": 2465, + "end": 2468, "loc": { "start": { - "line": 20, - "column": 45 + "line": 66, + "column": 58 }, "end": { - "line": 20, - "column": 47 + "line": 66, + "column": 61 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -16527,25 +23512,24 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 1110, - "end": 1116, + "start": 2468, + "end": 2469, "loc": { "start": { - "line": 20, - "column": 48 + "line": 66, + "column": 61 }, "end": { - "line": 20, - "column": 54 + "line": 66, + "column": 62 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16554,16 +23538,16 @@ "binop": null, "updateContext": null }, - "start": 1116, - "end": 1117, + "start": 2469, + "end": 2470, "loc": { "start": { - "line": 20, - "column": 54 + "line": 66, + "column": 62 }, "end": { - "line": 20, - "column": 55 + "line": 66, + "column": 63 } } }, @@ -16579,49 +23563,50 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 1117, - "end": 1123, + "value": "target", + "start": 2470, + "end": 2476, "loc": { "start": { - "line": 20, - "column": 55 + "line": 66, + "column": 63 }, "end": { - "line": 20, - "column": 61 + "line": 66, + "column": 69 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1123, - "end": 1124, + "start": 2476, + "end": 2477, "loc": { "start": { - "line": 20, - "column": 61 + "line": 66, + "column": 69 }, "end": { - "line": 20, - "column": 62 + "line": 66, + "column": 70 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -16630,48 +23615,49 @@ "postfix": false, "binop": null }, - "start": 1125, - "end": 1126, + "value": "name", + "start": 2478, + "end": 2482, "loc": { "start": { - "line": 20, - "column": 63 + "line": 66, + "column": 71 }, "end": { - "line": 20, - "column": 64 + "line": 66, + "column": 75 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "descriptor", - "start": 1151, - "end": 1161, + "start": 2482, + "end": 2483, "loc": { "start": { - "line": 21, - "column": 24 + "line": 66, + "column": 75 }, "end": { - "line": 21, - "column": 34 + "line": 66, + "column": 76 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16679,72 +23665,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1161, - "end": 1162, + "start": 2483, + "end": 2484, "loc": { "start": { - "line": 21, - "column": 34 + "line": 66, + "column": 76 }, "end": { - "line": 21, - "column": 35 + "line": 66, + "column": 77 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "set", - "start": 1162, - "end": 1165, + "start": 2484, + "end": 2485, "loc": { "start": { - "line": 21, - "column": 35 + "line": 66, + "column": 77 }, "end": { - "line": 21, - "column": 38 + "line": 66, + "column": 78 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1166, - "end": 1167, + "value": "const", + "start": 2502, + "end": 2507, "loc": { "start": { - "line": 21, - "column": 39 + "line": 67, + "column": 16 }, "end": { - "line": 21, - "column": 40 + "line": 67, + "column": 21 } } }, @@ -16760,42 +23746,44 @@ "postfix": false, "binop": null }, - "value": "copyMetadata", - "start": 1168, - "end": 1180, + "value": "chainData", + "start": 2508, + "end": 2517, "loc": { "start": { - "line": 21, - "column": 41 + "line": 67, + "column": 22 }, "end": { - "line": 21, - "column": 53 + "line": 67, + "column": 31 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1180, - "end": 1181, + "value": "=", + "start": 2518, + "end": 2519, "loc": { "start": { - "line": 21, - "column": 53 + "line": 67, + "column": 32 }, "end": { - "line": 21, - "column": 54 + "line": 67, + "column": 33 } } }, @@ -16811,17 +23799,17 @@ "postfix": false, "binop": null }, - "value": "applicator", - "start": 1181, - "end": 1191, + "value": "InstanceChainMap", + "start": 2520, + "end": 2536, "loc": { "start": { - "line": 21, - "column": 54 + "line": 67, + "column": 34 }, "end": { - "line": 21, - "column": 64 + "line": 67, + "column": 50 } } }, @@ -16838,16 +23826,16 @@ "binop": null, "updateContext": null }, - "start": 1191, - "end": 1192, + "start": 2536, + "end": 2537, "loc": { "start": { - "line": 21, - "column": 64 + "line": 67, + "column": 50 }, "end": { - "line": 21, - "column": 65 + "line": 67, + "column": 51 } } }, @@ -16863,17 +23851,17 @@ "postfix": false, "binop": null }, - "value": "apply", - "start": 1192, - "end": 1197, + "value": "get", + "start": 2537, + "end": 2540, "loc": { "start": { - "line": 21, - "column": 65 + "line": 67, + "column": 51 }, "end": { - "line": 21, - "column": 70 + "line": 67, + "column": 54 } } }, @@ -16889,22 +23877,22 @@ "postfix": false, "binop": null }, - "start": 1197, - "end": 1198, + "start": 2540, + "end": 2541, "loc": { "start": { - "line": 21, - "column": 70 + "line": 67, + "column": 54 }, "end": { - "line": 21, - "column": 71 + "line": 67, + "column": 55 } } }, { "type": { - "label": "{", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -16912,18 +23900,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1198, - "end": 1199, + "start": 2541, + "end": 2542, "loc": { "start": { - "line": 21, - "column": 71 + "line": 67, + "column": 55 }, "end": { - "line": 21, - "column": 72 + "line": 67, + "column": 56 } } }, @@ -16939,17 +23928,17 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 1200, - "end": 1206, + "value": "target", + "start": 2542, + "end": 2548, "loc": { "start": { - "line": 21, - "column": 73 + "line": 67, + "column": 56 }, "end": { - "line": 21, - "column": 79 + "line": 67, + "column": 62 } } }, @@ -16966,16 +23955,16 @@ "binop": null, "updateContext": null }, - "start": 1206, - "end": 1207, + "start": 2548, + "end": 2549, "loc": { "start": { - "line": 21, - "column": 79 + "line": 67, + "column": 62 }, "end": { - "line": 21, - "column": 80 + "line": 67, + "column": 63 } } }, @@ -16991,24 +23980,24 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 1208, - "end": 1214, + "value": "name", + "start": 2550, + "end": 2554, "loc": { "start": { - "line": 21, - "column": 81 + "line": 67, + "column": 64 }, "end": { - "line": 21, - "column": 87 + "line": 67, + "column": 68 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17018,24 +24007,24 @@ "binop": null, "updateContext": null }, - "start": 1214, - "end": 1215, + "start": 2554, + "end": 2555, "loc": { "start": { - "line": 21, - "column": 87 + "line": 67, + "column": 68 }, "end": { - "line": 21, - "column": 88 + "line": 67, + "column": 69 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17043,23 +24032,22 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1216, - "end": 1221, + "start": 2555, + "end": 2556, "loc": { "start": { - "line": 21, - "column": 89 + "line": 67, + "column": 69 }, "end": { - "line": 21, - "column": 94 + "line": 67, + "column": 70 } } }, { "type": { - "label": ":", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -17067,26 +24055,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 1221, - "end": 1222, + "value": "||", + "start": 2557, + "end": 2559, "loc": { "start": { - "line": 21, - "column": 94 + "line": 67, + "column": 71 }, "end": { - "line": 21, - "column": 95 + "line": 67, + "column": 73 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17095,100 +24084,100 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 1223, - "end": 1226, + "start": 2560, + "end": 2561, "loc": { "start": { - "line": 21, - "column": 96 + "line": 67, + "column": 74 }, "end": { - "line": 21, - "column": 99 + "line": 67, + "column": 75 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1226, - "end": 1227, + "value": "fns", + "start": 2562, + "end": 2565, "loc": { "start": { - "line": 21, - "column": 99 + "line": 67, + "column": 76 }, "end": { - "line": 21, - "column": 100 + "line": 67, + "column": 79 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "args", - "start": 1228, - "end": 1232, + "start": 2565, + "end": 2566, "loc": { "start": { - "line": 21, - "column": 101 + "line": 67, + "column": 79 }, "end": { - "line": 21, - "column": 105 + "line": 67, + "column": 80 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1233, - "end": 1234, + "start": 2567, + "end": 2568, "loc": { "start": { - "line": 21, - "column": 106 + "line": 67, + "column": 81 }, "end": { - "line": 21, - "column": 107 + "line": 67, + "column": 82 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17196,18 +24185,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1234, - "end": 1235, + "start": 2568, + "end": 2569, "loc": { - "start": { - "line": 21, - "column": 107 + "start": { + "line": 67, + "column": 82 }, "end": { - "line": 21, - "column": 108 + "line": 67, + "column": 83 } } }, @@ -17224,16 +24214,16 @@ "binop": null, "updateContext": null }, - "start": 1235, - "end": 1236, + "start": 2569, + "end": 2570, "loc": { "start": { - "line": 21, - "column": 108 + "line": 67, + "column": 83 }, "end": { - "line": 21, - "column": 109 + "line": 67, + "column": 84 } } }, @@ -17249,50 +24239,51 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 1237, - "end": 1240, + "value": "properties", + "start": 2571, + "end": 2581, "loc": { "start": { - "line": 21, - "column": 110 + "line": 67, + "column": 85 }, "end": { - "line": 21, - "column": 113 + "line": 67, + "column": 95 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1240, - "end": 1241, + "start": 2581, + "end": 2582, "loc": { "start": { - "line": 21, - "column": 113 + "line": 67, + "column": 95 }, "end": { - "line": 21, - "column": 114 + "line": 67, + "column": 96 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17301,22 +24292,22 @@ "binop": null, "updateContext": null }, - "start": 1241, - "end": 1242, + "start": 2583, + "end": 2584, "loc": { "start": { - "line": 21, - "column": 114 + "line": 67, + "column": 97 }, "end": { - "line": 21, - "column": 115 + "line": 67, + "column": 98 } } }, { "type": { - "label": "}", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17324,18 +24315,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1263, - "end": 1264, + "start": 2584, + "end": 2585, "loc": { "start": { - "line": 22, - "column": 20 + "line": 67, + "column": 98 }, "end": { - "line": 22, - "column": 21 + "line": 67, + "column": 99 } } }, @@ -17351,23 +24343,22 @@ "postfix": false, "binop": null }, - "start": 1281, - "end": 1282, + "start": 2586, + "end": 2587, "loc": { "start": { - "line": 23, - "column": 16 + "line": 67, + "column": 100 }, "end": { - "line": 23, - "column": 17 + "line": 67, + "column": 101 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -17378,17 +24369,44 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1299, - "end": 1305, + "start": 2587, + "end": 2588, "loc": { "start": { - "line": 24, + "line": 67, + "column": 101 + }, + "end": { + "line": 67, + "column": 102 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2605, + "end": 2610, + "loc": { + "start": { + "line": 68, "column": 16 }, "end": { - "line": 24, - "column": 22 + "line": 68, + "column": 21 } } }, @@ -17404,51 +24422,52 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 1306, - "end": 1316, + "value": "isGetter", + "start": 2611, + "end": 2619, "loc": { "start": { - "line": 24, - "column": 23 + "line": 68, + "column": 22 }, "end": { - "line": 24, - "column": 33 + "line": 68, + "column": 30 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1316, - "end": 1317, + "value": "=", + "start": 2620, + "end": 2621, "loc": { "start": { - "line": 24, - "column": 33 + "line": 68, + "column": 31 }, "end": { - "line": 24, - "column": 34 + "line": 68, + "column": 32 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17456,22 +24475,23 @@ "postfix": false, "binop": null }, - "start": 1330, - "end": 1331, + "value": "isFirstInstance", + "start": 2622, + "end": 2637, "loc": { "start": { - "line": 25, - "column": 12 + "line": 68, + "column": 33 }, "end": { - "line": 25, - "column": 13 + "line": 68, + "column": 48 } } }, { "type": { - "label": ";", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -17479,27 +24499,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 1331, - "end": 1332, + "value": "&&", + "start": 2638, + "end": 2640, "loc": { "start": { - "line": 25, - "column": 13 + "line": 68, + "column": 49 }, "end": { - "line": 25, - "column": 14 + "line": 68, + "column": 51 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17507,50 +24528,50 @@ "postfix": false, "binop": null }, - "start": 1341, - "end": 1342, + "value": "isFunction", + "start": 2641, + "end": 2651, "loc": { "start": { - "line": 26, - "column": 8 + "line": 68, + "column": 52 }, "end": { - "line": 26, - "column": 9 + "line": 68, + "column": 62 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1342, - "end": 1343, + "start": 2651, + "end": 2652, "loc": { "start": { - "line": 26, - "column": 9 + "line": 68, + "column": 62 }, "end": { - "line": 26, - "column": 10 + "line": 68, + "column": 63 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17558,24 +24579,25 @@ "postfix": false, "binop": null }, - "start": 1348, - "end": 1349, + "value": "get", + "start": 2652, + "end": 2655, "loc": { "start": { - "line": 27, - "column": 4 + "line": 68, + "column": 63 }, "end": { - "line": 27, - "column": 5 + "line": 68, + "column": 66 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17583,76 +24605,78 @@ "postfix": false, "binop": null }, - "value": "createInstanceDecorator", - "start": 1354, - "end": 1377, + "start": 2655, + "end": 2656, "loc": { "start": { - "line": 28, - "column": 4 + "line": 68, + "column": 66 }, "end": { - "line": 28, - "column": 27 + "line": 68, + "column": 67 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1377, - "end": 1378, + "start": 2656, + "end": 2657, "loc": { "start": { - "line": 28, - "column": 27 + "line": 68, + "column": 67 }, "end": { - "line": 28, - "column": 28 + "line": 68, + "column": 68 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 1378, - "end": 1384, + "value": "const", + "start": 2674, + "end": 2679, "loc": { "start": { - "line": 28, - "column": 28 + "line": 69, + "column": 16 }, "end": { - "line": 28, - "column": 34 + "line": 69, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17660,94 +24684,97 @@ "postfix": false, "binop": null }, - "start": 1384, - "end": 1385, + "value": "isSetter", + "start": 2680, + "end": 2688, "loc": { "start": { - "line": 28, - "column": 34 + "line": 69, + "column": 22 }, "end": { - "line": 28, - "column": 35 + "line": 69, + "column": 30 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1386, - "end": 1387, + "value": "=", + "start": 2689, + "end": 2690, "loc": { "start": { - "line": 28, - "column": 36 + "line": 69, + "column": 31 }, "end": { - "line": 28, - "column": 37 + "line": 69, + "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 1396, - "end": 1401, + "value": "isFirstInstance", + "start": 2691, + "end": 2706, "loc": { "start": { - "line": 29, - "column": 8 + "line": 69, + "column": 33 }, "end": { - "line": 29, - "column": 13 + "line": 69, + "column": 48 } } }, { "type": { - "label": "{", + "label": "&&", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "start": 1402, - "end": 1403, + "value": "&&", + "start": 2707, + "end": 2709, "loc": { "start": { - "line": 29, - "column": 14 + "line": 69, + "column": 49 }, "end": { - "line": 29, - "column": 15 + "line": 69, + "column": 51 } } }, @@ -17763,43 +24790,42 @@ "postfix": false, "binop": null }, - "value": "applicator", - "start": 1404, - "end": 1414, + "value": "isFunction", + "start": 2710, + "end": 2720, "loc": { "start": { - "line": 29, - "column": 16 + "line": 69, + "column": 52 }, "end": { - "line": 29, - "column": 26 + "line": 69, + "column": 62 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1414, - "end": 1415, + "start": 2720, + "end": 2721, "loc": { "start": { - "line": 29, - "column": 26 + "line": 69, + "column": 62 }, "end": { - "line": 29, - "column": 27 + "line": 69, + "column": 63 } } }, @@ -17815,23 +24841,23 @@ "postfix": false, "binop": null }, - "value": "bound", - "start": 1416, - "end": 1421, + "value": "set", + "start": 2721, + "end": 2724, "loc": { "start": { - "line": 29, - "column": 28 + "line": 69, + "column": 63 }, "end": { - "line": 29, - "column": 33 + "line": 69, + "column": 66 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17841,130 +24867,130 @@ "postfix": false, "binop": null }, - "start": 1422, - "end": 1423, + "start": 2724, + "end": 2725, "loc": { "start": { - "line": 29, - "column": 34 + "line": 69, + "column": 66 }, "end": { - "line": 29, - "column": 35 + "line": 69, + "column": 67 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1424, - "end": 1425, + "start": 2725, + "end": 2726, "loc": { "start": { - "line": 29, - "column": 36 + "line": 69, + "column": 67 }, "end": { - "line": 29, - "column": 37 + "line": 69, + "column": 68 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 1426, - "end": 1432, + "value": "const", + "start": 2743, + "end": 2748, "loc": { "start": { - "line": 29, - "column": 38 + "line": 70, + "column": 16 }, "end": { - "line": 29, - "column": 44 + "line": 70, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1432, - "end": 1433, + "value": "isMethod", + "start": 2749, + "end": 2757, "loc": { "start": { - "line": 29, - "column": 44 + "line": 70, + "column": 22 }, "end": { - "line": 29, - "column": 45 + "line": 70, + "column": 30 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 1442, - "end": 1448, + "value": "=", + "start": 2758, + "end": 2759, "loc": { "start": { - "line": 30, - "column": 8 + "line": 70, + "column": 31 }, "end": { - "line": 30, - "column": 14 + "line": 70, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17973,22 +24999,23 @@ "postfix": false, "binop": null }, - "start": 1449, - "end": 1450, + "value": "isFirstInstance", + "start": 2760, + "end": 2775, "loc": { "start": { - "line": 30, - "column": 15 + "line": 70, + "column": 33 }, "end": { - "line": 30, - "column": 16 + "line": 70, + "column": 48 } } }, { "type": { - "label": "...", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -17996,19 +25023,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 1450, - "end": 1453, + "value": "&&", + "start": 2776, + "end": 2778, "loc": { "start": { - "line": 30, - "column": 16 + "line": 70, + "column": 49 }, "end": { - "line": 30, - "column": 19 + "line": 70, + "column": 51 } } }, @@ -18024,25 +25052,25 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 1453, - "end": 1457, + "value": "isFunction", + "start": 2779, + "end": 2789, "loc": { "start": { - "line": 30, - "column": 19 + "line": 70, + "column": 52 }, "end": { - "line": 30, - "column": 23 + "line": 70, + "column": 62 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18050,50 +25078,50 @@ "postfix": false, "binop": null }, - "start": 1457, - "end": 1458, + "start": 2789, + "end": 2790, "loc": { "start": { - "line": 30, - "column": 23 + "line": 70, + "column": 62 }, "end": { - "line": 30, - "column": 24 + "line": 70, + "column": 63 } } }, { "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1459, - "end": 1461, + "value": "value", + "start": 2790, + "end": 2795, "loc": { "start": { - "line": 30, - "column": 25 + "line": 70, + "column": 63 }, "end": { - "line": 30, - "column": 27 + "line": 70, + "column": 68 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18101,23 +25129,22 @@ "postfix": false, "binop": null }, - "start": 1462, - "end": 1463, + "start": 2795, + "end": 2796, "loc": { "start": { - "line": 30, - "column": 28 + "line": 70, + "column": 68 }, "end": { - "line": 30, - "column": 29 + "line": 70, + "column": 69 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18128,42 +25155,44 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1476, - "end": 1482, + "start": 2796, + "end": 2797, "loc": { "start": { - "line": 31, - "column": 12 + "line": 70, + "column": 69 }, "end": { - "line": 31, - "column": 18 + "line": 70, + "column": 70 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1483, - "end": 1484, + "value": "const", + "start": 2814, + "end": 2819, "loc": { "start": { - "line": 31, - "column": 19 + "line": 71, + "column": 16 }, "end": { - "line": 31, - "column": 20 + "line": 71, + "column": 21 } } }, @@ -18179,43 +25208,44 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 1484, - "end": 1490, + "value": "isProperty", + "start": 2820, + "end": 2830, "loc": { "start": { - "line": 31, - "column": 20 + "line": 71, + "column": 22 }, "end": { - "line": 31, - "column": 26 + "line": 71, + "column": 32 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1490, - "end": 1491, + "value": "=", + "start": 2831, + "end": 2832, "loc": { "start": { - "line": 31, - "column": 26 + "line": 71, + "column": 33 }, "end": { - "line": 31, - "column": 27 + "line": 71, + "column": 34 } } }, @@ -18231,23 +25261,23 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 1492, - "end": 1496, + "value": "isFirstInstance", + "start": 2833, + "end": 2848, "loc": { "start": { - "line": 31, - "column": 28 + "line": 71, + "column": 35 }, "end": { - "line": 31, - "column": 32 + "line": 71, + "column": 50 } } }, { "type": { - "label": ",", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18255,53 +25285,55 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 1496, - "end": 1497, + "value": "&&", + "start": 2849, + "end": 2851, "loc": { "start": { - "line": 31, - "column": 32 + "line": 71, + "column": 51 }, "end": { - "line": 31, - "column": 33 + "line": 71, + "column": 53 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "prefix", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_descriptor", - "start": 1498, - "end": 1509, + "value": "!", + "start": 2852, + "end": 2853, "loc": { "start": { - "line": 31, - "column": 34 + "line": 71, + "column": 54 }, "end": { - "line": 31, - "column": 45 + "line": 71, + "column": 55 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18309,22 +25341,23 @@ "postfix": false, "binop": null }, - "start": 1509, - "end": 1510, + "value": "isGetter", + "start": 2853, + "end": 2861, "loc": { "start": { - "line": 31, - "column": 45 + "line": 71, + "column": 55 }, "end": { - "line": 31, - "column": 46 + "line": 71, + "column": 63 } } }, { "type": { - "label": "=>", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18332,72 +25365,47 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 1511, - "end": 1513, + "value": "&&", + "start": 2862, + "end": 2864, "loc": { "start": { - "line": 31, - "column": 47 + "line": 71, + "column": 64 }, "end": { - "line": 31, - "column": 49 + "line": 71, + "column": 66 } } }, { "type": { - "label": "{", + "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1514, - "end": 1515, - "loc": { - "start": { - "line": 31, - "column": 50 - }, - "end": { - "line": 31, - "column": 51 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 1532, - "end": 1537, + "value": "!", + "start": 2865, + "end": 2866, "loc": { "start": { - "line": 32, - "column": 16 + "line": 71, + "column": 67 }, "end": { - "line": 32, - "column": 21 + "line": 71, + "column": 68 } } }, @@ -18413,149 +25421,151 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 1538, - "end": 1548, + "value": "isSetter", + "start": 2866, + "end": 2874, "loc": { "start": { - "line": 32, - "column": 22 + "line": 71, + "column": 68 }, "end": { - "line": 32, - "column": 32 + "line": 71, + "column": 76 } } }, { "type": { - "label": "=", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "value": "=", - "start": 1549, - "end": 1550, + "value": "&&", + "start": 2875, + "end": 2877, "loc": { "start": { - "line": 32, - "column": 33 + "line": 71, + "column": 77 }, "end": { - "line": 32, - "column": 34 + "line": 71, + "column": 79 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "prefix", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "this", - "start": 1551, - "end": 1555, + "value": "!", + "start": 2878, + "end": 2879, "loc": { "start": { - "line": 32, - "column": 35 + "line": 71, + "column": 80 }, "end": { - "line": 32, - "column": 39 + "line": 71, + "column": 81 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1555, - "end": 1556, + "value": "isMethod", + "start": 2879, + "end": 2887, "loc": { "start": { - "line": 32, - "column": 39 + "line": 71, + "column": 81 }, "end": { - "line": 32, - "column": 40 + "line": 71, + "column": 89 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "_resolveDescriptor", - "start": 1556, - "end": 1574, + "start": 2887, + "end": 2888, "loc": { "start": { - "line": 32, - "column": 40 + "line": 71, + "column": 89 }, - "end": { - "line": 32, - "column": 58 + "end": { + "line": 71, + "column": 90 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1574, - "end": 1575, + "value": "const", + "start": 2905, + "end": 2910, "loc": { "start": { - "line": 32, - "column": 58 + "line": 72, + "column": 16 }, "end": { - "line": 32, - "column": 59 + "line": 72, + "column": 21 } } }, @@ -18571,43 +25581,44 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 1575, - "end": 1581, + "value": "baseValue", + "start": 2911, + "end": 2920, "loc": { "start": { - "line": 32, - "column": 59 + "line": 72, + "column": 22 }, "end": { - "line": 32, - "column": 65 + "line": 72, + "column": 31 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1581, - "end": 1582, + "value": "=", + "start": 2921, + "end": 2922, "loc": { "start": { - "line": 32, - "column": 65 + "line": 72, + "column": 32 }, "end": { - "line": 32, - "column": 66 + "line": 72, + "column": 33 } } }, @@ -18623,23 +25634,23 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 1583, - "end": 1587, + "value": "isGetter", + "start": 2923, + "end": 2931, "loc": { "start": { - "line": 32, - "column": 67 + "line": 72, + "column": 34 }, "end": { - "line": 32, - "column": 71 + "line": 72, + "column": 42 } } }, { "type": { - "label": ",", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18650,16 +25661,16 @@ "binop": null, "updateContext": null }, - "start": 1587, - "end": 1588, + "start": 2932, + "end": 2933, "loc": { "start": { - "line": 32, - "column": 71 + "line": 72, + "column": 43 }, "end": { - "line": 32, - "column": 72 + "line": 72, + "column": 44 } } }, @@ -18675,48 +25686,23 @@ "postfix": false, "binop": null }, - "value": "_descriptor", - "start": 1589, - "end": 1600, - "loc": { - "start": { - "line": 32, - "column": 73 - }, - "end": { - "line": 32, - "column": 84 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1600, - "end": 1601, + "value": "get", + "start": 2934, + "end": 2937, "loc": { "start": { - "line": 32, - "column": 84 + "line": 72, + "column": 45 }, "end": { - "line": 32, - "column": 85 + "line": 72, + "column": 48 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18727,69 +25713,68 @@ "binop": null, "updateContext": null }, - "start": 1601, - "end": 1602, + "start": 2938, + "end": 2939, "loc": { "start": { - "line": 32, - "column": 85 + "line": 72, + "column": 49 }, "end": { - "line": 32, - "column": 86 + "line": 72, + "column": 50 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 1619, - "end": 1624, + "value": "isMethod", + "start": 2940, + "end": 2948, "loc": { "start": { - "line": 33, - "column": 16 + "line": 72, + "column": 51 }, "end": { - "line": 33, - "column": 21 + "line": 72, + "column": 59 } } }, { "type": { - "label": "{", + "label": "?", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1625, - "end": 1626, + "start": 2949, + "end": 2950, "loc": { "start": { - "line": 33, - "column": 22 + "line": 72, + "column": 60 }, "end": { - "line": 33, - "column": 23 + "line": 72, + "column": 61 } } }, @@ -18806,22 +25791,22 @@ "binop": null }, "value": "value", - "start": 1627, - "end": 1632, + "start": 2951, + "end": 2956, "loc": { "start": { - "line": 33, - "column": 24 + "line": 72, + "column": 62 }, "end": { - "line": 33, - "column": 29 + "line": 72, + "column": 67 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18832,16 +25817,16 @@ "binop": null, "updateContext": null }, - "start": 1632, - "end": 1633, + "start": 2957, + "end": 2958, "loc": { "start": { - "line": 33, - "column": 29 + "line": 72, + "column": 68 }, "end": { - "line": 33, - "column": 30 + "line": 72, + "column": 69 } } }, @@ -18857,23 +25842,23 @@ "postfix": false, "binop": null }, - "value": "writable", - "start": 1634, - "end": 1642, + "value": "undefined", + "start": 2959, + "end": 2968, "loc": { "start": { - "line": 33, - "column": 31 + "line": 72, + "column": 70 }, "end": { - "line": 33, - "column": 39 + "line": 72, + "column": 79 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18884,16 +25869,16 @@ "binop": null, "updateContext": null }, - "start": 1642, - "end": 1643, + "start": 2968, + "end": 2969, "loc": { "start": { - "line": 33, - "column": 39 + "line": 72, + "column": 79 }, "end": { - "line": 33, - "column": 40 + "line": 72, + "column": 80 } } }, @@ -18909,24 +25894,24 @@ "postfix": false, "binop": null }, - "value": "enumerable", - "start": 1644, - "end": 1654, + "value": "chainData", + "start": 2986, + "end": 2995, "loc": { "start": { - "line": 33, - "column": 41 + "line": 73, + "column": 16 }, "end": { - "line": 33, - "column": 51 + "line": 73, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18936,16 +25921,16 @@ "binop": null, "updateContext": null }, - "start": 1654, - "end": 1655, + "start": 2995, + "end": 2996, "loc": { "start": { - "line": 33, - "column": 51 + "line": 73, + "column": 25 }, "end": { - "line": 33, - "column": 52 + "line": 73, + "column": 26 } } }, @@ -18961,24 +25946,24 @@ "postfix": false, "binop": null }, - "value": "configurable", - "start": 1656, - "end": 1668, + "value": "properties", + "start": 2996, + "end": 3006, "loc": { "start": { - "line": 33, - "column": 53 + "line": 73, + "column": 26 }, "end": { - "line": 33, - "column": 65 + "line": 73, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18988,16 +25973,16 @@ "binop": null, "updateContext": null }, - "start": 1668, - "end": 1669, + "start": 3006, + "end": 3007, "loc": { "start": { - "line": 33, - "column": 65 + "line": 73, + "column": 36 }, "end": { - "line": 33, - "column": 66 + "line": 73, + "column": 37 } } }, @@ -19013,43 +25998,42 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 1670, - "end": 1673, + "value": "push", + "start": 3007, + "end": 3011, "loc": { "start": { - "line": 33, - "column": 67 + "line": 73, + "column": 37 }, "end": { - "line": 33, - "column": 70 + "line": 73, + "column": 41 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1673, - "end": 1674, + "start": 3011, + "end": 3012, "loc": { "start": { - "line": 33, - "column": 70 + "line": 73, + "column": 41 }, "end": { - "line": 33, - "column": 71 + "line": 73, + "column": 42 } } }, @@ -19065,23 +26049,23 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 1675, - "end": 1678, + "value": "name", + "start": 3012, + "end": 3016, "loc": { "start": { - "line": 33, - "column": 72 + "line": 73, + "column": 42 }, "end": { - "line": 33, - "column": 75 + "line": 73, + "column": 46 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19091,43 +26075,42 @@ "postfix": false, "binop": null }, - "start": 1679, - "end": 1680, + "start": 3016, + "end": 3017, "loc": { "start": { - "line": 33, - "column": 76 + "line": 73, + "column": 46 }, "end": { - "line": 33, - "column": 77 + "line": 73, + "column": 47 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1681, - "end": 1682, + "start": 3017, + "end": 3018, "loc": { "start": { - "line": 33, - "column": 78 + "line": 73, + "column": 47 }, "end": { - "line": 33, - "column": 79 + "line": 73, + "column": 48 } } }, @@ -19143,24 +26126,24 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 1683, - "end": 1693, + "value": "chainData", + "start": 3035, + "end": 3044, "loc": { "start": { - "line": 33, - "column": 80 + "line": 74, + "column": 16 }, "end": { - "line": 33, - "column": 90 + "line": 74, + "column": 25 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19170,131 +26153,126 @@ "binop": null, "updateContext": null }, - "start": 1693, - "end": 1694, + "start": 3044, + "end": 3045, "loc": { "start": { - "line": 33, - "column": 90 + "line": 74, + "column": 25 }, "end": { - "line": 33, - "column": 91 + "line": 74, + "column": 26 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 1711, - "end": 1716, + "value": "fns", + "start": 3045, + "end": 3048, "loc": { "start": { - "line": 34, - "column": 16 + "line": 74, + "column": 26 }, "end": { - "line": 34, - "column": 21 + "line": 74, + "column": 29 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isFirstInstance", - "start": 1717, - "end": 1732, + "start": 3048, + "end": 3049, "loc": { "start": { - "line": 34, - "column": 22 + "line": 74, + "column": 29 }, "end": { - "line": 34, - "column": 37 + "line": 74, + "column": 30 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1733, - "end": 1734, + "value": "push", + "start": 3049, + "end": 3053, "loc": { "start": { - "line": 34, - "column": 38 + "line": 74, + "column": 30 }, "end": { - "line": 34, - "column": 39 + "line": 74, + "column": 34 } } }, { "type": { - "label": "prefix", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 1735, - "end": 1736, + "start": 3053, + "end": 3054, "loc": { "start": { - "line": 34, - "column": 40 + "line": 74, + "column": 34 }, "end": { - "line": 34, - "column": 41 + "line": 74, + "column": 35 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19303,76 +26281,75 @@ "postfix": false, "binop": null }, - "value": "InstanceChainMap", - "start": 1736, - "end": 1752, + "start": 3054, + "end": 3055, "loc": { "start": { - "line": 34, - "column": 41 + "line": 74, + "column": 35 }, "end": { - "line": 34, - "column": 57 + "line": 74, + "column": 36 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1752, - "end": 1753, + "value": "fn", + "start": 3055, + "end": 3057, "loc": { "start": { - "line": 34, - "column": 57 + "line": 74, + "column": 36 }, "end": { - "line": 34, - "column": 58 + "line": 74, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "has", - "start": 1753, - "end": 1756, + "start": 3057, + "end": 3058, "loc": { "start": { - "line": 34, - "column": 58 + "line": 74, + "column": 38 }, "end": { - "line": 34, - "column": 61 + "line": 74, + "column": 39 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19381,24 +26358,25 @@ "postfix": false, "binop": null }, - "start": 1756, - "end": 1757, + "value": "instance", + "start": 3059, + "end": 3067, "loc": { "start": { - "line": 34, - "column": 61 + "line": 74, + "column": 40 }, "end": { - "line": 34, - "column": 62 + "line": 74, + "column": 48 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19407,16 +26385,16 @@ "binop": null, "updateContext": null }, - "start": 1757, - "end": 1758, + "start": 3067, + "end": 3068, "loc": { "start": { - "line": 34, - "column": 62 + "line": 74, + "column": 48 }, "end": { - "line": 34, - "column": 63 + "line": 74, + "column": 49 } } }, @@ -19432,101 +26410,100 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 1758, - "end": 1764, + "value": "context", + "start": 3069, + "end": 3076, "loc": { "start": { - "line": 34, - "column": 63 + "line": 74, + "column": 50 }, "end": { - "line": 34, - "column": 69 + "line": 74, + "column": 57 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1764, - "end": 1765, + "start": 3076, + "end": 3077, "loc": { "start": { - "line": 34, - "column": 69 + "line": 74, + "column": 57 }, "end": { - "line": 34, - "column": 70 + "line": 74, + "column": 58 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 1766, - "end": 1770, + "start": 3078, + "end": 3080, "loc": { "start": { - "line": 34, - "column": 71 + "line": 74, + "column": 59 }, "end": { - "line": 34, - "column": 75 + "line": 74, + "column": 61 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1770, - "end": 1771, + "start": 3081, + "end": 3082, "loc": { - "start": { - "line": 34, - "column": 75 + "start": { + "line": 74, + "column": 62 }, "end": { - "line": 34, - "column": 76 + "line": 74, + "column": 63 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19534,78 +26511,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1771, - "end": 1772, + "value": "if", + "start": 3103, + "end": 3105, "loc": { "start": { - "line": 34, - "column": 76 + "line": 75, + "column": 20 }, "end": { - "line": 34, - "column": 77 + "line": 75, + "column": 22 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1772, - "end": 1773, + "start": 3106, + "end": 3107, "loc": { "start": { - "line": 34, - "column": 77 + "line": 75, + "column": 23 }, "end": { - "line": 34, - "column": 78 + "line": 75, + "column": 24 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 1790, - "end": 1795, + "value": "!", + "start": 3107, + "end": 3108, "loc": { "start": { - "line": 35, - "column": 16 + "line": 75, + "column": 24 }, "end": { - "line": 35, - "column": 21 + "line": 75, + "column": 25 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19613,46 +26591,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fnChain", - "start": 1796, - "end": 1803, + "value": "this", + "start": 3108, + "end": 3112, "loc": { "start": { - "line": 35, - "column": 22 + "line": 75, + "column": 25 }, "end": { - "line": 35, + "line": 75, "column": 29 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1804, - "end": 1805, + "start": 3112, + "end": 3113, "loc": { "start": { - "line": 35, - "column": 30 + "line": 75, + "column": 29 }, "end": { - "line": 35, - "column": 31 + "line": 75, + "column": 30 } } }, @@ -19668,43 +26646,42 @@ "postfix": false, "binop": null }, - "value": "InstanceChainMap", - "start": 1806, - "end": 1822, + "value": "_isApplicable", + "start": 3113, + "end": 3126, "loc": { "start": { - "line": 35, - "column": 32 + "line": 75, + "column": 30 }, "end": { - "line": 35, - "column": 48 + "line": 75, + "column": 43 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1822, - "end": 1823, + "start": 3126, + "end": 3127, "loc": { "start": { - "line": 35, - "column": 48 + "line": 75, + "column": 43 }, "end": { - "line": 35, - "column": 49 + "line": 75, + "column": 44 } } }, @@ -19720,76 +26697,77 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 1823, - "end": 1826, + "value": "context", + "start": 3127, + "end": 3134, "loc": { "start": { - "line": 35, - "column": 49 + "line": 75, + "column": 44 }, "end": { - "line": 35, - "column": 52 + "line": 75, + "column": 51 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1826, - "end": 1827, + "start": 3134, + "end": 3135, "loc": { "start": { - "line": 35, - "column": 52 + "line": 75, + "column": 51 }, "end": { - "line": 35, - "column": 53 + "line": 75, + "column": 52 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1827, - "end": 1828, + "value": "config", + "start": 3136, + "end": 3142, "loc": { "start": { - "line": 35, + "line": 75, "column": 53 }, "end": { - "line": 35, - "column": 54 + "line": 75, + "column": 59 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19797,50 +26775,48 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 1828, - "end": 1834, + "start": 3142, + "end": 3143, "loc": { "start": { - "line": 35, - "column": 54 + "line": 75, + "column": 59 }, "end": { - "line": 35, + "line": 75, "column": 60 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1834, - "end": 1835, + "start": 3143, + "end": 3144, "loc": { "start": { - "line": 35, + "line": 75, "column": 60 }, "end": { - "line": 35, + "line": 75, "column": 61 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19849,24 +26825,24 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 1836, - "end": 1840, + "start": 3145, + "end": 3146, "loc": { "start": { - "line": 35, + "line": 75, "column": 62 }, "end": { - "line": 35, - "column": 66 + "line": 75, + "column": 63 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19876,24 +26852,25 @@ "binop": null, "updateContext": null }, - "start": 1840, - "end": 1841, + "value": "return", + "start": 3171, + "end": 3177, "loc": { "start": { - "line": 35, - "column": 66 + "line": 76, + "column": 24 }, "end": { - "line": 35, - "column": 67 + "line": 76, + "column": 30 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19901,22 +26878,23 @@ "postfix": false, "binop": null }, - "start": 1841, - "end": 1842, + "value": "fn", + "start": 3178, + "end": 3180, "loc": { "start": { - "line": 35, - "column": 67 + "line": 76, + "column": 31 }, "end": { - "line": 35, - "column": 68 + "line": 76, + "column": 33 } } }, { "type": { - "label": "||", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -19924,52 +26902,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 1843, - "end": 1845, + "start": 3180, + "end": 3181, "loc": { "start": { - "line": 35, - "column": 69 + "line": 76, + "column": 33 }, "end": { - "line": 35, - "column": 71 + "line": 76, + "column": 34 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1846, - "end": 1847, + "start": 3202, + "end": 3203, "loc": { "start": { - "line": 35, - "column": 72 + "line": 77, + "column": 20 }, "end": { - "line": 35, - "column": 73 + "line": 77, + "column": 21 } } }, { "type": { - "label": "]", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19980,78 +26957,76 @@ "binop": null, "updateContext": null }, - "start": 1847, - "end": 1848, + "value": "if", + "start": 3224, + "end": 3226, "loc": { "start": { - "line": 35, - "column": 73 + "line": 78, + "column": 20 }, "end": { - "line": 35, - "column": 74 + "line": 78, + "column": 22 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1848, - "end": 1849, + "start": 3227, + "end": 3228, "loc": { "start": { - "line": 35, - "column": 74 + "line": 78, + "column": 23 }, "end": { - "line": 35, - "column": 75 + "line": 78, + "column": 24 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 1866, - "end": 1871, + "value": "bound", + "start": 3228, + "end": 3233, "loc": { "start": { - "line": 36, - "column": 16 + "line": 78, + "column": 24 }, "end": { - "line": 36, - "column": 21 + "line": 78, + "column": 29 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20059,43 +27034,40 @@ "postfix": false, "binop": null }, - "value": "isGetter", - "start": 1872, - "end": 1880, + "start": 3233, + "end": 3234, "loc": { "start": { - "line": 36, - "column": 22 + "line": 78, + "column": 29 }, "end": { - "line": 36, + "line": 78, "column": 30 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1881, - "end": 1882, + "start": 3235, + "end": 3236, "loc": { "start": { - "line": 36, + "line": 78, "column": 31 }, "end": { - "line": 36, + "line": 78, "column": 32 } } @@ -20112,44 +27084,44 @@ "postfix": false, "binop": null }, - "value": "isFirstInstance", - "start": 1883, - "end": 1898, + "value": "fn", + "start": 3261, + "end": 3263, "loc": { "start": { - "line": 36, - "column": 33 + "line": 79, + "column": 24 }, "end": { - "line": 36, - "column": 48 + "line": 79, + "column": 26 } } }, { "type": { - "label": "&&", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 1899, - "end": 1901, + "value": "=", + "start": 3264, + "end": 3265, "loc": { "start": { - "line": 36, - "column": 49 + "line": 79, + "column": 27 }, "end": { - "line": 36, - "column": 51 + "line": 79, + "column": 28 } } }, @@ -20165,17 +27137,17 @@ "postfix": false, "binop": null }, - "value": "isFunction", - "start": 1902, - "end": 1912, + "value": "bind", + "start": 3266, + "end": 3270, "loc": { "start": { - "line": 36, - "column": 52 + "line": 79, + "column": 29 }, "end": { - "line": 36, - "column": 62 + "line": 79, + "column": 33 } } }, @@ -20191,16 +27163,16 @@ "postfix": false, "binop": null }, - "start": 1912, - "end": 1913, + "start": 3270, + "end": 3271, "loc": { "start": { - "line": 36, - "column": 62 + "line": 79, + "column": 33 }, "end": { - "line": 36, - "column": 63 + "line": 79, + "column": 34 } } }, @@ -20216,48 +27188,23 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 1913, - "end": 1916, - "loc": { - "start": { - "line": 36, - "column": 63 - }, - "end": { - "line": 36, - "column": 66 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1916, - "end": 1917, + "value": "fn", + "start": 3271, + "end": 3273, "loc": { "start": { - "line": 36, - "column": 66 + "line": 79, + "column": 34 }, "end": { - "line": 36, - "column": 67 + "line": 79, + "column": 36 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -20268,52 +27215,50 @@ "binop": null, "updateContext": null }, - "start": 1917, - "end": 1918, + "start": 3273, + "end": 3274, "loc": { "start": { - "line": 36, - "column": 67 + "line": 79, + "column": 36 }, "end": { - "line": 36, - "column": 68 + "line": 79, + "column": 37 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 1935, - "end": 1940, + "value": "instance", + "start": 3275, + "end": 3283, "loc": { "start": { - "line": 37, - "column": 16 + "line": 79, + "column": 38 }, "end": { - "line": 37, - "column": 21 + "line": 79, + "column": 46 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20321,52 +27266,50 @@ "postfix": false, "binop": null }, - "value": "isSetter", - "start": 1941, - "end": 1949, + "start": 3283, + "end": 3284, "loc": { "start": { - "line": 37, - "column": 22 + "line": 79, + "column": 46 }, "end": { - "line": 37, - "column": 30 + "line": 79, + "column": 47 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1950, - "end": 1951, + "start": 3284, + "end": 3285, "loc": { "start": { - "line": 37, - "column": 31 + "line": 79, + "column": 47 }, "end": { - "line": 37, - "column": 32 + "line": 79, + "column": 48 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20374,23 +27317,23 @@ "postfix": false, "binop": null }, - "value": "isFirstInstance", - "start": 1952, - "end": 1967, + "start": 3306, + "end": 3307, "loc": { "start": { - "line": 37, - "column": 33 + "line": 80, + "column": 20 }, "end": { - "line": 37, - "column": 48 + "line": 80, + "column": 21 } } }, { "type": { - "label": "&&", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -20398,20 +27341,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 1968, - "end": 1970, + "value": "return", + "start": 3328, + "end": 3334, "loc": { "start": { - "line": 37, - "column": 49 + "line": 81, + "column": 20 }, "end": { - "line": 37, - "column": 51 + "line": 81, + "column": 26 } } }, @@ -20427,49 +27370,24 @@ "postfix": false, "binop": null }, - "value": "isFunction", - "start": 1971, - "end": 1981, + "value": "copyMetadata", + "start": 3335, + "end": 3347, "loc": { "start": { - "line": 37, - "column": 52 + "line": 81, + "column": 27 }, "end": { - "line": 37, - "column": 62 + "line": 81, + "column": 39 } } }, { "type": { "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1981, - "end": 1982, - "loc": { - "start": { - "line": 37, - "column": 62 - }, - "end": { - "line": 37, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20478,25 +27396,24 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 1982, - "end": 1985, + "start": 3347, + "end": 3348, "loc": { "start": { - "line": 37, - "column": 63 + "line": 81, + "column": 39 }, "end": { - "line": 37, - "column": 66 + "line": 81, + "column": 40 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20504,23 +27421,24 @@ "postfix": false, "binop": null }, - "start": 1985, - "end": 1986, + "value": "applicator", + "start": 3348, + "end": 3358, "loc": { "start": { - "line": 37, - "column": 66 + "line": 81, + "column": 40 }, "end": { - "line": 37, - "column": 67 + "line": 81, + "column": 50 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20530,51 +27448,49 @@ "binop": null, "updateContext": null }, - "start": 1986, - "end": 1987, + "start": 3358, + "end": 3359, "loc": { "start": { - "line": 37, - "column": 67 + "line": 81, + "column": 50 }, "end": { - "line": 37, - "column": 68 + "line": 81, + "column": 51 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 2004, - "end": 2009, + "value": "apply", + "start": 3359, + "end": 3364, "loc": { "start": { - "line": 38, - "column": 16 + "line": 81, + "column": 51 }, "end": { - "line": 38, - "column": 21 + "line": 81, + "column": 56 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20583,44 +27499,41 @@ "postfix": false, "binop": null }, - "value": "isMethod", - "start": 2010, - "end": 2018, + "start": 3364, + "end": 3365, "loc": { "start": { - "line": 38, - "column": 22 + "line": 81, + "column": 56 }, "end": { - "line": 38, - "column": 30 + "line": 81, + "column": 57 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 2019, - "end": 2020, + "start": 3365, + "end": 3366, "loc": { "start": { - "line": 38, - "column": 31 + "line": 81, + "column": 57 }, "end": { - "line": 38, - "column": 32 + "line": 81, + "column": 58 } } }, @@ -20636,23 +27549,23 @@ "postfix": false, "binop": null }, - "value": "isFirstInstance", - "start": 2021, - "end": 2036, + "value": "args", + "start": 3367, + "end": 3371, "loc": { "start": { - "line": 38, - "column": 33 + "line": 81, + "column": 59 }, "end": { - "line": 38, - "column": 48 + "line": 81, + "column": 63 } } }, { "type": { - "label": "&&", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -20660,20 +27573,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 2037, - "end": 2039, + "start": 3371, + "end": 3372, "loc": { "start": { - "line": 38, - "column": 49 + "line": 81, + "column": 63 }, "end": { - "line": 38, - "column": 51 + "line": 81, + "column": 64 } } }, @@ -20689,42 +27601,43 @@ "postfix": false, "binop": null }, - "value": "isFunction", - "start": 2040, - "end": 2050, + "value": "params", + "start": 3373, + "end": 3379, "loc": { "start": { - "line": 38, - "column": 52 + "line": 81, + "column": 65 }, "end": { - "line": 38, - "column": 62 + "line": 81, + "column": 71 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2050, - "end": 2051, + "start": 3379, + "end": 3380, "loc": { "start": { - "line": 38, - "column": 62 + "line": 81, + "column": 71 }, "end": { - "line": 38, - "column": 63 + "line": 81, + "column": 72 } } }, @@ -20740,76 +27653,76 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 2051, - "end": 2056, + "value": "target", + "start": 3381, + "end": 3387, "loc": { "start": { - "line": 38, - "column": 63 + "line": 81, + "column": 73 }, "end": { - "line": 38, - "column": 68 + "line": 81, + "column": 79 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2056, - "end": 2057, + "start": 3387, + "end": 3388, "loc": { "start": { - "line": 38, - "column": 68 + "line": 81, + "column": 79 }, "end": { - "line": 38, - "column": 69 + "line": 81, + "column": 80 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2057, - "end": 2058, + "value": "instance", + "start": 3389, + "end": 3397, "loc": { "start": { - "line": 38, - "column": 69 + "line": 81, + "column": 81 }, "end": { - "line": 38, - "column": 70 + "line": 81, + "column": 89 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20819,17 +27732,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 2075, - "end": 2080, + "start": 3397, + "end": 3398, "loc": { "start": { - "line": 39, - "column": 16 + "line": 81, + "column": 89 }, "end": { - "line": 39, - "column": 21 + "line": 81, + "column": 90 } } }, @@ -20845,44 +27757,43 @@ "postfix": false, "binop": null }, - "value": "isProperty", - "start": 2081, - "end": 2091, + "value": "value", + "start": 3399, + "end": 3404, "loc": { "start": { - "line": 39, - "column": 22 + "line": 81, + "column": 91 }, "end": { - "line": 39, - "column": 32 + "line": 81, + "column": 96 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2092, - "end": 2093, + "start": 3404, + "end": 3405, "loc": { "start": { - "line": 39, - "column": 33 + "line": 81, + "column": 96 }, "end": { - "line": 39, - "column": 34 + "line": 81, + "column": 97 } } }, @@ -20898,79 +27809,102 @@ "postfix": false, "binop": null }, - "value": "isFirstInstance", - "start": 2094, - "end": 2109, + "value": "fn", + "start": 3406, + "end": 3408, "loc": { "start": { - "line": 39, - "column": 35 + "line": 81, + "column": 98 }, "end": { - "line": 39, - "column": 50 + "line": 81, + "column": 100 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3408, + "end": 3409, + "loc": { + "start": { + "line": 81, + "column": 100 + }, + "end": { + "line": 81, + "column": 101 } } }, { "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 2110, - "end": 2112, + "value": "config", + "start": 3410, + "end": 3416, "loc": { "start": { - "line": 39, - "column": 51 + "line": 81, + "column": 102 }, "end": { - "line": 39, - "column": 53 + "line": 81, + "column": 108 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 2113, - "end": 2114, + "start": 3417, + "end": 3418, "loc": { "start": { - "line": 39, - "column": 54 + "line": 81, + "column": 109 }, "end": { - "line": 39, - "column": 55 + "line": 81, + "column": 110 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20978,23 +27912,22 @@ "postfix": false, "binop": null }, - "value": "isGetter", - "start": 2114, - "end": 2122, + "start": 3418, + "end": 3419, "loc": { "start": { - "line": 39, - "column": 55 + "line": 81, + "column": 110 }, "end": { - "line": 39, - "column": 63 + "line": 81, + "column": 111 } } }, { "type": { - "label": "&&", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21002,55 +27935,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 2123, - "end": 2125, + "start": 3419, + "end": 3420, "loc": { "start": { - "line": 39, - "column": 64 + "line": 81, + "column": 111 }, "end": { - "line": 39, - "column": 66 + "line": 81, + "column": 112 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 2126, - "end": 2127, + "value": "fn", + "start": 3421, + "end": 3423, "loc": { "start": { - "line": 39, - "column": 67 + "line": 81, + "column": 113 }, "end": { - "line": 39, - "column": 68 + "line": 81, + "column": 115 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21058,23 +27989,22 @@ "postfix": false, "binop": null }, - "value": "isSetter", - "start": 2127, - "end": 2135, + "start": 3423, + "end": 3424, "loc": { "start": { - "line": 39, - "column": 68 + "line": 81, + "column": 115 }, "end": { - "line": 39, - "column": 76 + "line": 81, + "column": 116 } } }, { "type": { - "label": "&&", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21082,55 +28012,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 2136, - "end": 2138, + "start": 3424, + "end": 3425, "loc": { "start": { - "line": 39, - "column": 77 + "line": 81, + "column": 116 }, "end": { - "line": 39, - "column": 79 + "line": 81, + "column": 117 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 2139, - "end": 2140, + "start": 3442, + "end": 3443, "loc": { "start": { - "line": 39, - "column": 80 + "line": 82, + "column": 16 }, "end": { - "line": 39, - "column": 81 + "line": 82, + "column": 17 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21138,17 +28065,16 @@ "postfix": false, "binop": null }, - "value": "isMethod", - "start": 2140, - "end": 2148, + "start": 3443, + "end": 3444, "loc": { "start": { - "line": 39, - "column": 81 + "line": 82, + "column": 17 }, "end": { - "line": 39, - "column": 89 + "line": 82, + "column": 18 } } }, @@ -21165,16 +28091,16 @@ "binop": null, "updateContext": null }, - "start": 2148, - "end": 2149, + "start": 3444, + "end": 3445, "loc": { "start": { - "line": 39, - "column": 89 + "line": 82, + "column": 18 }, "end": { - "line": 39, - "column": 90 + "line": 82, + "column": 19 } } }, @@ -21190,17 +28116,17 @@ "postfix": false, "binop": null }, - "value": "fnChain", - "start": 2166, - "end": 2173, + "value": "InstanceChainMap", + "start": 3462, + "end": 3478, "loc": { "start": { - "line": 40, + "line": 83, "column": 16 }, "end": { - "line": 40, - "column": 23 + "line": 83, + "column": 32 } } }, @@ -21217,16 +28143,16 @@ "binop": null, "updateContext": null }, - "start": 2173, - "end": 2174, + "start": 3478, + "end": 3479, "loc": { "start": { - "line": 40, - "column": 23 + "line": 83, + "column": 32 }, "end": { - "line": 40, - "column": 24 + "line": 83, + "column": 33 } } }, @@ -21242,17 +28168,17 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 2174, - "end": 2178, + "value": "set", + "start": 3479, + "end": 3482, "loc": { "start": { - "line": 40, - "column": 24 + "line": 83, + "column": 33 }, "end": { - "line": 40, - "column": 28 + "line": 83, + "column": 36 } } }, @@ -21268,22 +28194,22 @@ "postfix": false, "binop": null }, - "start": 2178, - "end": 2179, + "start": 3482, + "end": 3483, "loc": { "start": { - "line": 40, - "column": 28 + "line": 83, + "column": 36 }, "end": { - "line": 40, - "column": 29 + "line": 83, + "column": 37 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -21291,18 +28217,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2179, - "end": 2180, + "start": 3483, + "end": 3484, "loc": { "start": { - "line": 40, - "column": 29 + "line": 83, + "column": 37 }, "end": { - "line": 40, - "column": 30 + "line": 83, + "column": 38 } } }, @@ -21318,17 +28245,17 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2180, - "end": 2182, + "value": "target", + "start": 3484, + "end": 3490, "loc": { "start": { - "line": 40, - "column": 30 + "line": 83, + "column": 38 }, "end": { - "line": 40, - "column": 32 + "line": 83, + "column": 44 } } }, @@ -21345,16 +28272,16 @@ "binop": null, "updateContext": null }, - "start": 2182, - "end": 2183, + "start": 3490, + "end": 3491, "loc": { "start": { - "line": 40, - "column": 32 + "line": 83, + "column": 44 }, "end": { - "line": 40, - "column": 33 + "line": 83, + "column": 45 } } }, @@ -21370,17 +28297,43 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 2184, - "end": 2192, + "value": "name", + "start": 3492, + "end": 3496, "loc": { "start": { - "line": 40, - "column": 34 + "line": 83, + "column": 46 + }, + "end": { + "line": 83, + "column": 50 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3496, + "end": 3497, + "loc": { + "start": { + "line": 83, + "column": 50 }, "end": { - "line": 40, - "column": 42 + "line": 83, + "column": 51 } } }, @@ -21397,16 +28350,16 @@ "binop": null, "updateContext": null }, - "start": 2192, - "end": 2193, + "start": 3497, + "end": 3498, "loc": { "start": { - "line": 40, - "column": 42 + "line": 83, + "column": 51 }, "end": { - "line": 40, - "column": 43 + "line": 83, + "column": 52 } } }, @@ -21422,17 +28375,17 @@ "postfix": false, "binop": null }, - "value": "context", - "start": 2194, - "end": 2201, + "value": "chainData", + "start": 3499, + "end": 3508, "loc": { "start": { - "line": 40, - "column": 44 + "line": 83, + "column": 53 }, "end": { - "line": 40, - "column": 51 + "line": 83, + "column": 62 } } }, @@ -21448,22 +28401,22 @@ "postfix": false, "binop": null }, - "start": 2201, - "end": 2202, + "start": 3508, + "end": 3509, "loc": { "start": { - "line": 40, - "column": 51 + "line": 83, + "column": 62 }, "end": { - "line": 40, - "column": 52 + "line": 83, + "column": 63 } } }, { "type": { - "label": "=>", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21474,41 +28427,16 @@ "binop": null, "updateContext": null }, - "start": 2203, - "end": 2205, - "loc": { - "start": { - "line": 40, - "column": 53 - }, - "end": { - "line": 40, - "column": 55 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2206, - "end": 2207, + "start": 3509, + "end": 3510, "loc": { "start": { - "line": 40, - "column": 56 + "line": 83, + "column": 63 }, "end": { - "line": 40, - "column": 57 + "line": 83, + "column": 64 } } }, @@ -21527,16 +28455,16 @@ "updateContext": null }, "value": "if", - "start": 2228, - "end": 2230, + "start": 3527, + "end": 3529, "loc": { "start": { - "line": 41, - "column": 20 + "line": 84, + "column": 16 }, "end": { - "line": 41, - "column": 22 + "line": 84, + "column": 18 } } }, @@ -21552,16 +28480,16 @@ "postfix": false, "binop": null }, - "start": 2231, - "end": 2232, + "start": 3530, + "end": 3531, "loc": { "start": { - "line": 41, - "column": 23 + "line": 84, + "column": 19 }, "end": { - "line": 41, - "column": 24 + "line": 84, + "column": 20 } } }, @@ -21579,23 +28507,22 @@ "updateContext": null }, "value": "!", - "start": 2232, - "end": 2233, + "start": 3531, + "end": 3532, "loc": { "start": { - "line": 41, - "column": 24 + "line": 84, + "column": 20 }, "end": { - "line": 41, - "column": 25 + "line": 84, + "column": 21 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21603,26 +28530,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2233, - "end": 2237, + "value": "isFirstInstance", + "start": 3532, + "end": 3547, "loc": { "start": { - "line": 41, - "column": 25 + "line": 84, + "column": 21 }, "end": { - "line": 41, - "column": 29 + "line": 84, + "column": 36 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21630,26 +28556,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2237, - "end": 2238, + "start": 3547, + "end": 3548, "loc": { "start": { - "line": 41, - "column": 29 + "line": 84, + "column": 36 }, "end": { - "line": 41, - "column": 30 + "line": 84, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21658,42 +28583,44 @@ "postfix": false, "binop": null }, - "value": "_isApplicable", - "start": 2238, - "end": 2251, + "start": 3549, + "end": 3550, "loc": { "start": { - "line": 41, - "column": 30 + "line": 84, + "column": 38 }, "end": { - "line": 41, - "column": 43 + "line": 84, + "column": 39 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2251, - "end": 2252, + "value": "return", + "start": 3571, + "end": 3577, "loc": { "start": { - "line": 41, - "column": 43 + "line": 85, + "column": 20 }, "end": { - "line": 41, - "column": 44 + "line": 85, + "column": 26 } } }, @@ -21709,23 +28636,23 @@ "postfix": false, "binop": null }, - "value": "context", - "start": 2252, - "end": 2259, + "value": "descriptor", + "start": 3578, + "end": 3588, "loc": { "start": { - "line": 41, - "column": 44 + "line": 85, + "column": 27 }, "end": { - "line": 41, - "column": 51 + "line": 85, + "column": 37 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21736,16 +28663,41 @@ "binop": null, "updateContext": null }, - "start": 2259, - "end": 2260, + "start": 3588, + "end": 3589, "loc": { "start": { - "line": 41, - "column": 51 + "line": 85, + "column": 37 }, "end": { - "line": 41, - "column": 52 + "line": 85, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3606, + "end": 3607, + "loc": { + "start": { + "line": 86, + "column": 16 + }, + "end": { + "line": 86, + "column": 17 } } }, @@ -21761,23 +28713,23 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 2261, - "end": 2267, + "value": "chainData", + "start": 3624, + "end": 3633, "loc": { "start": { - "line": 41, - "column": 53 + "line": 87, + "column": 16 }, "end": { - "line": 41, - "column": 59 + "line": 87, + "column": 25 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21785,26 +28737,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2267, - "end": 2268, + "start": 3633, + "end": 3634, "loc": { "start": { - "line": 41, - "column": 59 + "line": 87, + "column": 25 }, "end": { - "line": 41, - "column": 60 + "line": 87, + "column": 26 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21812,23 +28765,51 @@ "postfix": false, "binop": null }, - "start": 2268, - "end": 2269, + "value": "isSetter", + "start": 3634, + "end": 3642, "loc": { "start": { - "line": 41, - "column": 60 + "line": 87, + "column": 26 + }, + "end": { + "line": 87, + "column": 34 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3643, + "end": 3644, + "loc": { + "start": { + "line": 87, + "column": 35 }, "end": { - "line": 41, - "column": 61 + "line": 87, + "column": 36 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21837,23 +28818,23 @@ "postfix": false, "binop": null }, - "start": 2270, - "end": 2271, + "value": "isSetter", + "start": 3645, + "end": 3653, "loc": { "start": { - "line": 41, - "column": 62 + "line": 87, + "column": 37 }, "end": { - "line": 41, - "column": 63 + "line": 87, + "column": 45 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21864,17 +28845,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2296, - "end": 2302, + "start": 3653, + "end": 3654, "loc": { "start": { - "line": 42, - "column": 24 + "line": 87, + "column": 45 }, "end": { - "line": 42, - "column": 30 + "line": 87, + "column": 46 } } }, @@ -21890,24 +28870,24 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2303, - "end": 2305, + "value": "chainData", + "start": 3671, + "end": 3680, "loc": { "start": { - "line": 42, - "column": 31 + "line": 88, + "column": 16 }, "end": { - "line": 42, - "column": 33 + "line": 88, + "column": 25 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21917,24 +28897,24 @@ "binop": null, "updateContext": null }, - "start": 2305, - "end": 2306, + "start": 3680, + "end": 3681, "loc": { "start": { - "line": 42, - "column": 33 + "line": 88, + "column": 25 }, "end": { - "line": 42, - "column": 34 + "line": 88, + "column": 26 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21942,51 +28922,51 @@ "postfix": false, "binop": null }, - "start": 2327, - "end": 2328, + "value": "isGetter", + "start": 3681, + "end": 3689, "loc": { "start": { - "line": 43, - "column": 20 + "line": 88, + "column": 26 }, "end": { - "line": 43, - "column": 21 + "line": 88, + "column": 34 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 2349, - "end": 2351, + "value": "=", + "start": 3690, + "end": 3691, "loc": { "start": { - "line": 44, - "column": 20 + "line": 88, + "column": 35 }, "end": { - "line": 44, - "column": 22 + "line": 88, + "column": 36 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21995,50 +28975,51 @@ "postfix": false, "binop": null }, - "start": 2352, - "end": 2353, + "value": "isGetter", + "start": 3692, + "end": 3700, "loc": { "start": { - "line": 44, - "column": 23 + "line": 88, + "column": 37 }, "end": { - "line": 44, - "column": 24 + "line": 88, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "bound", - "start": 2353, - "end": 2358, + "start": 3700, + "end": 3701, "loc": { "start": { - "line": 44, - "column": 24 + "line": 88, + "column": 45 }, "end": { - "line": 44, - "column": 29 + "line": 88, + "column": 46 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22046,41 +29027,43 @@ "postfix": false, "binop": null }, - "start": 2358, - "end": 2359, + "value": "chainData", + "start": 3718, + "end": 3727, "loc": { "start": { - "line": 44, - "column": 29 + "line": 89, + "column": 16 }, "end": { - "line": 44, - "column": 30 + "line": 89, + "column": 25 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2360, - "end": 2361, + "start": 3727, + "end": 3728, "loc": { "start": { - "line": 44, - "column": 31 + "line": 89, + "column": 25 }, "end": { - "line": 44, - "column": 32 + "line": 89, + "column": 26 } } }, @@ -22096,17 +29079,17 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2386, - "end": 2388, + "value": "isMethod", + "start": 3728, + "end": 3736, "loc": { "start": { - "line": 45, - "column": 24 + "line": 89, + "column": 26 }, "end": { - "line": 45, - "column": 26 + "line": 89, + "column": 34 } } }, @@ -22124,16 +29107,16 @@ "updateContext": null }, "value": "=", - "start": 2389, - "end": 2390, + "start": 3737, + "end": 3738, "loc": { "start": { - "line": 45, - "column": 27 + "line": 89, + "column": 35 }, "end": { - "line": 45, - "column": 28 + "line": 89, + "column": 36 } } }, @@ -22149,42 +29132,43 @@ "postfix": false, "binop": null }, - "value": "bind", - "start": 2391, - "end": 2395, + "value": "isMethod", + "start": 3739, + "end": 3747, "loc": { "start": { - "line": 45, - "column": 29 + "line": 89, + "column": 37 }, "end": { - "line": 45, - "column": 33 + "line": 89, + "column": 45 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2395, - "end": 2396, + "start": 3747, + "end": 3748, "loc": { "start": { - "line": 45, - "column": 33 + "line": 89, + "column": 45 }, "end": { - "line": 45, - "column": 34 + "line": 89, + "column": 46 } } }, @@ -22200,24 +29184,24 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2396, - "end": 2398, + "value": "chainData", + "start": 3765, + "end": 3774, "loc": { "start": { - "line": 45, - "column": 34 + "line": 90, + "column": 16 }, "end": { - "line": 45, - "column": 36 + "line": 90, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22227,16 +29211,16 @@ "binop": null, "updateContext": null }, - "start": 2398, - "end": 2399, + "start": 3774, + "end": 3775, "loc": { "start": { - "line": 45, - "column": 36 + "line": 90, + "column": 25 }, "end": { - "line": 45, - "column": 37 + "line": 90, + "column": 26 } } }, @@ -22252,42 +29236,70 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 2400, - "end": 2408, + "value": "isProperty", + "start": 3775, + "end": 3785, "loc": { "start": { - "line": 45, - "column": 38 + "line": 90, + "column": 26 }, "end": { - "line": 45, - "column": 46 + "line": 90, + "column": 36 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3786, + "end": 3787, + "loc": { + "start": { + "line": 90, + "column": 37 + }, + "end": { + "line": 90, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, - "start": 2408, - "end": 2409, + "value": "isProperty", + "start": 3788, + "end": 3798, "loc": { "start": { - "line": 45, - "column": 46 + "line": 90, + "column": 39 }, "end": { - "line": 45, - "column": 47 + "line": 90, + "column": 49 } } }, @@ -22304,22 +29316,23 @@ "binop": null, "updateContext": null }, - "start": 2409, - "end": 2410, + "start": 3798, + "end": 3799, "loc": { "start": { - "line": 45, - "column": 47 + "line": 90, + "column": 49 }, "end": { - "line": 45, - "column": 48 + "line": 90, + "column": 50 } } }, { "type": { - "label": "}", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22327,72 +29340,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2431, - "end": 2432, + "value": "const", + "start": 3816, + "end": 3821, "loc": { "start": { - "line": 46, - "column": 20 + "line": 91, + "column": 16 }, "end": { - "line": 46, + "line": 91, "column": 21 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 2453, - "end": 2459, + "value": "applyChain", + "start": 3822, + "end": 3832, "loc": { "start": { - "line": 47, - "column": 20 + "line": 91, + "column": 22 }, "end": { - "line": 47, - "column": 26 + "line": 91, + "column": 32 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "copyMetadata", - "start": 2460, - "end": 2472, + "value": "=", + "start": 3833, + "end": 3834, "loc": { "start": { - "line": 47, - "column": 27 + "line": 91, + "column": 33 }, "end": { - "line": 47, - "column": 39 + "line": 91, + "column": 34 } } }, @@ -22408,16 +29422,16 @@ "postfix": false, "binop": null }, - "start": 2472, - "end": 2473, + "start": 3835, + "end": 3836, "loc": { "start": { - "line": 47, - "column": 39 + "line": 91, + "column": 35 }, "end": { - "line": 47, - "column": 40 + "line": 91, + "column": 36 } } }, @@ -22433,24 +29447,24 @@ "postfix": false, "binop": null }, - "value": "applicator", - "start": 2473, - "end": 2483, + "value": "fn", + "start": 3836, + "end": 3838, "loc": { "start": { - "line": 47, - "column": 40 + "line": 91, + "column": 36 }, "end": { - "line": 47, - "column": 50 + "line": 91, + "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22460,16 +29474,16 @@ "binop": null, "updateContext": null }, - "start": 2483, - "end": 2484, + "start": 3838, + "end": 3839, "loc": { "start": { - "line": 47, - "column": 50 + "line": 91, + "column": 38 }, "end": { - "line": 47, - "column": 51 + "line": 91, + "column": 39 } } }, @@ -22485,49 +29499,50 @@ "postfix": false, "binop": null }, - "value": "apply", - "start": 2484, - "end": 2489, + "value": "context", + "start": 3840, + "end": 3847, "loc": { "start": { - "line": 47, - "column": 51 + "line": 91, + "column": 40 }, "end": { - "line": 47, - "column": 56 + "line": 91, + "column": 47 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2489, - "end": 2490, + "start": 3847, + "end": 3848, "loc": { "start": { - "line": 47, - "column": 56 + "line": 91, + "column": 47 }, "end": { - "line": 47, - "column": 57 + "line": 91, + "column": 48 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22536,24 +29551,25 @@ "postfix": false, "binop": null }, - "start": 2490, - "end": 2491, + "value": "instance", + "start": 3849, + "end": 3857, "loc": { "start": { - "line": 47, - "column": 57 + "line": 91, + "column": 49 }, "end": { - "line": 47, - "column": 58 + "line": 91, + "column": 57 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22561,23 +29577,22 @@ "postfix": false, "binop": null }, - "value": "args", - "start": 2492, - "end": 2496, + "start": 3857, + "end": 3858, "loc": { "start": { - "line": 47, - "column": 59 + "line": 91, + "column": 57 }, "end": { - "line": 47, - "column": 63 + "line": 91, + "column": 58 } } }, { "type": { - "label": ",", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22588,23 +29603,23 @@ "binop": null, "updateContext": null }, - "start": 2496, - "end": 2497, + "start": 3859, + "end": 3861, "loc": { "start": { - "line": 47, - "column": 63 + "line": 91, + "column": 59 }, "end": { - "line": 47, - "column": 64 + "line": 91, + "column": 61 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22613,23 +29628,23 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 2498, - "end": 2504, + "start": 3862, + "end": 3863, "loc": { "start": { - "line": 47, - "column": 65 + "line": 91, + "column": 62 }, "end": { - "line": 47, - "column": 71 + "line": 91, + "column": 63 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22640,16 +29655,17 @@ "binop": null, "updateContext": null }, - "start": 2504, - "end": 2505, + "value": "return", + "start": 3884, + "end": 3890, "loc": { "start": { - "line": 47, - "column": 71 + "line": 92, + "column": 20 }, "end": { - "line": 47, - "column": 72 + "line": 92, + "column": 26 } } }, @@ -22665,24 +29681,24 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 2506, - "end": 2514, + "value": "chainData", + "start": 3891, + "end": 3900, "loc": { "start": { - "line": 47, - "column": 73 + "line": 92, + "column": 27 }, "end": { - "line": 47, - "column": 81 + "line": 92, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22692,16 +29708,16 @@ "binop": null, "updateContext": null }, - "start": 2514, - "end": 2515, + "start": 3900, + "end": 3901, "loc": { "start": { - "line": 47, - "column": 81 + "line": 92, + "column": 36 }, "end": { - "line": 47, - "column": 82 + "line": 92, + "column": 37 } } }, @@ -22717,24 +29733,24 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 2516, - "end": 2521, + "value": "fns", + "start": 3901, + "end": 3904, "loc": { "start": { - "line": 47, - "column": 83 + "line": 92, + "column": 37 }, "end": { - "line": 47, - "column": 88 + "line": 92, + "column": 40 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22744,16 +29760,16 @@ "binop": null, "updateContext": null }, - "start": 2521, - "end": 2522, + "start": 3904, + "end": 3905, "loc": { "start": { - "line": 47, - "column": 88 + "line": 92, + "column": 40 }, "end": { - "line": 47, - "column": 89 + "line": 92, + "column": 41 } } }, @@ -22769,50 +29785,24 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2523, - "end": 2525, - "loc": { - "start": { - "line": 47, - "column": 90 - }, - "end": { - "line": 47, - "column": 92 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2525, - "end": 2526, + "value": "reduce", + "start": 3905, + "end": 3911, "loc": { "start": { - "line": 47, - "column": 92 + "line": 92, + "column": 41 }, "end": { - "line": 47, - "column": 93 + "line": 92, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22821,25 +29811,24 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 2527, - "end": 2533, + "start": 3911, + "end": 3912, "loc": { "start": { - "line": 47, - "column": 94 + "line": 92, + "column": 47 }, "end": { - "line": 47, - "column": 100 + "line": 92, + "column": 48 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22847,24 +29836,24 @@ "postfix": false, "binop": null }, - "start": 2534, - "end": 2535, + "start": 3912, + "end": 3913, "loc": { "start": { - "line": 47, - "column": 101 + "line": 92, + "column": 48 }, "end": { - "line": 47, - "column": 102 + "line": 92, + "column": 49 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22872,16 +29861,17 @@ "postfix": false, "binop": null }, - "start": 2535, - "end": 2536, + "value": "result", + "start": 3913, + "end": 3919, "loc": { "start": { - "line": 47, - "column": 102 + "line": 92, + "column": 49 }, "end": { - "line": 47, - "column": 103 + "line": 92, + "column": 55 } } }, @@ -22898,16 +29888,16 @@ "binop": null, "updateContext": null }, - "start": 2536, - "end": 2537, + "start": 3919, + "end": 3920, "loc": { "start": { - "line": 47, - "column": 103 + "line": 92, + "column": 55 }, "end": { - "line": 47, - "column": 104 + "line": 92, + "column": 56 } } }, @@ -22923,17 +29913,17 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2538, - "end": 2540, + "value": "next", + "start": 3921, + "end": 3925, "loc": { "start": { - "line": 47, - "column": 105 + "line": 92, + "column": 57 }, "end": { - "line": 47, - "column": 107 + "line": 92, + "column": 61 } } }, @@ -22949,22 +29939,22 @@ "postfix": false, "binop": null }, - "start": 2540, - "end": 2541, + "start": 3925, + "end": 3926, "loc": { "start": { - "line": 47, - "column": 107 + "line": 92, + "column": 61 }, "end": { - "line": 47, - "column": 108 + "line": 92, + "column": 62 } } }, { "type": { - "label": ";", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22975,24 +29965,24 @@ "binop": null, "updateContext": null }, - "start": 2541, - "end": 2542, + "start": 3927, + "end": 3929, "loc": { "start": { - "line": 47, - "column": 108 + "line": 92, + "column": 63 }, "end": { - "line": 47, - "column": 109 + "line": 92, + "column": 65 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23000,24 +29990,50 @@ "postfix": false, "binop": null }, - "start": 2559, - "end": 2560, + "value": "next", + "start": 3930, + "end": 3934, "loc": { "start": { - "line": 48, - "column": 16 + "line": 92, + "column": 66 }, "end": { - "line": 48, - "column": 17 + "line": 92, + "column": 70 } } }, { "type": { - "label": ")", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3934, + "end": 3935, + "loc": { + "start": { + "line": 92, + "column": 70 + }, + "end": { + "line": 92, + "column": 71 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23025,22 +30041,23 @@ "postfix": false, "binop": null }, - "start": 2560, - "end": 2561, + "value": "result", + "start": 3935, + "end": 3941, "loc": { "start": { - "line": 48, - "column": 17 + "line": 92, + "column": 71 }, "end": { - "line": 48, - "column": 18 + "line": 92, + "column": 77 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -23051,16 +30068,16 @@ "binop": null, "updateContext": null }, - "start": 2561, - "end": 2562, + "start": 3941, + "end": 3942, "loc": { "start": { - "line": 48, - "column": 18 + "line": 92, + "column": 77 }, "end": { - "line": 48, - "column": 19 + "line": 92, + "column": 78 } } }, @@ -23076,24 +30093,24 @@ "postfix": false, "binop": null }, - "value": "InstanceChainMap", - "start": 2579, - "end": 2595, + "value": "instance", + "start": 3943, + "end": 3951, "loc": { "start": { - "line": 49, - "column": 16 + "line": 92, + "column": 79 }, "end": { - "line": 49, - "column": 32 + "line": 92, + "column": 87 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -23103,16 +30120,16 @@ "binop": null, "updateContext": null }, - "start": 2595, - "end": 2596, + "start": 3951, + "end": 3952, "loc": { "start": { - "line": 49, - "column": 32 + "line": 92, + "column": 87 }, "end": { - "line": 49, - "column": 33 + "line": 92, + "column": 88 } } }, @@ -23128,25 +30145,25 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 2596, - "end": 2599, + "value": "context", + "start": 3953, + "end": 3960, "loc": { "start": { - "line": 49, - "column": 33 + "line": 92, + "column": 89 }, "end": { - "line": 49, - "column": 36 + "line": 92, + "column": 96 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23154,24 +30171,24 @@ "postfix": false, "binop": null }, - "start": 2599, - "end": 2600, + "start": 3960, + "end": 3961, "loc": { "start": { - "line": 49, - "column": 36 + "line": 92, + "column": 96 }, "end": { - "line": 49, - "column": 37 + "line": 92, + "column": 97 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23180,16 +30197,16 @@ "binop": null, "updateContext": null }, - "start": 2600, - "end": 2601, + "start": 3961, + "end": 3962, "loc": { "start": { - "line": 49, - "column": 37 + "line": 92, + "column": 97 }, "end": { - "line": 49, - "column": 38 + "line": 92, + "column": 98 } } }, @@ -23205,51 +30222,25 @@ "postfix": false, "binop": null }, - "value": "target", - "start": 2601, - "end": 2607, - "loc": { - "start": { - "line": 49, - "column": 38 - }, - "end": { - "line": 49, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2607, - "end": 2608, + "value": "fn", + "start": 3963, + "end": 3965, "loc": { "start": { - "line": 49, - "column": 44 + "line": 92, + "column": 99 }, "end": { - "line": 49, - "column": 45 + "line": 92, + "column": 101 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23257,24 +30248,23 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 2609, - "end": 2613, + "start": 3965, + "end": 3966, "loc": { "start": { - "line": 49, - "column": 46 + "line": 92, + "column": 101 }, "end": { - "line": 49, - "column": 50 + "line": 92, + "column": 102 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -23284,74 +30274,74 @@ "binop": null, "updateContext": null }, - "start": 2613, - "end": 2614, + "start": 3966, + "end": 3967, "loc": { "start": { - "line": 49, - "column": 50 + "line": 92, + "column": 102 }, "end": { - "line": 49, - "column": 51 + "line": 92, + "column": 103 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2614, - "end": 2615, + "start": 3984, + "end": 3985, "loc": { "start": { - "line": 49, - "column": 51 + "line": 93, + "column": 16 }, "end": { - "line": 49, - "column": 52 + "line": 93, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fnChain", - "start": 2616, - "end": 2623, + "start": 3985, + "end": 3986, "loc": { "start": { - "line": 49, - "column": 53 + "line": 93, + "column": 17 }, "end": { - "line": 49, - "column": 60 + "line": 93, + "column": 18 } } }, { "type": { - "label": ")", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23359,72 +30349,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2623, - "end": 2624, + "value": "const", + "start": 4003, + "end": 4008, "loc": { "start": { - "line": 49, - "column": 60 + "line": 94, + "column": 16 }, "end": { - "line": 49, - "column": 61 + "line": 94, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2624, - "end": 2625, + "value": "applyDecorator", + "start": 4009, + "end": 4023, "loc": { "start": { - "line": 49, - "column": 61 + "line": 94, + "column": 22 }, "end": { - "line": 49, - "column": 62 + "line": 94, + "column": 36 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 2642, - "end": 2644, + "value": "=", + "start": 4024, + "end": 4025, "loc": { "start": { - "line": 50, - "column": 16 + "line": 94, + "column": 37 }, "end": { - "line": 50, - "column": 18 + "line": 94, + "column": 38 } } }, @@ -23440,51 +30431,50 @@ "postfix": false, "binop": null }, - "start": 2645, - "end": 2646, + "start": 4026, + "end": 4027, "loc": { "start": { - "line": 50, - "column": 19 + "line": 94, + "column": 39 }, "end": { - "line": 50, - "column": 20 + "line": 94, + "column": 40 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 2646, - "end": 2647, + "value": "instance", + "start": 4027, + "end": 4035, "loc": { "start": { - "line": 50, - "column": 20 + "line": 94, + "column": 40 }, "end": { - "line": 50, - "column": 21 + "line": 94, + "column": 48 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23492,42 +30482,42 @@ "postfix": false, "binop": null }, - "value": "isFirstInstance", - "start": 2647, - "end": 2662, + "start": 4035, + "end": 4036, "loc": { "start": { - "line": 50, - "column": 21 + "line": 94, + "column": 48 }, "end": { - "line": 50, - "column": 36 + "line": 94, + "column": 49 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2662, - "end": 2663, + "start": 4037, + "end": 4039, "loc": { "start": { - "line": 50, - "column": 36 + "line": 94, + "column": 50 }, "end": { - "line": 50, - "column": 37 + "line": 94, + "column": 52 } } }, @@ -23543,24 +30533,24 @@ "postfix": false, "binop": null }, - "start": 2664, - "end": 2665, + "start": 4040, + "end": 4041, "loc": { "start": { - "line": 50, - "column": 38 + "line": 94, + "column": 53 }, "end": { - "line": 50, - "column": 39 + "line": 94, + "column": 54 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -23570,17 +30560,17 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2686, - "end": 2692, + "value": "let", + "start": 4062, + "end": 4065, "loc": { "start": { - "line": 51, + "line": 95, "column": 20 }, "end": { - "line": 51, - "column": 26 + "line": 95, + "column": 23 } } }, @@ -23596,51 +30586,52 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 2693, - "end": 2703, + "value": "getter", + "start": 4066, + "end": 4072, "loc": { "start": { - "line": 51, - "column": 27 + "line": 95, + "column": 24 }, "end": { - "line": 51, - "column": 37 + "line": 95, + "column": 30 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2703, - "end": 2704, + "value": "=", + "start": 4073, + "end": 4074, "loc": { "start": { - "line": 51, - "column": 37 + "line": 95, + "column": 31 }, "end": { - "line": 51, - "column": 38 + "line": 95, + "column": 32 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23648,44 +30639,44 @@ "postfix": false, "binop": null }, - "start": 2721, - "end": 2722, + "value": "get", + "start": 4075, + "end": 4078, "loc": { "start": { - "line": 52, - "column": 16 + "line": 95, + "column": 33 }, "end": { - "line": 52, - "column": 17 + "line": 95, + "column": 36 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "||", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "const", - "start": 2739, - "end": 2744, + "value": "||", + "start": 4079, + "end": 4081, "loc": { "start": { - "line": 53, - "column": 16 + "line": 95, + "column": 37 }, "end": { - "line": 53, - "column": 21 + "line": 95, + "column": 39 } } }, @@ -23701,69 +30692,71 @@ "postfix": false, "binop": null }, - "value": "applyChain", - "start": 2745, - "end": 2755, + "value": "undefined", + "start": 4082, + "end": 4091, "loc": { "start": { - "line": 53, - "column": 22 + "line": 95, + "column": 40 }, "end": { - "line": 53, - "column": 32 + "line": 95, + "column": 49 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2756, - "end": 2757, + "start": 4091, + "end": 4092, "loc": { "start": { - "line": 53, - "column": 33 + "line": 95, + "column": 49 }, "end": { - "line": 53, - "column": 34 + "line": 95, + "column": 50 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2758, - "end": 2759, + "value": "let", + "start": 4113, + "end": 4116, "loc": { "start": { - "line": 53, - "column": 35 + "line": 96, + "column": 20 }, "end": { - "line": 53, - "column": 36 + "line": 96, + "column": 23 } } }, @@ -23779,43 +30772,44 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2759, - "end": 2761, + "value": "setter", + "start": 4117, + "end": 4123, "loc": { "start": { - "line": 53, - "column": 36 + "line": 96, + "column": 24 }, "end": { - "line": 53, - "column": 38 + "line": 96, + "column": 30 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2761, - "end": 2762, + "value": "=", + "start": 4124, + "end": 4125, "loc": { "start": { - "line": 53, - "column": 38 + "line": 96, + "column": 31 }, "end": { - "line": 53, - "column": 39 + "line": 96, + "column": 32 } } }, @@ -23831,23 +30825,23 @@ "postfix": false, "binop": null }, - "value": "context", - "start": 2763, - "end": 2770, + "value": "set", + "start": 4126, + "end": 4129, "loc": { "start": { - "line": 53, - "column": 40 + "line": 96, + "column": 33 }, "end": { - "line": 53, - "column": 47 + "line": 96, + "column": 36 } } }, { "type": { - "label": ",", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -23855,19 +30849,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 2770, - "end": 2771, + "value": "||", + "start": 4130, + "end": 4132, "loc": { "start": { - "line": 53, - "column": 47 + "line": 96, + "column": 37 }, "end": { - "line": 53, - "column": 48 + "line": 96, + "column": 39 } } }, @@ -23883,49 +30878,51 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 2772, - "end": 2780, + "value": "undefined", + "start": 4133, + "end": 4142, "loc": { "start": { - "line": 53, - "column": 49 + "line": 96, + "column": 40 }, "end": { - "line": 53, - "column": 57 + "line": 96, + "column": 49 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2780, - "end": 2781, + "start": 4142, + "end": 4143, "loc": { "start": { - "line": 53, - "column": 57 + "line": 96, + "column": 49 }, "end": { - "line": 53, - "column": 58 + "line": 96, + "column": 50 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -23935,22 +30932,23 @@ "binop": null, "updateContext": null }, - "start": 2782, - "end": 2784, + "value": "if", + "start": 4164, + "end": 4166, "loc": { "start": { - "line": 53, - "column": 59 + "line": 97, + "column": 20 }, "end": { - "line": 53, - "column": 61 + "line": 97, + "column": 22 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -23960,23 +30958,48 @@ "postfix": false, "binop": null }, - "start": 2785, - "end": 2786, + "start": 4167, + "end": 4168, "loc": { "start": { - "line": 53, - "column": 62 + "line": 97, + "column": 23 }, "end": { - "line": 53, - "column": 63 + "line": 97, + "column": 24 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isGetter", + "start": 4168, + "end": 4176, + "loc": { + "start": { + "line": 97, + "column": 24 + }, + "end": { + "line": 97, + "column": 32 + } + } + }, + { + "type": { + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -23984,20 +31007,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "return", - "start": 2807, - "end": 2813, + "value": "||", + "start": 4177, + "end": 4179, "loc": { "start": { - "line": 54, - "column": 20 + "line": 97, + "column": 33 }, "end": { - "line": 54, - "column": 26 + "line": 97, + "column": 35 } } }, @@ -24013,23 +31036,23 @@ "postfix": false, "binop": null }, - "value": "fnChain", - "start": 2814, - "end": 2821, + "value": "isSetter", + "start": 4180, + "end": 4188, "loc": { "start": { - "line": 54, - "column": 27 + "line": 97, + "column": 36 }, "end": { - "line": 54, - "column": 34 + "line": 97, + "column": 44 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24037,26 +31060,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2821, - "end": 2822, + "start": 4188, + "end": 4189, "loc": { "start": { - "line": 54, - "column": 34 + "line": 97, + "column": 44 }, "end": { - "line": 54, - "column": 35 + "line": 97, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24065,42 +31087,60 @@ "postfix": false, "binop": null }, - "value": "reduce", - "start": 2822, - "end": 2828, + "start": 4190, + "end": 4191, "loc": { "start": { - "line": 54, - "column": 35 + "line": 97, + "column": 46 }, "end": { - "line": 54, - "column": 41 + "line": 97, + "column": 47 + } + } + }, + { + "type": "CommentLine", + "value": " If we have a getter apply the decorators to the getter and assign it to the instance.", + "start": 4216, + "end": 4304, + "loc": { + "start": { + "line": 98, + "column": 24 + }, + "end": { + "line": 98, + "column": 112 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2828, - "end": 2829, + "value": "if", + "start": 4329, + "end": 4331, "loc": { "start": { - "line": 54, - "column": 41 + "line": 99, + "column": 24 }, "end": { - "line": 54, - "column": 42 + "line": 99, + "column": 26 } } }, @@ -24116,16 +31156,16 @@ "postfix": false, "binop": null }, - "start": 2829, - "end": 2830, + "start": 4332, + "end": 4333, "loc": { "start": { - "line": 54, - "column": 42 + "line": 99, + "column": 27 }, "end": { - "line": 54, - "column": 43 + "line": 99, + "column": 28 } } }, @@ -24141,50 +31181,49 @@ "postfix": false, "binop": null }, - "value": "result", - "start": 2830, - "end": 2836, + "value": "isGetter", + "start": 4333, + "end": 4341, "loc": { "start": { - "line": 54, - "column": 43 + "line": 99, + "column": 28 }, "end": { - "line": 54, - "column": 49 + "line": 99, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2836, - "end": 2837, + "start": 4341, + "end": 4342, "loc": { "start": { - "line": 54, - "column": 49 + "line": 99, + "column": 36 }, "end": { - "line": 54, - "column": 50 + "line": 99, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24193,25 +31232,24 @@ "postfix": false, "binop": null }, - "value": "next", - "start": 2838, - "end": 2842, + "start": 4343, + "end": 4344, "loc": { "start": { - "line": 54, - "column": 51 + "line": 99, + "column": 38 }, "end": { - "line": 54, - "column": 55 + "line": 99, + "column": 39 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24219,42 +31257,44 @@ "postfix": false, "binop": null }, - "start": 2842, - "end": 2843, + "value": "getter", + "start": 4373, + "end": 4379, "loc": { "start": { - "line": 54, - "column": 55 + "line": 100, + "column": 28 }, "end": { - "line": 54, - "column": 56 + "line": 100, + "column": 34 } } }, { "type": { - "label": "=>", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2844, - "end": 2846, + "value": "=", + "start": 4380, + "end": 4381, "loc": { "start": { - "line": 54, - "column": 57 + "line": 100, + "column": 35 }, "end": { - "line": 54, - "column": 59 + "line": 100, + "column": 36 } } }, @@ -24270,17 +31310,17 @@ "postfix": false, "binop": null }, - "value": "next", - "start": 2847, - "end": 2851, + "value": "applyChain", + "start": 4382, + "end": 4392, "loc": { "start": { - "line": 54, - "column": 60 + "line": 100, + "column": 37 }, "end": { - "line": 54, - "column": 64 + "line": 100, + "column": 47 } } }, @@ -24296,16 +31336,16 @@ "postfix": false, "binop": null }, - "start": 2851, - "end": 2852, + "start": 4392, + "end": 4393, "loc": { "start": { - "line": 54, - "column": 64 + "line": 100, + "column": 47 }, "end": { - "line": 54, - "column": 65 + "line": 100, + "column": 48 } } }, @@ -24321,17 +31361,17 @@ "postfix": false, "binop": null }, - "value": "result", - "start": 2852, - "end": 2858, + "value": "get", + "start": 4393, + "end": 4396, "loc": { "start": { - "line": 54, - "column": 65 + "line": 100, + "column": 48 }, "end": { - "line": 54, - "column": 71 + "line": 100, + "column": 51 } } }, @@ -24348,23 +31388,23 @@ "binop": null, "updateContext": null }, - "start": 2858, - "end": 2859, + "start": 4396, + "end": 4397, "loc": { "start": { - "line": 54, - "column": 71 + "line": 100, + "column": 51 }, "end": { - "line": 54, - "column": 72 + "line": 100, + "column": 52 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24373,77 +31413,76 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 2860, - "end": 2868, + "start": 4398, + "end": 4399, "loc": { "start": { - "line": 54, - "column": 73 + "line": 100, + "column": 53 }, "end": { - "line": 54, - "column": 81 + "line": 100, + "column": 54 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2868, - "end": 2869, + "value": "value", + "start": 4400, + "end": 4405, "loc": { "start": { - "line": 54, - "column": 81 + "line": 100, + "column": 55 }, "end": { - "line": 54, - "column": 82 + "line": 100, + "column": 60 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "context", - "start": 2870, - "end": 2877, + "start": 4405, + "end": 4406, "loc": { "start": { - "line": 54, - "column": 83 + "line": 100, + "column": 60 }, "end": { - "line": 54, - "column": 90 + "line": 100, + "column": 61 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24451,16 +31490,17 @@ "postfix": false, "binop": null }, - "start": 2877, - "end": 2878, + "value": "get", + "start": 4407, + "end": 4410, "loc": { "start": { - "line": 54, - "column": 90 + "line": 100, + "column": 62 }, "end": { - "line": 54, - "column": 91 + "line": 100, + "column": 65 } } }, @@ -24477,16 +31517,16 @@ "binop": null, "updateContext": null }, - "start": 2878, - "end": 2879, + "start": 4410, + "end": 4411, "loc": { "start": { - "line": 54, - "column": 91 + "line": 100, + "column": 65 }, "end": { - "line": 54, - "column": 92 + "line": 100, + "column": 66 } } }, @@ -24502,50 +31542,52 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2880, - "end": 2882, + "value": "getter", + "start": 4412, + "end": 4418, "loc": { "start": { - "line": 54, - "column": 93 + "line": 100, + "column": 67 }, "end": { - "line": 54, - "column": 95 + "line": 100, + "column": 73 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2882, - "end": 2883, + "start": 4418, + "end": 4419, "loc": { "start": { - "line": 54, - "column": 95 + "line": 100, + "column": 73 }, "end": { - "line": 54, - "column": 96 + "line": 100, + "column": 74 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24554,16 +31596,17 @@ "binop": null, "updateContext": null }, - "start": 2883, - "end": 2884, + "value": "true", + "start": 4420, + "end": 4424, "loc": { "start": { - "line": 54, - "column": 96 + "line": 100, + "column": 75 }, "end": { - "line": 54, - "column": 97 + "line": 100, + "column": 79 } } }, @@ -24579,22 +31622,22 @@ "postfix": false, "binop": null }, - "start": 2901, - "end": 2902, + "start": 4425, + "end": 4426, "loc": { "start": { - "line": 55, - "column": 16 + "line": 100, + "column": 80 }, "end": { - "line": 55, - "column": 17 + "line": 100, + "column": 81 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -24605,52 +31648,50 @@ "binop": null, "updateContext": null }, - "start": 2902, - "end": 2903, + "start": 4426, + "end": 4427, "loc": { "start": { - "line": 55, - "column": 17 + "line": 100, + "column": 81 }, "end": { - "line": 55, - "column": 18 + "line": 100, + "column": 82 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 2920, - "end": 2925, + "value": "instance", + "start": 4428, + "end": 4436, "loc": { "start": { - "line": 56, - "column": 16 + "line": 100, + "column": 83 }, "end": { - "line": 56, - "column": 21 + "line": 100, + "column": 91 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24658,52 +31699,50 @@ "postfix": false, "binop": null }, - "value": "applyDecorator", - "start": 2926, - "end": 2940, + "start": 4436, + "end": 4437, "loc": { "start": { - "line": 56, - "column": 22 + "line": 100, + "column": 91 }, "end": { - "line": 56, - "column": 36 + "line": 100, + "column": 92 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2941, - "end": 2942, + "start": 4437, + "end": 4438, "loc": { "start": { - "line": 56, - "column": 37 + "line": 100, + "column": 92 }, "end": { - "line": 56, - "column": 38 + "line": 100, + "column": 93 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24711,50 +31750,52 @@ "postfix": false, "binop": null }, - "start": 2943, - "end": 2944, + "start": 4463, + "end": 4464, "loc": { "start": { - "line": 56, - "column": 39 + "line": 101, + "column": 24 }, "end": { - "line": 56, - "column": 40 + "line": 101, + "column": 25 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "instance", - "start": 2944, - "end": 2952, + "value": "if", + "start": 4489, + "end": 4491, "loc": { "start": { - "line": 56, - "column": 40 + "line": 102, + "column": 24 }, "end": { - "line": 56, - "column": 48 + "line": 102, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24762,50 +31803,50 @@ "postfix": false, "binop": null }, - "start": 2952, - "end": 2953, + "start": 4492, + "end": 4493, "loc": { "start": { - "line": 56, - "column": 48 + "line": 102, + "column": 27 }, "end": { - "line": 56, - "column": 49 + "line": 102, + "column": 28 } } }, { "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2954, - "end": 2956, + "value": "isSetter", + "start": 4493, + "end": 4501, "loc": { "start": { - "line": 56, - "column": 50 + "line": 102, + "column": 28 }, "end": { - "line": 56, - "column": 52 + "line": 102, + "column": 36 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24813,44 +31854,41 @@ "postfix": false, "binop": null }, - "start": 2957, - "end": 2958, + "start": 4501, + "end": 4502, "loc": { "start": { - "line": 56, - "column": 53 + "line": 102, + "column": 36 }, "end": { - "line": 56, - "column": 54 + "line": 102, + "column": 37 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 2979, - "end": 2982, + "start": 4503, + "end": 4504, "loc": { "start": { - "line": 57, - "column": 20 + "line": 102, + "column": 38 }, "end": { - "line": 57, - "column": 23 + "line": 102, + "column": 39 } } }, @@ -24866,17 +31904,17 @@ "postfix": false, "binop": null }, - "value": "getter", - "start": 2983, - "end": 2989, + "value": "setter", + "start": 4533, + "end": 4539, "loc": { "start": { - "line": 57, - "column": 24 + "line": 103, + "column": 28 }, "end": { - "line": 57, - "column": 30 + "line": 103, + "column": 34 } } }, @@ -24894,16 +31932,16 @@ "updateContext": null }, "value": "=", - "start": 2990, - "end": 2991, + "start": 4540, + "end": 4541, "loc": { "start": { - "line": 57, - "column": 31 + "line": 103, + "column": 35 }, "end": { - "line": 57, - "column": 32 + "line": 103, + "column": 36 } } }, @@ -24919,44 +31957,42 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 2992, - "end": 2995, + "value": "applyChain", + "start": 4542, + "end": 4552, "loc": { "start": { - "line": 57, - "column": 33 + "line": 103, + "column": 37 }, "end": { - "line": 57, - "column": 36 + "line": 103, + "column": 47 } } }, { "type": { - "label": "||", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 2996, - "end": 2998, + "start": 4552, + "end": 4553, "loc": { "start": { - "line": 57, - "column": 37 + "line": 103, + "column": 47 }, "end": { - "line": 57, - "column": 39 + "line": 103, + "column": 48 } } }, @@ -24972,23 +32008,23 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 2999, - "end": 3008, + "value": "set", + "start": 4553, + "end": 4556, "loc": { "start": { - "line": 57, - "column": 40 + "line": 103, + "column": 48 }, "end": { - "line": 57, - "column": 49 + "line": 103, + "column": 51 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -24999,44 +32035,41 @@ "binop": null, "updateContext": null }, - "start": 3008, - "end": 3009, + "start": 4556, + "end": 4557, "loc": { "start": { - "line": 57, - "column": 49 + "line": 103, + "column": 51 }, "end": { - "line": 57, - "column": 50 + "line": 103, + "column": 52 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 3030, - "end": 3033, + "start": 4558, + "end": 4559, "loc": { "start": { - "line": 58, - "column": 20 + "line": 103, + "column": 53 }, "end": { - "line": 58, - "column": 23 + "line": 103, + "column": 54 } } }, @@ -25052,44 +32085,43 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 3034, - "end": 3040, + "value": "value", + "start": 4560, + "end": 4565, "loc": { "start": { - "line": 58, - "column": 24 + "line": 103, + "column": 55 }, "end": { - "line": 58, - "column": 30 + "line": 103, + "column": 60 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3041, - "end": 3042, + "start": 4565, + "end": 4566, "loc": { "start": { - "line": 58, - "column": 31 + "line": 103, + "column": 60 }, "end": { - "line": 58, - "column": 32 + "line": 103, + "column": 61 } } }, @@ -25106,22 +32138,22 @@ "binop": null }, "value": "set", - "start": 3043, - "end": 3046, + "start": 4567, + "end": 4570, "loc": { "start": { - "line": 58, - "column": 33 + "line": 103, + "column": 62 }, "end": { - "line": 58, - "column": 36 + "line": 103, + "column": 65 } } }, { "type": { - "label": "||", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25129,20 +32161,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 3047, - "end": 3049, + "start": 4570, + "end": 4571, "loc": { "start": { - "line": 58, - "column": 37 + "line": 103, + "column": 65 }, "end": { - "line": 58, - "column": 39 + "line": 103, + "column": 66 } } }, @@ -25158,23 +32189,23 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 3050, - "end": 3059, + "value": "setter", + "start": 4572, + "end": 4578, "loc": { "start": { - "line": 58, - "column": 40 + "line": 103, + "column": 67 }, "end": { - "line": 58, - "column": 49 + "line": 103, + "column": 73 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25185,25 +32216,25 @@ "binop": null, "updateContext": null }, - "start": 3059, - "end": 3060, + "start": 4578, + "end": 4579, "loc": { "start": { - "line": 58, - "column": 49 + "line": 103, + "column": 73 }, "end": { - "line": 58, - "column": 50 + "line": 103, + "column": 74 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "true", + "keyword": "true", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25212,50 +32243,25 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 3081, - "end": 3083, - "loc": { - "start": { - "line": 59, - "column": 20 - }, - "end": { - "line": 59, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3084, - "end": 3085, + "value": "true", + "start": 4580, + "end": 4584, "loc": { "start": { - "line": 59, - "column": 23 + "line": 103, + "column": 75 }, "end": { - "line": 59, - "column": 24 + "line": 103, + "column": 79 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25263,23 +32269,22 @@ "postfix": false, "binop": null }, - "value": "isGetter", - "start": 3085, - "end": 3093, + "start": 4585, + "end": 4586, "loc": { "start": { - "line": 59, - "column": 24 + "line": 103, + "column": 80 }, "end": { - "line": 59, - "column": 32 + "line": 103, + "column": 81 } } }, { "type": { - "label": "||", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25287,20 +32292,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 3094, - "end": 3096, + "start": 4586, + "end": 4587, "loc": { "start": { - "line": 59, - "column": 33 + "line": 103, + "column": 81 }, "end": { - "line": 59, - "column": 35 + "line": 103, + "column": 82 } } }, @@ -25316,17 +32320,17 @@ "postfix": false, "binop": null }, - "value": "isSetter", - "start": 3097, - "end": 3105, + "value": "instance", + "start": 4588, + "end": 4596, "loc": { "start": { - "line": 59, - "column": 36 + "line": 103, + "column": 83 }, "end": { - "line": 59, - "column": 44 + "line": 103, + "column": 91 } } }, @@ -25342,64 +32346,48 @@ "postfix": false, "binop": null }, - "start": 3105, - "end": 3106, - "loc": { - "start": { - "line": 59, - "column": 44 - }, - "end": { - "line": 59, - "column": 45 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3107, - "end": 3108, + "start": 4596, + "end": 4597, "loc": { "start": { - "line": 59, - "column": 46 + "line": 103, + "column": 91 }, "end": { - "line": 59, - "column": 47 + "line": 103, + "column": 92 } } }, { - "type": "CommentLine", - "value": " If we have a getter apply the decorators to the getter and assign it to the instance.", - "start": 3133, - "end": 3221, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4597, + "end": 4598, "loc": { "start": { - "line": 60, - "column": 24 + "line": 103, + "column": 92 }, "end": { - "line": 60, - "column": 112 + "line": 103, + "column": 93 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25407,27 +32395,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 3246, - "end": 3248, + "start": 4623, + "end": 4624, "loc": { "start": { - "line": 61, + "line": 104, "column": 24 }, "end": { - "line": 61, - "column": 26 + "line": 104, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25436,50 +32422,51 @@ "postfix": false, "binop": null }, - "start": 3249, - "end": 3250, + "value": "Object", + "start": 4649, + "end": 4655, "loc": { "start": { - "line": 61, - "column": 27 + "line": 105, + "column": 24 }, "end": { - "line": 61, - "column": 28 + "line": 105, + "column": 30 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isGetter", - "start": 3250, - "end": 3258, + "start": 4655, + "end": 4656, "loc": { "start": { - "line": 61, - "column": 28 + "line": 105, + "column": 30 }, "end": { - "line": 61, - "column": 36 + "line": 105, + "column": 31 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25487,22 +32474,23 @@ "postfix": false, "binop": null }, - "start": 3258, - "end": 3259, + "value": "defineProperty", + "start": 4656, + "end": 4670, "loc": { "start": { - "line": 61, - "column": 36 + "line": 105, + "column": 31 }, "end": { - "line": 61, - "column": 37 + "line": 105, + "column": 45 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -25512,16 +32500,16 @@ "postfix": false, "binop": null }, - "start": 3260, - "end": 3261, + "start": 4670, + "end": 4671, "loc": { "start": { - "line": 61, - "column": 38 + "line": 105, + "column": 45 }, "end": { - "line": 61, - "column": 39 + "line": 105, + "column": 46 } } }, @@ -25537,44 +32525,43 @@ "postfix": false, "binop": null }, - "value": "getter", - "start": 3290, - "end": 3296, + "value": "instance", + "start": 4671, + "end": 4679, "loc": { "start": { - "line": 62, - "column": 28 + "line": 105, + "column": 46 }, "end": { - "line": 62, - "column": 34 + "line": 105, + "column": 54 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3297, - "end": 3298, + "start": 4679, + "end": 4680, "loc": { "start": { - "line": 62, - "column": 35 + "line": 105, + "column": 54 }, "end": { - "line": 62, - "column": 36 + "line": 105, + "column": 55 } } }, @@ -25590,49 +32577,50 @@ "postfix": false, "binop": null }, - "value": "applyChain", - "start": 3299, - "end": 3309, + "value": "name", + "start": 4681, + "end": 4685, "loc": { "start": { - "line": 62, - "column": 37 + "line": 105, + "column": 56 }, "end": { - "line": 62, - "column": 47 + "line": 105, + "column": 60 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3309, - "end": 3310, + "start": 4685, + "end": 4686, "loc": { "start": { - "line": 62, - "column": 47 + "line": 105, + "column": 60 }, "end": { - "line": 62, - "column": 48 + "line": 105, + "column": 61 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25641,68 +32629,68 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 3310, - "end": 3313, + "start": 4687, + "end": 4688, "loc": { "start": { - "line": 62, - "column": 48 + "line": 105, + "column": 62 }, "end": { - "line": 62, - "column": 51 + "line": 105, + "column": 63 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3313, - "end": 3314, + "value": "enumerable", + "start": 4717, + "end": 4727, "loc": { "start": { - "line": 62, - "column": 51 + "line": 106, + "column": 28 }, "end": { - "line": 62, - "column": 52 + "line": 106, + "column": 38 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3315, - "end": 3316, + "start": 4727, + "end": 4728, "loc": { "start": { - "line": 62, - "column": 53 + "line": 106, + "column": 38 }, "end": { - "line": 62, - "column": 54 + "line": 106, + "column": 39 } } }, @@ -25718,23 +32706,23 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 3317, - "end": 3322, + "value": "configurable", + "start": 4757, + "end": 4769, "loc": { "start": { - "line": 62, - "column": 55 + "line": 107, + "column": 28 }, "end": { - "line": 62, - "column": 60 + "line": 107, + "column": 40 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25745,16 +32733,16 @@ "binop": null, "updateContext": null }, - "start": 3322, - "end": 3323, + "start": 4769, + "end": 4770, "loc": { "start": { - "line": 62, - "column": 60 + "line": 107, + "column": 40 }, "end": { - "line": 62, - "column": 61 + "line": 107, + "column": 41 } } }, @@ -25771,22 +32759,22 @@ "binop": null }, "value": "get", - "start": 3324, - "end": 3327, + "start": 4799, + "end": 4802, "loc": { "start": { - "line": 62, - "column": 62 + "line": 108, + "column": 28 }, "end": { - "line": 62, - "column": 65 + "line": 108, + "column": 31 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25797,16 +32785,16 @@ "binop": null, "updateContext": null }, - "start": 3327, - "end": 3328, + "start": 4802, + "end": 4803, "loc": { "start": { - "line": 62, - "column": 65 + "line": 108, + "column": 31 }, "end": { - "line": 62, - "column": 66 + "line": 108, + "column": 32 } } }, @@ -25823,22 +32811,22 @@ "binop": null }, "value": "getter", - "start": 3329, - "end": 3335, + "start": 4804, + "end": 4810, "loc": { "start": { - "line": 62, - "column": 67 + "line": 108, + "column": 33 }, "end": { - "line": 62, - "column": 73 + "line": 108, + "column": 39 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25849,23 +32837,22 @@ "binop": null, "updateContext": null }, - "start": 3335, - "end": 3336, + "start": 4810, + "end": 4811, "loc": { "start": { - "line": 62, - "column": 73 + "line": 108, + "column": 39 }, "end": { - "line": 62, - "column": 74 + "line": 108, + "column": 40 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25873,79 +32860,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 3337, - "end": 3341, + "value": "set", + "start": 4840, + "end": 4843, "loc": { "start": { - "line": 62, - "column": 75 + "line": 109, + "column": 28 }, "end": { - "line": 62, - "column": 79 + "line": 109, + "column": 31 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3342, - "end": 3343, + "start": 4843, + "end": 4844, "loc": { "start": { - "line": 62, - "column": 80 + "line": 109, + "column": 31 }, "end": { - "line": 62, - "column": 81 + "line": 109, + "column": 32 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3343, - "end": 3344, + "value": "setter", + "start": 4845, + "end": 4851, "loc": { "start": { - "line": 62, - "column": 81 + "line": 109, + "column": 33 }, "end": { - "line": 62, - "column": 82 + "line": 109, + "column": 39 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25953,17 +32940,16 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 3345, - "end": 3353, + "start": 4876, + "end": 4877, "loc": { "start": { - "line": 62, - "column": 83 + "line": 110, + "column": 24 }, "end": { - "line": 62, - "column": 91 + "line": 110, + "column": 25 } } }, @@ -25979,16 +32965,16 @@ "postfix": false, "binop": null }, - "start": 3353, - "end": 3354, + "start": 4877, + "end": 4878, "loc": { "start": { - "line": 62, - "column": 91 + "line": 110, + "column": 25 }, "end": { - "line": 62, - "column": 92 + "line": 110, + "column": 26 } } }, @@ -26005,16 +32991,16 @@ "binop": null, "updateContext": null }, - "start": 3354, - "end": 3355, + "start": 4878, + "end": 4879, "loc": { "start": { - "line": 62, - "column": 92 + "line": 110, + "column": 26 }, "end": { - "line": 62, - "column": 93 + "line": 110, + "column": 27 } } }, @@ -26030,24 +33016,24 @@ "postfix": false, "binop": null }, - "start": 3380, - "end": 3381, + "start": 4900, + "end": 4901, "loc": { "start": { - "line": 63, - "column": 24 + "line": 111, + "column": 20 }, "end": { - "line": 63, - "column": 25 + "line": 111, + "column": 21 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26057,49 +33043,52 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 3406, - "end": 3408, + "value": "else", + "start": 4922, + "end": 4926, "loc": { "start": { - "line": 64, - "column": 24 + "line": 112, + "column": 20 }, "end": { - "line": 64, - "column": 26 + "line": 112, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3409, - "end": 3410, + "value": "if", + "start": 4927, + "end": 4929, "loc": { "start": { - "line": 64, - "column": 27 + "line": 112, + "column": 25 }, "end": { - "line": 64, - "column": 28 + "line": 112, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -26108,25 +33097,24 @@ "postfix": false, "binop": null }, - "value": "isSetter", - "start": 3410, - "end": 3418, + "start": 4930, + "end": 4931, "loc": { "start": { - "line": 64, + "line": 112, "column": 28 }, "end": { - "line": 64, - "column": 36 + "line": 112, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26134,41 +33122,44 @@ "postfix": false, "binop": null }, - "start": 3418, - "end": 3419, + "value": "isMethod", + "start": 4931, + "end": 4939, "loc": { "start": { - "line": 64, - "column": 36 + "line": 112, + "column": 29 }, "end": { - "line": 64, + "line": 112, "column": 37 } } }, { "type": { - "label": "{", + "label": "||", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 1, + "updateContext": null }, - "start": 3420, - "end": 3421, + "value": "||", + "start": 4940, + "end": 4942, "loc": { "start": { - "line": 64, + "line": 112, "column": 38 }, "end": { - "line": 64, - "column": 39 + "line": 112, + "column": 40 } } }, @@ -26184,52 +33175,25 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 3450, - "end": 3456, - "loc": { - "start": { - "line": 65, - "column": 28 - }, - "end": { - "line": 65, - "column": 34 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3457, - "end": 3458, + "value": "isProperty", + "start": 4943, + "end": 4953, "loc": { "start": { - "line": 65, - "column": 35 + "line": 112, + "column": 41 }, "end": { - "line": 65, - "column": 36 + "line": 112, + "column": 51 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26237,23 +33201,22 @@ "postfix": false, "binop": null }, - "value": "applyChain", - "start": 3459, - "end": 3469, + "start": 4953, + "end": 4954, "loc": { "start": { - "line": 65, - "column": 37 + "line": 112, + "column": 51 }, "end": { - "line": 65, - "column": 47 + "line": 112, + "column": 52 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -26263,93 +33226,97 @@ "postfix": false, "binop": null }, - "start": 3469, - "end": 3470, + "start": 4955, + "end": 4956, "loc": { "start": { - "line": 65, - "column": 47 + "line": 112, + "column": 53 }, "end": { - "line": 65, - "column": 48 + "line": 112, + "column": 54 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "set", - "start": 3470, - "end": 3473, + "value": "const", + "start": 4981, + "end": 4986, "loc": { "start": { - "line": 65, - "column": 48 + "line": 113, + "column": 24 }, "end": { - "line": 65, - "column": 51 + "line": 113, + "column": 29 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3473, - "end": 3474, + "value": "newFn", + "start": 4987, + "end": 4992, "loc": { "start": { - "line": 65, - "column": 51 + "line": 113, + "column": 30 }, "end": { - "line": 65, - "column": 52 + "line": 113, + "column": 35 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3475, - "end": 3476, + "value": "=", + "start": 4993, + "end": 4994, "loc": { "start": { - "line": 65, - "column": 53 + "line": 113, + "column": 36 }, "end": { - "line": 65, - "column": 54 + "line": 113, + "column": 37 } } }, @@ -26365,23 +33332,23 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 3477, - "end": 3482, + "value": "isMethod", + "start": 4995, + "end": 5003, "loc": { "start": { - "line": 65, - "column": 55 + "line": 113, + "column": 38 }, "end": { - "line": 65, - "column": 60 + "line": 113, + "column": 46 } } }, { "type": { - "label": ":", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -26392,16 +33359,16 @@ "binop": null, "updateContext": null }, - "start": 3482, - "end": 3483, + "start": 5032, + "end": 5033, "loc": { "start": { - "line": 65, - "column": 60 + "line": 114, + "column": 28 }, "end": { - "line": 65, - "column": 61 + "line": 114, + "column": 29 } } }, @@ -26417,43 +33384,42 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 3484, - "end": 3487, + "value": "applyChain", + "start": 5034, + "end": 5044, "loc": { "start": { - "line": 65, - "column": 62 + "line": 114, + "column": 30 }, "end": { - "line": 65, - "column": 65 + "line": 114, + "column": 40 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3487, - "end": 3488, + "start": 5044, + "end": 5045, "loc": { "start": { - "line": 65, - "column": 65 + "line": 114, + "column": 40 }, "end": { - "line": 65, - "column": 66 + "line": 114, + "column": 41 } } }, @@ -26469,23 +33435,23 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 3489, - "end": 3495, + "value": "value", + "start": 5045, + "end": 5050, "loc": { "start": { - "line": 65, - "column": 67 + "line": 114, + "column": 41 }, "end": { - "line": 65, - "column": 73 + "line": 114, + "column": 46 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -26496,52 +33462,49 @@ "binop": null, "updateContext": null }, - "start": 3495, - "end": 3496, + "start": 5050, + "end": 5051, "loc": { "start": { - "line": 65, - "column": 73 + "line": 114, + "column": 46 }, "end": { - "line": 65, - "column": 74 + "line": 114, + "column": 47 } } }, { "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 3497, - "end": 3501, + "start": 5052, + "end": 5053, "loc": { "start": { - "line": 65, - "column": 75 + "line": 114, + "column": 48 }, "end": { - "line": 65, - "column": 79 + "line": 114, + "column": 49 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26549,16 +33512,17 @@ "postfix": false, "binop": null }, - "start": 3502, - "end": 3503, + "value": "value", + "start": 5054, + "end": 5059, "loc": { "start": { - "line": 65, - "column": 80 + "line": 114, + "column": 50 }, "end": { - "line": 65, - "column": 81 + "line": 114, + "column": 55 } } }, @@ -26575,16 +33539,16 @@ "binop": null, "updateContext": null }, - "start": 3503, - "end": 3504, + "start": 5059, + "end": 5060, "loc": { "start": { - "line": 65, - "column": 81 + "line": 114, + "column": 55 }, "end": { - "line": 65, - "column": 82 + "line": 114, + "column": 56 } } }, @@ -26600,50 +33564,52 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 3505, - "end": 3513, + "value": "method", + "start": 5061, + "end": 5067, "loc": { "start": { - "line": 65, - "column": 83 + "line": 114, + "column": 57 }, "end": { - "line": 65, - "column": 91 + "line": 114, + "column": 63 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3513, - "end": 3514, + "start": 5067, + "end": 5068, "loc": { "start": { - "line": 65, - "column": 91 + "line": 114, + "column": 63 }, "end": { - "line": 65, - "column": 92 + "line": 114, + "column": 64 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26652,16 +33618,17 @@ "binop": null, "updateContext": null }, - "start": 3514, - "end": 3515, + "value": "true", + "start": 5069, + "end": 5073, "loc": { "start": { - "line": 65, - "column": 92 + "line": 114, + "column": 65 }, "end": { - "line": 65, - "column": 93 + "line": 114, + "column": 69 } } }, @@ -26677,76 +33644,76 @@ "postfix": false, "binop": null }, - "start": 3540, - "end": 3541, + "start": 5074, + "end": 5075, "loc": { "start": { - "line": 66, - "column": 24 + "line": 114, + "column": 70 }, "end": { - "line": 66, - "column": 25 + "line": 114, + "column": 71 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Object", - "start": 3566, - "end": 3572, + "start": 5075, + "end": 5076, "loc": { "start": { - "line": 67, - "column": 24 + "line": 114, + "column": 71 }, "end": { - "line": 67, - "column": 30 + "line": 114, + "column": 72 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3572, - "end": 3573, + "value": "instance", + "start": 5077, + "end": 5085, "loc": { "start": { - "line": 67, - "column": 30 + "line": 114, + "column": 73 }, "end": { - "line": 67, - "column": 31 + "line": 114, + "column": 81 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26754,42 +33721,42 @@ "postfix": false, "binop": null }, - "value": "defineProperty", - "start": 3573, - "end": 3587, + "start": 5085, + "end": 5086, "loc": { "start": { - "line": 67, - "column": 31 + "line": 114, + "column": 81 }, "end": { - "line": 67, - "column": 45 + "line": 114, + "column": 82 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3587, - "end": 3588, + "start": 5115, + "end": 5116, "loc": { "start": { - "line": 67, - "column": 45 + "line": 115, + "column": 28 }, "end": { - "line": 67, - "column": 46 + "line": 115, + "column": 29 } } }, @@ -26805,43 +33772,42 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 3588, - "end": 3596, + "value": "applyChain", + "start": 5117, + "end": 5127, "loc": { "start": { - "line": 67, - "column": 46 + "line": 115, + "column": 30 }, - "end": { - "line": 67, - "column": 54 + "end": { + "line": 115, + "column": 40 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3596, - "end": 3597, + "start": 5127, + "end": 5128, "loc": { "start": { - "line": 67, - "column": 54 + "line": 115, + "column": 40 }, "end": { - "line": 67, - "column": 55 + "line": 115, + "column": 41 } } }, @@ -26857,17 +33823,17 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 3598, - "end": 3602, + "value": "value", + "start": 5128, + "end": 5133, "loc": { "start": { - "line": 67, - "column": 56 + "line": 115, + "column": 41 }, "end": { - "line": 67, - "column": 60 + "line": 115, + "column": 46 } } }, @@ -26884,16 +33850,16 @@ "binop": null, "updateContext": null }, - "start": 3602, - "end": 3603, + "start": 5133, + "end": 5134, "loc": { "start": { - "line": 67, - "column": 60 + "line": 115, + "column": 46 }, "end": { - "line": 67, - "column": 61 + "line": 115, + "column": 47 } } }, @@ -26909,16 +33875,16 @@ "postfix": false, "binop": null }, - "start": 3604, - "end": 3605, + "start": 5135, + "end": 5136, "loc": { "start": { - "line": 67, - "column": 62 + "line": 115, + "column": 48 }, "end": { - "line": 67, - "column": 63 + "line": 115, + "column": 49 } } }, @@ -26934,17 +33900,17 @@ "postfix": false, "binop": null }, - "value": "enumerable", - "start": 3634, - "end": 3644, + "value": "value", + "start": 5137, + "end": 5142, "loc": { "start": { - "line": 68, - "column": 28 + "line": 115, + "column": 50 }, "end": { - "line": 68, - "column": 38 + "line": 115, + "column": 55 } } }, @@ -26961,16 +33927,16 @@ "binop": null, "updateContext": null }, - "start": 3644, - "end": 3645, + "start": 5142, + "end": 5143, "loc": { "start": { - "line": 68, - "column": 38 + "line": 115, + "column": 55 }, "end": { - "line": 68, - "column": 39 + "line": 115, + "column": 56 } } }, @@ -26986,23 +33952,23 @@ "postfix": false, "binop": null }, - "value": "configurable", - "start": 3674, - "end": 3686, + "value": "property", + "start": 5144, + "end": 5152, "loc": { "start": { - "line": 69, - "column": 28 + "line": 115, + "column": 57 }, "end": { - "line": 69, - "column": 40 + "line": 115, + "column": 65 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27013,22 +33979,23 @@ "binop": null, "updateContext": null }, - "start": 3686, - "end": 3687, + "start": 5152, + "end": 5153, "loc": { "start": { - "line": 69, - "column": 40 + "line": 115, + "column": 65 }, "end": { - "line": 69, - "column": 41 + "line": 115, + "column": 66 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27036,105 +34003,105 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get", - "start": 3716, - "end": 3719, + "value": "true", + "start": 5154, + "end": 5158, "loc": { "start": { - "line": 70, - "column": 28 + "line": 115, + "column": 67 }, "end": { - "line": 70, - "column": 31 + "line": 115, + "column": 71 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3719, - "end": 3720, + "start": 5159, + "end": 5160, "loc": { "start": { - "line": 70, - "column": 31 + "line": 115, + "column": 72 }, "end": { - "line": 70, - "column": 32 + "line": 115, + "column": 73 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "getter", - "start": 3721, - "end": 3727, + "start": 5160, + "end": 5161, "loc": { "start": { - "line": 70, - "column": 33 + "line": 115, + "column": 73 }, "end": { - "line": 70, - "column": 39 + "line": 115, + "column": 74 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3727, - "end": 3728, + "value": "instance", + "start": 5162, + "end": 5170, "loc": { "start": { - "line": 70, - "column": 39 + "line": 115, + "column": 75 }, "end": { - "line": 70, - "column": 40 + "line": 115, + "column": 83 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27142,23 +34109,22 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 3757, - "end": 3760, + "start": 5170, + "end": 5171, "loc": { "start": { - "line": 71, - "column": 28 + "line": 115, + "column": 83 }, "end": { - "line": 71, - "column": 31 + "line": 115, + "column": 84 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27169,16 +34135,16 @@ "binop": null, "updateContext": null }, - "start": 3760, - "end": 3761, + "start": 5171, + "end": 5172, "loc": { "start": { - "line": 71, - "column": 31 + "line": 115, + "column": 84 }, "end": { - "line": 71, - "column": 32 + "line": 115, + "column": 85 } } }, @@ -27194,23 +34160,23 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 3762, - "end": 3768, + "value": "Object", + "start": 5197, + "end": 5203, "loc": { "start": { - "line": 71, - "column": 33 + "line": 116, + "column": 24 }, "end": { - "line": 71, - "column": 39 + "line": 116, + "column": 30 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27218,26 +34184,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3793, - "end": 3794, + "start": 5203, + "end": 5204, "loc": { "start": { - "line": 72, - "column": 24 + "line": 116, + "column": 30 }, "end": { - "line": 72, - "column": 25 + "line": 116, + "column": 31 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27245,103 +34212,127 @@ "postfix": false, "binop": null }, - "start": 3794, - "end": 3795, + "value": "defineProperty", + "start": 5204, + "end": 5218, "loc": { "start": { - "line": 72, - "column": 25 + "line": 116, + "column": 31 }, "end": { - "line": 72, - "column": 26 + "line": 116, + "column": 45 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3795, - "end": 3796, + "start": 5218, + "end": 5219, "loc": { "start": { - "line": 72, - "column": 26 + "line": 116, + "column": 45 }, "end": { - "line": 72, - "column": 27 + "line": 116, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "instance", + "start": 5219, + "end": 5227, + "loc": { + "start": { + "line": 116, + "column": 46 + }, + "end": { + "line": 116, + "column": 54 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3817, - "end": 3818, + "start": 5227, + "end": 5228, "loc": { "start": { - "line": 73, - "column": 20 + "line": 116, + "column": 54 }, "end": { - "line": 73, - "column": 21 + "line": 116, + "column": 55 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 3839, - "end": 3843, + "value": "name", + "start": 5229, + "end": 5233, "loc": { "start": { - "line": 74, - "column": 20 + "line": 116, + "column": 56 }, "end": { - "line": 74, - "column": 24 + "line": 116, + "column": 60 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27351,23 +34342,22 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 3844, - "end": 3846, + "start": 5233, + "end": 5234, "loc": { "start": { - "line": 74, - "column": 25 + "line": 116, + "column": 60 }, "end": { - "line": 74, - "column": 27 + "line": 116, + "column": 61 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -27377,16 +34367,16 @@ "postfix": false, "binop": null }, - "start": 3847, - "end": 3848, + "start": 5235, + "end": 5236, "loc": { "start": { - "line": 74, - "column": 28 + "line": 116, + "column": 62 }, "end": { - "line": 74, - "column": 29 + "line": 116, + "column": 63 } } }, @@ -27402,23 +34392,23 @@ "postfix": false, "binop": null }, - "value": "isMethod", - "start": 3848, - "end": 3856, + "value": "writable", + "start": 5265, + "end": 5273, "loc": { "start": { - "line": 74, - "column": 29 + "line": 117, + "column": 28 }, "end": { - "line": 74, - "column": 37 + "line": 117, + "column": 36 } } }, { "type": { - "label": "||", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27426,20 +34416,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 3857, - "end": 3859, + "start": 5273, + "end": 5274, "loc": { "start": { - "line": 74, - "column": 38 + "line": 117, + "column": 36 }, "end": { - "line": 74, - "column": 40 + "line": 117, + "column": 37 } } }, @@ -27455,49 +34444,50 @@ "postfix": false, "binop": null }, - "value": "isProperty", - "start": 3860, - "end": 3870, + "value": "enumerable", + "start": 5303, + "end": 5313, "loc": { "start": { - "line": 74, - "column": 41 + "line": 118, + "column": 28 }, "end": { - "line": 74, - "column": 51 + "line": 118, + "column": 38 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3870, - "end": 3871, + "start": 5313, + "end": 5314, "loc": { "start": { - "line": 74, - "column": 51 + "line": 118, + "column": 38 }, "end": { - "line": 74, - "column": 52 + "line": 118, + "column": 39 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -27506,24 +34496,24 @@ "postfix": false, "binop": null }, - "start": 3872, - "end": 3873, + "value": "configurable", + "start": 5343, + "end": 5355, "loc": { "start": { - "line": 74, - "column": 53 + "line": 119, + "column": 28 }, "end": { - "line": 74, - "column": 54 + "line": 119, + "column": 40 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27533,17 +34523,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3898, - "end": 3903, + "start": 5355, + "end": 5356, "loc": { "start": { - "line": 75, - "column": 24 + "line": 119, + "column": 40 }, "end": { - "line": 75, - "column": 29 + "line": 119, + "column": 41 } } }, @@ -27559,44 +34548,43 @@ "postfix": false, "binop": null }, - "value": "newFn", - "start": 3904, - "end": 3909, + "value": "value", + "start": 5385, + "end": 5390, "loc": { "start": { - "line": 75, - "column": 30 + "line": 120, + "column": 28 }, "end": { - "line": 75, - "column": 35 + "line": 120, + "column": 33 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3910, - "end": 3911, + "start": 5390, + "end": 5391, "loc": { "start": { - "line": 75, - "column": 36 + "line": 120, + "column": 33 }, "end": { - "line": 75, - "column": 37 + "line": 120, + "column": 34 } } }, @@ -27612,51 +34600,50 @@ "postfix": false, "binop": null }, - "value": "isMethod", - "start": 3912, - "end": 3920, + "value": "newFn", + "start": 5392, + "end": 5397, "loc": { "start": { - "line": 75, - "column": 38 + "line": 120, + "column": 35 }, "end": { - "line": 75, - "column": 46 + "line": 120, + "column": 40 } } }, { "type": { - "label": "?", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3949, - "end": 3950, + "start": 5422, + "end": 5423, "loc": { "start": { - "line": 76, - "column": 28 + "line": 121, + "column": 24 }, "end": { - "line": 76, - "column": 29 + "line": 121, + "column": 25 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27664,50 +34651,50 @@ "postfix": false, "binop": null }, - "value": "applyChain", - "start": 3951, - "end": 3961, + "start": 5423, + "end": 5424, "loc": { "start": { - "line": 76, - "column": 30 + "line": 121, + "column": 25 }, "end": { - "line": 76, - "column": 40 + "line": 121, + "column": 26 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3961, - "end": 3962, + "start": 5424, + "end": 5425, "loc": { "start": { - "line": 76, - "column": 40 + "line": 121, + "column": 26 }, "end": { - "line": 76, - "column": 41 + "line": 121, + "column": 27 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27715,120 +34702,120 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 3962, - "end": 3967, + "start": 5446, + "end": 5447, "loc": { "start": { - "line": 76, - "column": 41 + "line": 122, + "column": 20 }, "end": { - "line": 76, - "column": 46 + "line": 122, + "column": 21 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3967, - "end": 3968, + "start": 5464, + "end": 5465, "loc": { "start": { - "line": 76, - "column": 46 + "line": 123, + "column": 16 }, "end": { - "line": 76, - "column": 47 + "line": 123, + "column": 17 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3969, - "end": 3970, + "start": 5465, + "end": 5466, "loc": { "start": { - "line": 76, - "column": 48 + "line": 123, + "column": 17 }, "end": { - "line": 76, - "column": 49 + "line": 123, + "column": 18 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "value", - "start": 3971, - "end": 3976, + "value": "if", + "start": 5483, + "end": 5485, "loc": { "start": { - "line": 76, - "column": 50 + "line": 124, + "column": 16 }, "end": { - "line": 76, - "column": 55 + "line": 124, + "column": 18 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3976, - "end": 3977, + "start": 5486, + "end": 5487, "loc": { "start": { - "line": 76, - "column": 55 + "line": 124, + "column": 19 }, "end": { - "line": 76, - "column": 56 + "line": 124, + "column": 20 } } }, @@ -27844,23 +34831,23 @@ "postfix": false, "binop": null }, - "value": "method", - "start": 3978, - "end": 3984, + "value": "isMethod", + "start": 5487, + "end": 5495, "loc": { "start": { - "line": 76, - "column": 57 + "line": 124, + "column": 20 }, "end": { - "line": 76, - "column": 63 + "line": 124, + "column": 28 } } }, { "type": { - "label": ":", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27868,26 +34855,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 3984, - "end": 3985, + "value": "||", + "start": 5496, + "end": 5498, "loc": { "start": { - "line": 76, - "column": 63 + "line": 124, + "column": 29 }, "end": { - "line": 76, - "column": 64 + "line": 124, + "column": 31 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27895,26 +34882,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 3986, - "end": 3990, + "value": "isProperty", + "start": 5499, + "end": 5509, "loc": { "start": { - "line": 76, - "column": 65 + "line": 124, + "column": 32 }, "end": { - "line": 76, - "column": 69 + "line": 124, + "column": 42 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27924,76 +34910,77 @@ "postfix": false, "binop": null }, - "start": 3991, - "end": 3992, + "start": 5509, + "end": 5510, "loc": { "start": { - "line": 76, - "column": 70 + "line": 124, + "column": 42 }, "end": { - "line": 76, - "column": 71 + "line": 124, + "column": 43 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3992, - "end": 3993, + "start": 5511, + "end": 5512, "loc": { "start": { - "line": 76, - "column": 71 + "line": 124, + "column": 44 }, "end": { - "line": 76, - "column": 72 + "line": 124, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "delete", + "keyword": "delete", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "instance", - "start": 3994, - "end": 4002, + "value": "delete", + "start": 5533, + "end": 5539, "loc": { "start": { - "line": 76, - "column": 73 + "line": 125, + "column": 20 }, "end": { - "line": 76, - "column": 81 + "line": 125, + "column": 26 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28001,23 +34988,24 @@ "postfix": false, "binop": null }, - "start": 4002, - "end": 4003, + "value": "descriptor", + "start": 5540, + "end": 5550, "loc": { "start": { - "line": 76, - "column": 81 + "line": 125, + "column": 27 }, "end": { - "line": 76, - "column": 82 + "line": 125, + "column": 37 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -28027,16 +35015,16 @@ "binop": null, "updateContext": null }, - "start": 4032, - "end": 4033, + "start": 5550, + "end": 5551, "loc": { "start": { - "line": 77, - "column": 28 + "line": 125, + "column": 37 }, "end": { - "line": 77, - "column": 29 + "line": 125, + "column": 38 } } }, @@ -28052,119 +35040,123 @@ "postfix": false, "binop": null }, - "value": "applyChain", - "start": 4034, - "end": 4044, + "value": "value", + "start": 5551, + "end": 5556, "loc": { "start": { - "line": 77, - "column": 30 + "line": 125, + "column": 38 }, "end": { - "line": 77, - "column": 40 + "line": 125, + "column": 43 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4044, - "end": 4045, + "start": 5556, + "end": 5557, "loc": { "start": { - "line": 77, - "column": 40 + "line": 125, + "column": 43 }, "end": { - "line": 77, - "column": 41 + "line": 125, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "delete", + "keyword": "delete", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "value", - "start": 4045, - "end": 4050, + "value": "delete", + "start": 5578, + "end": 5584, "loc": { "start": { - "line": 77, - "column": 41 + "line": 126, + "column": 20 }, "end": { - "line": 77, - "column": 46 + "line": 126, + "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4050, - "end": 4051, + "value": "descriptor", + "start": 5585, + "end": 5595, "loc": { "start": { - "line": 77, - "column": 46 + "line": 126, + "column": 27 }, "end": { - "line": 77, - "column": 47 + "line": 126, + "column": 37 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4052, - "end": 4053, + "start": 5595, + "end": 5596, "loc": { "start": { - "line": 77, - "column": 48 + "line": 126, + "column": 37 }, "end": { - "line": 77, - "column": 49 + "line": 126, + "column": 38 } } }, @@ -28180,23 +35172,23 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 4054, - "end": 4059, + "value": "writable", + "start": 5596, + "end": 5604, "loc": { "start": { - "line": 77, - "column": 50 + "line": 126, + "column": 38 }, "end": { - "line": 77, - "column": 55 + "line": 126, + "column": 46 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -28207,24 +35199,24 @@ "binop": null, "updateContext": null }, - "start": 4059, - "end": 4060, + "start": 5604, + "end": 5605, "loc": { "start": { - "line": 77, - "column": 55 + "line": 126, + "column": 46 }, "end": { - "line": 77, - "column": 56 + "line": 126, + "column": 47 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28232,52 +35224,50 @@ "postfix": false, "binop": null }, - "value": "property", - "start": 4061, - "end": 4069, + "start": 5622, + "end": 5623, "loc": { "start": { - "line": 77, - "column": 57 + "line": 127, + "column": 16 }, "end": { - "line": 77, - "column": 65 + "line": 127, + "column": 17 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4069, - "end": 4070, + "value": "descriptor", + "start": 5640, + "end": 5650, "loc": { "start": { - "line": 77, - "column": 65 + "line": 128, + "column": 16 }, "end": { - "line": 77, - "column": 66 + "line": 128, + "column": 26 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28286,25 +35276,24 @@ "binop": null, "updateContext": null }, - "value": "true", - "start": 4071, - "end": 4075, + "start": 5650, + "end": 5651, "loc": { "start": { - "line": 77, - "column": 67 + "line": 128, + "column": 26 }, "end": { - "line": 77, - "column": 71 + "line": 128, + "column": 27 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28312,48 +35301,51 @@ "postfix": false, "binop": null }, - "start": 4076, - "end": 4077, + "value": "get", + "start": 5651, + "end": 5654, "loc": { "start": { - "line": 77, - "column": 72 + "line": 128, + "column": 27 }, "end": { - "line": 77, - "column": 73 + "line": 128, + "column": 30 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4077, - "end": 4078, + "value": "=", + "start": 5655, + "end": 5656, "loc": { "start": { - "line": 77, - "column": 73 + "line": 128, + "column": 31 }, "end": { - "line": 77, - "column": 74 + "line": 128, + "column": 32 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -28363,25 +35355,25 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 4079, - "end": 4087, + "value": "function", + "start": 5657, + "end": 5665, "loc": { "start": { - "line": 77, - "column": 75 + "line": 128, + "column": 33 }, "end": { - "line": 77, - "column": 83 + "line": 128, + "column": 41 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28389,49 +35381,48 @@ "postfix": false, "binop": null }, - "start": 4087, - "end": 4088, + "start": 5666, + "end": 5667, "loc": { "start": { - "line": 77, - "column": 83 + "line": 128, + "column": 42 }, "end": { - "line": 77, - "column": 84 + "line": 128, + "column": 43 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4088, - "end": 4089, + "start": 5667, + "end": 5668, "loc": { "start": { - "line": 77, - "column": 84 + "line": 128, + "column": 43 }, "end": { - "line": 77, - "column": 85 + "line": 128, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -28440,69 +35431,76 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 4114, - "end": 4120, + "start": 5669, + "end": 5670, "loc": { "start": { - "line": 78, - "column": 24 + "line": 128, + "column": 45 }, "end": { - "line": 78, - "column": 30 + "line": 128, + "column": 46 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4120, - "end": 4121, + "type": "CommentLine", + "value": " Check for direct access on the prototype.", + "start": 5691, + "end": 5735, "loc": { "start": { - "line": 78, - "column": 30 + "line": 129, + "column": 20 }, "end": { - "line": 78, - "column": 31 + "line": 129, + "column": 64 + } + } + }, + { + "type": "CommentLine", + "value": " MyClass.prototype.fn <-- This should not apply the decorator.", + "start": 5756, + "end": 5820, + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 84 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "defineProperty", - "start": 4121, - "end": 4135, + "value": "if", + "start": 5841, + "end": 5843, "loc": { "start": { - "line": 78, - "column": 31 + "line": 131, + "column": 20 }, "end": { - "line": 78, - "column": 45 + "line": 131, + "column": 22 } } }, @@ -28518,16 +35516,16 @@ "postfix": false, "binop": null }, - "start": 4135, - "end": 4136, + "start": 5844, + "end": 5845, "loc": { "start": { - "line": 78, - "column": 45 + "line": 131, + "column": 23 }, "end": { - "line": 78, - "column": 46 + "line": 131, + "column": 24 } } }, @@ -28543,49 +35541,49 @@ "postfix": false, "binop": null }, - "value": "instance", - "start": 4136, - "end": 4144, + "value": "isPrototypeAccess", + "start": 5845, + "end": 5862, "loc": { "start": { - "line": 78, - "column": 46 + "line": 131, + "column": 24 }, "end": { - "line": 78, - "column": 54 + "line": 131, + "column": 41 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4144, - "end": 4145, + "start": 5862, + "end": 5863, "loc": { "start": { - "line": 78, - "column": 54 + "line": 131, + "column": 41 }, "end": { - "line": 78, - "column": 55 + "line": 131, + "column": 42 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -28593,19 +35591,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 4146, - "end": 4150, + "value": "this", + "start": 5863, + "end": 5867, "loc": { "start": { - "line": 78, - "column": 56 + "line": 131, + "column": 42 }, "end": { - "line": 78, - "column": 60 + "line": 131, + "column": 46 } } }, @@ -28622,23 +35621,23 @@ "binop": null, "updateContext": null }, - "start": 4150, - "end": 4151, + "start": 5867, + "end": 5868, "loc": { "start": { - "line": 78, - "column": 60 + "line": 131, + "column": 46 }, "end": { - "line": 78, - "column": 61 + "line": 131, + "column": 47 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -28647,24 +35646,25 @@ "postfix": false, "binop": null }, - "start": 4152, - "end": 4153, + "value": "target", + "start": 5869, + "end": 5875, "loc": { "start": { - "line": 78, - "column": 62 + "line": 131, + "column": 48 }, "end": { - "line": 78, - "column": 63 + "line": 131, + "column": 54 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28672,50 +35672,48 @@ "postfix": false, "binop": null }, - "value": "writable", - "start": 4182, - "end": 4190, + "start": 5875, + "end": 5876, "loc": { "start": { - "line": 79, - "column": 28 + "line": 131, + "column": 54 }, "end": { - "line": 79, - "column": 36 + "line": 131, + "column": 55 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4190, - "end": 4191, + "start": 5876, + "end": 5877, "loc": { "start": { - "line": 79, - "column": 36 + "line": 131, + "column": 55 }, "end": { - "line": 79, - "column": 37 + "line": 131, + "column": 56 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -28724,23 +35722,23 @@ "postfix": false, "binop": null }, - "value": "enumerable", - "start": 4220, - "end": 4230, + "start": 5878, + "end": 5879, "loc": { "start": { - "line": 80, - "column": 28 + "line": 131, + "column": 57 }, "end": { - "line": 80, - "column": 38 + "line": 131, + "column": 58 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -28751,16 +35749,17 @@ "binop": null, "updateContext": null }, - "start": 4230, - "end": 4231, + "value": "return", + "start": 5904, + "end": 5910, "loc": { "start": { - "line": 80, - "column": 38 + "line": 132, + "column": 24 }, "end": { - "line": 80, - "column": 39 + "line": 132, + "column": 30 } } }, @@ -28776,23 +35775,23 @@ "postfix": false, "binop": null }, - "value": "configurable", - "start": 4260, - "end": 4272, + "value": "baseValue", + "start": 5911, + "end": 5920, "loc": { "start": { - "line": 81, - "column": 28 + "line": 132, + "column": 31 }, "end": { - "line": 81, + "line": 132, "column": 40 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -28803,24 +35802,24 @@ "binop": null, "updateContext": null }, - "start": 4272, - "end": 4273, + "start": 5920, + "end": 5921, "loc": { "start": { - "line": 81, + "line": 132, "column": 40 }, "end": { - "line": 81, + "line": 132, "column": 41 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28828,50 +35827,49 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 4302, - "end": 4307, + "start": 5942, + "end": 5943, "loc": { "start": { - "line": 82, - "column": 28 + "line": 133, + "column": 20 }, "end": { - "line": 82, - "column": 33 + "line": 133, + "column": 21 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4307, - "end": 4308, + "value": "applyDecorator", + "start": 5964, + "end": 5978, "loc": { "start": { - "line": 82, - "column": 33 + "line": 134, + "column": 20 }, "end": { - "line": 82, + "line": 134, "column": 34 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -28880,42 +35878,44 @@ "postfix": false, "binop": null }, - "value": "newFn", - "start": 4309, - "end": 4314, + "start": 5978, + "end": 5979, "loc": { "start": { - "line": 82, - "column": 35 + "line": 134, + "column": 34 }, "end": { - "line": 82, - "column": 40 + "line": 134, + "column": 35 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4339, - "end": 4340, + "value": "this", + "start": 5979, + "end": 5983, "loc": { "start": { - "line": 83, - "column": 24 + "line": 134, + "column": 35 }, "end": { - "line": 83, - "column": 25 + "line": 134, + "column": 39 } } }, @@ -28931,16 +35931,16 @@ "postfix": false, "binop": null }, - "start": 4340, - "end": 4341, + "start": 5983, + "end": 5984, "loc": { "start": { - "line": 83, - "column": 25 + "line": 134, + "column": 39 }, "end": { - "line": 83, - "column": 26 + "line": 134, + "column": 40 } } }, @@ -28957,22 +35957,23 @@ "binop": null, "updateContext": null }, - "start": 4341, - "end": 4342, + "start": 5984, + "end": 5985, "loc": { "start": { - "line": 83, - "column": 26 + "line": 134, + "column": 40 }, "end": { - "line": 83, - "column": 27 + "line": 134, + "column": 41 } } }, { "type": { - "label": "}", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28980,26 +35981,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4363, - "end": 4364, + "value": "const", + "start": 6006, + "end": 6011, "loc": { "start": { - "line": 84, + "line": 135, "column": 20 }, "end": { - "line": 84, - "column": 21 + "line": 135, + "column": 25 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29007,95 +36010,96 @@ "postfix": false, "binop": null }, - "start": 4381, - "end": 4382, + "value": "descriptor2", + "start": 6012, + "end": 6023, "loc": { "start": { - "line": 85, - "column": 16 + "line": 135, + "column": 26 }, "end": { - "line": 85, - "column": 17 + "line": 135, + "column": 37 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4382, - "end": 4383, + "value": "=", + "start": 6024, + "end": 6025, "loc": { "start": { - "line": 85, - "column": 17 + "line": 135, + "column": 38 }, "end": { - "line": 85, - "column": 18 + "line": 135, + "column": 39 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4400, - "end": 4402, + "value": "Object", + "start": 6026, + "end": 6032, "loc": { "start": { - "line": 86, - "column": 16 + "line": 135, + "column": 40 }, "end": { - "line": 86, - "column": 18 + "line": 135, + "column": 46 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4403, - "end": 4404, + "start": 6032, + "end": 6033, "loc": { "start": { - "line": 86, - "column": 19 + "line": 135, + "column": 46 }, "end": { - "line": 86, - "column": 20 + "line": 135, + "column": 47 } } }, @@ -29111,50 +36115,49 @@ "postfix": false, "binop": null }, - "value": "isMethod", - "start": 4404, - "end": 4412, + "value": "getOwnPropertyDescriptor", + "start": 6033, + "end": 6057, "loc": { "start": { - "line": 86, - "column": 20 + "line": 135, + "column": 47 }, "end": { - "line": 86, - "column": 28 + "line": 135, + "column": 71 } } }, { "type": { - "label": "||", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 4413, - "end": 4415, + "start": 6057, + "end": 6058, "loc": { "start": { - "line": 86, - "column": 29 + "line": 135, + "column": 71 }, "end": { - "line": 86, - "column": 31 + "line": 135, + "column": 72 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29162,51 +36165,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isProperty", - "start": 4416, - "end": 4426, + "value": "this", + "start": 6058, + "end": 6062, "loc": { "start": { - "line": 86, - "column": 32 + "line": 135, + "column": 72 }, "end": { - "line": 86, - "column": 42 + "line": 135, + "column": 76 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4426, - "end": 4427, + "start": 6062, + "end": 6063, "loc": { "start": { - "line": 86, - "column": 42 + "line": 135, + "column": 76 }, "end": { - "line": 86, - "column": 43 + "line": 135, + "column": 77 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29215,76 +36220,75 @@ "postfix": false, "binop": null }, - "start": 4428, - "end": 4429, + "value": "name", + "start": 6064, + "end": 6068, "loc": { "start": { - "line": 86, - "column": 44 + "line": 135, + "column": 78 }, "end": { - "line": 86, - "column": 45 + "line": 135, + "column": 82 } } }, { "type": { - "label": "delete", - "keyword": "delete", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "delete", - "start": 4450, - "end": 4456, + "start": 6068, + "end": 6069, "loc": { "start": { - "line": 87, - "column": 20 + "line": 135, + "column": 82 }, "end": { - "line": 87, - "column": 26 + "line": 135, + "column": 83 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "descriptor", - "start": 4457, - "end": 4467, + "start": 6069, + "end": 6070, "loc": { - "start": { - "line": 87, - "column": 27 + "start": { + "line": 135, + "column": 83 }, "end": { - "line": 87, - "column": 37 + "line": 135, + "column": 84 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29295,23 +36299,24 @@ "binop": null, "updateContext": null }, - "start": 4467, - "end": 4468, + "value": "if", + "start": 6091, + "end": 6093, "loc": { "start": { - "line": 87, - "column": 37 + "line": 136, + "column": 20 }, "end": { - "line": 87, - "column": 38 + "line": 136, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29320,71 +36325,68 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 4468, - "end": 4473, + "start": 6094, + "end": 6095, "loc": { "start": { - "line": 87, - "column": 38 + "line": 136, + "column": 23 }, "end": { - "line": 87, - "column": 43 + "line": 136, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4473, - "end": 4474, + "value": "descriptor2", + "start": 6095, + "end": 6106, "loc": { "start": { - "line": 87, - "column": 43 + "line": 136, + "column": 24 }, "end": { - "line": 87, - "column": 44 + "line": 136, + "column": 35 } } }, { "type": { - "label": "delete", - "keyword": "delete", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "delete", - "start": 4495, - "end": 4501, + "start": 6106, + "end": 6107, "loc": { "start": { - "line": 88, - "column": 20 + "line": 136, + "column": 35 }, "end": { - "line": 88, - "column": 26 + "line": 136, + "column": 36 } } }, @@ -29400,23 +36402,23 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 4502, - "end": 4512, + "value": "get", + "start": 6107, + "end": 6110, "loc": { "start": { - "line": 88, - "column": 27 + "line": 136, + "column": 36 }, "end": { - "line": 88, - "column": 37 + "line": 136, + "column": 39 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29424,26 +36426,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4512, - "end": 4513, + "start": 6110, + "end": 6111, "loc": { "start": { - "line": 88, - "column": 37 + "line": 136, + "column": 39 }, "end": { - "line": 88, - "column": 38 + "line": 136, + "column": 40 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29452,23 +36453,23 @@ "postfix": false, "binop": null }, - "value": "writable", - "start": 4513, - "end": 4521, + "start": 6112, + "end": 6113, "loc": { "start": { - "line": 88, - "column": 38 + "line": 136, + "column": 41 }, "end": { - "line": 88, - "column": 46 + "line": 136, + "column": 42 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -29479,24 +36480,25 @@ "binop": null, "updateContext": null }, - "start": 4521, - "end": 4522, + "value": "return", + "start": 6138, + "end": 6144, "loc": { "start": { - "line": 88, - "column": 46 + "line": 137, + "column": 24 }, "end": { - "line": 88, - "column": 47 + "line": 137, + "column": 30 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29504,16 +36506,43 @@ "postfix": false, "binop": null }, - "start": 4539, - "end": 4540, + "value": "descriptor2", + "start": 6145, + "end": 6156, "loc": { "start": { - "line": 89, - "column": 16 + "line": 137, + "column": 31 }, "end": { - "line": 89, - "column": 17 + "line": 137, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6156, + "end": 6157, + "loc": { + "start": { + "line": 137, + "column": 42 + }, + "end": { + "line": 137, + "column": 43 } } }, @@ -29529,17 +36558,17 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 4557, - "end": 4567, + "value": "get", + "start": 6157, + "end": 6160, "loc": { "start": { - "line": 90, - "column": 16 + "line": 137, + "column": 43 }, "end": { - "line": 90, - "column": 26 + "line": 137, + "column": 46 } } }, @@ -29556,16 +36585,16 @@ "binop": null, "updateContext": null }, - "start": 4567, - "end": 4568, + "start": 6160, + "end": 6161, "loc": { "start": { - "line": 90, - "column": 26 + "line": 137, + "column": 46 }, "end": { - "line": 90, - "column": 27 + "line": 137, + "column": 47 } } }, @@ -29581,51 +36610,49 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 4568, - "end": 4571, + "value": "call", + "start": 6161, + "end": 6165, "loc": { "start": { - "line": 90, - "column": 27 + "line": 137, + "column": 47 }, "end": { - "line": 90, - "column": 30 + "line": 137, + "column": 51 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 4572, - "end": 4573, + "start": 6165, + "end": 6166, "loc": { "start": { - "line": 90, - "column": 31 + "line": 137, + "column": 51 }, "end": { - "line": 90, - "column": 32 + "line": 137, + "column": 52 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29633,27 +36660,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 4574, - "end": 4582, + "value": "this", + "start": 6166, + "end": 6170, "loc": { "start": { - "line": 90, - "column": 33 + "line": 137, + "column": 52 }, "end": { - "line": 90, - "column": 41 + "line": 137, + "column": 56 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29661,49 +36689,50 @@ "postfix": false, "binop": null }, - "start": 4583, - "end": 4584, + "start": 6170, + "end": 6171, "loc": { "start": { - "line": 90, - "column": 42 + "line": 137, + "column": 56 }, "end": { - "line": 90, - "column": 43 + "line": 137, + "column": 57 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4584, - "end": 4585, + "start": 6171, + "end": 6172, "loc": { "start": { - "line": 90, - "column": 43 + "line": 137, + "column": 57 }, "end": { - "line": 90, - "column": 44 + "line": 137, + "column": 58 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29711,49 +36740,51 @@ "postfix": false, "binop": null }, - "start": 4586, - "end": 4587, + "start": 6193, + "end": 6194, "loc": { "start": { - "line": 90, - "column": 45 + "line": 138, + "column": 20 }, "end": { - "line": 90, - "column": 46 + "line": 138, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "applyDecorator", - "start": 4608, - "end": 4622, + "value": "return", + "start": 6215, + "end": 6221, "loc": { "start": { - "line": 91, + "line": 139, "column": 20 }, "end": { - "line": 91, - "column": 34 + "line": 139, + "column": 26 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29762,25 +36793,25 @@ "postfix": false, "binop": null }, - "start": 4622, - "end": 4623, + "value": "descriptor2", + "start": 6222, + "end": 6233, "loc": { "start": { - "line": 91, - "column": 34 + "line": 139, + "column": 27 }, "end": { - "line": 91, - "column": 35 + "line": 139, + "column": 38 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29789,25 +36820,24 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4623, - "end": 4627, + "start": 6233, + "end": 6234, "loc": { "start": { - "line": 91, - "column": 35 + "line": 139, + "column": 38 }, "end": { - "line": 91, + "line": 139, "column": 39 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29815,16 +36845,17 @@ "postfix": false, "binop": null }, - "start": 4627, - "end": 4628, + "value": "value", + "start": 6234, + "end": 6239, "loc": { "start": { - "line": 91, + "line": 139, "column": 39 }, "end": { - "line": 91, - "column": 40 + "line": 139, + "column": 44 } } }, @@ -29841,23 +36872,22 @@ "binop": null, "updateContext": null }, - "start": 4628, - "end": 4629, + "start": 6239, + "end": 6240, "loc": { "start": { - "line": 91, - "column": 40 + "line": 139, + "column": 44 }, "end": { - "line": 91, - "column": 41 + "line": 139, + "column": 45 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29865,20 +36895,44 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "start": 6257, + "end": 6258, + "loc": { + "start": { + "line": 140, + "column": 16 + }, + "end": { + "line": 140, + "column": 17 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 4650, - "end": 4655, + "start": 6258, + "end": 6259, "loc": { "start": { - "line": 92, - "column": 20 + "line": 140, + "column": 17 }, "end": { - "line": 92, - "column": 25 + "line": 140, + "column": 18 } } }, @@ -29895,43 +36949,42 @@ "binop": null }, "value": "descriptor", - "start": 4656, - "end": 4666, + "start": 6276, + "end": 6286, "loc": { "start": { - "line": 92, - "column": 26 + "line": 141, + "column": 16 }, "end": { - "line": 92, - "column": 36 + "line": 141, + "column": 26 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 4667, - "end": 4668, + "start": 6286, + "end": 6287, "loc": { "start": { - "line": 92, - "column": 37 + "line": 141, + "column": 26 }, "end": { - "line": 92, - "column": 38 + "line": 141, + "column": 27 } } }, @@ -29947,49 +37000,51 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 4669, - "end": 4675, + "value": "set", + "start": 6287, + "end": 6290, "loc": { "start": { - "line": 92, - "column": 39 + "line": 141, + "column": 27 }, "end": { - "line": 92, - "column": 45 + "line": 141, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4675, - "end": 4676, + "value": "=", + "start": 6291, + "end": 6292, "loc": { "start": { - "line": 92, - "column": 45 + "line": 141, + "column": 31 }, "end": { - "line": 92, - "column": 46 + "line": 141, + "column": 32 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29999,17 +37054,17 @@ "postfix": false, "binop": null }, - "value": "getOwnPropertyDescriptor", - "start": 4676, - "end": 4700, + "value": "function", + "start": 6293, + "end": 6301, "loc": { "start": { - "line": 92, - "column": 46 + "line": 141, + "column": 33 }, "end": { - "line": 92, - "column": 70 + "line": 141, + "column": 41 } } }, @@ -30025,23 +37080,22 @@ "postfix": false, "binop": null }, - "start": 4700, - "end": 4701, + "start": 6302, + "end": 6303, "loc": { "start": { - "line": 92, - "column": 70 + "line": 141, + "column": 42 }, "end": { - "line": 92, - "column": 71 + "line": 141, + "column": 43 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30049,53 +37103,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4701, - "end": 4705, + "value": "value2", + "start": 6303, + "end": 6309, "loc": { "start": { - "line": 92, - "column": 71 + "line": 141, + "column": 43 }, "end": { - "line": 92, - "column": 75 + "line": 141, + "column": 49 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4705, - "end": 4706, + "start": 6309, + "end": 6310, "loc": { "start": { - "line": 92, - "column": 75 + "line": 141, + "column": 49 }, "end": { - "line": 92, - "column": 76 + "line": 141, + "column": 50 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30104,25 +37156,24 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 4707, - "end": 4711, + "start": 6311, + "end": 6312, "loc": { "start": { - "line": 92, - "column": 77 + "line": 141, + "column": 51 }, "end": { - "line": 92, - "column": 81 + "line": 141, + "column": 52 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30130,51 +37181,51 @@ "postfix": false, "binop": null }, - "start": 4711, - "end": 4712, + "value": "applyDecorator", + "start": 6333, + "end": 6347, "loc": { "start": { - "line": 92, - "column": 81 + "line": 142, + "column": 20 }, "end": { - "line": 92, - "column": 82 + "line": 142, + "column": 34 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4712, - "end": 4713, + "start": 6347, + "end": 6348, "loc": { "start": { - "line": 92, - "column": 82 + "line": 142, + "column": 34 }, "end": { - "line": 92, - "column": 83 + "line": 142, + "column": 35 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30183,25 +37234,25 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 4734, - "end": 4736, + "value": "this", + "start": 6348, + "end": 6352, "loc": { "start": { - "line": 93, - "column": 20 + "line": 142, + "column": 35 }, "end": { - "line": 93, - "column": 22 + "line": 142, + "column": 39 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30209,48 +37260,49 @@ "postfix": false, "binop": null }, - "start": 4737, - "end": 4738, + "start": 6352, + "end": 6353, "loc": { "start": { - "line": 93, - "column": 23 + "line": 142, + "column": 39 }, "end": { - "line": 93, - "column": 24 + "line": 142, + "column": 40 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "descriptor", - "start": 4738, - "end": 4748, + "start": 6353, + "end": 6354, "loc": { "start": { - "line": 93, - "column": 24 + "line": 142, + "column": 40 }, "end": { - "line": 93, - "column": 34 + "line": 142, + "column": 41 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30261,16 +37313,17 @@ "binop": null, "updateContext": null }, - "start": 4748, - "end": 4749, + "value": "const", + "start": 6375, + "end": 6380, "loc": { "start": { - "line": 93, - "column": 34 + "line": 143, + "column": 20 }, "end": { - "line": 93, - "column": 35 + "line": 143, + "column": 25 } } }, @@ -30286,49 +37339,51 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 4749, - "end": 4752, + "value": "descriptor2", + "start": 6381, + "end": 6392, "loc": { "start": { - "line": 93, - "column": 35 + "line": 143, + "column": 26 }, "end": { - "line": 93, - "column": 38 + "line": 143, + "column": 37 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4752, - "end": 4753, + "value": "=", + "start": 6393, + "end": 6394, "loc": { "start": { - "line": 93, + "line": 143, "column": 38 }, "end": { - "line": 93, + "line": 143, "column": 39 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30337,24 +37392,24 @@ "postfix": false, "binop": null }, - "start": 4754, - "end": 4755, + "value": "Object", + "start": 6395, + "end": 6401, "loc": { "start": { - "line": 93, + "line": 143, "column": 40 }, "end": { - "line": 93, - "column": 41 + "line": 143, + "column": 46 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30364,17 +37419,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 4780, - "end": 4786, + "start": 6401, + "end": 6402, "loc": { "start": { - "line": 94, - "column": 24 + "line": 143, + "column": 46 }, "end": { - "line": 94, - "column": 30 + "line": 143, + "column": 47 } } }, @@ -30390,49 +37444,49 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 4787, - "end": 4797, + "value": "getOwnPropertyDescriptor", + "start": 6402, + "end": 6426, "loc": { "start": { - "line": 94, - "column": 31 + "line": 143, + "column": 47 }, "end": { - "line": 94, - "column": 41 + "line": 143, + "column": 71 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4797, - "end": 4798, + "start": 6426, + "end": 6427, "loc": { "start": { - "line": 94, - "column": 41 + "line": 143, + "column": 71 }, "end": { - "line": 94, - "column": 42 + "line": 143, + "column": 72 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30440,26 +37494,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get", - "start": 4798, - "end": 4801, + "value": "this", + "start": 6427, + "end": 6431, "loc": { "start": { - "line": 94, - "column": 42 + "line": 143, + "column": 72 }, "end": { - "line": 94, - "column": 45 + "line": 143, + "column": 76 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30469,16 +37524,16 @@ "binop": null, "updateContext": null }, - "start": 4801, - "end": 4802, + "start": 6431, + "end": 6432, "loc": { "start": { - "line": 94, - "column": 45 + "line": 143, + "column": 76 }, "end": { - "line": 94, - "column": 46 + "line": 143, + "column": 77 } } }, @@ -30494,25 +37549,25 @@ "postfix": false, "binop": null }, - "value": "call", - "start": 4802, - "end": 4806, + "value": "name", + "start": 6433, + "end": 6437, "loc": { "start": { - "line": 94, - "column": 46 + "line": 143, + "column": 78 }, "end": { - "line": 94, - "column": 50 + "line": 143, + "column": 82 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30520,25 +37575,24 @@ "postfix": false, "binop": null }, - "start": 4806, - "end": 4807, + "start": 6437, + "end": 6438, "loc": { "start": { - "line": 94, - "column": 50 + "line": 143, + "column": 82 }, "end": { - "line": 94, - "column": 51 + "line": 143, + "column": 83 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30547,23 +37601,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4807, - "end": 4811, + "start": 6438, + "end": 6439, "loc": { "start": { - "line": 94, - "column": 51 + "line": 143, + "column": 83 }, "end": { - "line": 94, - "column": 55 + "line": 143, + "column": 84 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30571,52 +37625,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4811, - "end": 4812, + "value": "if", + "start": 6460, + "end": 6462, "loc": { "start": { - "line": 94, - "column": 55 + "line": 144, + "column": 20 }, "end": { - "line": 94, - "column": 56 + "line": 144, + "column": 22 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4812, - "end": 4813, + "start": 6463, + "end": 6464, "loc": { "start": { - "line": 94, - "column": 56 + "line": 144, + "column": 23 }, "end": { - "line": 94, - "column": 57 + "line": 144, + "column": 24 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30624,24 +37679,24 @@ "postfix": false, "binop": null }, - "start": 4834, - "end": 4835, + "value": "descriptor2", + "start": 6464, + "end": 6475, "loc": { "start": { - "line": 95, - "column": 20 + "line": 144, + "column": 24 }, "end": { - "line": 95, - "column": 21 + "line": 144, + "column": 35 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30651,17 +37706,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 4856, - "end": 4862, + "start": 6475, + "end": 6476, "loc": { "start": { - "line": 96, - "column": 20 + "line": 144, + "column": 35 }, "end": { - "line": 96, - "column": 26 + "line": 144, + "column": 36 } } }, @@ -30677,23 +37731,23 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 4863, - "end": 4873, + "value": "set", + "start": 6476, + "end": 6479, "loc": { "start": { - "line": 96, - "column": 27 + "line": 144, + "column": 36 }, "end": { - "line": 96, - "column": 37 + "line": 144, + "column": 39 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30701,19 +37755,43 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4873, - "end": 4874, + "start": 6479, + "end": 6480, "loc": { "start": { - "line": 96, - "column": 37 + "line": 144, + "column": 39 }, "end": { - "line": 96, - "column": 38 + "line": 144, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6481, + "end": 6482, + "loc": { + "start": { + "line": 144, + "column": 41 + }, + "end": { + "line": 144, + "column": 42 } } }, @@ -30729,24 +37807,24 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 4874, - "end": 4879, + "value": "descriptor2", + "start": 6507, + "end": 6518, "loc": { "start": { - "line": 96, - "column": 38 + "line": 145, + "column": 24 }, "end": { - "line": 96, - "column": 43 + "line": 145, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30756,24 +37834,24 @@ "binop": null, "updateContext": null }, - "start": 4879, - "end": 4880, + "start": 6518, + "end": 6519, "loc": { "start": { - "line": 96, - "column": 43 + "line": 145, + "column": 35 }, "end": { - "line": 96, - "column": 44 + "line": 145, + "column": 36 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30781,23 +37859,24 @@ "postfix": false, "binop": null }, - "start": 4897, - "end": 4898, + "value": "set", + "start": 6519, + "end": 6522, "loc": { "start": { - "line": 97, - "column": 16 + "line": 145, + "column": 36 }, "end": { - "line": 97, - "column": 17 + "line": 145, + "column": 39 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30807,16 +37886,16 @@ "binop": null, "updateContext": null }, - "start": 4898, - "end": 4899, + "start": 6522, + "end": 6523, "loc": { "start": { - "line": 97, - "column": 17 + "line": 145, + "column": 39 }, "end": { - "line": 97, - "column": 18 + "line": 145, + "column": 40 } } }, @@ -30832,49 +37911,49 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 4916, - "end": 4926, + "value": "call", + "start": 6523, + "end": 6527, "loc": { "start": { - "line": 98, - "column": 16 + "line": 145, + "column": 40 }, "end": { - "line": 98, - "column": 26 + "line": 145, + "column": 44 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4926, - "end": 4927, + "start": 6527, + "end": 6528, "loc": { "start": { - "line": 98, - "column": 26 + "line": 145, + "column": 44 }, "end": { - "line": 98, - "column": 27 + "line": 145, + "column": 45 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30882,53 +37961,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "set", - "start": 4927, - "end": 4930, + "value": "this", + "start": 6528, + "end": 6532, "loc": { "start": { - "line": 98, - "column": 27 + "line": 145, + "column": 45 }, "end": { - "line": 98, - "column": 30 + "line": 145, + "column": 49 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 4931, - "end": 4932, + "start": 6532, + "end": 6533, "loc": { "start": { - "line": 98, - "column": 31 + "line": 145, + "column": 49 }, "end": { - "line": 98, - "column": 32 + "line": 145, + "column": 50 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30938,25 +38016,25 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 4933, - "end": 4941, + "value": "value2", + "start": 6534, + "end": 6540, "loc": { "start": { - "line": 98, - "column": 33 + "line": 145, + "column": 51 }, "end": { - "line": 98, - "column": 41 + "line": 145, + "column": 57 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30964,48 +38042,48 @@ "postfix": false, "binop": null }, - "start": 4942, - "end": 4943, + "start": 6540, + "end": 6541, "loc": { "start": { - "line": 98, - "column": 42 + "line": 145, + "column": 57 }, "end": { - "line": 98, - "column": 43 + "line": 145, + "column": 58 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "value", - "start": 4943, - "end": 4948, + "start": 6541, + "end": 6542, "loc": { "start": { - "line": 98, - "column": 43 + "line": 145, + "column": 58 }, "end": { - "line": 98, - "column": 48 + "line": 145, + "column": 59 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31015,67 +38093,72 @@ "postfix": false, "binop": null }, - "start": 4948, - "end": 4949, + "start": 6563, + "end": 6564, "loc": { "start": { - "line": 98, - "column": 48 + "line": 146, + "column": 20 }, "end": { - "line": 98, - "column": 49 + "line": 146, + "column": 21 } } }, { "type": { - "label": "{", + "label": "else", + "keyword": "else", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4950, - "end": 4951, + "value": "else", + "start": 6585, + "end": 6589, "loc": { "start": { - "line": 98, - "column": 50 + "line": 147, + "column": 20 }, "end": { - "line": 98, - "column": 51 + "line": 147, + "column": 24 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "applyDecorator", - "start": 4972, - "end": 4986, + "value": "if", + "start": 6590, + "end": 6592, "loc": { "start": { - "line": 99, - "column": 20 + "line": 147, + "column": 25 }, "end": { - "line": 99, - "column": 34 + "line": 147, + "column": 27 } } }, @@ -31091,23 +38174,22 @@ "postfix": false, "binop": null }, - "start": 4986, - "end": 4987, + "start": 6593, + "end": 6594, "loc": { "start": { - "line": 99, - "column": 34 + "line": 147, + "column": 28 }, "end": { - "line": 99, - "column": 35 + "line": 147, + "column": 29 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31115,78 +38197,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4987, - "end": 4991, + "value": "isProperty", + "start": 6594, + "end": 6604, "loc": { "start": { - "line": 99, - "column": 35 + "line": 147, + "column": 29 }, "end": { - "line": 99, + "line": 147, "column": 39 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "||", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 1, + "updateContext": null }, - "start": 4991, - "end": 4992, + "value": "||", + "start": 6605, + "end": 6607, "loc": { "start": { - "line": 99, - "column": 39 + "line": 147, + "column": 40 }, "end": { - "line": 99, - "column": 40 + "line": 147, + "column": 42 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4992, - "end": 4993, + "value": "isMethod", + "start": 6608, + "end": 6616, "loc": { "start": { - "line": 99, - "column": 40 + "line": 147, + "column": 43 }, "end": { - "line": 99, - "column": 41 + "line": 147, + "column": 51 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31194,27 +38276,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 5014, - "end": 5019, + "start": 6616, + "end": 6617, "loc": { "start": { - "line": 100, - "column": 20 + "line": 147, + "column": 51 }, "end": { - "line": 100, - "column": 25 + "line": 147, + "column": 52 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -31223,154 +38303,155 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 5020, - "end": 5030, + "start": 6618, + "end": 6619, "loc": { "start": { - "line": 100, - "column": 26 + "line": 147, + "column": 53 }, "end": { - "line": 100, - "column": 36 + "line": 147, + "column": 54 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5031, - "end": 5032, + "value": "this", + "start": 6644, + "end": 6648, "loc": { "start": { - "line": 100, - "column": 37 + "line": 148, + "column": 24 }, "end": { - "line": 100, - "column": 38 + "line": 148, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Object", - "start": 5033, - "end": 5039, + "start": 6648, + "end": 6649, "loc": { "start": { - "line": 100, - "column": 39 + "line": 148, + "column": 28 }, "end": { - "line": 100, - "column": 45 + "line": 148, + "column": 29 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5039, - "end": 5040, + "value": "name", + "start": 6649, + "end": 6653, "loc": { "start": { - "line": 100, - "column": 45 + "line": 148, + "column": 29 }, "end": { - "line": 100, - "column": 46 + "line": 148, + "column": 33 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "getOwnPropertyDescriptor", - "start": 5040, - "end": 5064, + "start": 6653, + "end": 6654, "loc": { "start": { - "line": 100, - "column": 46 + "line": 148, + "column": 33 }, "end": { - "line": 100, - "column": 70 + "line": 148, + "column": 34 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5064, - "end": 5065, + "value": "=", + "start": 6655, + "end": 6656, "loc": { "start": { - "line": 100, - "column": 70 + "line": 148, + "column": 35 }, "end": { - "line": 100, - "column": 71 + "line": 148, + "column": 36 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31378,26 +38459,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5065, - "end": 5069, + "value": "value2", + "start": 6657, + "end": 6663, "loc": { "start": { - "line": 100, - "column": 71 + "line": 148, + "column": 37 }, - "end": { - "line": 100, - "column": 75 + "end": { + "line": 148, + "column": 43 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -31408,24 +38488,24 @@ "binop": null, "updateContext": null }, - "start": 5069, - "end": 5070, + "start": 6663, + "end": 6664, "loc": { "start": { - "line": 100, - "column": 75 + "line": 148, + "column": 43 }, "end": { - "line": 100, - "column": 76 + "line": 148, + "column": 44 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31433,23 +38513,22 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 5071, - "end": 5075, + "start": 6685, + "end": 6686, "loc": { "start": { - "line": 100, - "column": 77 + "line": 149, + "column": 20 }, "end": { - "line": 100, - "column": 81 + "line": 149, + "column": 21 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31459,16 +38538,16 @@ "postfix": false, "binop": null }, - "start": 5075, - "end": 5076, + "start": 6703, + "end": 6704, "loc": { "start": { - "line": 100, - "column": 81 + "line": 150, + "column": 16 }, "end": { - "line": 100, - "column": 82 + "line": 150, + "column": 17 } } }, @@ -31485,24 +38564,24 @@ "binop": null, "updateContext": null }, - "start": 5076, - "end": 5077, + "start": 6704, + "end": 6705, "loc": { "start": { - "line": 100, - "column": 82 + "line": 150, + "column": 17 }, "end": { - "line": 100, - "column": 83 + "line": 150, + "column": 18 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -31512,24 +38591,24 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 5098, - "end": 5100, + "value": "return", + "start": 6722, + "end": 6728, "loc": { "start": { - "line": 101, - "column": 20 + "line": 151, + "column": 16 }, "end": { - "line": 101, + "line": 151, "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -31538,48 +38617,49 @@ "postfix": false, "binop": null }, - "start": 5101, - "end": 5102, + "value": "descriptor", + "start": 6729, + "end": 6739, "loc": { "start": { - "line": 101, + "line": 151, "column": 23 }, "end": { - "line": 101, - "column": 24 + "line": 151, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "descriptor", - "start": 5102, - "end": 5112, + "start": 6739, + "end": 6740, "loc": { "start": { - "line": 101, - "column": 24 + "line": 151, + "column": 33 }, "end": { - "line": 101, + "line": 151, "column": 34 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31587,51 +38667,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5112, - "end": 5113, + "start": 6753, + "end": 6754, "loc": { "start": { - "line": 101, - "column": 34 + "line": 152, + "column": 12 }, "end": { - "line": 101, - "column": 35 + "line": 152, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "set", - "start": 5113, - "end": 5116, + "start": 6754, + "end": 6755, "loc": { "start": { - "line": 101, - "column": 35 + "line": 152, + "column": 13 }, "end": { - "line": 101, - "column": 38 + "line": 152, + "column": 14 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31639,24 +38719,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5116, - "end": 5117, + "value": "if", + "start": 6768, + "end": 6770, "loc": { "start": { - "line": 101, - "column": 38 + "line": 153, + "column": 12 }, "end": { - "line": 101, - "column": 39 + "line": 153, + "column": 14 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -31666,16 +38748,16 @@ "postfix": false, "binop": null }, - "start": 5118, - "end": 5119, + "start": 6771, + "end": 6772, "loc": { "start": { - "line": 101, - "column": 40 + "line": 153, + "column": 15 }, "end": { - "line": 101, - "column": 41 + "line": 153, + "column": 16 } } }, @@ -31691,43 +38773,44 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 5144, - "end": 5154, + "value": "optionalParams", + "start": 6772, + "end": 6786, "loc": { "start": { - "line": 102, - "column": 24 + "line": 153, + "column": 16 }, "end": { - "line": 102, - "column": 34 + "line": 153, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "&&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 5154, - "end": 5155, + "value": "&&", + "start": 6787, + "end": 6789, "loc": { "start": { - "line": 102, - "column": 34 + "line": 153, + "column": 31 }, "end": { - "line": 102, - "column": 35 + "line": 153, + "column": 33 } } }, @@ -31743,24 +38826,49 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 5155, - "end": 5158, + "value": "isMethodOrPropertyDecoratorArgs", + "start": 6790, + "end": 6821, "loc": { "start": { - "line": 102, - "column": 35 + "line": 153, + "column": 34 }, "end": { - "line": 102, - "column": 38 + "line": 153, + "column": 65 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6821, + "end": 6822, + "loc": { + "start": { + "line": 153, + "column": 65 + }, + "end": { + "line": 153, + "column": 66 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -31770,16 +38878,16 @@ "binop": null, "updateContext": null }, - "start": 5158, - "end": 5159, + "start": 6822, + "end": 6825, "loc": { "start": { - "line": 102, - "column": 38 + "line": 153, + "column": 66 }, "end": { - "line": 102, - "column": 39 + "line": 153, + "column": 69 } } }, @@ -31795,25 +38903,25 @@ "postfix": false, "binop": null }, - "value": "call", - "start": 5159, - "end": 5163, + "value": "args", + "start": 6825, + "end": 6829, "loc": { "start": { - "line": 102, - "column": 39 + "line": 153, + "column": 69 }, "end": { - "line": 102, - "column": 43 + "line": 153, + "column": 73 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31821,70 +38929,66 @@ "postfix": false, "binop": null }, - "start": 5163, - "end": 5164, + "start": 6829, + "end": 6830, "loc": { "start": { - "line": 102, - "column": 43 + "line": 153, + "column": 73 }, "end": { - "line": 102, - "column": 44 + "line": 153, + "column": 74 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5164, - "end": 5168, + "start": 6830, + "end": 6831, "loc": { "start": { - "line": 102, - "column": 44 + "line": 153, + "column": 74 }, "end": { - "line": 102, - "column": 48 + "line": 153, + "column": 75 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5168, - "end": 5169, + "start": 6832, + "end": 6833, "loc": { "start": { - "line": 102, - "column": 48 + "line": 153, + "column": 76 }, "end": { - "line": 102, - "column": 49 + "line": 153, + "column": 77 } } }, @@ -31900,49 +39004,77 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 5170, - "end": 5175, + "value": "params", + "start": 6850, + "end": 6856, + "loc": { + "start": { + "line": 154, + "column": 16 + }, + "end": { + "line": 154, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6857, + "end": 6858, "loc": { "start": { - "line": 102, - "column": 50 + "line": 154, + "column": 23 }, "end": { - "line": 102, - "column": 55 + "line": 154, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5175, - "end": 5176, + "start": 6859, + "end": 6860, "loc": { "start": { - "line": 102, - "column": 55 + "line": 154, + "column": 25 }, "end": { - "line": 102, - "column": 56 + "line": 154, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -31952,48 +39084,49 @@ "binop": null, "updateContext": null }, - "start": 5176, - "end": 5177, + "start": 6860, + "end": 6861, "loc": { "start": { - "line": 102, - "column": 56 + "line": 154, + "column": 26 }, "end": { - "line": 102, - "column": 57 + "line": 154, + "column": 27 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5198, - "end": 5199, + "start": 6861, + "end": 6862, "loc": { "start": { - "line": 103, - "column": 20 + "line": 154, + "column": 27 }, "end": { - "line": 103, - "column": 21 + "line": 154, + "column": 28 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -32004,45 +39137,43 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 5220, - "end": 5224, + "value": "return", + "start": 6879, + "end": 6885, "loc": { "start": { - "line": 104, - "column": 20 + "line": 155, + "column": 16 }, "end": { - "line": 104, - "column": 24 + "line": 155, + "column": 22 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 5225, - "end": 5227, + "value": "decorator", + "start": 6886, + "end": 6895, "loc": { "start": { - "line": 104, - "column": 25 + "line": 155, + "column": 23 }, "end": { - "line": 104, - "column": 27 + "line": 155, + "column": 32 } } }, @@ -32058,16 +39189,16 @@ "postfix": false, "binop": null }, - "start": 5228, - "end": 5229, + "start": 6895, + "end": 6896, "loc": { "start": { - "line": 104, - "column": 28 + "line": 155, + "column": 32 }, "end": { - "line": 104, - "column": 29 + "line": 155, + "column": 33 } } }, @@ -32083,50 +39214,49 @@ "postfix": false, "binop": null }, - "value": "isProperty", - "start": 5229, - "end": 5239, + "value": "args", + "start": 6896, + "end": 6900, "loc": { "start": { - "line": 104, - "column": 29 + "line": 155, + "column": 33 }, "end": { - "line": 104, - "column": 39 + "line": 155, + "column": 37 } } }, { "type": { - "label": "||", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 5240, - "end": 5242, + "start": 6900, + "end": 6901, "loc": { "start": { - "line": 104, - "column": 40 + "line": 155, + "column": 37 }, "end": { - "line": 104, - "column": 42 + "line": 155, + "column": 38 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32134,25 +39264,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isMethod", - "start": 5243, - "end": 5251, + "value": 0, + "start": 6901, + "end": 6902, "loc": { "start": { - "line": 104, - "column": 43 + "line": 155, + "column": 38 }, "end": { - "line": 104, - "column": 51 + "line": 155, + "column": 39 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32160,50 +39291,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5251, - "end": 5252, + "start": 6902, + "end": 6903, "loc": { "start": { - "line": 104, - "column": 51 + "line": 155, + "column": 39 }, "end": { - "line": 104, - "column": 52 + "line": 155, + "column": 40 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5253, - "end": 5254, + "start": 6903, + "end": 6904, "loc": { "start": { - "line": 104, - "column": 53 + "line": 155, + "column": 40 }, "end": { - "line": 104, - "column": 54 + "line": 155, + "column": 41 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32211,20 +39343,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5279, - "end": 5283, + "value": "args", + "start": 6905, + "end": 6909, "loc": { "start": { - "line": 105, - "column": 24 + "line": 155, + "column": 42 }, "end": { - "line": 105, - "column": 28 + "line": 155, + "column": 46 } } }, @@ -32241,22 +39372,22 @@ "binop": null, "updateContext": null }, - "start": 5283, - "end": 5284, + "start": 6909, + "end": 6910, "loc": { "start": { - "line": 105, - "column": 28 + "line": 155, + "column": 46 }, "end": { - "line": 105, - "column": 29 + "line": 155, + "column": 47 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32264,19 +39395,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 5284, - "end": 5288, + "value": 1, + "start": 6910, + "end": 6911, "loc": { "start": { - "line": 105, - "column": 29 + "line": 155, + "column": 47 }, "end": { - "line": 105, - "column": 33 + "line": 155, + "column": 48 } } }, @@ -32293,43 +39425,42 @@ "binop": null, "updateContext": null }, - "start": 5288, - "end": 5289, + "start": 6911, + "end": 6912, "loc": { "start": { - "line": 105, - "column": 33 + "line": 155, + "column": 48 }, "end": { - "line": 105, - "column": 34 + "line": 155, + "column": 49 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5290, - "end": 5291, + "start": 6912, + "end": 6913, "loc": { "start": { - "line": 105, - "column": 35 + "line": 155, + "column": 49 }, "end": { - "line": 105, - "column": 36 + "line": 155, + "column": 50 } } }, @@ -32345,25 +39476,25 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 5292, - "end": 5297, + "value": "args", + "start": 6914, + "end": 6918, "loc": { "start": { - "line": 105, - "column": 37 + "line": 155, + "column": 51 }, "end": { - "line": 105, - "column": 42 + "line": 155, + "column": 55 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32372,47 +39503,49 @@ "binop": null, "updateContext": null }, - "start": 5297, - "end": 5298, + "start": 6918, + "end": 6919, "loc": { "start": { - "line": 105, - "column": 42 + "line": 155, + "column": 55 }, "end": { - "line": 105, - "column": 43 + "line": 155, + "column": 56 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5319, - "end": 5320, + "value": 2, + "start": 6919, + "end": 6920, "loc": { "start": { - "line": 106, - "column": 20 + "line": 155, + "column": 56 }, "end": { - "line": 106, - "column": 21 + "line": 155, + "column": 57 } } }, { "type": { - "label": "}", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32420,51 +39553,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5337, - "end": 5338, + "start": 6920, + "end": 6921, "loc": { "start": { - "line": 107, - "column": 16 + "line": 155, + "column": 57 }, "end": { - "line": 107, - "column": 17 + "line": 155, + "column": 58 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5338, - "end": 5339, + "start": 6921, + "end": 6922, "loc": { "start": { - "line": 107, - "column": 17 + "line": 155, + "column": 58 }, "end": { - "line": 107, - "column": 18 + "line": 155, + "column": 59 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -32475,25 +39607,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 5356, - "end": 5362, + "start": 6922, + "end": 6923, "loc": { "start": { - "line": 108, - "column": 16 + "line": 155, + "column": 59 }, "end": { - "line": 108, - "column": 22 + "line": 155, + "column": 60 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32501,23 +39632,23 @@ "postfix": false, "binop": null }, - "value": "descriptor", - "start": 5363, - "end": 5373, + "start": 6936, + "end": 6937, "loc": { "start": { - "line": 108, - "column": 23 + "line": 156, + "column": 12 }, "end": { - "line": 108, - "column": 33 + "line": 156, + "column": 13 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -32528,24 +39659,25 @@ "binop": null, "updateContext": null }, - "start": 5373, - "end": 5374, + "value": "return", + "start": 6950, + "end": 6956, "loc": { "start": { - "line": 108, - "column": 33 + "line": 157, + "column": 12 }, "end": { - "line": 108, - "column": 34 + "line": 157, + "column": 18 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32553,16 +39685,17 @@ "postfix": false, "binop": null }, - "start": 5387, - "end": 5388, + "value": "decorator", + "start": 6957, + "end": 6966, "loc": { "start": { - "line": 109, - "column": 12 + "line": 157, + "column": 19 }, "end": { - "line": 109, - "column": 13 + "line": 157, + "column": 28 } } }, @@ -32579,16 +39712,16 @@ "binop": null, "updateContext": null }, - "start": 5388, - "end": 5389, + "start": 6966, + "end": 6967, "loc": { "start": { - "line": 109, - "column": 13 + "line": 157, + "column": 28 }, "end": { - "line": 109, - "column": 14 + "line": 157, + "column": 29 } } }, @@ -32604,15 +39737,15 @@ "postfix": false, "binop": null }, - "start": 5398, - "end": 5399, + "start": 6976, + "end": 6977, "loc": { "start": { - "line": 110, + "line": 158, "column": 8 }, "end": { - "line": 110, + "line": 158, "column": 9 } } @@ -32630,15 +39763,15 @@ "binop": null, "updateContext": null }, - "start": 5399, - "end": 5400, + "start": 6977, + "end": 6978, "loc": { "start": { - "line": 110, + "line": 158, "column": 9 }, "end": { - "line": 110, + "line": 158, "column": 10 } } @@ -32655,19 +39788,35 @@ "postfix": false, "binop": null }, - "start": 5405, - "end": 5406, + "start": 6983, + "end": 6984, "loc": { "start": { - "line": 111, + "line": 159, "column": 4 }, "end": { - "line": 111, + "line": 159, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 183\n * @param\n * {InstanceChainContext} context\n * @param\n * {DecoratorConfig} config\n * @return\n * {boolean}\n ", + "start": 6989, + "end": 7180, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 171, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -32681,15 +39830,15 @@ "binop": null }, "value": "_isApplicable", - "start": 5411, - "end": 5424, + "start": 7185, + "end": 7198, "loc": { "start": { - "line": 112, + "line": 172, "column": 4 }, "end": { - "line": 112, + "line": 172, "column": 17 } } @@ -32706,15 +39855,15 @@ "postfix": false, "binop": null }, - "start": 5424, - "end": 5425, + "start": 7198, + "end": 7199, "loc": { "start": { - "line": 112, + "line": 172, "column": 17 }, "end": { - "line": 112, + "line": 172, "column": 18 } } @@ -32732,15 +39881,15 @@ "binop": null }, "value": "context", - "start": 5425, - "end": 5432, + "start": 7199, + "end": 7206, "loc": { "start": { - "line": 112, + "line": 172, "column": 18 }, "end": { - "line": 112, + "line": 172, "column": 25 } } @@ -32758,15 +39907,15 @@ "binop": null, "updateContext": null }, - "start": 5432, - "end": 5433, + "start": 7206, + "end": 7207, "loc": { "start": { - "line": 112, + "line": 172, "column": 25 }, "end": { - "line": 112, + "line": 172, "column": 26 } } @@ -32784,15 +39933,15 @@ "binop": null }, "value": "config", - "start": 5434, - "end": 5440, + "start": 7208, + "end": 7214, "loc": { "start": { - "line": 112, + "line": 172, "column": 27 }, "end": { - "line": 112, + "line": 172, "column": 33 } } @@ -32809,15 +39958,15 @@ "postfix": false, "binop": null }, - "start": 5440, - "end": 5441, + "start": 7214, + "end": 7215, "loc": { "start": { - "line": 112, + "line": 172, "column": 33 }, "end": { - "line": 112, + "line": 172, "column": 34 } } @@ -32834,15 +39983,15 @@ "postfix": false, "binop": null }, - "start": 5442, - "end": 5443, + "start": 7216, + "end": 7217, "loc": { "start": { - "line": 112, + "line": 172, "column": 35 }, "end": { - "line": 112, + "line": 172, "column": 36 } } @@ -32862,15 +40011,15 @@ "updateContext": null }, "value": "return", - "start": 5452, - "end": 5458, + "start": 7226, + "end": 7232, "loc": { "start": { - "line": 113, + "line": 173, "column": 8 }, "end": { - "line": 113, + "line": 173, "column": 14 } } @@ -32889,15 +40038,15 @@ "updateContext": null }, "value": "!", - "start": 5459, - "end": 5460, + "start": 7233, + "end": 7234, "loc": { "start": { - "line": 113, + "line": 173, "column": 15 }, "end": { - "line": 113, + "line": 173, "column": 16 } } @@ -32915,15 +40064,15 @@ "binop": null }, "value": "Boolean", - "start": 5460, - "end": 5467, + "start": 7234, + "end": 7241, "loc": { "start": { - "line": 113, + "line": 173, "column": 16 }, "end": { - "line": 113, + "line": 173, "column": 23 } } @@ -32940,15 +40089,15 @@ "postfix": false, "binop": null }, - "start": 5467, - "end": 5468, + "start": 7241, + "end": 7242, "loc": { "start": { - "line": 113, + "line": 173, "column": 23 }, "end": { - "line": 113, + "line": 173, "column": 24 } } @@ -32966,15 +40115,15 @@ "binop": null }, "value": "context", - "start": 5468, - "end": 5475, + "start": 7242, + "end": 7249, "loc": { "start": { - "line": 113, + "line": 173, "column": 24 }, "end": { - "line": 113, + "line": 173, "column": 31 } } @@ -32992,15 +40141,15 @@ "binop": null, "updateContext": null }, - "start": 5475, - "end": 5476, + "start": 7249, + "end": 7250, "loc": { "start": { - "line": 113, + "line": 173, "column": 31 }, "end": { - "line": 113, + "line": 173, "column": 32 } } @@ -33018,15 +40167,15 @@ "binop": null }, "value": "getter", - "start": 5476, - "end": 5482, + "start": 7250, + "end": 7256, "loc": { "start": { - "line": 113, + "line": 173, "column": 32 }, "end": { - "line": 113, + "line": 173, "column": 38 } } @@ -33045,15 +40194,15 @@ "updateContext": null }, "value": "&&", - "start": 5483, - "end": 5485, + "start": 7257, + "end": 7259, "loc": { "start": { - "line": 113, + "line": 173, "column": 39 }, "end": { - "line": 113, + "line": 173, "column": 41 } } @@ -33072,15 +40221,15 @@ "updateContext": null }, "value": "!", - "start": 5486, - "end": 5487, + "start": 7260, + "end": 7261, "loc": { "start": { - "line": 113, + "line": 173, "column": 42 }, "end": { - "line": 113, + "line": 173, "column": 43 } } @@ -33098,15 +40247,15 @@ "binop": null }, "value": "config", - "start": 5487, - "end": 5493, + "start": 7261, + "end": 7267, "loc": { "start": { - "line": 113, + "line": 173, "column": 43 }, "end": { - "line": 113, + "line": 173, "column": 49 } } @@ -33124,15 +40273,15 @@ "binop": null, "updateContext": null }, - "start": 5493, - "end": 5494, + "start": 7267, + "end": 7268, "loc": { "start": { - "line": 113, + "line": 173, "column": 49 }, "end": { - "line": 113, + "line": 173, "column": 50 } } @@ -33150,15 +40299,15 @@ "binop": null }, "value": "getter", - "start": 5494, - "end": 5500, + "start": 7268, + "end": 7274, "loc": { "start": { - "line": 113, + "line": 173, "column": 50 }, "end": { - "line": 113, + "line": 173, "column": 56 } } @@ -33177,15 +40326,15 @@ "updateContext": null }, "value": "||", - "start": 5513, - "end": 5515, + "start": 7287, + "end": 7289, "loc": { "start": { - "line": 114, + "line": 174, "column": 12 }, "end": { - "line": 114, + "line": 174, "column": 14 } } @@ -33203,15 +40352,15 @@ "binop": null }, "value": "context", - "start": 5516, - "end": 5523, + "start": 7290, + "end": 7297, "loc": { "start": { - "line": 114, + "line": 174, "column": 15 }, "end": { - "line": 114, + "line": 174, "column": 22 } } @@ -33229,15 +40378,15 @@ "binop": null, "updateContext": null }, - "start": 5523, - "end": 5524, + "start": 7297, + "end": 7298, "loc": { "start": { - "line": 114, + "line": 174, "column": 22 }, "end": { - "line": 114, + "line": 174, "column": 23 } } @@ -33255,15 +40404,15 @@ "binop": null }, "value": "setter", - "start": 5524, - "end": 5530, + "start": 7298, + "end": 7304, "loc": { "start": { - "line": 114, + "line": 174, "column": 23 }, "end": { - "line": 114, + "line": 174, "column": 29 } } @@ -33282,15 +40431,15 @@ "updateContext": null }, "value": "&&", - "start": 5531, - "end": 5533, + "start": 7305, + "end": 7307, "loc": { "start": { - "line": 114, + "line": 174, "column": 30 }, "end": { - "line": 114, + "line": 174, "column": 32 } } @@ -33309,15 +40458,15 @@ "updateContext": null }, "value": "!", - "start": 5534, - "end": 5535, + "start": 7308, + "end": 7309, "loc": { "start": { - "line": 114, + "line": 174, "column": 33 }, "end": { - "line": 114, + "line": 174, "column": 34 } } @@ -33335,15 +40484,15 @@ "binop": null }, "value": "config", - "start": 5535, - "end": 5541, + "start": 7309, + "end": 7315, "loc": { "start": { - "line": 114, + "line": 174, "column": 34 }, "end": { - "line": 114, + "line": 174, "column": 40 } } @@ -33361,15 +40510,15 @@ "binop": null, "updateContext": null }, - "start": 5541, - "end": 5542, + "start": 7315, + "end": 7316, "loc": { "start": { - "line": 114, + "line": 174, "column": 40 }, "end": { - "line": 114, + "line": 174, "column": 41 } } @@ -33387,15 +40536,15 @@ "binop": null }, "value": "setter", - "start": 5542, - "end": 5548, + "start": 7316, + "end": 7322, "loc": { "start": { - "line": 114, + "line": 174, "column": 41 }, "end": { - "line": 114, + "line": 174, "column": 47 } } @@ -33414,15 +40563,15 @@ "updateContext": null }, "value": "||", - "start": 5561, - "end": 5563, + "start": 7335, + "end": 7337, "loc": { "start": { - "line": 115, + "line": 175, "column": 12 }, "end": { - "line": 115, + "line": 175, "column": 14 } } @@ -33440,15 +40589,15 @@ "binop": null }, "value": "context", - "start": 5564, - "end": 5571, + "start": 7338, + "end": 7345, "loc": { "start": { - "line": 115, + "line": 175, "column": 15 }, "end": { - "line": 115, + "line": 175, "column": 22 } } @@ -33466,15 +40615,15 @@ "binop": null, "updateContext": null }, - "start": 5571, - "end": 5572, + "start": 7345, + "end": 7346, "loc": { "start": { - "line": 115, + "line": 175, "column": 22 }, "end": { - "line": 115, + "line": 175, "column": 23 } } @@ -33492,15 +40641,15 @@ "binop": null }, "value": "method", - "start": 5572, - "end": 5578, + "start": 7346, + "end": 7352, "loc": { "start": { - "line": 115, + "line": 175, "column": 23 }, "end": { - "line": 115, + "line": 175, "column": 29 } } @@ -33519,15 +40668,15 @@ "updateContext": null }, "value": "&&", - "start": 5579, - "end": 5581, + "start": 7353, + "end": 7355, "loc": { "start": { - "line": 115, + "line": 175, "column": 30 }, "end": { - "line": 115, + "line": 175, "column": 32 } } @@ -33546,15 +40695,15 @@ "updateContext": null }, "value": "!", - "start": 5582, - "end": 5583, + "start": 7356, + "end": 7357, "loc": { "start": { - "line": 115, + "line": 175, "column": 33 }, "end": { - "line": 115, + "line": 175, "column": 34 } } @@ -33572,15 +40721,15 @@ "binop": null }, "value": "config", - "start": 5583, - "end": 5589, + "start": 7357, + "end": 7363, "loc": { "start": { - "line": 115, + "line": 175, "column": 34 }, "end": { - "line": 115, + "line": 175, "column": 40 } } @@ -33598,15 +40747,15 @@ "binop": null, "updateContext": null }, - "start": 5589, - "end": 5590, + "start": 7363, + "end": 7364, "loc": { "start": { - "line": 115, + "line": 175, "column": 40 }, "end": { - "line": 115, + "line": 175, "column": 41 } } @@ -33624,15 +40773,15 @@ "binop": null }, "value": "method", - "start": 5590, - "end": 5596, + "start": 7364, + "end": 7370, "loc": { "start": { - "line": 115, + "line": 175, "column": 41 }, "end": { - "line": 115, + "line": 175, "column": 47 } } @@ -33651,15 +40800,15 @@ "updateContext": null }, "value": "||", - "start": 5609, - "end": 5611, + "start": 7383, + "end": 7385, "loc": { "start": { - "line": 116, + "line": 176, "column": 12 }, "end": { - "line": 116, + "line": 176, "column": 14 } } @@ -33677,15 +40826,15 @@ "binop": null }, "value": "context", - "start": 5612, - "end": 5619, + "start": 7386, + "end": 7393, "loc": { "start": { - "line": 116, + "line": 176, "column": 15 }, "end": { - "line": 116, + "line": 176, "column": 22 } } @@ -33703,15 +40852,15 @@ "binop": null, "updateContext": null }, - "start": 5619, - "end": 5620, + "start": 7393, + "end": 7394, "loc": { "start": { - "line": 116, + "line": 176, "column": 22 }, "end": { - "line": 116, + "line": 176, "column": 23 } } @@ -33729,15 +40878,15 @@ "binop": null }, "value": "property", - "start": 5620, - "end": 5628, + "start": 7394, + "end": 7402, "loc": { "start": { - "line": 116, + "line": 176, "column": 23 }, "end": { - "line": 116, + "line": 176, "column": 31 } } @@ -33756,15 +40905,15 @@ "updateContext": null }, "value": "&&", - "start": 5629, - "end": 5631, + "start": 7403, + "end": 7405, "loc": { "start": { - "line": 116, + "line": 176, "column": 32 }, "end": { - "line": 116, + "line": 176, "column": 34 } } @@ -33783,15 +40932,15 @@ "updateContext": null }, "value": "!", - "start": 5632, - "end": 5633, + "start": 7406, + "end": 7407, "loc": { "start": { - "line": 116, + "line": 176, "column": 35 }, "end": { - "line": 116, + "line": 176, "column": 36 } } @@ -33809,15 +40958,15 @@ "binop": null }, "value": "config", - "start": 5633, - "end": 5639, + "start": 7407, + "end": 7413, "loc": { "start": { - "line": 116, + "line": 176, "column": 36 }, "end": { - "line": 116, + "line": 176, "column": 42 } } @@ -33835,15 +40984,15 @@ "binop": null, "updateContext": null }, - "start": 5639, - "end": 5640, + "start": 7413, + "end": 7414, "loc": { "start": { - "line": 116, + "line": 176, "column": 42 }, "end": { - "line": 116, + "line": 176, "column": 43 } } @@ -33861,15 +41010,15 @@ "binop": null }, "value": "property", - "start": 5640, - "end": 5648, + "start": 7414, + "end": 7422, "loc": { "start": { - "line": 116, + "line": 176, "column": 43 }, "end": { - "line": 116, + "line": 176, "column": 51 } } @@ -33886,15 +41035,15 @@ "postfix": false, "binop": null }, - "start": 5648, - "end": 5649, + "start": 7422, + "end": 7423, "loc": { "start": { - "line": 116, + "line": 176, "column": 51 }, "end": { - "line": 116, + "line": 176, "column": 52 } } @@ -33912,15 +41061,15 @@ "binop": null, "updateContext": null }, - "start": 5649, - "end": 5650, + "start": 7423, + "end": 7424, "loc": { "start": { - "line": 116, + "line": 176, "column": 52 }, "end": { - "line": 116, + "line": 176, "column": 53 } } @@ -33937,19 +41086,35 @@ "postfix": false, "binop": null }, - "start": 5655, - "end": 5656, + "start": 7429, + "end": 7430, "loc": { "start": { - "line": 117, + "line": 177, "column": 4 }, "end": { - "line": 117, + "line": 177, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 192\n * @param\n * {Object} target\n * @param\n * {string} name\n * @param\n * {PropertyDescriptor} descriptor\n * @return\n * {PropertyDescriptor}\n ", + "start": 7435, + "end": 7664, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 191, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -33963,15 +41128,15 @@ "binop": null }, "value": "_resolveDescriptor", - "start": 5661, - "end": 5679, + "start": 7669, + "end": 7687, "loc": { "start": { - "line": 118, + "line": 192, "column": 4 }, "end": { - "line": 118, + "line": 192, "column": 22 } } @@ -33988,15 +41153,15 @@ "postfix": false, "binop": null }, - "start": 5679, - "end": 5680, + "start": 7687, + "end": 7688, "loc": { "start": { - "line": 118, + "line": 192, "column": 22 }, "end": { - "line": 118, + "line": 192, "column": 23 } } @@ -34014,15 +41179,15 @@ "binop": null }, "value": "target", - "start": 5680, - "end": 5686, + "start": 7688, + "end": 7694, "loc": { "start": { - "line": 118, + "line": 192, "column": 23 }, "end": { - "line": 118, + "line": 192, "column": 29 } } @@ -34040,15 +41205,15 @@ "binop": null, "updateContext": null }, - "start": 5686, - "end": 5687, + "start": 7694, + "end": 7695, "loc": { "start": { - "line": 118, + "line": 192, "column": 29 }, "end": { - "line": 118, + "line": 192, "column": 30 } } @@ -34066,15 +41231,15 @@ "binop": null }, "value": "name", - "start": 5688, - "end": 5692, + "start": 7696, + "end": 7700, "loc": { "start": { - "line": 118, + "line": 192, "column": 31 }, "end": { - "line": 118, + "line": 192, "column": 35 } } @@ -34092,15 +41257,15 @@ "binop": null, "updateContext": null }, - "start": 5692, - "end": 5693, + "start": 7700, + "end": 7701, "loc": { "start": { - "line": 118, + "line": 192, "column": 35 }, "end": { - "line": 118, + "line": 192, "column": 36 } } @@ -34118,15 +41283,15 @@ "binop": null }, "value": "descriptor", - "start": 5694, - "end": 5704, + "start": 7702, + "end": 7712, "loc": { "start": { - "line": 118, + "line": 192, "column": 37 }, "end": { - "line": 118, + "line": 192, "column": 47 } } @@ -34143,15 +41308,15 @@ "postfix": false, "binop": null }, - "start": 5704, - "end": 5705, + "start": 7712, + "end": 7713, "loc": { "start": { - "line": 118, + "line": 192, "column": 47 }, "end": { - "line": 118, + "line": 192, "column": 48 } } @@ -34168,15 +41333,15 @@ "postfix": false, "binop": null }, - "start": 5706, - "end": 5707, + "start": 7714, + "end": 7715, "loc": { "start": { - "line": 118, + "line": 192, "column": 49 }, "end": { - "line": 118, + "line": 192, "column": 50 } } @@ -34196,15 +41361,15 @@ "updateContext": null }, "value": "if", - "start": 5716, - "end": 5718, + "start": 7724, + "end": 7726, "loc": { "start": { - "line": 119, + "line": 193, "column": 8 }, "end": { - "line": 119, + "line": 193, "column": 10 } } @@ -34221,15 +41386,15 @@ "postfix": false, "binop": null }, - "start": 5719, - "end": 5720, + "start": 7727, + "end": 7728, "loc": { "start": { - "line": 119, + "line": 193, "column": 11 }, "end": { - "line": 119, + "line": 193, "column": 12 } } @@ -34247,15 +41412,15 @@ "binop": null }, "value": "descriptor", - "start": 5720, - "end": 5730, + "start": 7728, + "end": 7738, "loc": { "start": { - "line": 119, + "line": 193, "column": 12 }, "end": { - "line": 119, + "line": 193, "column": 22 } } @@ -34272,15 +41437,15 @@ "postfix": false, "binop": null }, - "start": 5730, - "end": 5731, + "start": 7738, + "end": 7739, "loc": { "start": { - "line": 119, + "line": 193, "column": 22 }, "end": { - "line": 119, + "line": 193, "column": 23 } } @@ -34297,15 +41462,15 @@ "postfix": false, "binop": null }, - "start": 5732, - "end": 5733, + "start": 7740, + "end": 7741, "loc": { "start": { - "line": 119, + "line": 193, "column": 24 }, "end": { - "line": 119, + "line": 193, "column": 25 } } @@ -34325,15 +41490,15 @@ "updateContext": null }, "value": "return", - "start": 5746, - "end": 5752, + "start": 7754, + "end": 7760, "loc": { "start": { - "line": 120, + "line": 194, "column": 12 }, "end": { - "line": 120, + "line": 194, "column": 18 } } @@ -34351,15 +41516,15 @@ "binop": null }, "value": "descriptor", - "start": 5753, - "end": 5763, + "start": 7761, + "end": 7771, "loc": { "start": { - "line": 120, + "line": 194, "column": 19 }, "end": { - "line": 120, + "line": 194, "column": 29 } } @@ -34377,15 +41542,15 @@ "binop": null, "updateContext": null }, - "start": 5763, - "end": 5764, + "start": 7771, + "end": 7772, "loc": { "start": { - "line": 120, + "line": 194, "column": 29 }, "end": { - "line": 120, + "line": 194, "column": 30 } } @@ -34402,15 +41567,15 @@ "postfix": false, "binop": null }, - "start": 5773, - "end": 5774, + "start": 7781, + "end": 7782, "loc": { "start": { - "line": 121, + "line": 195, "column": 8 }, "end": { - "line": 121, + "line": 195, "column": 9 } } @@ -34430,15 +41595,15 @@ "updateContext": null }, "value": "return", - "start": 5783, - "end": 5789, + "start": 7791, + "end": 7797, "loc": { "start": { - "line": 122, + "line": 196, "column": 8 }, "end": { - "line": 122, + "line": 196, "column": 14 } } @@ -34456,15 +41621,15 @@ "binop": null }, "value": "Object", - "start": 5790, - "end": 5796, + "start": 7798, + "end": 7804, "loc": { "start": { - "line": 122, + "line": 196, "column": 15 }, "end": { - "line": 122, + "line": 196, "column": 21 } } @@ -34482,15 +41647,15 @@ "binop": null, "updateContext": null }, - "start": 5796, - "end": 5797, + "start": 7804, + "end": 7805, "loc": { "start": { - "line": 122, + "line": 196, "column": 21 }, "end": { - "line": 122, + "line": 196, "column": 22 } } @@ -34508,15 +41673,15 @@ "binop": null }, "value": "getOwnPropertyDescriptor", - "start": 5797, - "end": 5821, + "start": 7805, + "end": 7829, "loc": { "start": { - "line": 122, + "line": 196, "column": 22 }, "end": { - "line": 122, + "line": 196, "column": 46 } } @@ -34533,15 +41698,15 @@ "postfix": false, "binop": null }, - "start": 5821, - "end": 5822, + "start": 7829, + "end": 7830, "loc": { "start": { - "line": 122, + "line": 196, "column": 46 }, "end": { - "line": 122, + "line": 196, "column": 47 } } @@ -34559,15 +41724,15 @@ "binop": null }, "value": "target", - "start": 5822, - "end": 5828, + "start": 7830, + "end": 7836, "loc": { "start": { - "line": 122, + "line": 196, "column": 47 }, "end": { - "line": 122, + "line": 196, "column": 53 } } @@ -34585,15 +41750,15 @@ "binop": null, "updateContext": null }, - "start": 5828, - "end": 5829, + "start": 7836, + "end": 7837, "loc": { "start": { - "line": 122, + "line": 196, "column": 53 }, "end": { - "line": 122, + "line": 196, "column": 54 } } @@ -34611,15 +41776,15 @@ "binop": null }, "value": "name", - "start": 5830, - "end": 5834, + "start": 7838, + "end": 7842, "loc": { "start": { - "line": 122, + "line": 196, "column": 55 }, "end": { - "line": 122, + "line": 196, "column": 59 } } @@ -34636,15 +41801,15 @@ "postfix": false, "binop": null }, - "start": 5834, - "end": 5835, + "start": 7842, + "end": 7843, "loc": { "start": { - "line": 122, + "line": 196, "column": 59 }, "end": { - "line": 122, + "line": 196, "column": 60 } } @@ -34663,15 +41828,15 @@ "updateContext": null }, "value": "||", - "start": 5836, - "end": 5838, + "start": 7844, + "end": 7846, "loc": { "start": { - "line": 122, + "line": 196, "column": 61 }, "end": { - "line": 122, + "line": 196, "column": 63 } } @@ -34688,15 +41853,15 @@ "postfix": false, "binop": null }, - "start": 5839, - "end": 5840, + "start": 7847, + "end": 7848, "loc": { "start": { - "line": 122, + "line": 196, "column": 64 }, "end": { - "line": 122, + "line": 196, "column": 65 } } @@ -34713,15 +41878,15 @@ "postfix": false, "binop": null }, - "start": 5840, - "end": 5841, + "start": 7848, + "end": 7849, "loc": { "start": { - "line": 122, + "line": 196, "column": 65 }, "end": { - "line": 122, + "line": 196, "column": 66 } } @@ -34739,15 +41904,15 @@ "binop": null, "updateContext": null }, - "start": 5841, - "end": 5842, + "start": 7849, + "end": 7850, "loc": { "start": { - "line": 122, + "line": 196, "column": 66 }, "end": { - "line": 122, + "line": 196, "column": 67 } } @@ -34764,15 +41929,15 @@ "postfix": false, "binop": null }, - "start": 5847, - "end": 5848, + "start": 7855, + "end": 7856, "loc": { "start": { - "line": 123, + "line": 197, "column": 4 }, "end": { - "line": 123, + "line": 197, "column": 5 } } @@ -34789,15 +41954,15 @@ "postfix": false, "binop": null }, - "start": 5849, - "end": 5850, + "start": 7857, + "end": 7858, "loc": { "start": { - "line": 124, + "line": 198, "column": 0 }, "end": { - "line": 124, + "line": 198, "column": 1 } } @@ -34817,15 +41982,15 @@ "updateContext": null }, "value": "export", - "start": 5851, - "end": 5857, + "start": 7859, + "end": 7865, "loc": { "start": { - "line": 125, + "line": 199, "column": 0 }, "end": { - "line": 125, + "line": 199, "column": 6 } } @@ -34845,15 +42010,15 @@ "updateContext": null }, "value": "const", - "start": 5858, - "end": 5863, + "start": 7866, + "end": 7871, "loc": { "start": { - "line": 125, + "line": 199, "column": 7 }, "end": { - "line": 125, + "line": 199, "column": 12 } } @@ -34871,15 +42036,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 5864, - "end": 5880, + "start": 7872, + "end": 7888, "loc": { "start": { - "line": 125, + "line": 199, "column": 13 }, "end": { - "line": 125, + "line": 199, "column": 29 } } @@ -34898,15 +42063,15 @@ "updateContext": null }, "value": "=", - "start": 5881, - "end": 5882, + "start": 7889, + "end": 7890, "loc": { "start": { - "line": 125, + "line": 199, "column": 30 }, "end": { - "line": 125, + "line": 199, "column": 31 } } @@ -34926,15 +42091,15 @@ "updateContext": null }, "value": "new", - "start": 5883, - "end": 5886, + "start": 7891, + "end": 7894, "loc": { "start": { - "line": 125, + "line": 199, "column": 32 }, "end": { - "line": 125, + "line": 199, "column": 35 } } @@ -34952,15 +42117,15 @@ "binop": null }, "value": "InternalDecoratorFactory", - "start": 5887, - "end": 5911, + "start": 7895, + "end": 7919, "loc": { "start": { - "line": 125, + "line": 199, "column": 36 }, "end": { - "line": 125, + "line": 199, "column": 60 } } @@ -34977,15 +42142,15 @@ "postfix": false, "binop": null }, - "start": 5911, - "end": 5912, + "start": 7919, + "end": 7920, "loc": { "start": { - "line": 125, + "line": 199, "column": 60 }, "end": { - "line": 125, + "line": 199, "column": 61 } } @@ -35002,15 +42167,15 @@ "postfix": false, "binop": null }, - "start": 5912, - "end": 5913, + "start": 7920, + "end": 7921, "loc": { "start": { - "line": 125, + "line": 199, "column": 61 }, "end": { - "line": 125, + "line": 199, "column": 62 } } @@ -35028,15 +42193,15 @@ "binop": null, "updateContext": null }, - "start": 5913, - "end": 5914, + "start": 7921, + "end": 7922, "loc": { "start": { - "line": 125, + "line": 199, "column": 62 }, "end": { - "line": 125, + "line": 199, "column": 63 } } @@ -35054,15 +42219,15 @@ "binop": null, "updateContext": null }, - "start": 5915, - "end": 5915, + "start": 7923, + "end": 7923, "loc": { "start": { - "line": 126, + "line": 200, "column": 0 }, "end": { - "line": 126, + "line": 200, "column": 0 } } diff --git a/docs/ast/source/factory/common.js.json b/docs/ast/source/factory/common.ts.json similarity index 99% rename from docs/ast/source/factory/common.js.json rename to docs/ast/source/factory/common.ts.json index 51c7fd8..08087dd 100644 --- a/docs/ast/source/factory/common.js.json +++ b/docs/ast/source/factory/common.ts.json @@ -226,7 +226,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, diff --git a/docs/ast/source/flowRight.js.json b/docs/ast/source/flip.ts.json similarity index 61% rename from docs/ast/source/flowRight.js.json rename to docs/ast/source/flip.ts.json index 5c3d2d9..4ae8a80 100644 --- a/docs/ast/source/flowRight.js.json +++ b/docs/ast/source/flip.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 861, + "end": 626, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 28, + "line": 20, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 861, + "end": 626, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 28, + "line": 20, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 35, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 35 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 18, + "end": 24, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 18 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 18, + "end": 24, "loc": { "start": { "line": 1, @@ -68,16 +68,16 @@ }, "end": { "line": 1, - "column": 18 + "column": 24 }, - "identifierName": "flowRight" + "identifierName": "DecoratorConfig" }, - "name": "flowRight" + "name": "DecoratorConfig" }, "local": { "type": "Identifier", "start": 9, - "end": 18, + "end": 24, "loc": { "start": { "line": 1, @@ -85,39 +85,88 @@ }, "end": { "line": 1, - "column": 18 + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 }, - "identifierName": "flowRight" + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" }, - "name": "flowRight" + "name": "DecoratorFactory" } } ], "source": { "type": "StringLiteral", - "start": 26, - "end": 34, + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 26 + "column": 50 }, "end": { "line": 1, - "column": 34 + "column": 61 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" + "rawValue": "./factory", + "raw": "'./factory'" }, - "value": "lodash" + "value": "./factory" } }, { "type": "ImportDeclaration", - "start": 36, - "end": 98, + "start": 63, + "end": 118, "loc": { "start": { "line": 2, @@ -125,14 +174,14 @@ }, "end": { "line": 2, - "column": 62 + "column": 55 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 45, - "end": 60, + "start": 72, + "end": 94, "loc": { "start": { "line": 2, @@ -140,13 +189,13 @@ }, "end": { "line": 2, - "column": 24 + "column": 31 } }, "imported": { "type": "Identifier", - "start": 45, - "end": 60, + "start": 72, + "end": 94, "loc": { "start": { "line": 2, @@ -154,16 +203,16 @@ }, "end": { "line": 2, - "column": 24 + "column": 31 }, - "identifierName": "DecoratorConfig" + "identifierName": "PartialValueApplicator" }, - "name": "DecoratorConfig" + "name": "PartialValueApplicator" }, "local": { "type": "Identifier", - "start": 45, - "end": 60, + "start": 72, + "end": 94, "loc": { "start": { "line": 2, @@ -171,291 +220,703 @@ }, "end": { "line": 2, - "column": 24 + "column": 31 }, - "identifierName": "DecoratorConfig" + "identifierName": "PartialValueApplicator" }, - "name": "DecoratorConfig" + "name": "PartialValueApplicator" } + } + ], + "source": { + "type": "StringLiteral", + "start": 102, + "end": 117, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 54 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 119, + "end": 255, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 136 + } + }, + "declarations": [ { - "type": "ImportSpecifier", - "start": 62, - "end": 78, + "type": "VariableDeclarator", + "start": 125, + "end": 254, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 6 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 135 } }, - "imported": { + "id": { "type": "Identifier", - "start": 62, - "end": 78, + "start": 125, + "end": 134, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 6 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 15 }, - "identifierName": "DecoratorFactory" + "identifierName": "decorator" }, - "name": "DecoratorFactory" + "name": "decorator" }, - "local": { + "init": { + "type": "CallExpression", + "start": 137, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 135 + } + }, + "callee": { + "type": "MemberExpression", + "start": 137, + "end": 177, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 137, + "end": 153, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 154, + "end": 177, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 178, + "end": 253, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 134 + } + }, + "callee": { + "type": "Identifier", + "start": 182, + "end": 197, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 198, + "end": 202, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 83 + }, + "identifierName": "flip" + }, + "name": "flip" + }, + { + "type": "NewExpression", + "start": 204, + "end": 232, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 113 + } + }, + "callee": { + "type": "Identifier", + "start": 208, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 89 + }, + "end": { + "line": 3, + "column": 111 + }, + "identifierName": "PartialValueApplicator" + }, + "name": "PartialValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 234, + "end": 252, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 133 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 236, + "end": 250, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 131 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 236, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 125 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 246, + "end": 250, + "loc": { + "start": { + "line": 3, + "column": 127 + }, + "end": { + "line": 3, + "column": 131 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 520, + "end": 574, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 527, + "end": 574, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 536, + "end": 540, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "Flip" + }, + "name": "Flip", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { "type": "Identifier", - "start": 62, - "end": 78, + "start": 541, + "end": 543, "loc": { "start": { - "line": 2, - "column": 26 + "line": 15, + "column": 21 }, "end": { - "line": 2, - "column": 42 + "line": 15, + "column": 23 }, - "identifierName": "DecoratorFactory" + "identifierName": "fn" + }, + "name": "fn" + } + ], + "body": { + "type": "BlockStatement", + "start": 545, + "end": 574, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 551, + "end": 572, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 25 + } + }, + "argument": { + "type": "CallExpression", + "start": 558, + "end": 571, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 24 + } + }, + "callee": { + "type": "Identifier", + "start": 558, + "end": 567, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 568, + "end": 570, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 23 + }, + "identifierName": "fn" + }, + "name": "fn" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n * @lineNumber\n * 36\n * @param\n * {ResolvableFunction} fn\n * @return\n * {LodashDecorator}\n ", + "start": 256, + "end": 519, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n * @lineNumber\n * 36\n * @param\n * {ResolvableFunction} fn\n * @return\n * {LodashDecorator}\n ", + "start": 256, + "end": 519, + "loc": { + "start": { + "line": 4, + "column": 0 }, - "name": "DecoratorFactory" + "end": { + "line": 14, + "column": 3 + } } } - ], - "source": { - "type": "StringLiteral", - "start": 86, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } + ] }, { - "type": "ImportDeclaration", - "start": 99, - "end": 149, + "type": "ExportNamedDeclaration", + "start": 575, + "end": 599, "loc": { "start": { - "line": 3, + "line": 18, "column": 0 }, "end": { - "line": 3, - "column": 50 + "line": 18, + "column": 24 } }, + "declaration": null, "specifiers": [ { - "type": "ImportSpecifier", - "start": 108, - "end": 125, + "type": "ExportSpecifier", + "start": 584, + "end": 596, "loc": { "start": { - "line": 3, + "line": 18, "column": 9 }, "end": { - "line": 3, - "column": 26 + "line": 18, + "column": 21 } }, - "imported": { + "local": { "type": "Identifier", - "start": 108, - "end": 125, + "start": 584, + "end": 588, "loc": { "start": { - "line": 3, + "line": 18, "column": 9 }, "end": { - "line": 3, - "column": 26 + "line": 18, + "column": 13 }, - "identifierName": "ComposeApplicator" + "identifierName": "Flip" }, - "name": "ComposeApplicator" + "name": "Flip" }, - "local": { + "exported": { "type": "Identifier", - "start": 108, - "end": 125, + "start": 592, + "end": 596, "loc": { "start": { - "line": 3, - "column": 9 + "line": 18, + "column": 17 }, "end": { - "line": 3, - "column": 26 + "line": 18, + "column": 21 }, - "identifierName": "ComposeApplicator" + "identifierName": "flip" }, - "name": "ComposeApplicator" + "name": "flip" } } ], - "source": { - "type": "StringLiteral", - "start": 133, - "end": 148, + "source": null + }, + { + "type": "Identifier", + "start": 600, + "end": 625, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 615, + "end": 624, "loc": { "start": { - "line": 3, - "column": 34 + "line": 19, + "column": 15 }, "end": { - "line": 3, - "column": 49 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" + "line": 19, + "column": 24 + }, + "identifierName": "decorator" }, - "value": "./applicators" + "name": "decorator" }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @FlowRight(toUpperCase, 'getName')\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 150, - "end": 640, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 - } - } - } - ] + "name": "_", + "leadingComments": [], + "trailingComments": [] }, { - "type": "ExportNamedDeclaration", - "start": 641, - "end": 799, + "type": "ExportDefaultDeclaration", + "start": 600, + "end": 625, "loc": { "start": { - "line": 25, + "line": 19, "column": 0 }, "end": { - "line": 25, - "column": 158 + "line": 19, + "column": 25 } }, - "specifiers": [], - "source": null, "declaration": { "type": "VariableDeclaration", - "start": 648, - "end": 799, + "start": 119, + "end": 255, "loc": { "start": { - "line": 25, - "column": 7 + "line": 3, + "column": 0 }, "end": { - "line": 25, - "column": 158 + "line": 3, + "column": 136 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 654, - "end": 798, + "start": 125, + "end": 254, "loc": { "start": { - "line": 25, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 25, - "column": 157 + "line": 3, + "column": 135 } }, "id": { "type": "Identifier", - "start": 654, - "end": 663, + "start": 125, + "end": 134, "loc": { "start": { - "line": 25, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 25, - "column": 22 + "line": 3, + "column": 15 }, - "identifierName": "FlowRight" + "identifierName": "decorator" }, - "name": "FlowRight", - "leadingComments": null + "name": "decorator" }, "init": { "type": "CallExpression", - "start": 666, - "end": 798, + "start": 137, + "end": 254, "loc": { "start": { - "line": 25, - "column": 25 + "line": 3, + "column": 18 }, "end": { - "line": 25, - "column": 157 + "line": 3, + "column": 135 } }, "callee": { "type": "MemberExpression", - "start": 666, - "end": 706, + "start": 137, + "end": 177, "loc": { "start": { - "line": 25, - "column": 25 + "line": 3, + "column": 18 }, "end": { - "line": 25, - "column": 65 + "line": 3, + "column": 58 } }, "object": { "type": "Identifier", - "start": 666, - "end": 682, + "start": 137, + "end": 153, "loc": { "start": { - "line": 25, - "column": 25 + "line": 3, + "column": 18 }, "end": { - "line": 25, - "column": 41 + "line": 3, + "column": 34 }, "identifierName": "DecoratorFactory" }, @@ -463,16 +924,16 @@ }, "property": { "type": "Identifier", - "start": 683, - "end": 706, + "start": 154, + "end": 177, "loc": { "start": { - "line": 25, - "column": 42 + "line": 3, + "column": 35 }, "end": { - "line": 25, - "column": 65 + "line": 3, + "column": 58 }, "identifierName": "createInstanceDecorator" }, @@ -483,30 +944,30 @@ "arguments": [ { "type": "NewExpression", - "start": 707, - "end": 797, + "start": 178, + "end": 253, "loc": { "start": { - "line": 25, - "column": 66 + "line": 3, + "column": 59 }, "end": { - "line": 25, - "column": 156 + "line": 3, + "column": 134 } }, "callee": { "type": "Identifier", - "start": 711, - "end": 726, + "start": 182, + "end": 197, "loc": { "start": { - "line": 25, - "column": 70 + "line": 3, + "column": 63 }, "end": { - "line": 25, - "column": 85 + "line": 3, + "column": 78 }, "identifierName": "DecoratorConfig" }, @@ -515,150 +976,81 @@ "arguments": [ { "type": "Identifier", - "start": 727, - "end": 736, + "start": 198, + "end": 202, "loc": { "start": { - "line": 25, - "column": 86 + "line": 3, + "column": 79 }, "end": { - "line": 25, - "column": 95 + "line": 3, + "column": 83 }, - "identifierName": "flowRight" + "identifierName": "flip" }, - "name": "flowRight" + "name": "flip" }, { "type": "NewExpression", - "start": 738, - "end": 776, + "start": 204, + "end": 232, "loc": { "start": { - "line": 25, - "column": 97 + "line": 3, + "column": 85 }, "end": { - "line": 25, - "column": 135 + "line": 3, + "column": 113 } }, "callee": { "type": "Identifier", - "start": 742, - "end": 759, + "start": 208, + "end": 230, "loc": { "start": { - "line": 25, - "column": 101 + "line": 3, + "column": 89 }, "end": { - "line": 25, - "column": 118 + "line": 3, + "column": 111 }, - "identifierName": "ComposeApplicator" + "identifierName": "PartialValueApplicator" }, - "name": "ComposeApplicator" + "name": "PartialValueApplicator" }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 760, - "end": 775, - "loc": { - "start": { - "line": 25, - "column": 119 - }, - "end": { - "line": 25, - "column": 134 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 762, - "end": 773, - "loc": { - "start": { - "line": 25, - "column": 121 - }, - "end": { - "line": 25, - "column": 132 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 762, - "end": 766, - "loc": { - "start": { - "line": 25, - "column": 121 - }, - "end": { - "line": 25, - "column": 125 - }, - "identifierName": "post" - }, - "name": "post" - }, - "value": { - "type": "BooleanLiteral", - "start": 768, - "end": 773, - "loc": { - "start": { - "line": 25, - "column": 127 - }, - "end": { - "line": 25, - "column": 132 - } - }, - "value": false - } - } - ] - } - ] + "arguments": [] }, { "type": "ObjectExpression", - "start": 778, - "end": 796, + "start": 234, + "end": 252, "loc": { "start": { - "line": 25, - "column": 137 + "line": 3, + "column": 115 }, "end": { - "line": 25, - "column": 155 + "line": 3, + "column": 133 } }, "properties": [ { "type": "ObjectProperty", - "start": 780, - "end": 794, + "start": 236, + "end": 250, "loc": { "start": { - "line": 25, - "column": 139 + "line": 3, + "column": 117 }, "end": { - "line": 25, - "column": 153 + "line": 3, + "column": 131 } }, "method": false, @@ -666,16 +1058,16 @@ "computed": false, "key": { "type": "Identifier", - "start": 780, - "end": 788, + "start": 236, + "end": 244, "loc": { "start": { - "line": 25, - "column": 139 + "line": 3, + "column": 117 }, "end": { - "line": 25, - "column": 147 + "line": 3, + "column": 125 }, "identifierName": "property" }, @@ -683,16 +1075,16 @@ }, "value": { "type": "BooleanLiteral", - "start": 790, - "end": 794, + "start": 246, + "end": 250, "loc": { "start": { - "line": 25, - "column": 149 + "line": 3, + "column": 127 }, "end": { - "line": 25, - "column": 153 + "line": 3, + "column": 131 } }, "value": true @@ -703,150 +1095,29 @@ ] } ] - }, - "leadingComments": null + } } ], "kind": "const", - "leadingComments": [ + "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @FlowRight(toUpperCase, 'getName')\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 150, - "end": 640, + "value": "*\n * @desc\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n * @lineNumber\n * 36\n * @param\n * {ResolvableFunction} fn\n * @return\n * {LodashDecorator}\n ", + "start": 256, + "end": 519, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 24, + "line": 14, "column": 3 } } } ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @FlowRight(toUpperCase, 'getName')\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 150, - "end": 640, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 800, - "end": 834, - "loc": { - "start": { - "line": 26, - "column": 0 - }, - "end": { - "line": 26, - "column": 34 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 809, - "end": 831, - "loc": { - "start": { - "line": 26, - "column": 9 - }, - "end": { - "line": 26, - "column": 31 - } - }, - "local": { - "type": "Identifier", - "start": 809, - "end": 818, - "loc": { - "start": { - "line": 26, - "column": 9 - }, - "end": { - "line": 26, - "column": 18 - }, - "identifierName": "FlowRight" - }, - "name": "FlowRight" - }, - "exported": { - "type": "Identifier", - "start": 822, - "end": 831, - "loc": { - "start": { - "line": 26, - "column": 22 - }, - "end": { - "line": 26, - "column": 31 - }, - "identifierName": "flowRight" - }, - "name": "flowRight" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 835, - "end": 860, - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 27, - "column": 25 - } - }, - "declaration": { - "type": "Identifier", - "start": 850, - "end": 859, - "loc": { - "start": { - "line": 27, - "column": 15 - }, - "end": { - "line": 27, - "column": 24 - }, - "identifierName": "FlowRight" - }, - "name": "FlowRight", - "leadingComments": [], - "trailingComments": [] + "leadingComments": [] } } ], @@ -855,16 +1126,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @FlowRight(toUpperCase, 'getName')\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 150, - "end": 640, + "value": "*\n * @desc\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n * @lineNumber\n * 36\n * @param\n * {ResolvableFunction} fn\n * @return\n * {LodashDecorator}\n ", + "start": 256, + "end": 519, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 24, + "line": 14, "column": 3 } } @@ -876,7 +1147,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -891,36 +1162,88 @@ "loc": { "start": { "line": 1, - "column": 0 + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 }, "end": { "line": 1, - "column": 6 + "column": 24 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7, - "end": 8, + "start": 24, + "end": 25, "loc": { "start": { "line": 1, - "column": 7 + "column": 24 }, "end": { "line": 1, - "column": 8 + "column": 25 } } }, @@ -936,17 +1259,17 @@ "postfix": false, "binop": null }, - "value": "flowRight", - "start": 9, - "end": 18, + "value": "DecoratorFactory", + "start": 26, + "end": 42, "loc": { "start": { "line": 1, - "column": 9 + "column": 26 }, "end": { "line": 1, - "column": 18 + "column": 42 } } }, @@ -962,16 +1285,16 @@ "postfix": false, "binop": null }, - "start": 19, - "end": 20, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 19 + "column": 43 }, "end": { "line": 1, - "column": 20 + "column": 44 } } }, @@ -988,16 +1311,16 @@ "binop": null }, "value": "from", - "start": 21, - "end": 25, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 21 + "column": 45 }, "end": { "line": 1, - "column": 25 + "column": 49 } } }, @@ -1014,17 +1337,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 26, - "end": 34, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 26 + "column": 50 }, "end": { "line": 1, - "column": 34 + "column": 61 } } }, @@ -1041,16 +1364,16 @@ "binop": null, "updateContext": null }, - "start": 34, - "end": 35, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 34 + "column": 61 }, "end": { "line": 1, - "column": 35 + "column": 62 } } }, @@ -1059,7 +1382,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1069,8 +1392,8 @@ "updateContext": null }, "value": "import", - "start": 36, - "end": 42, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -1094,8 +1417,8 @@ "postfix": false, "binop": null }, - "start": 43, - "end": 44, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -1119,9 +1442,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 45, - "end": 60, + "value": "PartialValueApplicator", + "start": 72, + "end": 94, "loc": { "start": { "line": 2, @@ -1129,59 +1452,7 @@ }, "end": { "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 60, - "end": 61, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 62, - "end": 78, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 + "column": 31 } } }, @@ -1197,16 +1468,16 @@ "postfix": false, "binop": null }, - "start": 79, - "end": 80, + "start": 95, + "end": 96, "loc": { "start": { "line": 2, - "column": 43 + "column": 32 }, "end": { "line": 2, - "column": 44 + "column": 33 } } }, @@ -1223,16 +1494,16 @@ "binop": null }, "value": "from", - "start": 81, - "end": 85, + "start": 97, + "end": 101, "loc": { "start": { "line": 2, - "column": 45 + "column": 34 }, "end": { "line": 2, - "column": 49 + "column": 38 } } }, @@ -1249,17 +1520,17 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 86, - "end": 97, + "value": "./applicators", + "start": 102, + "end": 117, "loc": { "start": { "line": 2, - "column": 50 + "column": 39 }, "end": { "line": 2, - "column": 61 + "column": 54 } } }, @@ -1276,23 +1547,23 @@ "binop": null, "updateContext": null }, - "start": 97, - "end": 98, + "start": 117, + "end": 118, "loc": { "start": { "line": 2, - "column": 61 + "column": 54 }, "end": { "line": 2, - "column": 62 + "column": 55 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1303,9 +1574,9 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 99, - "end": 105, + "value": "const", + "start": 119, + "end": 124, "loc": { "start": { "line": 3, @@ -1313,14 +1584,14 @@ }, "end": { "line": 3, - "column": 6 + "column": 5 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1329,50 +1600,52 @@ "postfix": false, "binop": null }, - "start": 106, - "end": 107, + "value": "decorator", + "start": 125, + "end": 134, "loc": { "start": { "line": 3, - "column": 7 + "column": 6 }, "end": { "line": 3, - "column": 8 + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ComposeApplicator", - "start": 108, - "end": 125, + "value": "=", + "start": 135, + "end": 136, "loc": { "start": { "line": 3, - "column": 9 + "column": 16 }, "end": { "line": 3, - "column": 26 + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1380,48 +1653,49 @@ "postfix": false, "binop": null }, - "start": 126, - "end": 127, + "value": "DecoratorFactory", + "start": 137, + "end": 153, "loc": { "start": { "line": 3, - "column": 27 + "column": 18 }, "end": { "line": 3, - "column": 28 + "column": 34 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 128, - "end": 132, + "start": 153, + "end": 154, "loc": { "start": { "line": 3, - "column": 29 + "column": 34 }, "end": { "line": 3, - "column": 33 + "column": 35 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1429,71 +1703,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./applicators", - "start": 133, - "end": 148, + "value": "createInstanceDecorator", + "start": 154, + "end": 177, "loc": { "start": { "line": 3, - "column": 34 + "column": 35 }, "end": { "line": 3, - "column": 49 + "column": 58 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 148, - "end": 149, + "start": 177, + "end": 178, "loc": { "start": { "line": 3, - "column": 49 + "column": 58 }, "end": { "line": 3, - "column": 50 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @FlowRight(toUpperCase, 'getName')\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n ", - "start": 150, - "end": 640, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 + "column": 59 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1502,52 +1758,50 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 641, - "end": 647, + "value": "new", + "start": 178, + "end": 181, "loc": { "start": { - "line": 25, - "column": 0 + "line": 3, + "column": 59 }, "end": { - "line": 25, - "column": 6 + "line": 3, + "column": 62 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 648, - "end": 653, + "value": "DecoratorConfig", + "start": 182, + "end": 197, "loc": { "start": { - "line": 25, - "column": 7 + "line": 3, + "column": 63 }, "end": { - "line": 25, - "column": 12 + "line": 3, + "column": 78 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1556,78 +1810,77 @@ "postfix": false, "binop": null }, - "value": "FlowRight", - "start": 654, - "end": 663, + "start": 197, + "end": 198, "loc": { "start": { - "line": 25, - "column": 13 + "line": 3, + "column": 78 }, "end": { - "line": 25, - "column": 22 + "line": 3, + "column": 79 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 664, - "end": 665, + "value": "flip", + "start": 198, + "end": 202, "loc": { "start": { - "line": 25, - "column": 23 + "line": 3, + "column": 79 }, "end": { - "line": 25, - "column": 24 + "line": 3, + "column": 83 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorFactory", - "start": 666, - "end": 682, + "start": 202, + "end": 203, "loc": { "start": { - "line": 25, - "column": 25 + "line": 3, + "column": 83 }, "end": { - "line": 25, - "column": 41 + "line": 3, + "column": 84 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1636,16 +1889,17 @@ "binop": null, "updateContext": null }, - "start": 682, - "end": 683, + "value": "new", + "start": 204, + "end": 207, "loc": { "start": { - "line": 25, - "column": 41 + "line": 3, + "column": 85 }, "end": { - "line": 25, - "column": 42 + "line": 3, + "column": 88 } } }, @@ -1661,17 +1915,17 @@ "postfix": false, "binop": null }, - "value": "createInstanceDecorator", - "start": 683, - "end": 706, + "value": "PartialValueApplicator", + "start": 208, + "end": 230, "loc": { "start": { - "line": 25, - "column": 42 + "line": 3, + "column": 89 }, "end": { - "line": 25, - "column": 65 + "line": 3, + "column": 111 } } }, @@ -1687,76 +1941,73 @@ "postfix": false, "binop": null }, - "start": 706, - "end": 707, + "start": 230, + "end": 231, "loc": { "start": { - "line": 25, - "column": 65 + "line": 3, + "column": 111 }, "end": { - "line": 25, - "column": 66 + "line": 3, + "column": 112 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 707, - "end": 710, + "start": 231, + "end": 232, "loc": { "start": { - "line": 25, - "column": 66 + "line": 3, + "column": 112 }, "end": { - "line": 25, - "column": 69 + "line": 3, + "column": 113 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 711, - "end": 726, + "start": 232, + "end": 233, "loc": { "start": { - "line": 25, - "column": 70 + "line": 3, + "column": 113 }, "end": { - "line": 25, - "column": 85 + "line": 3, + "column": 114 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1766,16 +2017,16 @@ "postfix": false, "binop": null }, - "start": 726, - "end": 727, + "start": 234, + "end": 235, "loc": { "start": { - "line": 25, - "column": 85 + "line": 3, + "column": 115 }, "end": { - "line": 25, - "column": 86 + "line": 3, + "column": 116 } } }, @@ -1791,23 +2042,23 @@ "postfix": false, "binop": null }, - "value": "flowRight", - "start": 727, - "end": 736, + "value": "property", + "start": 236, + "end": 244, "loc": { "start": { - "line": 25, - "column": 86 + "line": 3, + "column": 117 }, "end": { - "line": 25, - "column": 95 + "line": 3, + "column": 125 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1818,24 +2069,24 @@ "binop": null, "updateContext": null }, - "start": 736, - "end": 737, + "start": 244, + "end": 245, "loc": { "start": { - "line": 25, - "column": 95 + "line": 3, + "column": 125 }, "end": { - "line": 25, - "column": 96 + "line": 3, + "column": 126 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "true", + "keyword": "true", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1845,25 +2096,25 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 738, - "end": 741, + "value": "true", + "start": 246, + "end": 250, "loc": { "start": { - "line": 25, - "column": 97 + "line": 3, + "column": 127 }, "end": { - "line": 25, - "column": 100 + "line": 3, + "column": 131 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1871,25 +2122,24 @@ "postfix": false, "binop": null }, - "value": "ComposeApplicator", - "start": 742, - "end": 759, + "start": 251, + "end": 252, "loc": { "start": { - "line": 25, - "column": 101 + "line": 3, + "column": 132 }, "end": { - "line": 25, - "column": 118 + "line": 3, + "column": 133 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1897,24 +2147,24 @@ "postfix": false, "binop": null }, - "start": 759, - "end": 760, + "start": 252, + "end": 253, "loc": { "start": { - "line": 25, - "column": 118 + "line": 3, + "column": 133 }, "end": { - "line": 25, - "column": 119 + "line": 3, + "column": 134 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1922,49 +2172,66 @@ "postfix": false, "binop": null }, - "start": 760, - "end": 761, + "start": 253, + "end": 254, "loc": { "start": { - "line": 25, - "column": 119 + "line": 3, + "column": 134 }, "end": { - "line": 25, - "column": 120 + "line": 3, + "column": 135 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "post", - "start": 762, - "end": 766, + "start": 254, + "end": 255, "loc": { "start": { - "line": 25, - "column": 121 + "line": 3, + "column": 135 }, "end": { - "line": 25, - "column": 125 + "line": 3, + "column": 136 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n * @lineNumber\n * 36\n * @param\n * {ResolvableFunction} fn\n * @return\n * {LodashDecorator}\n ", + "start": 256, + "end": 519, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1974,23 +2241,24 @@ "binop": null, "updateContext": null }, - "start": 766, - "end": 767, + "value": "export", + "start": 520, + "end": 526, "loc": { "start": { - "line": 25, - "column": 125 + "line": 15, + "column": 0 }, "end": { - "line": 25, - "column": 126 + "line": 15, + "column": 6 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1998,28 +2266,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "false", - "start": 768, - "end": 773, + "value": "function", + "start": 527, + "end": 535, "loc": { "start": { - "line": 25, - "column": 127 + "line": 15, + "column": 7 }, "end": { - "line": 25, - "column": 132 + "line": 15, + "column": 15 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2027,24 +2294,25 @@ "postfix": false, "binop": null }, - "start": 774, - "end": 775, + "value": "Flip", + "start": 536, + "end": 540, "loc": { "start": { - "line": 25, - "column": 133 + "line": 15, + "column": 16 }, "end": { - "line": 25, - "column": 134 + "line": 15, + "column": 20 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2052,50 +2320,50 @@ "postfix": false, "binop": null }, - "start": 775, - "end": 776, + "start": 540, + "end": 541, "loc": { "start": { - "line": 25, - "column": 134 + "line": 15, + "column": 20 }, "end": { - "line": 25, - "column": 135 + "line": 15, + "column": 21 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 776, - "end": 777, + "value": "fn", + "start": 541, + "end": 543, "loc": { "start": { - "line": 25, - "column": 135 + "line": 15, + "column": 21 }, "end": { - "line": 25, - "column": 136 + "line": 15, + "column": 23 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2103,23 +2371,23 @@ "postfix": false, "binop": null }, - "start": 778, - "end": 779, + "start": 543, + "end": 544, "loc": { "start": { - "line": 25, - "column": 137 + "line": 15, + "column": 23 }, "end": { - "line": 25, - "column": 138 + "line": 15, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2128,23 +2396,23 @@ "postfix": false, "binop": null }, - "value": "property", - "start": 780, - "end": 788, + "start": 545, + "end": 546, "loc": { "start": { - "line": 25, - "column": 139 + "line": 15, + "column": 25 }, "end": { - "line": 25, - "column": 147 + "line": 15, + "column": 26 } } }, { "type": { - "label": ":", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2155,23 +2423,23 @@ "binop": null, "updateContext": null }, - "start": 788, - "end": 789, + "value": "return", + "start": 551, + "end": 557, "loc": { "start": { - "line": 25, - "column": 147 + "line": 16, + "column": 4 }, "end": { - "line": 25, - "column": 148 + "line": 16, + "column": 10 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2179,28 +2447,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 790, - "end": 794, + "value": "decorator", + "start": 558, + "end": 567, "loc": { "start": { - "line": 25, - "column": 149 + "line": 16, + "column": 11 }, "end": { - "line": 25, - "column": 153 + "line": 16, + "column": 20 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2208,24 +2475,24 @@ "postfix": false, "binop": null }, - "start": 795, - "end": 796, + "start": 567, + "end": 568, "loc": { "start": { - "line": 25, - "column": 154 + "line": 16, + "column": 20 }, "end": { - "line": 25, - "column": 155 + "line": 16, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2233,16 +2500,17 @@ "postfix": false, "binop": null }, - "start": 796, - "end": 797, + "value": "fn", + "start": 568, + "end": 570, "loc": { "start": { - "line": 25, - "column": 155 + "line": 16, + "column": 21 }, "end": { - "line": 25, - "column": 156 + "line": 16, + "column": 23 } } }, @@ -2258,16 +2526,16 @@ "postfix": false, "binop": null }, - "start": 797, - "end": 798, + "start": 570, + "end": 571, "loc": { "start": { - "line": 25, - "column": 156 + "line": 16, + "column": 23 }, "end": { - "line": 25, - "column": 157 + "line": 16, + "column": 24 } } }, @@ -2284,16 +2552,41 @@ "binop": null, "updateContext": null }, - "start": 798, - "end": 799, + "start": 571, + "end": 572, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 573, + "end": 574, "loc": { "start": { - "line": 25, - "column": 157 + "line": 17, + "column": 0 }, "end": { - "line": 25, - "column": 158 + "line": 17, + "column": 1 } } }, @@ -2312,15 +2605,15 @@ "updateContext": null }, "value": "export", - "start": 800, - "end": 806, + "start": 575, + "end": 581, "loc": { "start": { - "line": 26, + "line": 18, "column": 0 }, "end": { - "line": 26, + "line": 18, "column": 6 } } @@ -2337,15 +2630,15 @@ "postfix": false, "binop": null }, - "start": 807, - "end": 808, + "start": 582, + "end": 583, "loc": { "start": { - "line": 26, + "line": 18, "column": 7 }, "end": { - "line": 26, + "line": 18, "column": 8 } } @@ -2362,17 +2655,17 @@ "postfix": false, "binop": null }, - "value": "FlowRight", - "start": 809, - "end": 818, + "value": "Flip", + "start": 584, + "end": 588, "loc": { "start": { - "line": 26, + "line": 18, "column": 9 }, "end": { - "line": 26, - "column": 18 + "line": 18, + "column": 13 } } }, @@ -2389,16 +2682,16 @@ "binop": null }, "value": "as", - "start": 819, - "end": 821, + "start": 589, + "end": 591, "loc": { "start": { - "line": 26, - "column": 19 + "line": 18, + "column": 14 }, "end": { - "line": 26, - "column": 21 + "line": 18, + "column": 16 } } }, @@ -2414,17 +2707,17 @@ "postfix": false, "binop": null }, - "value": "flowRight", - "start": 822, - "end": 831, + "value": "flip", + "start": 592, + "end": 596, "loc": { "start": { - "line": 26, - "column": 22 + "line": 18, + "column": 17 }, "end": { - "line": 26, - "column": 31 + "line": 18, + "column": 21 } } }, @@ -2440,16 +2733,16 @@ "postfix": false, "binop": null }, - "start": 832, - "end": 833, + "start": 597, + "end": 598, "loc": { "start": { - "line": 26, - "column": 32 + "line": 18, + "column": 22 }, "end": { - "line": 26, - "column": 33 + "line": 18, + "column": 23 } } }, @@ -2466,16 +2759,16 @@ "binop": null, "updateContext": null }, - "start": 833, - "end": 834, + "start": 598, + "end": 599, "loc": { "start": { - "line": 26, - "column": 33 + "line": 18, + "column": 23 }, "end": { - "line": 26, - "column": 34 + "line": 18, + "column": 24 } } }, @@ -2494,15 +2787,15 @@ "updateContext": null }, "value": "export", - "start": 835, - "end": 841, + "start": 600, + "end": 606, "loc": { "start": { - "line": 27, + "line": 19, "column": 0 }, "end": { - "line": 27, + "line": 19, "column": 6 } } @@ -2522,15 +2815,15 @@ "updateContext": null }, "value": "default", - "start": 842, - "end": 849, + "start": 607, + "end": 614, "loc": { "start": { - "line": 27, + "line": 19, "column": 7 }, "end": { - "line": 27, + "line": 19, "column": 14 } } @@ -2547,16 +2840,16 @@ "postfix": false, "binop": null }, - "value": "FlowRight", - "start": 850, - "end": 859, + "value": "decorator", + "start": 615, + "end": 624, "loc": { "start": { - "line": 27, + "line": 19, "column": 15 }, "end": { - "line": 27, + "line": 19, "column": 24 } } @@ -2574,15 +2867,15 @@ "binop": null, "updateContext": null }, - "start": 859, - "end": 860, + "start": 624, + "end": 625, "loc": { "start": { - "line": 27, + "line": 19, "column": 24 }, "end": { - "line": 27, + "line": 19, "column": 25 } } @@ -2600,15 +2893,15 @@ "binop": null, "updateContext": null }, - "start": 861, - "end": 861, + "start": 626, + "end": 626, "loc": { "start": { - "line": 28, + "line": 20, "column": 0 }, "end": { - "line": 28, + "line": 20, "column": 0 } } diff --git a/docs/ast/source/flow.ts.json b/docs/ast/source/flow.ts.json new file mode 100644 index 0000000..9a48b86 --- /dev/null +++ b/docs/ast/source/flow.ts.json @@ -0,0 +1,3260 @@ +{ + "type": "File", + "start": 0, + "end": 680, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 680, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 50 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + }, + "identifierName": "ComposeApplicator" + }, + "name": "ComposeApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + }, + "identifierName": "ComposeApplicator" + }, + "name": "ComposeApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 97, + "end": 112, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 49 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 114, + "end": 259, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 145 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 120, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 144 + } + }, + "id": { + "type": "Identifier", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 132, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 144 + } + }, + "callee": { + "type": "MemberExpression", + "start": 132, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 173, + "end": 257, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 143 + } + }, + "callee": { + "type": "Identifier", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 193, + "end": 197, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 83 + }, + "identifierName": "flow" + }, + "name": "flow" + }, + { + "type": "NewExpression", + "start": 199, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 122 + } + }, + "callee": { + "type": "Identifier", + "start": 203, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 89 + }, + "end": { + "line": 3, + "column": 106 + }, + "identifierName": "ComposeApplicator" + }, + "name": "ComposeApplicator" + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 221, + "end": 235, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 223, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 119 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 223, + "end": 227, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 113 + }, + "identifierName": "post" + }, + "name": "post" + }, + "value": { + "type": "BooleanLiteral", + "start": 229, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 119 + } + }, + "value": true + } + } + ] + } + ] + }, + { + "type": "ObjectExpression", + "start": 238, + "end": 256, + "loc": { + "start": { + "line": 3, + "column": 124 + }, + "end": { + "line": 3, + "column": 142 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 240, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 126 + }, + "end": { + "line": 3, + "column": 140 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 240, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 126 + }, + "end": { + "line": 3, + "column": 134 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 250, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 136 + }, + "end": { + "line": 3, + "column": 140 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 566, + "end": 628, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 573, + "end": 628, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 582, + "end": 586, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "Flow" + }, + "name": "Flow", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 587, + "end": 593, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 27 + } + }, + "argument": { + "type": "Identifier", + "start": 590, + "end": 593, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 27 + }, + "identifierName": "fns" + }, + "name": "fns" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 595, + "end": 628, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 601, + "end": 626, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 29 + } + }, + "argument": { + "type": "CallExpression", + "start": 608, + "end": 625, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 608, + "end": 617, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 618, + "end": 624, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 27 + } + }, + "argument": { + "type": "Identifier", + "start": 621, + "end": 624, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 27 + }, + "identifierName": "fns" + }, + "name": "fns" + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 260, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 260, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 629, + "end": 653, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 24 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 638, + "end": 650, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 21 + } + }, + "local": { + "type": "Identifier", + "start": 638, + "end": 642, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 13 + }, + "identifierName": "Flow" + }, + "name": "Flow" + }, + "exported": { + "type": "Identifier", + "start": 646, + "end": 650, + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 21 + }, + "identifierName": "flow" + }, + "name": "flow" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 654, + "end": 679, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 669, + "end": 678, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 654, + "end": 679, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 114, + "end": 259, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 145 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 120, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 144 + } + }, + "id": { + "type": "Identifier", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 132, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 144 + } + }, + "callee": { + "type": "MemberExpression", + "start": 132, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 173, + "end": 257, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 143 + } + }, + "callee": { + "type": "Identifier", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 193, + "end": 197, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 83 + }, + "identifierName": "flow" + }, + "name": "flow" + }, + { + "type": "NewExpression", + "start": 199, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 122 + } + }, + "callee": { + "type": "Identifier", + "start": 203, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 89 + }, + "end": { + "line": 3, + "column": 106 + }, + "identifierName": "ComposeApplicator" + }, + "name": "ComposeApplicator" + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 221, + "end": 235, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 223, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 119 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 223, + "end": 227, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 113 + }, + "identifierName": "post" + }, + "name": "post" + }, + "value": { + "type": "BooleanLiteral", + "start": 229, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 119 + } + }, + "value": true + } + } + ] + } + ] + }, + { + "type": "ObjectExpression", + "start": 238, + "end": 256, + "loc": { + "start": { + "line": 3, + "column": 124 + }, + "end": { + "line": 3, + "column": 142 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 240, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 126 + }, + "end": { + "line": 3, + "column": 140 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 240, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 126 + }, + "end": { + "line": 3, + "column": 134 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 250, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 136 + }, + "end": { + "line": 3, + "column": 140 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 260, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 260, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ComposeApplicator", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 90, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 92, + "end": 96, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 97, + "end": 112, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 112, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 49 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 114, + "end": 119, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 130, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createInstanceDecorator", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 172, + "end": 173, + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 173, + "end": 176, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 192, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 78 + }, + "end": { + "line": 3, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flow", + "start": 193, + "end": 197, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 83 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 197, + "end": 198, + "loc": { + "start": { + "line": 3, + "column": 83 + }, + "end": { + "line": 3, + "column": 84 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 199, + "end": 202, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 88 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ComposeApplicator", + "start": 203, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 89 + }, + "end": { + "line": 3, + "column": 106 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 220, + "end": 221, + "loc": { + "start": { + "line": 3, + "column": 106 + }, + "end": { + "line": 3, + "column": 107 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 108 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "post", + "start": 223, + "end": 227, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 113 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 227, + "end": 228, + "loc": { + "start": { + "line": 3, + "column": 113 + }, + "end": { + "line": 3, + "column": 114 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 229, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 119 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 234, + "end": 235, + "loc": { + "start": { + "line": 3, + "column": 120 + }, + "end": { + "line": 3, + "column": 121 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 235, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 121 + }, + "end": { + "line": 3, + "column": 122 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 236, + "end": 237, + "loc": { + "start": { + "line": 3, + "column": 122 + }, + "end": { + "line": 3, + "column": 123 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 238, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 124 + }, + "end": { + "line": 3, + "column": 125 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 240, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 126 + }, + "end": { + "line": 3, + "column": 134 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 248, + "end": 249, + "loc": { + "start": { + "line": 3, + "column": 134 + }, + "end": { + "line": 3, + "column": 135 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 250, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 136 + }, + "end": { + "line": 3, + "column": 140 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 255, + "end": 256, + "loc": { + "start": { + "line": 3, + "column": 141 + }, + "end": { + "line": 3, + "column": 142 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 256, + "end": 257, + "loc": { + "start": { + "line": 3, + "column": 142 + }, + "end": { + "line": 3, + "column": 143 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 257, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 143 + }, + "end": { + "line": 3, + "column": 144 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 258, + "end": 259, + "loc": { + "start": { + "line": 3, + "column": 144 + }, + "end": { + "line": 3, + "column": 145 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 260, + "end": 565, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 566, + "end": 572, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 573, + "end": 581, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flow", + "start": 582, + "end": 586, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 586, + "end": 587, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 587, + "end": 590, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fns", + "start": 590, + "end": 593, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 593, + "end": 594, + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 595, + "end": 596, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 601, + "end": 607, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 608, + "end": 617, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 617, + "end": 618, + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 618, + "end": 621, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fns", + "start": 621, + "end": 624, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 624, + "end": 625, + "loc": { + "start": { + "line": 16, + "column": 27 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 625, + "end": 626, + "loc": { + "start": { + "line": 16, + "column": 28 + }, + "end": { + "line": 16, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 627, + "end": 628, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 629, + "end": 635, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 636, + "end": 637, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Flow", + "start": 638, + "end": 642, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 643, + "end": 645, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flow", + "start": 646, + "end": 650, + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 651, + "end": 652, + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 652, + "end": 653, + "loc": { + "start": { + "line": 18, + "column": 23 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 654, + "end": 660, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 661, + "end": 668, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 669, + "end": 678, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 678, + "end": 679, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 680, + "end": 680, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/flowRight.ts.json b/docs/ast/source/flowRight.ts.json new file mode 100644 index 0000000..61b8d67 --- /dev/null +++ b/docs/ast/source/flowRight.ts.json @@ -0,0 +1,3260 @@ +{ + "type": "File", + "start": 0, + "end": 701, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 701, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 50 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + }, + "identifierName": "ComposeApplicator" + }, + "name": "ComposeApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + }, + "identifierName": "ComposeApplicator" + }, + "name": "ComposeApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 97, + "end": 112, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 49 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 114, + "end": 265, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 151 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 120, + "end": 264, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 150 + } + }, + "id": { + "type": "Identifier", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 132, + "end": 264, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 150 + } + }, + "callee": { + "type": "MemberExpression", + "start": 132, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 173, + "end": 263, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 149 + } + }, + "callee": { + "type": "Identifier", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 193, + "end": 202, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 88 + }, + "identifierName": "flowRight" + }, + "name": "flowRight" + }, + { + "type": "NewExpression", + "start": 204, + "end": 242, + "loc": { + "start": { + "line": 3, + "column": 90 + }, + "end": { + "line": 3, + "column": 128 + } + }, + "callee": { + "type": "Identifier", + "start": 208, + "end": 225, + "loc": { + "start": { + "line": 3, + "column": 94 + }, + "end": { + "line": 3, + "column": 111 + }, + "identifierName": "ComposeApplicator" + }, + "name": "ComposeApplicator" + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 226, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 112 + }, + "end": { + "line": 3, + "column": 127 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 228, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 114 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 228, + "end": 232, + "loc": { + "start": { + "line": 3, + "column": 114 + }, + "end": { + "line": 3, + "column": 118 + }, + "identifierName": "post" + }, + "name": "post" + }, + "value": { + "type": "BooleanLiteral", + "start": 234, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 120 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "value": false + } + } + ] + } + ] + }, + { + "type": "ObjectExpression", + "start": 244, + "end": 262, + "loc": { + "start": { + "line": 3, + "column": 130 + }, + "end": { + "line": 3, + "column": 148 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 246, + "end": 260, + "loc": { + "start": { + "line": 3, + "column": 132 + }, + "end": { + "line": 3, + "column": 146 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 246, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 132 + }, + "end": { + "line": 3, + "column": 140 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 256, + "end": 260, + "loc": { + "start": { + "line": 3, + "column": 142 + }, + "end": { + "line": 3, + "column": 146 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 572, + "end": 639, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 579, + "end": 639, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 588, + "end": 597, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 25 + }, + "identifierName": "FlowRight" + }, + "name": "FlowRight", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 598, + "end": 604, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 32 + } + }, + "argument": { + "type": "Identifier", + "start": 601, + "end": 604, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 32 + }, + "identifierName": "fns" + }, + "name": "fns" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 606, + "end": 639, + "loc": { + "start": { + "line": 15, + "column": 34 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 612, + "end": 637, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 29 + } + }, + "argument": { + "type": "CallExpression", + "start": 619, + "end": 636, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 619, + "end": 628, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 629, + "end": 635, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 27 + } + }, + "argument": { + "type": "Identifier", + "start": 632, + "end": 635, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 27 + }, + "identifierName": "fns" + }, + "name": "fns" + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 266, + "end": 571, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 266, + "end": 571, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 640, + "end": 674, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 34 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 649, + "end": 671, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 31 + } + }, + "local": { + "type": "Identifier", + "start": 649, + "end": 658, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 18 + }, + "identifierName": "FlowRight" + }, + "name": "FlowRight" + }, + "exported": { + "type": "Identifier", + "start": 662, + "end": 671, + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 31 + }, + "identifierName": "flowRight" + }, + "name": "flowRight" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 675, + "end": 700, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 690, + "end": 699, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 675, + "end": 700, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 114, + "end": 265, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 151 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 120, + "end": 264, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 150 + } + }, + "id": { + "type": "Identifier", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 132, + "end": 264, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 150 + } + }, + "callee": { + "type": "MemberExpression", + "start": 132, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 173, + "end": 263, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 149 + } + }, + "callee": { + "type": "Identifier", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 193, + "end": 202, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 88 + }, + "identifierName": "flowRight" + }, + "name": "flowRight" + }, + { + "type": "NewExpression", + "start": 204, + "end": 242, + "loc": { + "start": { + "line": 3, + "column": 90 + }, + "end": { + "line": 3, + "column": 128 + } + }, + "callee": { + "type": "Identifier", + "start": 208, + "end": 225, + "loc": { + "start": { + "line": 3, + "column": 94 + }, + "end": { + "line": 3, + "column": 111 + }, + "identifierName": "ComposeApplicator" + }, + "name": "ComposeApplicator" + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 226, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 112 + }, + "end": { + "line": 3, + "column": 127 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 228, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 114 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 228, + "end": 232, + "loc": { + "start": { + "line": 3, + "column": 114 + }, + "end": { + "line": 3, + "column": 118 + }, + "identifierName": "post" + }, + "name": "post" + }, + "value": { + "type": "BooleanLiteral", + "start": 234, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 120 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "value": false + } + } + ] + } + ] + }, + { + "type": "ObjectExpression", + "start": 244, + "end": 262, + "loc": { + "start": { + "line": 3, + "column": 130 + }, + "end": { + "line": 3, + "column": 148 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 246, + "end": 260, + "loc": { + "start": { + "line": 3, + "column": 132 + }, + "end": { + "line": 3, + "column": 146 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 246, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 132 + }, + "end": { + "line": 3, + "column": 140 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 256, + "end": 260, + "loc": { + "start": { + "line": 3, + "column": 142 + }, + "end": { + "line": 3, + "column": 146 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 266, + "end": 571, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 266, + "end": 571, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ComposeApplicator", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 90, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 92, + "end": 96, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 97, + "end": 112, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 112, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 49 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 114, + "end": 119, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 130, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createInstanceDecorator", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 172, + "end": 173, + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 173, + "end": 176, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 192, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 78 + }, + "end": { + "line": 3, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowRight", + "start": 193, + "end": 202, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 88 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 202, + "end": 203, + "loc": { + "start": { + "line": 3, + "column": 88 + }, + "end": { + "line": 3, + "column": 89 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 204, + "end": 207, + "loc": { + "start": { + "line": 3, + "column": 90 + }, + "end": { + "line": 3, + "column": 93 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ComposeApplicator", + "start": 208, + "end": 225, + "loc": { + "start": { + "line": 3, + "column": 94 + }, + "end": { + "line": 3, + "column": 111 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 225, + "end": 226, + "loc": { + "start": { + "line": 3, + "column": 111 + }, + "end": { + "line": 3, + "column": 112 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 226, + "end": 227, + "loc": { + "start": { + "line": 3, + "column": 112 + }, + "end": { + "line": 3, + "column": 113 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "post", + "start": 228, + "end": 232, + "loc": { + "start": { + "line": 3, + "column": 114 + }, + "end": { + "line": 3, + "column": 118 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 232, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 118 + }, + "end": { + "line": 3, + "column": 119 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 234, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 120 + }, + "end": { + "line": 3, + "column": 125 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 240, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 126 + }, + "end": { + "line": 3, + "column": 127 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 241, + "end": 242, + "loc": { + "start": { + "line": 3, + "column": 127 + }, + "end": { + "line": 3, + "column": 128 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 242, + "end": 243, + "loc": { + "start": { + "line": 3, + "column": 128 + }, + "end": { + "line": 3, + "column": 129 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 244, + "end": 245, + "loc": { + "start": { + "line": 3, + "column": 130 + }, + "end": { + "line": 3, + "column": 131 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 246, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 132 + }, + "end": { + "line": 3, + "column": 140 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 254, + "end": 255, + "loc": { + "start": { + "line": 3, + "column": 140 + }, + "end": { + "line": 3, + "column": 141 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 256, + "end": 260, + "loc": { + "start": { + "line": 3, + "column": 142 + }, + "end": { + "line": 3, + "column": 146 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 261, + "end": 262, + "loc": { + "start": { + "line": 3, + "column": 147 + }, + "end": { + "line": 3, + "column": 148 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 262, + "end": 263, + "loc": { + "start": { + "line": 3, + "column": 148 + }, + "end": { + "line": 3, + "column": 149 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 263, + "end": 264, + "loc": { + "start": { + "line": 3, + "column": 149 + }, + "end": { + "line": 3, + "column": 150 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 264, + "end": 265, + "loc": { + "start": { + "line": 3, + "column": 150 + }, + "end": { + "line": 3, + "column": 151 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n * @lineNumber\n * 36\n * @param\n * {undefined} fns\n * @return\n * {LodashDecorator}\n ", + "start": 266, + "end": 571, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 572, + "end": 578, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 579, + "end": 587, + "loc": { + "start": { + "line": 15, + "column": 7 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FlowRight", + "start": 588, + "end": 597, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 597, + "end": 598, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 26 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 598, + "end": 601, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fns", + "start": 601, + "end": 604, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 15, + "column": 32 + }, + "end": { + "line": 15, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 606, + "end": 607, + "loc": { + "start": { + "line": 15, + "column": 34 + }, + "end": { + "line": 15, + "column": 35 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 612, + "end": 618, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 619, + "end": 628, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 628, + "end": 629, + "loc": { + "start": { + "line": 16, + "column": 20 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 629, + "end": 632, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fns", + "start": 632, + "end": 635, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 635, + "end": 636, + "loc": { + "start": { + "line": 16, + "column": 27 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 636, + "end": 637, + "loc": { + "start": { + "line": 16, + "column": 28 + }, + "end": { + "line": 16, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 638, + "end": 639, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 640, + "end": 646, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 647, + "end": 648, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FlowRight", + "start": 649, + "end": 658, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 659, + "end": 661, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "flowRight", + "start": 662, + "end": 671, + "loc": { + "start": { + "line": 18, + "column": 22 + }, + "end": { + "line": 18, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 672, + "end": 673, + "loc": { + "start": { + "line": 18, + "column": 32 + }, + "end": { + "line": 18, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 673, + "end": 674, + "loc": { + "start": { + "line": 18, + "column": 33 + }, + "end": { + "line": 18, + "column": 34 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 675, + "end": 681, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 682, + "end": 689, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 690, + "end": 699, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 699, + "end": 700, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 701, + "end": 701, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/index.js.json b/docs/ast/source/index.ts.json similarity index 100% rename from docs/ast/source/index.js.json rename to docs/ast/source/index.ts.json diff --git a/docs/ast/source/memoize.js.json b/docs/ast/source/memoize.ts.json similarity index 69% rename from docs/ast/source/memoize.js.json rename to docs/ast/source/memoize.ts.json index 115671a..981ad2a 100644 --- a/docs/ast/source/memoize.js.json +++ b/docs/ast/source/memoize.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 323, + "end": 1113, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 30, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 323, + "end": 1113, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 30, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 33, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 33 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 16 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -68,92 +68,6 @@ }, "end": { "line": 1, - "column": 16 - }, - "identifierName": "memoize" - }, - "name": "memoize" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 16 - }, - "identifierName": "memoize" - }, - "name": "memoize" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 24, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 43, - "end": 58, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 60, - "end": 76, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 60, - "end": 76, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 60, - "end": 76, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 84, - "end": 95, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 97, - "end": 147, + "start": 63, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 106, - "end": 123, + "start": 72, + "end": 89, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 26 } }, "imported": { "type": "Identifier", - "start": 106, - "end": 123, + "start": 72, + "end": 89, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 26 }, "identifierName": "MemoizeApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 106, - "end": 123, + "start": 72, + "end": 89, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 26 }, "identifierName": "MemoizeApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 131, - "end": 146, + "start": 97, + "end": 112, "loc": { "start": { - "line": 3, + "line": 2, "column": 34 }, "end": { - "line": 3, + "line": 2, "column": 49 } }, @@ -333,109 +247,128 @@ "raw": "'./applicators'" }, "value": "./applicators" - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a function that memoizes the result of func. If resolver is provided,\n * it determines the cache key for storing the result based on the arguments provided to the memoized function.\n * By default, the first argument provided to the memoized function is used as the map cache key.\n * The func is invoked with the this binding of the memoized function.\n *\n * You can use a Function or a string that references a method on the class as the resolver.\n * You can also use a configuration object that lets provide a prexisting cache or specify\n * the map type to use.\n *\n * @example\n *\n * class MyClass {\n * @Memoize({ type: WeakMap })\n * getName(item) {\n * return item.name;\n * }\n *\n * @Memoize('getName')\n * getLastName(item) {\n * return item.lastName;\n * }\n * }\n ", + "start": 114, + "end": 911, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 148, - "end": 267, + "start": 912, + "end": 1057, "loc": { "start": { - "line": 4, + "line": 27, "column": 0 }, "end": { - "line": 4, - "column": 119 + "line": 27, + "column": 145 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 155, - "end": 267, + "start": 919, + "end": 1057, "loc": { "start": { - "line": 4, + "line": 27, "column": 7 }, "end": { - "line": 4, - "column": 119 + "line": 27, + "column": 145 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 161, - "end": 266, + "start": 925, + "end": 1056, "loc": { "start": { - "line": 4, + "line": 27, "column": 13 }, "end": { - "line": 4, - "column": 118 + "line": 27, + "column": 144 } }, "id": { "type": "Identifier", - "start": 161, - "end": 168, + "start": 925, + "end": 932, "loc": { "start": { - "line": 4, + "line": 27, "column": 13 }, "end": { - "line": 4, + "line": 27, "column": 20 }, "identifierName": "Memoize" }, - "name": "Memoize" + "name": "Memoize", + "leadingComments": null }, "init": { "type": "CallExpression", - "start": 171, - "end": 266, + "start": 935, + "end": 1056, "loc": { "start": { - "line": 4, + "line": 27, "column": 23 }, "end": { - "line": 4, - "column": 118 + "line": 27, + "column": 144 } }, "callee": { "type": "MemberExpression", - "start": 171, - "end": 211, + "start": 935, + "end": 975, "loc": { "start": { - "line": 4, + "line": 27, "column": 23 }, "end": { - "line": 4, + "line": 27, "column": 63 } }, "object": { "type": "Identifier", - "start": 171, - "end": 187, + "start": 935, + "end": 951, "loc": { "start": { - "line": 4, + "line": 27, "column": 23 }, "end": { - "line": 4, + "line": 27, "column": 39 }, "identifierName": "DecoratorFactory" @@ -444,15 +377,15 @@ }, "property": { "type": "Identifier", - "start": 188, - "end": 211, + "start": 952, + "end": 975, "loc": { "start": { - "line": 4, + "line": 27, "column": 40 }, "end": { - "line": 4, + "line": 27, "column": 63 }, "identifierName": "createInstanceDecorator" @@ -464,29 +397,29 @@ "arguments": [ { "type": "NewExpression", - "start": 212, - "end": 265, + "start": 976, + "end": 1055, "loc": { "start": { - "line": 4, + "line": 27, "column": 64 }, "end": { - "line": 4, - "column": 117 + "line": 27, + "column": 143 } }, "callee": { "type": "Identifier", - "start": 216, - "end": 231, + "start": 980, + "end": 995, "loc": { "start": { - "line": 4, + "line": 27, "column": 68 }, "end": { - "line": 4, + "line": 27, "column": 83 }, "identifierName": "DecoratorConfig" @@ -496,15 +429,15 @@ "arguments": [ { "type": "Identifier", - "start": 232, - "end": 239, + "start": 996, + "end": 1003, "loc": { "start": { - "line": 4, + "line": 27, "column": 84 }, "end": { - "line": 4, + "line": 27, "column": 91 }, "identifierName": "memoize" @@ -513,29 +446,29 @@ }, { "type": "NewExpression", - "start": 241, - "end": 264, + "start": 1005, + "end": 1028, "loc": { "start": { - "line": 4, + "line": 27, "column": 93 }, "end": { - "line": 4, + "line": 27, "column": 116 } }, "callee": { "type": "Identifier", - "start": 245, - "end": 262, + "start": 1009, + "end": 1026, "loc": { "start": { - "line": 4, + "line": 27, "column": 97 }, "end": { - "line": 4, + "line": 27, "column": 114 }, "identifierName": "MemoizeApplicator" @@ -543,29 +476,133 @@ "name": "MemoizeApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 1030, + "end": 1054, + "loc": { + "start": { + "line": 27, + "column": 118 + }, + "end": { + "line": 27, + "column": 142 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1032, + "end": 1052, + "loc": { + "start": { + "line": 27, + "column": 120 + }, + "end": { + "line": 27, + "column": 140 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1032, + "end": 1046, + "loc": { + "start": { + "line": 27, + "column": 120 + }, + "end": { + "line": 27, + "column": 134 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 1048, + "end": 1052, + "loc": { + "start": { + "line": 27, + "column": 136 + }, + "end": { + "line": 27, + "column": 140 + } + }, + "value": true + } + } + ] } ] } ] - } + }, + "leadingComments": null } ], "kind": "const", - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a function that memoizes the result of func. If resolver is provided,\n * it determines the cache key for storing the result based on the arguments provided to the memoized function.\n * By default, the first argument provided to the memoized function is used as the map cache key.\n * The func is invoked with the this binding of the memoized function.\n *\n * You can use a Function or a string that references a method on the class as the resolver.\n * You can also use a configuration object that lets provide a prexisting cache or specify\n * the map type to use.\n *\n * @example\n *\n * class MyClass {\n * @Memoize({ type: WeakMap })\n * getName(item) {\n * return item.name;\n * }\n *\n * @Memoize('getName')\n * getLastName(item) {\n * return item.lastName;\n * }\n * }\n ", + "start": 114, + "end": 911, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a function that memoizes the result of func. If resolver is provided,\n * it determines the cache key for storing the result based on the arguments provided to the memoized function.\n * By default, the first argument provided to the memoized function is used as the map cache key.\n * The func is invoked with the this binding of the memoized function.\n *\n * You can use a Function or a string that references a method on the class as the resolver.\n * You can also use a configuration object that lets provide a prexisting cache or specify\n * the map type to use.\n *\n * @example\n *\n * class MyClass {\n * @Memoize({ type: WeakMap })\n * getName(item) {\n * return item.name;\n * }\n *\n * @Memoize('getName')\n * getLastName(item) {\n * return item.lastName;\n * }\n * }\n ", + "start": 114, + "end": 911, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 268, - "end": 298, + "start": 1058, + "end": 1088, "loc": { "start": { - "line": 5, + "line": 28, "column": 0 }, "end": { - "line": 5, + "line": 28, "column": 30 } }, @@ -573,29 +610,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 277, - "end": 295, + "start": 1067, + "end": 1085, "loc": { "start": { - "line": 5, + "line": 28, "column": 9 }, "end": { - "line": 5, + "line": 28, "column": 27 } }, "local": { "type": "Identifier", - "start": 277, - "end": 284, + "start": 1067, + "end": 1074, "loc": { "start": { - "line": 5, + "line": 28, "column": 9 }, "end": { - "line": 5, + "line": 28, "column": 16 }, "identifierName": "Memoize" @@ -604,15 +641,15 @@ }, "exported": { "type": "Identifier", - "start": 288, - "end": 295, + "start": 1078, + "end": 1085, "loc": { "start": { - "line": 5, + "line": 28, "column": 20 }, "end": { - "line": 5, + "line": 28, "column": 27 }, "identifierName": "memoize" @@ -625,232 +662,66 @@ }, { "type": "ExportDefaultDeclaration", - "start": 299, - "end": 322, + "start": 1089, + "end": 1112, "loc": { "start": { - "line": 6, + "line": 29, "column": 0 }, "end": { - "line": 6, + "line": 29, "column": 23 } - }, - "declaration": { - "type": "Identifier", - "start": 314, - "end": 321, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 22 - }, - "identifierName": "Memoize" - }, - "name": "Memoize", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "memoize", - "start": 9, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 19, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 24, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 32 + }, + "declaration": { + "type": "Identifier", + "start": 1104, + "end": 1111, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 22 + }, + "identifierName": "Memoize" + }, + "name": "Memoize", + "leadingComments": [], + "trailingComments": [] } } - }, + ], + "directives": [] + }, + "comments": [ { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, + "type": "CommentBlock", + "value": "*\n * Creates a function that memoizes the result of func. If resolver is provided,\n * it determines the cache key for storing the result based on the arguments provided to the memoized function.\n * By default, the first argument provided to the memoized function is used as the map cache key.\n * The func is invoked with the this binding of the memoized function.\n *\n * You can use a Function or a string that references a method on the class as the resolver.\n * You can also use a configuration object that lets provide a prexisting cache or specify\n * the map type to use.\n *\n * @example\n *\n * class MyClass {\n * @Memoize({ type: WeakMap })\n * getName(item) {\n * return item.name;\n * }\n *\n * @Memoize('getName')\n * getLastName(item) {\n * return item.lastName;\n * }\n * }\n ", + "start": 114, + "end": 911, "loc": { "start": { - "line": 1, - "column": 32 + "line": 3, + "column": 0 }, "end": { - "line": 1, - "column": 33 + "line": 26, + "column": 3 } } - }, + } + ], + "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -860,15 +731,15 @@ "updateContext": null }, "value": "import", - "start": 34, - "end": 40, + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, + "line": 1, "column": 6 } } @@ -885,15 +756,15 @@ "postfix": false, "binop": null }, - "start": 41, - "end": 42, + "start": 7, + "end": 8, "loc": { "start": { - "line": 2, + "line": 1, "column": 7 }, "end": { - "line": 2, + "line": 1, "column": 8 } } @@ -911,15 +782,15 @@ "binop": null }, "value": "DecoratorConfig", - "start": 43, - "end": 58, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 } } @@ -937,15 +808,15 @@ "binop": null, "updateContext": null }, - "start": 58, - "end": 59, + "start": 24, + "end": 25, "loc": { "start": { - "line": 2, + "line": 1, "column": 24 }, "end": { - "line": 2, + "line": 1, "column": 25 } } @@ -963,15 +834,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 60, - "end": 76, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } } @@ -988,15 +859,15 @@ "postfix": false, "binop": null }, - "start": 77, - "end": 78, + "start": 43, + "end": 44, "loc": { "start": { - "line": 2, + "line": 1, "column": 43 }, "end": { - "line": 2, + "line": 1, "column": 44 } } @@ -1014,15 +885,15 @@ "binop": null }, "value": "from", - "start": 79, - "end": 83, + "start": 45, + "end": 49, "loc": { "start": { - "line": 2, + "line": 1, "column": 45 }, "end": { - "line": 2, + "line": 1, "column": 49 } } @@ -1041,15 +912,15 @@ "updateContext": null }, "value": "./factory", - "start": 84, - "end": 95, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } } @@ -1067,15 +938,15 @@ "binop": null, "updateContext": null }, - "start": 95, - "end": 96, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, + "line": 1, "column": 61 }, "end": { - "line": 2, + "line": 1, "column": 62 } } @@ -1085,7 +956,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1095,15 +966,15 @@ "updateContext": null }, "value": "import", - "start": 97, - "end": 103, + "start": 63, + "end": 69, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } @@ -1120,15 +991,15 @@ "postfix": false, "binop": null }, - "start": 104, - "end": 105, + "start": 70, + "end": 71, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, + "line": 2, "column": 8 } } @@ -1146,15 +1017,15 @@ "binop": null }, "value": "MemoizeApplicator", - "start": 106, - "end": 123, + "start": 72, + "end": 89, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 26 } } @@ -1171,15 +1042,15 @@ "postfix": false, "binop": null }, - "start": 124, - "end": 125, + "start": 90, + "end": 91, "loc": { "start": { - "line": 3, + "line": 2, "column": 27 }, "end": { - "line": 3, + "line": 2, "column": 28 } } @@ -1197,15 +1068,15 @@ "binop": null }, "value": "from", - "start": 126, - "end": 130, + "start": 92, + "end": 96, "loc": { "start": { - "line": 3, + "line": 2, "column": 29 }, "end": { - "line": 3, + "line": 2, "column": 33 } } @@ -1224,15 +1095,15 @@ "updateContext": null }, "value": "./applicators", - "start": 131, - "end": 146, + "start": 97, + "end": 112, "loc": { "start": { - "line": 3, + "line": 2, "column": 34 }, "end": { - "line": 3, + "line": 2, "column": 49 } } @@ -1250,19 +1121,35 @@ "binop": null, "updateContext": null }, - "start": 146, - "end": 147, + "start": 112, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 49 }, "end": { - "line": 3, + "line": 2, "column": 50 } } }, + { + "type": "CommentBlock", + "value": "*\n * Creates a function that memoizes the result of func. If resolver is provided,\n * it determines the cache key for storing the result based on the arguments provided to the memoized function.\n * By default, the first argument provided to the memoized function is used as the map cache key.\n * The func is invoked with the this binding of the memoized function.\n *\n * You can use a Function or a string that references a method on the class as the resolver.\n * You can also use a configuration object that lets provide a prexisting cache or specify\n * the map type to use.\n *\n * @example\n *\n * class MyClass {\n * @Memoize({ type: WeakMap })\n * getName(item) {\n * return item.name;\n * }\n *\n * @Memoize('getName')\n * getLastName(item) {\n * return item.lastName;\n * }\n * }\n ", + "start": 114, + "end": 911, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -1278,15 +1165,15 @@ "updateContext": null }, "value": "export", - "start": 148, - "end": 154, + "start": 912, + "end": 918, "loc": { "start": { - "line": 4, + "line": 27, "column": 0 }, "end": { - "line": 4, + "line": 27, "column": 6 } } @@ -1306,15 +1193,15 @@ "updateContext": null }, "value": "const", - "start": 155, - "end": 160, + "start": 919, + "end": 924, "loc": { "start": { - "line": 4, + "line": 27, "column": 7 }, "end": { - "line": 4, + "line": 27, "column": 12 } } @@ -1332,15 +1219,15 @@ "binop": null }, "value": "Memoize", - "start": 161, - "end": 168, + "start": 925, + "end": 932, "loc": { "start": { - "line": 4, + "line": 27, "column": 13 }, "end": { - "line": 4, + "line": 27, "column": 20 } } @@ -1359,15 +1246,15 @@ "updateContext": null }, "value": "=", - "start": 169, - "end": 170, + "start": 933, + "end": 934, "loc": { "start": { - "line": 4, + "line": 27, "column": 21 }, "end": { - "line": 4, + "line": 27, "column": 22 } } @@ -1385,15 +1272,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 171, - "end": 187, + "start": 935, + "end": 951, "loc": { "start": { - "line": 4, + "line": 27, "column": 23 }, "end": { - "line": 4, + "line": 27, "column": 39 } } @@ -1411,15 +1298,15 @@ "binop": null, "updateContext": null }, - "start": 187, - "end": 188, + "start": 951, + "end": 952, "loc": { "start": { - "line": 4, + "line": 27, "column": 39 }, "end": { - "line": 4, + "line": 27, "column": 40 } } @@ -1437,15 +1324,15 @@ "binop": null }, "value": "createInstanceDecorator", - "start": 188, - "end": 211, + "start": 952, + "end": 975, "loc": { "start": { - "line": 4, + "line": 27, "column": 40 }, "end": { - "line": 4, + "line": 27, "column": 63 } } @@ -1462,15 +1349,15 @@ "postfix": false, "binop": null }, - "start": 211, - "end": 212, + "start": 975, + "end": 976, "loc": { "start": { - "line": 4, + "line": 27, "column": 63 }, "end": { - "line": 4, + "line": 27, "column": 64 } } @@ -1490,15 +1377,15 @@ "updateContext": null }, "value": "new", - "start": 212, - "end": 215, + "start": 976, + "end": 979, "loc": { "start": { - "line": 4, + "line": 27, "column": 64 }, "end": { - "line": 4, + "line": 27, "column": 67 } } @@ -1516,15 +1403,15 @@ "binop": null }, "value": "DecoratorConfig", - "start": 216, - "end": 231, + "start": 980, + "end": 995, "loc": { "start": { - "line": 4, + "line": 27, "column": 68 }, "end": { - "line": 4, + "line": 27, "column": 83 } } @@ -1541,15 +1428,15 @@ "postfix": false, "binop": null }, - "start": 231, - "end": 232, + "start": 995, + "end": 996, "loc": { "start": { - "line": 4, + "line": 27, "column": 83 }, "end": { - "line": 4, + "line": 27, "column": 84 } } @@ -1567,15 +1454,15 @@ "binop": null }, "value": "memoize", - "start": 232, - "end": 239, + "start": 996, + "end": 1003, "loc": { "start": { - "line": 4, + "line": 27, "column": 84 }, "end": { - "line": 4, + "line": 27, "column": 91 } } @@ -1593,15 +1480,15 @@ "binop": null, "updateContext": null }, - "start": 239, - "end": 240, + "start": 1003, + "end": 1004, "loc": { "start": { - "line": 4, + "line": 27, "column": 91 }, "end": { - "line": 4, + "line": 27, "column": 92 } } @@ -1621,15 +1508,15 @@ "updateContext": null }, "value": "new", - "start": 241, - "end": 244, + "start": 1005, + "end": 1008, "loc": { "start": { - "line": 4, + "line": 27, "column": 93 }, "end": { - "line": 4, + "line": 27, "column": 96 } } @@ -1647,15 +1534,15 @@ "binop": null }, "value": "MemoizeApplicator", - "start": 245, - "end": 262, + "start": 1009, + "end": 1026, "loc": { "start": { - "line": 4, + "line": 27, "column": 97 }, "end": { - "line": 4, + "line": 27, "column": 114 } } @@ -1672,15 +1559,15 @@ "postfix": false, "binop": null }, - "start": 262, - "end": 263, + "start": 1026, + "end": 1027, "loc": { "start": { - "line": 4, + "line": 27, "column": 114 }, "end": { - "line": 4, + "line": 27, "column": 115 } } @@ -1697,16 +1584,172 @@ "postfix": false, "binop": null }, - "start": 263, - "end": 264, + "start": 1027, + "end": 1028, "loc": { "start": { - "line": 4, + "line": 27, "column": 115 }, "end": { - "line": 4, + "line": 27, + "column": 116 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1028, + "end": 1029, + "loc": { + "start": { + "line": 27, "column": 116 + }, + "end": { + "line": 27, + "column": 117 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1030, + "end": 1031, + "loc": { + "start": { + "line": 27, + "column": 118 + }, + "end": { + "line": 27, + "column": 119 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 1032, + "end": 1046, + "loc": { + "start": { + "line": 27, + "column": 120 + }, + "end": { + "line": 27, + "column": 134 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1046, + "end": 1047, + "loc": { + "start": { + "line": 27, + "column": 134 + }, + "end": { + "line": 27, + "column": 135 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1048, + "end": 1052, + "loc": { + "start": { + "line": 27, + "column": 136 + }, + "end": { + "line": 27, + "column": 140 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1053, + "end": 1054, + "loc": { + "start": { + "line": 27, + "column": 141 + }, + "end": { + "line": 27, + "column": 142 } } }, @@ -1722,16 +1765,16 @@ "postfix": false, "binop": null }, - "start": 264, - "end": 265, + "start": 1054, + "end": 1055, "loc": { "start": { - "line": 4, - "column": 116 + "line": 27, + "column": 142 }, "end": { - "line": 4, - "column": 117 + "line": 27, + "column": 143 } } }, @@ -1747,16 +1790,16 @@ "postfix": false, "binop": null }, - "start": 265, - "end": 266, + "start": 1055, + "end": 1056, "loc": { "start": { - "line": 4, - "column": 117 + "line": 27, + "column": 143 }, "end": { - "line": 4, - "column": 118 + "line": 27, + "column": 144 } } }, @@ -1773,16 +1816,16 @@ "binop": null, "updateContext": null }, - "start": 266, - "end": 267, + "start": 1056, + "end": 1057, "loc": { "start": { - "line": 4, - "column": 118 + "line": 27, + "column": 144 }, "end": { - "line": 4, - "column": 119 + "line": 27, + "column": 145 } } }, @@ -1801,15 +1844,15 @@ "updateContext": null }, "value": "export", - "start": 268, - "end": 274, + "start": 1058, + "end": 1064, "loc": { "start": { - "line": 5, + "line": 28, "column": 0 }, "end": { - "line": 5, + "line": 28, "column": 6 } } @@ -1826,15 +1869,15 @@ "postfix": false, "binop": null }, - "start": 275, - "end": 276, + "start": 1065, + "end": 1066, "loc": { "start": { - "line": 5, + "line": 28, "column": 7 }, "end": { - "line": 5, + "line": 28, "column": 8 } } @@ -1852,15 +1895,15 @@ "binop": null }, "value": "Memoize", - "start": 277, - "end": 284, + "start": 1067, + "end": 1074, "loc": { "start": { - "line": 5, + "line": 28, "column": 9 }, "end": { - "line": 5, + "line": 28, "column": 16 } } @@ -1878,15 +1921,15 @@ "binop": null }, "value": "as", - "start": 285, - "end": 287, + "start": 1075, + "end": 1077, "loc": { "start": { - "line": 5, + "line": 28, "column": 17 }, "end": { - "line": 5, + "line": 28, "column": 19 } } @@ -1904,15 +1947,15 @@ "binop": null }, "value": "memoize", - "start": 288, - "end": 295, + "start": 1078, + "end": 1085, "loc": { "start": { - "line": 5, + "line": 28, "column": 20 }, "end": { - "line": 5, + "line": 28, "column": 27 } } @@ -1929,15 +1972,15 @@ "postfix": false, "binop": null }, - "start": 296, - "end": 297, + "start": 1086, + "end": 1087, "loc": { "start": { - "line": 5, + "line": 28, "column": 28 }, "end": { - "line": 5, + "line": 28, "column": 29 } } @@ -1955,15 +1998,15 @@ "binop": null, "updateContext": null }, - "start": 297, - "end": 298, + "start": 1087, + "end": 1088, "loc": { "start": { - "line": 5, + "line": 28, "column": 29 }, "end": { - "line": 5, + "line": 28, "column": 30 } } @@ -1983,15 +2026,15 @@ "updateContext": null }, "value": "export", - "start": 299, - "end": 305, + "start": 1089, + "end": 1095, "loc": { "start": { - "line": 6, + "line": 29, "column": 0 }, "end": { - "line": 6, + "line": 29, "column": 6 } } @@ -2011,15 +2054,15 @@ "updateContext": null }, "value": "default", - "start": 306, - "end": 313, + "start": 1096, + "end": 1103, "loc": { "start": { - "line": 6, + "line": 29, "column": 7 }, "end": { - "line": 6, + "line": 29, "column": 14 } } @@ -2037,15 +2080,15 @@ "binop": null }, "value": "Memoize", - "start": 314, - "end": 321, + "start": 1104, + "end": 1111, "loc": { "start": { - "line": 6, + "line": 29, "column": 15 }, "end": { - "line": 6, + "line": 29, "column": 22 } } @@ -2063,15 +2106,15 @@ "binop": null, "updateContext": null }, - "start": 321, - "end": 322, + "start": 1111, + "end": 1112, "loc": { "start": { - "line": 6, + "line": 29, "column": 22 }, "end": { - "line": 6, + "line": 29, "column": 23 } } @@ -2089,15 +2132,15 @@ "binop": null, "updateContext": null }, - "start": 323, - "end": 323, + "start": 1113, + "end": 1113, "loc": { "start": { - "line": 7, + "line": 30, "column": 0 }, "end": { - "line": 7, + "line": 30, "column": 0 } } diff --git a/docs/ast/source/memoizeAll.js.json b/docs/ast/source/memoizeAll.ts.json similarity index 83% rename from docs/ast/source/memoizeAll.js.json rename to docs/ast/source/memoizeAll.ts.json index ca781f3..837a08c 100644 --- a/docs/ast/source/memoizeAll.js.json +++ b/docs/ast/source/memoizeAll.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 505, + "end": 500, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 505, + "end": 500, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 33, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 33 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 16 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 16 - }, - "identifierName": "memoize" - }, - "name": "memoize" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 16 - }, - "identifierName": "memoize" - }, - "name": "memoize" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 24, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 43, - "end": 58, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 60, - "end": 76, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 60, - "end": 76, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 60, - "end": 76, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 84, - "end": 95, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 97, - "end": 147, + "start": 63, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 106, - "end": 123, + "start": 72, + "end": 89, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 26 } }, "imported": { "type": "Identifier", - "start": 106, - "end": 123, + "start": 72, + "end": 89, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 26 }, "identifierName": "MemoizeApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 106, - "end": 123, + "start": 72, + "end": 89, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 26 }, "identifierName": "MemoizeApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 131, - "end": 146, + "start": 97, + "end": 112, "loc": { "start": { - "line": 3, + "line": 2, "column": 34 }, "end": { - "line": 3, + "line": 2, "column": 49 } }, @@ -337,12 +251,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n * @param {Function} [resolver] Optional resolver\n ", - "start": 148, - "end": 325, + "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n *\n * @param {Function} [resolver] Optional resolver\n ", + "start": 114, + "end": 294, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -355,8 +269,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 326, - "end": 440, + "start": 295, + "end": 435, "loc": { "start": { "line": 8, @@ -364,15 +278,15 @@ }, "end": { "line": 8, - "column": 114 + "column": 140 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 333, - "end": 440, + "start": 302, + "end": 435, "loc": { "start": { "line": 8, @@ -380,14 +294,14 @@ }, "end": { "line": 8, - "column": 114 + "column": 140 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 339, - "end": 439, + "start": 308, + "end": 434, "loc": { "start": { "line": 8, @@ -395,13 +309,13 @@ }, "end": { "line": 8, - "column": 113 + "column": 139 } }, "id": { "type": "Identifier", - "start": 339, - "end": 349, + "start": 308, + "end": 318, "loc": { "start": { "line": 8, @@ -418,8 +332,8 @@ }, "init": { "type": "CallExpression", - "start": 352, - "end": 439, + "start": 321, + "end": 434, "loc": { "start": { "line": 8, @@ -427,13 +341,13 @@ }, "end": { "line": 8, - "column": 113 + "column": 139 } }, "callee": { "type": "MemberExpression", - "start": 352, - "end": 384, + "start": 321, + "end": 353, "loc": { "start": { "line": 8, @@ -446,8 +360,8 @@ }, "object": { "type": "Identifier", - "start": 352, - "end": 368, + "start": 321, + "end": 337, "loc": { "start": { "line": 8, @@ -463,8 +377,8 @@ }, "property": { "type": "Identifier", - "start": 369, - "end": 384, + "start": 338, + "end": 353, "loc": { "start": { "line": 8, @@ -483,8 +397,8 @@ "arguments": [ { "type": "NewExpression", - "start": 385, - "end": 438, + "start": 354, + "end": 433, "loc": { "start": { "line": 8, @@ -492,13 +406,13 @@ }, "end": { "line": 8, - "column": 112 + "column": 138 } }, "callee": { "type": "Identifier", - "start": 389, - "end": 404, + "start": 358, + "end": 373, "loc": { "start": { "line": 8, @@ -515,8 +429,8 @@ "arguments": [ { "type": "Identifier", - "start": 405, - "end": 412, + "start": 374, + "end": 381, "loc": { "start": { "line": 8, @@ -532,8 +446,8 @@ }, { "type": "NewExpression", - "start": 414, - "end": 437, + "start": 383, + "end": 406, "loc": { "start": { "line": 8, @@ -546,8 +460,8 @@ }, "callee": { "type": "Identifier", - "start": 418, - "end": 435, + "start": 387, + "end": 404, "loc": { "start": { "line": 8, @@ -562,6 +476,74 @@ "name": "MemoizeApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 408, + "end": 432, + "loc": { + "start": { + "line": 8, + "column": 113 + }, + "end": { + "line": 8, + "column": 137 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 410, + "end": 430, + "loc": { + "start": { + "line": 8, + "column": 115 + }, + "end": { + "line": 8, + "column": 135 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 410, + "end": 424, + "loc": { + "start": { + "line": 8, + "column": 115 + }, + "end": { + "line": 8, + "column": 129 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 426, + "end": 430, + "loc": { + "start": { + "line": 8, + "column": 131 + }, + "end": { + "line": 8, + "column": 135 + } + }, + "value": true + } + } + ] } ] } @@ -574,12 +556,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n * @param {Function} [resolver] Optional resolver\n ", - "start": 148, - "end": 325, + "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n *\n * @param {Function} [resolver] Optional resolver\n ", + "start": 114, + "end": 294, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -594,12 +576,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n * @param {Function} [resolver] Optional resolver\n ", - "start": 148, - "end": 325, + "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n *\n * @param {Function} [resolver] Optional resolver\n ", + "start": 114, + "end": 294, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -612,8 +594,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 441, - "end": 477, + "start": 436, + "end": 472, "loc": { "start": { "line": 9, @@ -628,8 +610,8 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 450, - "end": 474, + "start": 445, + "end": 469, "loc": { "start": { "line": 9, @@ -642,8 +624,8 @@ }, "local": { "type": "Identifier", - "start": 450, - "end": 460, + "start": 445, + "end": 455, "loc": { "start": { "line": 9, @@ -659,8 +641,8 @@ }, "exported": { "type": "Identifier", - "start": 464, - "end": 474, + "start": 459, + "end": 469, "loc": { "start": { "line": 9, @@ -680,8 +662,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 478, - "end": 504, + "start": 473, + "end": 499, "loc": { "start": { "line": 10, @@ -694,8 +676,8 @@ }, "declaration": { "type": "Identifier", - "start": 493, - "end": 503, + "start": 488, + "end": 498, "loc": { "start": { "line": 10, @@ -718,12 +700,12 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n * @param {Function} [resolver] Optional resolver\n ", - "start": 148, - "end": 325, + "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n *\n * @param {Function} [resolver] Optional resolver\n ", + "start": 114, + "end": 294, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -739,7 +721,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -799,200 +781,17 @@ "postfix": false, "binop": null }, - "value": "memoize", + "value": "DecoratorConfig", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, "column": 9 }, "end": { - "line": 1, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 19, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 24, - "end": 32, - "loc": { - "start": { "line": 1, "column": 24 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 43, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 } } }, @@ -1009,15 +808,15 @@ "binop": null, "updateContext": null }, - "start": 58, - "end": 59, + "start": 24, + "end": 25, "loc": { "start": { - "line": 2, + "line": 1, "column": 24 }, "end": { - "line": 2, + "line": 1, "column": 25 } } @@ -1035,15 +834,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 60, - "end": 76, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } } @@ -1060,15 +859,15 @@ "postfix": false, "binop": null }, - "start": 77, - "end": 78, + "start": 43, + "end": 44, "loc": { "start": { - "line": 2, + "line": 1, "column": 43 }, "end": { - "line": 2, + "line": 1, "column": 44 } } @@ -1086,15 +885,15 @@ "binop": null }, "value": "from", - "start": 79, - "end": 83, + "start": 45, + "end": 49, "loc": { "start": { - "line": 2, + "line": 1, "column": 45 }, "end": { - "line": 2, + "line": 1, "column": 49 } } @@ -1113,15 +912,15 @@ "updateContext": null }, "value": "./factory", - "start": 84, - "end": 95, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } } @@ -1139,15 +938,15 @@ "binop": null, "updateContext": null }, - "start": 95, - "end": 96, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, + "line": 1, "column": 61 }, "end": { - "line": 2, + "line": 1, "column": 62 } } @@ -1157,7 +956,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1167,15 +966,15 @@ "updateContext": null }, "value": "import", - "start": 97, - "end": 103, + "start": 63, + "end": 69, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } @@ -1192,15 +991,15 @@ "postfix": false, "binop": null }, - "start": 104, - "end": 105, + "start": 70, + "end": 71, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, + "line": 2, "column": 8 } } @@ -1218,15 +1017,15 @@ "binop": null }, "value": "MemoizeApplicator", - "start": 106, - "end": 123, + "start": 72, + "end": 89, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 26 } } @@ -1243,15 +1042,15 @@ "postfix": false, "binop": null }, - "start": 124, - "end": 125, + "start": 90, + "end": 91, "loc": { "start": { - "line": 3, + "line": 2, "column": 27 }, "end": { - "line": 3, + "line": 2, "column": 28 } } @@ -1269,15 +1068,15 @@ "binop": null }, "value": "from", - "start": 126, - "end": 130, + "start": 92, + "end": 96, "loc": { "start": { - "line": 3, + "line": 2, "column": 29 }, "end": { - "line": 3, + "line": 2, "column": 33 } } @@ -1296,15 +1095,15 @@ "updateContext": null }, "value": "./applicators", - "start": 131, - "end": 146, + "start": 97, + "end": 112, "loc": { "start": { - "line": 3, + "line": 2, "column": 34 }, "end": { - "line": 3, + "line": 2, "column": 49 } } @@ -1322,27 +1121,27 @@ "binop": null, "updateContext": null }, - "start": 146, - "end": 147, + "start": 112, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 49 }, "end": { - "line": 3, + "line": 2, "column": 50 } } }, { "type": "CommentBlock", - "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n * @param {Function} [resolver] Optional resolver\n ", - "start": 148, - "end": 325, + "value": "*\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n *\n * @param {Function} [resolver] Optional resolver\n ", + "start": 114, + "end": 294, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -1366,8 +1165,8 @@ "updateContext": null }, "value": "export", - "start": 326, - "end": 332, + "start": 295, + "end": 301, "loc": { "start": { "line": 8, @@ -1394,8 +1193,8 @@ "updateContext": null }, "value": "const", - "start": 333, - "end": 338, + "start": 302, + "end": 307, "loc": { "start": { "line": 8, @@ -1420,8 +1219,8 @@ "binop": null }, "value": "MemoizeAll", - "start": 339, - "end": 349, + "start": 308, + "end": 318, "loc": { "start": { "line": 8, @@ -1447,8 +1246,8 @@ "updateContext": null }, "value": "=", - "start": 350, - "end": 351, + "start": 319, + "end": 320, "loc": { "start": { "line": 8, @@ -1473,8 +1272,8 @@ "binop": null }, "value": "DecoratorFactory", - "start": 352, - "end": 368, + "start": 321, + "end": 337, "loc": { "start": { "line": 8, @@ -1499,8 +1298,8 @@ "binop": null, "updateContext": null }, - "start": 368, - "end": 369, + "start": 337, + "end": 338, "loc": { "start": { "line": 8, @@ -1525,8 +1324,8 @@ "binop": null }, "value": "createDecorator", - "start": 369, - "end": 384, + "start": 338, + "end": 353, "loc": { "start": { "line": 8, @@ -1550,8 +1349,8 @@ "postfix": false, "binop": null }, - "start": 384, - "end": 385, + "start": 353, + "end": 354, "loc": { "start": { "line": 8, @@ -1578,8 +1377,8 @@ "updateContext": null }, "value": "new", - "start": 385, - "end": 388, + "start": 354, + "end": 357, "loc": { "start": { "line": 8, @@ -1604,8 +1403,8 @@ "binop": null }, "value": "DecoratorConfig", - "start": 389, - "end": 404, + "start": 358, + "end": 373, "loc": { "start": { "line": 8, @@ -1629,8 +1428,8 @@ "postfix": false, "binop": null }, - "start": 404, - "end": 405, + "start": 373, + "end": 374, "loc": { "start": { "line": 8, @@ -1655,8 +1454,8 @@ "binop": null }, "value": "memoize", - "start": 405, - "end": 412, + "start": 374, + "end": 381, "loc": { "start": { "line": 8, @@ -1681,8 +1480,8 @@ "binop": null, "updateContext": null }, - "start": 412, - "end": 413, + "start": 381, + "end": 382, "loc": { "start": { "line": 8, @@ -1709,8 +1508,8 @@ "updateContext": null }, "value": "new", - "start": 414, - "end": 417, + "start": 383, + "end": 386, "loc": { "start": { "line": 8, @@ -1735,8 +1534,8 @@ "binop": null }, "value": "MemoizeApplicator", - "start": 418, - "end": 435, + "start": 387, + "end": 404, "loc": { "start": { "line": 8, @@ -1760,8 +1559,8 @@ "postfix": false, "binop": null }, - "start": 435, - "end": 436, + "start": 404, + "end": 405, "loc": { "start": { "line": 8, @@ -1785,8 +1584,8 @@ "postfix": false, "binop": null }, - "start": 436, - "end": 437, + "start": 405, + "end": 406, "loc": { "start": { "line": 8, @@ -1798,6 +1597,162 @@ } } }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 406, + "end": 407, + "loc": { + "start": { + "line": 8, + "column": 111 + }, + "end": { + "line": 8, + "column": 112 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 408, + "end": 409, + "loc": { + "start": { + "line": 8, + "column": 113 + }, + "end": { + "line": 8, + "column": 114 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 410, + "end": 424, + "loc": { + "start": { + "line": 8, + "column": 115 + }, + "end": { + "line": 8, + "column": 129 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 424, + "end": 425, + "loc": { + "start": { + "line": 8, + "column": 129 + }, + "end": { + "line": 8, + "column": 130 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 426, + "end": 430, + "loc": { + "start": { + "line": 8, + "column": 131 + }, + "end": { + "line": 8, + "column": 135 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 431, + "end": 432, + "loc": { + "start": { + "line": 8, + "column": 136 + }, + "end": { + "line": 8, + "column": 137 + } + } + }, { "type": { "label": ")", @@ -1810,16 +1765,16 @@ "postfix": false, "binop": null }, - "start": 437, - "end": 438, + "start": 432, + "end": 433, "loc": { "start": { "line": 8, - "column": 111 + "column": 137 }, "end": { "line": 8, - "column": 112 + "column": 138 } } }, @@ -1835,16 +1790,16 @@ "postfix": false, "binop": null }, - "start": 438, - "end": 439, + "start": 433, + "end": 434, "loc": { "start": { "line": 8, - "column": 112 + "column": 138 }, "end": { "line": 8, - "column": 113 + "column": 139 } } }, @@ -1861,16 +1816,16 @@ "binop": null, "updateContext": null }, - "start": 439, - "end": 440, + "start": 434, + "end": 435, "loc": { "start": { "line": 8, - "column": 113 + "column": 139 }, "end": { "line": 8, - "column": 114 + "column": 140 } } }, @@ -1889,8 +1844,8 @@ "updateContext": null }, "value": "export", - "start": 441, - "end": 447, + "start": 436, + "end": 442, "loc": { "start": { "line": 9, @@ -1914,8 +1869,8 @@ "postfix": false, "binop": null }, - "start": 448, - "end": 449, + "start": 443, + "end": 444, "loc": { "start": { "line": 9, @@ -1940,8 +1895,8 @@ "binop": null }, "value": "MemoizeAll", - "start": 450, - "end": 460, + "start": 445, + "end": 455, "loc": { "start": { "line": 9, @@ -1966,8 +1921,8 @@ "binop": null }, "value": "as", - "start": 461, - "end": 463, + "start": 456, + "end": 458, "loc": { "start": { "line": 9, @@ -1992,8 +1947,8 @@ "binop": null }, "value": "memoizeAll", - "start": 464, - "end": 474, + "start": 459, + "end": 469, "loc": { "start": { "line": 9, @@ -2017,8 +1972,8 @@ "postfix": false, "binop": null }, - "start": 475, - "end": 476, + "start": 470, + "end": 471, "loc": { "start": { "line": 9, @@ -2043,8 +1998,8 @@ "binop": null, "updateContext": null }, - "start": 476, - "end": 477, + "start": 471, + "end": 472, "loc": { "start": { "line": 9, @@ -2071,8 +2026,8 @@ "updateContext": null }, "value": "export", - "start": 478, - "end": 484, + "start": 473, + "end": 479, "loc": { "start": { "line": 10, @@ -2099,8 +2054,8 @@ "updateContext": null }, "value": "default", - "start": 485, - "end": 492, + "start": 480, + "end": 487, "loc": { "start": { "line": 10, @@ -2125,8 +2080,8 @@ "binop": null }, "value": "MemoizeAll", - "start": 493, - "end": 503, + "start": 488, + "end": 498, "loc": { "start": { "line": 10, @@ -2151,8 +2106,8 @@ "binop": null, "updateContext": null }, - "start": 503, - "end": 504, + "start": 498, + "end": 499, "loc": { "start": { "line": 10, @@ -2177,8 +2132,8 @@ "binop": null, "updateContext": null }, - "start": 505, - "end": 505, + "start": 500, + "end": 500, "loc": { "start": { "line": 11, diff --git a/docs/ast/source/mixin.js.json b/docs/ast/source/mixin.ts.json similarity index 72% rename from docs/ast/source/mixin.js.json rename to docs/ast/source/mixin.ts.json index 1d9785e..89a93e5 100644 --- a/docs/ast/source/mixin.js.json +++ b/docs/ast/source/mixin.ts.json @@ -1,130 +1,44 @@ { "type": "File", "start": 0, - "end": 215, + "end": 331, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 19, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 215, + "end": 331, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 19, "column": 0 } }, "sourceType": "module", "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "assign" - }, - "name": "assign" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "assign" - }, - "name": "assign" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, { "type": "ExportNamedDeclaration", - "start": 33, - "end": 165, + "start": 147, + "end": 281, "loc": { "start": { - "line": 2, + "line": 11, "column": 0 }, "end": { - "line": 7, + "line": 16, "column": 1 } }, @@ -132,34 +46,35 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 40, - "end": 165, + "start": 154, + "end": 281, "loc": { "start": { - "line": 2, + "line": 11, "column": 7 }, "end": { - "line": 7, + "line": 16, "column": 1 } }, "id": { "type": "Identifier", - "start": 49, - "end": 54, + "start": 163, + "end": 168, "loc": { "start": { - "line": 2, + "line": 11, "column": 16 }, "end": { - "line": 2, + "line": 11, "column": 21 }, "identifierName": "Mixin" }, - "name": "Mixin" + "name": "Mixin", + "leadingComments": null }, "generator": false, "expression": false, @@ -167,29 +82,29 @@ "params": [ { "type": "RestElement", - "start": 55, - "end": 62, + "start": 169, + "end": 176, "loc": { "start": { - "line": 2, + "line": 11, "column": 22 }, "end": { - "line": 2, + "line": 11, "column": 29 } }, "argument": { "type": "Identifier", - "start": 58, - "end": 62, + "start": 172, + "end": 176, "loc": { "start": { - "line": 2, + "line": 11, "column": 25 }, "end": { - "line": 2, + "line": 11, "column": 29 }, "identifierName": "srcs" @@ -200,44 +115,44 @@ ], "body": { "type": "BlockStatement", - "start": 64, - "end": 165, + "start": 178, + "end": 281, "loc": { "start": { - "line": 2, + "line": 11, "column": 31 }, "end": { - "line": 7, + "line": 16, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 70, - "end": 163, + "start": 184, + "end": 279, "loc": { "start": { - "line": 3, + "line": 12, "column": 4 }, "end": { - "line": 6, - "column": 6 + "line": 15, + "column": 7 } }, "argument": { "type": "ArrowFunctionExpression", - "start": 77, - "end": 162, + "start": 192, + "end": 277, "loc": { "start": { - "line": 3, - "column": 11 + "line": 12, + "column": 12 }, "end": { - "line": 6, + "line": 15, "column": 5 } }, @@ -248,16 +163,16 @@ "params": [ { "type": "Identifier", - "start": 78, - "end": 84, + "start": 193, + "end": 199, "loc": { "start": { - "line": 3, - "column": 12 + "line": 12, + "column": 13 }, "end": { - "line": 3, - "column": 18 + "line": 12, + "column": 19 }, "identifierName": "target" }, @@ -266,58 +181,58 @@ ], "body": { "type": "BlockStatement", - "start": 89, - "end": 162, + "start": 204, + "end": 277, "loc": { "start": { - "line": 3, - "column": 23 + "line": 12, + "column": 24 }, "end": { - "line": 6, + "line": 15, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 99, - "end": 133, + "start": 214, + "end": 248, "loc": { "start": { - "line": 4, + "line": 13, "column": 8 }, "end": { - "line": 4, + "line": 13, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 99, - "end": 132, + "start": 214, + "end": 247, "loc": { "start": { - "line": 4, + "line": 13, "column": 8 }, "end": { - "line": 4, + "line": 13, "column": 41 } }, "callee": { "type": "Identifier", - "start": 99, - "end": 105, + "start": 214, + "end": 220, "loc": { "start": { - "line": 4, + "line": 13, "column": 8 }, "end": { - "line": 4, + "line": 13, "column": 14 }, "identifierName": "assign" @@ -327,29 +242,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 106, - "end": 122, + "start": 221, + "end": 237, "loc": { "start": { - "line": 4, + "line": 13, "column": 15 }, "end": { - "line": 4, + "line": 13, "column": 31 } }, "object": { "type": "Identifier", - "start": 106, - "end": 112, + "start": 221, + "end": 227, "loc": { "start": { - "line": 4, + "line": 13, "column": 15 }, "end": { - "line": 4, + "line": 13, "column": 21 }, "identifierName": "target" @@ -358,15 +273,15 @@ }, "property": { "type": "Identifier", - "start": 113, - "end": 122, + "start": 228, + "end": 237, "loc": { "start": { - "line": 4, + "line": 13, "column": 22 }, "end": { - "line": 4, + "line": 13, "column": 31 }, "identifierName": "prototype" @@ -377,29 +292,29 @@ }, { "type": "SpreadElement", - "start": 124, - "end": 131, + "start": 239, + "end": 246, "loc": { "start": { - "line": 4, + "line": 13, "column": 33 }, "end": { - "line": 4, + "line": 13, "column": 40 } }, "argument": { "type": "Identifier", - "start": 127, - "end": 131, + "start": 242, + "end": 246, "loc": { "start": { - "line": 4, + "line": 13, "column": 36 }, "end": { - "line": 4, + "line": 13, "column": 40 }, "identifierName": "srcs" @@ -412,29 +327,29 @@ }, { "type": "ReturnStatement", - "start": 142, - "end": 156, + "start": 257, + "end": 271, "loc": { "start": { - "line": 5, + "line": 14, "column": 8 }, "end": { - "line": 5, + "line": 14, "column": 22 } }, "argument": { "type": "Identifier", - "start": 149, - "end": 155, + "start": 264, + "end": 270, "loc": { "start": { - "line": 5, + "line": 14, "column": 15 }, "end": { - "line": 5, + "line": 14, "column": 21 }, "identifierName": "target" @@ -444,27 +359,66 @@ } ], "directives": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 191 } } } ], "directives": [] }, - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Mixins an object into the classes prototype.\n * @lineNumber\n * 22\n * @param\n * {undefined} srcs\n * @return\n * {ClassDecorator}\n ", + "start": 0, + "end": 146, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Mixins an object into the classes prototype.\n * @lineNumber\n * 22\n * @param\n * {undefined} srcs\n * @return\n * {ClassDecorator}\n ", + "start": 0, + "end": 146, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 166, - "end": 192, + "start": 282, + "end": 308, "loc": { "start": { - "line": 8, + "line": 17, "column": 0 }, "end": { - "line": 8, + "line": 17, "column": 26 } }, @@ -472,29 +426,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 175, - "end": 189, + "start": 291, + "end": 305, "loc": { "start": { - "line": 8, + "line": 17, "column": 9 }, "end": { - "line": 8, + "line": 17, "column": 23 } }, "local": { "type": "Identifier", - "start": 175, - "end": 180, + "start": 291, + "end": 296, "loc": { "start": { - "line": 8, + "line": 17, "column": 9 }, "end": { - "line": 8, + "line": 17, "column": 14 }, "identifierName": "Mixin" @@ -503,15 +457,15 @@ }, "exported": { "type": "Identifier", - "start": 184, - "end": 189, + "start": 300, + "end": 305, "loc": { "start": { - "line": 8, + "line": 17, "column": 18 }, "end": { - "line": 8, + "line": 17, "column": 23 }, "identifierName": "mixin" @@ -524,29 +478,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 193, - "end": 214, + "start": 309, + "end": 330, "loc": { "start": { - "line": 9, + "line": 18, "column": 0 }, "end": { - "line": 9, + "line": 18, "column": 21 } }, "declaration": { "type": "Identifier", - "start": 208, - "end": 213, + "start": 324, + "end": 329, "loc": { "start": { - "line": 9, + "line": 18, "column": 15 }, "end": { - "line": 9, + "line": 18, "column": 20 }, "identifierName": "Mixin" @@ -559,188 +513,38 @@ ], "directives": [] }, - "comments": [], - "tokens": [ + "comments": [ { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", + "type": "CommentBlock", + "value": "*\n * @desc\n * Mixins an object into the classes prototype.\n * @lineNumber\n * 22\n * @param\n * {undefined} srcs\n * @return\n * {ClassDecorator}\n ", "start": 0, - "end": 6, + "end": 146, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "assign", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 18, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 + "line": 10, + "column": 3 } } - }, + } + ], + "tokens": [ { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 31, - "end": 32, + "type": "CommentBlock", + "value": "*\n * @desc\n * Mixins an object into the classes prototype.\n * @lineNumber\n * 22\n * @param\n * {undefined} srcs\n * @return\n * {ClassDecorator}\n ", + "start": 0, + "end": 146, "loc": { "start": { "line": 1, - "column": 31 + "column": 0 }, "end": { - "line": 1, - "column": 32 + "line": 10, + "column": 3 } } }, @@ -759,15 +563,15 @@ "updateContext": null }, "value": "export", - "start": 33, - "end": 39, + "start": 147, + "end": 153, "loc": { "start": { - "line": 2, + "line": 11, "column": 0 }, "end": { - "line": 2, + "line": 11, "column": 6 } } @@ -786,15 +590,15 @@ "binop": null }, "value": "function", - "start": 40, - "end": 48, + "start": 154, + "end": 162, "loc": { "start": { - "line": 2, + "line": 11, "column": 7 }, "end": { - "line": 2, + "line": 11, "column": 15 } } @@ -812,15 +616,15 @@ "binop": null }, "value": "Mixin", - "start": 49, - "end": 54, + "start": 163, + "end": 168, "loc": { "start": { - "line": 2, + "line": 11, "column": 16 }, "end": { - "line": 2, + "line": 11, "column": 21 } } @@ -837,15 +641,15 @@ "postfix": false, "binop": null }, - "start": 54, - "end": 55, + "start": 168, + "end": 169, "loc": { "start": { - "line": 2, + "line": 11, "column": 21 }, "end": { - "line": 2, + "line": 11, "column": 22 } } @@ -863,15 +667,15 @@ "binop": null, "updateContext": null }, - "start": 55, - "end": 58, + "start": 169, + "end": 172, "loc": { "start": { - "line": 2, + "line": 11, "column": 22 }, "end": { - "line": 2, + "line": 11, "column": 25 } } @@ -889,15 +693,15 @@ "binop": null }, "value": "srcs", - "start": 58, - "end": 62, + "start": 172, + "end": 176, "loc": { "start": { - "line": 2, + "line": 11, "column": 25 }, "end": { - "line": 2, + "line": 11, "column": 29 } } @@ -914,15 +718,15 @@ "postfix": false, "binop": null }, - "start": 62, - "end": 63, + "start": 176, + "end": 177, "loc": { "start": { - "line": 2, + "line": 11, "column": 29 }, "end": { - "line": 2, + "line": 11, "column": 30 } } @@ -939,15 +743,15 @@ "postfix": false, "binop": null }, - "start": 64, - "end": 65, + "start": 178, + "end": 179, "loc": { "start": { - "line": 2, + "line": 11, "column": 31 }, "end": { - "line": 2, + "line": 11, "column": 32 } } @@ -967,15 +771,15 @@ "updateContext": null }, "value": "return", - "start": 70, - "end": 76, + "start": 184, + "end": 190, "loc": { "start": { - "line": 3, + "line": 12, "column": 4 }, "end": { - "line": 3, + "line": 12, "column": 10 } } @@ -992,16 +796,41 @@ "postfix": false, "binop": null }, - "start": 77, - "end": 78, + "start": 191, + "end": 192, "loc": { "start": { - "line": 3, + "line": 12, "column": 11 }, "end": { - "line": 3, + "line": 12, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 192, + "end": 193, + "loc": { + "start": { + "line": 12, "column": 12 + }, + "end": { + "line": 12, + "column": 13 } } }, @@ -1018,16 +847,16 @@ "binop": null }, "value": "target", - "start": 78, - "end": 84, + "start": 193, + "end": 199, "loc": { "start": { - "line": 3, - "column": 12 + "line": 12, + "column": 13 }, "end": { - "line": 3, - "column": 18 + "line": 12, + "column": 19 } } }, @@ -1043,16 +872,16 @@ "postfix": false, "binop": null }, - "start": 84, - "end": 85, + "start": 199, + "end": 200, "loc": { "start": { - "line": 3, - "column": 18 + "line": 12, + "column": 19 }, "end": { - "line": 3, - "column": 19 + "line": 12, + "column": 20 } } }, @@ -1069,16 +898,16 @@ "binop": null, "updateContext": null }, - "start": 86, - "end": 88, + "start": 201, + "end": 203, "loc": { "start": { - "line": 3, - "column": 20 + "line": 12, + "column": 21 }, "end": { - "line": 3, - "column": 22 + "line": 12, + "column": 23 } } }, @@ -1094,16 +923,16 @@ "postfix": false, "binop": null }, - "start": 89, - "end": 90, + "start": 204, + "end": 205, "loc": { "start": { - "line": 3, - "column": 23 + "line": 12, + "column": 24 }, "end": { - "line": 3, - "column": 24 + "line": 12, + "column": 25 } } }, @@ -1120,15 +949,15 @@ "binop": null }, "value": "assign", - "start": 99, - "end": 105, + "start": 214, + "end": 220, "loc": { "start": { - "line": 4, + "line": 13, "column": 8 }, "end": { - "line": 4, + "line": 13, "column": 14 } } @@ -1145,15 +974,15 @@ "postfix": false, "binop": null }, - "start": 105, - "end": 106, + "start": 220, + "end": 221, "loc": { "start": { - "line": 4, + "line": 13, "column": 14 }, "end": { - "line": 4, + "line": 13, "column": 15 } } @@ -1171,15 +1000,15 @@ "binop": null }, "value": "target", - "start": 106, - "end": 112, + "start": 221, + "end": 227, "loc": { "start": { - "line": 4, + "line": 13, "column": 15 }, "end": { - "line": 4, + "line": 13, "column": 21 } } @@ -1197,15 +1026,15 @@ "binop": null, "updateContext": null }, - "start": 112, - "end": 113, + "start": 227, + "end": 228, "loc": { "start": { - "line": 4, + "line": 13, "column": 21 }, "end": { - "line": 4, + "line": 13, "column": 22 } } @@ -1223,15 +1052,15 @@ "binop": null }, "value": "prototype", - "start": 113, - "end": 122, + "start": 228, + "end": 237, "loc": { "start": { - "line": 4, + "line": 13, "column": 22 }, "end": { - "line": 4, + "line": 13, "column": 31 } } @@ -1249,15 +1078,15 @@ "binop": null, "updateContext": null }, - "start": 122, - "end": 123, + "start": 237, + "end": 238, "loc": { "start": { - "line": 4, + "line": 13, "column": 31 }, "end": { - "line": 4, + "line": 13, "column": 32 } } @@ -1275,15 +1104,15 @@ "binop": null, "updateContext": null }, - "start": 124, - "end": 127, + "start": 239, + "end": 242, "loc": { "start": { - "line": 4, + "line": 13, "column": 33 }, "end": { - "line": 4, + "line": 13, "column": 36 } } @@ -1301,15 +1130,15 @@ "binop": null }, "value": "srcs", - "start": 127, - "end": 131, + "start": 242, + "end": 246, "loc": { "start": { - "line": 4, + "line": 13, "column": 36 }, "end": { - "line": 4, + "line": 13, "column": 40 } } @@ -1326,15 +1155,15 @@ "postfix": false, "binop": null }, - "start": 131, - "end": 132, + "start": 246, + "end": 247, "loc": { "start": { - "line": 4, + "line": 13, "column": 40 }, "end": { - "line": 4, + "line": 13, "column": 41 } } @@ -1352,15 +1181,15 @@ "binop": null, "updateContext": null }, - "start": 132, - "end": 133, + "start": 247, + "end": 248, "loc": { "start": { - "line": 4, + "line": 13, "column": 41 }, "end": { - "line": 4, + "line": 13, "column": 42 } } @@ -1380,15 +1209,15 @@ "updateContext": null }, "value": "return", - "start": 142, - "end": 148, + "start": 257, + "end": 263, "loc": { "start": { - "line": 5, + "line": 14, "column": 8 }, "end": { - "line": 5, + "line": 14, "column": 14 } } @@ -1406,15 +1235,15 @@ "binop": null }, "value": "target", - "start": 149, - "end": 155, + "start": 264, + "end": 270, "loc": { "start": { - "line": 5, + "line": 14, "column": 15 }, "end": { - "line": 5, + "line": 14, "column": 21 } } @@ -1432,15 +1261,15 @@ "binop": null, "updateContext": null }, - "start": 155, - "end": 156, + "start": 270, + "end": 271, "loc": { "start": { - "line": 5, + "line": 14, "column": 21 }, "end": { - "line": 5, + "line": 14, "column": 22 } } @@ -1457,16 +1286,41 @@ "postfix": false, "binop": null }, - "start": 161, - "end": 162, + "start": 276, + "end": 277, "loc": { "start": { - "line": 6, + "line": 15, "column": 4 }, "end": { - "line": 6, + "line": 15, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 277, + "end": 278, + "loc": { + "start": { + "line": 15, "column": 5 + }, + "end": { + "line": 15, + "column": 6 } } }, @@ -1483,16 +1337,16 @@ "binop": null, "updateContext": null }, - "start": 162, - "end": 163, + "start": 278, + "end": 279, "loc": { "start": { - "line": 6, - "column": 5 + "line": 15, + "column": 6 }, "end": { - "line": 6, - "column": 6 + "line": 15, + "column": 7 } } }, @@ -1508,15 +1362,15 @@ "postfix": false, "binop": null }, - "start": 164, - "end": 165, + "start": 280, + "end": 281, "loc": { "start": { - "line": 7, + "line": 16, "column": 0 }, "end": { - "line": 7, + "line": 16, "column": 1 } } @@ -1536,15 +1390,15 @@ "updateContext": null }, "value": "export", - "start": 166, - "end": 172, + "start": 282, + "end": 288, "loc": { "start": { - "line": 8, + "line": 17, "column": 0 }, "end": { - "line": 8, + "line": 17, "column": 6 } } @@ -1561,15 +1415,15 @@ "postfix": false, "binop": null }, - "start": 173, - "end": 174, + "start": 289, + "end": 290, "loc": { "start": { - "line": 8, + "line": 17, "column": 7 }, "end": { - "line": 8, + "line": 17, "column": 8 } } @@ -1587,15 +1441,15 @@ "binop": null }, "value": "Mixin", - "start": 175, - "end": 180, + "start": 291, + "end": 296, "loc": { "start": { - "line": 8, + "line": 17, "column": 9 }, "end": { - "line": 8, + "line": 17, "column": 14 } } @@ -1613,15 +1467,15 @@ "binop": null }, "value": "as", - "start": 181, - "end": 183, + "start": 297, + "end": 299, "loc": { "start": { - "line": 8, + "line": 17, "column": 15 }, "end": { - "line": 8, + "line": 17, "column": 17 } } @@ -1639,15 +1493,15 @@ "binop": null }, "value": "mixin", - "start": 184, - "end": 189, + "start": 300, + "end": 305, "loc": { "start": { - "line": 8, + "line": 17, "column": 18 }, "end": { - "line": 8, + "line": 17, "column": 23 } } @@ -1664,15 +1518,15 @@ "postfix": false, "binop": null }, - "start": 190, - "end": 191, + "start": 306, + "end": 307, "loc": { "start": { - "line": 8, + "line": 17, "column": 24 }, "end": { - "line": 8, + "line": 17, "column": 25 } } @@ -1690,15 +1544,15 @@ "binop": null, "updateContext": null }, - "start": 191, - "end": 192, + "start": 307, + "end": 308, "loc": { "start": { - "line": 8, + "line": 17, "column": 25 }, "end": { - "line": 8, + "line": 17, "column": 26 } } @@ -1718,15 +1572,15 @@ "updateContext": null }, "value": "export", - "start": 193, - "end": 199, + "start": 309, + "end": 315, "loc": { "start": { - "line": 9, + "line": 18, "column": 0 }, "end": { - "line": 9, + "line": 18, "column": 6 } } @@ -1746,15 +1600,15 @@ "updateContext": null }, "value": "default", - "start": 200, - "end": 207, + "start": 316, + "end": 323, "loc": { "start": { - "line": 9, + "line": 18, "column": 7 }, "end": { - "line": 9, + "line": 18, "column": 14 } } @@ -1772,15 +1626,15 @@ "binop": null }, "value": "Mixin", - "start": 208, - "end": 213, + "start": 324, + "end": 329, "loc": { "start": { - "line": 9, + "line": 18, "column": 15 }, "end": { - "line": 9, + "line": 18, "column": 20 } } @@ -1798,15 +1652,15 @@ "binop": null, "updateContext": null }, - "start": 213, - "end": 214, + "start": 329, + "end": 330, "loc": { "start": { - "line": 9, + "line": 18, "column": 20 }, "end": { - "line": 9, + "line": 18, "column": 21 } } @@ -1824,15 +1678,15 @@ "binop": null, "updateContext": null }, - "start": 215, - "end": 215, + "start": 331, + "end": 331, "loc": { "start": { - "line": 10, + "line": 19, "column": 0 }, "end": { - "line": 10, + "line": 19, "column": 0 } } diff --git a/docs/ast/source/negate.js.json b/docs/ast/source/negate.js.json deleted file mode 100644 index 50cb87c..0000000 --- a/docs/ast/source/negate.js.json +++ /dev/null @@ -1,2106 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 311, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 311, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "negate" - }, - "name": "negate" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "negate" - }, - "name": "negate" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 33, - "end": 95, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 83, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 96, - "end": 147, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 51 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 105, - "end": 123, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "imported": { - "type": "Identifier", - "start": 105, - "end": 123, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "local": { - "type": "Identifier", - "start": 105, - "end": 123, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 131, - "end": 146, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - } - }, - { - "type": "ExportNamedDeclaration", - "start": 148, - "end": 258, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 110 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 155, - "end": 258, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 110 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 161, - "end": 257, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 109 - } - }, - "id": { - "type": "Identifier", - "start": 161, - "end": 167, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 19 - }, - "identifierName": "Negate" - }, - "name": "Negate" - }, - "init": { - "type": "CallExpression", - "start": 170, - "end": 257, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 109 - } - }, - "callee": { - "type": "MemberExpression", - "start": 170, - "end": 202, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 54 - } - }, - "object": { - "type": "Identifier", - "start": 170, - "end": 186, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 38 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 187, - "end": 202, - "loc": { - "start": { - "line": 4, - "column": 39 - }, - "end": { - "line": 4, - "column": 54 - }, - "identifierName": "createDecorator" - }, - "name": "createDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 203, - "end": 256, - "loc": { - "start": { - "line": 4, - "column": 55 - }, - "end": { - "line": 4, - "column": 108 - } - }, - "callee": { - "type": "Identifier", - "start": 207, - "end": 222, - "loc": { - "start": { - "line": 4, - "column": 59 - }, - "end": { - "line": 4, - "column": 74 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 223, - "end": 229, - "loc": { - "start": { - "line": 4, - "column": 75 - }, - "end": { - "line": 4, - "column": 81 - }, - "identifierName": "negate" - }, - "name": "negate" - }, - { - "type": "NewExpression", - "start": 231, - "end": 255, - "loc": { - "start": { - "line": 4, - "column": 83 - }, - "end": { - "line": 4, - "column": 107 - } - }, - "callee": { - "type": "Identifier", - "start": 235, - "end": 253, - "loc": { - "start": { - "line": 4, - "column": 87 - }, - "end": { - "line": 4, - "column": 105 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "arguments": [] - } - ] - } - ] - } - } - ], - "kind": "const", - "leadingComments": [], - "trailingComments": [] - } - }, - { - "type": "ExportNamedDeclaration", - "start": 259, - "end": 287, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 28 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 268, - "end": 284, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 25 - } - }, - "local": { - "type": "Identifier", - "start": 268, - "end": 274, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 15 - }, - "identifierName": "Negate" - }, - "name": "Negate" - }, - "exported": { - "type": "Identifier", - "start": 278, - "end": 284, - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 25 - }, - "identifierName": "negate" - }, - "name": "negate" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 288, - "end": 310, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 22 - } - }, - "declaration": { - "type": "Identifier", - "start": 303, - "end": 309, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "Negate" - }, - "name": "Negate", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "negate", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 18, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 33, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 40, - "end": 41, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 57, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 59, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 76, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 78, - "end": 82, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 83, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 96, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 103, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 105, - "end": 123, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 124, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 126, - "end": 130, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 131, - "end": 146, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 146, - "end": 147, - "loc": { - "start": { - "line": 3, - "column": 50 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 148, - "end": 154, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 155, - "end": 160, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Negate", - "start": 161, - "end": 167, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 168, - "end": 169, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 170, - "end": 186, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 186, - "end": 187, - "loc": { - "start": { - "line": 4, - "column": 38 - }, - "end": { - "line": 4, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createDecorator", - "start": 187, - "end": 202, - "loc": { - "start": { - "line": 4, - "column": 39 - }, - "end": { - "line": 4, - "column": 54 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 202, - "end": 203, - "loc": { - "start": { - "line": 4, - "column": 54 - }, - "end": { - "line": 4, - "column": 55 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 203, - "end": 206, - "loc": { - "start": { - "line": 4, - "column": 55 - }, - "end": { - "line": 4, - "column": 58 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 207, - "end": 222, - "loc": { - "start": { - "line": 4, - "column": 59 - }, - "end": { - "line": 4, - "column": 74 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 222, - "end": 223, - "loc": { - "start": { - "line": 4, - "column": 74 - }, - "end": { - "line": 4, - "column": 75 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "negate", - "start": 223, - "end": 229, - "loc": { - "start": { - "line": 4, - "column": 75 - }, - "end": { - "line": 4, - "column": 81 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 229, - "end": 230, - "loc": { - "start": { - "line": 4, - "column": 81 - }, - "end": { - "line": 4, - "column": 82 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 231, - "end": 234, - "loc": { - "start": { - "line": 4, - "column": 83 - }, - "end": { - "line": 4, - "column": 86 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 235, - "end": 253, - "loc": { - "start": { - "line": 4, - "column": 87 - }, - "end": { - "line": 4, - "column": 105 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 253, - "end": 254, - "loc": { - "start": { - "line": 4, - "column": 105 - }, - "end": { - "line": 4, - "column": 106 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 4, - "column": 106 - }, - "end": { - "line": 4, - "column": 107 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 255, - "end": 256, - "loc": { - "start": { - "line": 4, - "column": 107 - }, - "end": { - "line": 4, - "column": 108 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 256, - "end": 257, - "loc": { - "start": { - "line": 4, - "column": 108 - }, - "end": { - "line": 4, - "column": 109 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 257, - "end": 258, - "loc": { - "start": { - "line": 4, - "column": 109 - }, - "end": { - "line": 4, - "column": 110 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 259, - "end": 265, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 266, - "end": 267, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Negate", - "start": 268, - "end": 274, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 275, - "end": 277, - "loc": { - "start": { - "line": 5, - "column": 16 - }, - "end": { - "line": 5, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "negate", - "start": 278, - "end": 284, - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 285, - "end": 286, - "loc": { - "start": { - "line": 5, - "column": 26 - }, - "end": { - "line": 5, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 286, - "end": 287, - "loc": { - "start": { - "line": 5, - "column": 27 - }, - "end": { - "line": 5, - "column": 28 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 288, - "end": 294, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 295, - "end": 302, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Negate", - "start": 303, - "end": 309, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 6, - "column": 21 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 311, - "end": 311, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/after.js.json b/docs/ast/source/negate.ts.json similarity index 70% rename from docs/ast/source/after.js.json rename to docs/ast/source/negate.ts.json index 774e7d0..f466fb4 100644 --- a/docs/ast/source/after.js.json +++ b/docs/ast/source/negate.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 709, + "end": 735, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 709, + "end": 735, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 31, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 31 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - }, - "identifierName": "after" - }, - "name": "after" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 14 - }, - "identifierName": "after" - }, - "name": "after" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 32, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 41, - "end": 56, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 82, - "end": 93, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,81 +165,81 @@ }, { "type": "ImportDeclaration", - "start": 95, - "end": 147, + "start": 63, + "end": 118, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, - "column": 52 + "line": 2, + "column": 55 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 104, - "end": 123, + "start": 72, + "end": 94, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, - "column": 28 + "line": 2, + "column": 31 } }, "imported": { "type": "Identifier", - "start": 104, - "end": 123, + "start": 72, + "end": 94, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, - "column": 28 + "line": 2, + "column": 31 }, - "identifierName": "PostValueApplicator" + "identifierName": "PartialValueApplicator" }, - "name": "PostValueApplicator" + "name": "PartialValueApplicator" }, "local": { "type": "Identifier", - "start": 104, - "end": 123, + "start": 72, + "end": 94, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, - "column": 28 + "line": 2, + "column": 31 }, - "identifierName": "PostValueApplicator" + "identifierName": "PartialValueApplicator" }, - "name": "PostValueApplicator" + "name": "PartialValueApplicator" } } ], "source": { "type": "StringLiteral", - "start": 131, - "end": 146, + "start": 102, + "end": 117, "loc": { "start": { - "line": 3, - "column": 36 + "line": 2, + "column": 39 }, "end": { - "line": 3, - "column": 51 + "line": 2, + "column": 54 } }, "extra": { @@ -337,16 +251,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @After(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n ", - "start": 148, - "end": 523, + "value": "*\n * Negates a functions result or, when used on a property, creates a function that\n * negates the result of a provided function.\n *\n * @param {ResolvableFunction} [fn] A resolvable function.\n * @example\n * class MyClass {\n * @Negate('fn')\n * fn2: () => boolean;\n *\n * fn(): boolean {\n * return true;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn2(); //=> false\n ", + "start": 119, + "end": 517, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 20, + "line": 21, "column": 3 } } @@ -355,107 +269,107 @@ }, { "type": "ExportNamedDeclaration", - "start": 524, - "end": 659, + "start": 518, + "end": 682, "loc": { "start": { - "line": 21, + "line": 22, "column": 0 }, "end": { - "line": 21, - "column": 135 + "line": 22, + "column": 164 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 531, - "end": 659, + "start": 525, + "end": 682, "loc": { "start": { - "line": 21, + "line": 22, "column": 7 }, "end": { - "line": 21, - "column": 135 + "line": 22, + "column": 164 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 537, - "end": 658, + "start": 531, + "end": 681, "loc": { "start": { - "line": 21, + "line": 22, "column": 13 }, "end": { - "line": 21, - "column": 134 + "line": 22, + "column": 163 } }, "id": { "type": "Identifier", - "start": 537, - "end": 542, + "start": 531, + "end": 537, "loc": { "start": { - "line": 21, + "line": 22, "column": 13 }, "end": { - "line": 21, - "column": 18 + "line": 22, + "column": 19 }, - "identifierName": "After" + "identifierName": "Negate" }, - "name": "After", + "name": "Negate", "leadingComments": null }, "init": { "type": "CallExpression", - "start": 545, - "end": 658, + "start": 540, + "end": 681, "loc": { "start": { - "line": 21, - "column": 21 + "line": 22, + "column": 22 }, "end": { - "line": 21, - "column": 134 + "line": 22, + "column": 163 } }, "callee": { "type": "MemberExpression", - "start": 545, - "end": 585, + "start": 540, + "end": 580, "loc": { "start": { - "line": 21, - "column": 21 + "line": 22, + "column": 22 }, "end": { - "line": 21, - "column": 61 + "line": 22, + "column": 62 } }, "object": { "type": "Identifier", - "start": 545, - "end": 561, + "start": 540, + "end": 556, "loc": { "start": { - "line": 21, - "column": 21 + "line": 22, + "column": 22 }, "end": { - "line": 21, - "column": 37 + "line": 22, + "column": 38 }, "identifierName": "DecoratorFactory" }, @@ -463,16 +377,16 @@ }, "property": { "type": "Identifier", - "start": 562, - "end": 585, + "start": 557, + "end": 580, "loc": { "start": { - "line": 21, - "column": 38 + "line": 22, + "column": 39 }, "end": { - "line": 21, - "column": 61 + "line": 22, + "column": 62 }, "identifierName": "createInstanceDecorator" }, @@ -483,30 +397,30 @@ "arguments": [ { "type": "NewExpression", - "start": 586, - "end": 657, + "start": 581, + "end": 680, "loc": { "start": { - "line": 21, - "column": 62 + "line": 22, + "column": 63 }, "end": { - "line": 21, - "column": 133 + "line": 22, + "column": 162 } }, "callee": { "type": "Identifier", - "start": 590, - "end": 605, + "start": 585, + "end": 600, "loc": { "start": { - "line": 21, - "column": 66 + "line": 22, + "column": 67 }, "end": { - "line": 21, - "column": 81 + "line": 22, + "column": 82 }, "identifierName": "DecoratorConfig" }, @@ -515,81 +429,132 @@ "arguments": [ { "type": "Identifier", - "start": 606, - "end": 611, + "start": 601, + "end": 607, "loc": { "start": { - "line": 21, - "column": 82 + "line": 22, + "column": 83 }, "end": { - "line": 21, - "column": 87 + "line": 22, + "column": 89 }, - "identifierName": "after" + "identifierName": "negate" }, - "name": "after" + "name": "negate" }, { "type": "NewExpression", - "start": 613, - "end": 638, + "start": 609, + "end": 637, "loc": { "start": { - "line": 21, - "column": 89 + "line": 22, + "column": 91 }, "end": { - "line": 21, - "column": 114 + "line": 22, + "column": 119 } }, "callee": { "type": "Identifier", - "start": 617, - "end": 636, + "start": 613, + "end": 635, "loc": { "start": { - "line": 21, - "column": 93 + "line": 22, + "column": 95 }, "end": { - "line": 21, - "column": 112 + "line": 22, + "column": 117 }, - "identifierName": "PostValueApplicator" + "identifierName": "PartialValueApplicator" }, - "name": "PostValueApplicator" + "name": "PartialValueApplicator" }, "arguments": [] }, { "type": "ObjectExpression", - "start": 640, - "end": 656, + "start": 639, + "end": 679, "loc": { "start": { - "line": 21, - "column": 116 + "line": 22, + "column": 121 }, "end": { - "line": 21, - "column": 132 + "line": 22, + "column": 161 } }, "properties": [ { "type": "ObjectProperty", - "start": 642, - "end": 654, + "start": 641, + "end": 655, + "loc": { + "start": { + "line": 22, + "column": 123 + }, + "end": { + "line": 22, + "column": 137 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 641, + "end": 649, + "loc": { + "start": { + "line": 22, + "column": 123 + }, + "end": { + "line": 22, + "column": 131 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 651, + "end": 655, + "loc": { + "start": { + "line": 22, + "column": 133 + }, + "end": { + "line": 22, + "column": 137 + } + }, + "value": true + } + }, + { + "type": "ObjectProperty", + "start": 657, + "end": 677, "loc": { "start": { - "line": 21, - "column": 118 + "line": 22, + "column": 139 }, "end": { - "line": 21, - "column": 130 + "line": 22, + "column": 159 } }, "method": false, @@ -597,33 +562,33 @@ "computed": false, "key": { "type": "Identifier", - "start": 642, - "end": 648, + "start": 657, + "end": 671, "loc": { "start": { - "line": 21, - "column": 118 + "line": 22, + "column": 139 }, "end": { - "line": 21, - "column": 124 + "line": 22, + "column": 153 }, - "identifierName": "setter" + "identifierName": "optionalParams" }, - "name": "setter" + "name": "optionalParams" }, "value": { "type": "BooleanLiteral", - "start": 650, - "end": 654, + "start": 673, + "end": 677, "loc": { "start": { - "line": 21, - "column": 126 + "line": 22, + "column": 155 }, "end": { - "line": 21, - "column": 130 + "line": 22, + "column": 159 } }, "value": true @@ -642,16 +607,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @After(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n ", - "start": 148, - "end": 523, + "value": "*\n * Negates a functions result or, when used on a property, creates a function that\n * negates the result of a provided function.\n *\n * @param {ResolvableFunction} [fn] A resolvable function.\n * @example\n * class MyClass {\n * @Negate('fn')\n * fn2: () => boolean;\n *\n * fn(): boolean {\n * return true;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn2(); //=> false\n ", + "start": 119, + "end": 517, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 20, + "line": 21, "column": 3 } } @@ -662,16 +627,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @After(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n ", - "start": 148, - "end": 523, + "value": "*\n * Negates a functions result or, when used on a property, creates a function that\n * negates the result of a provided function.\n *\n * @param {ResolvableFunction} [fn] A resolvable function.\n * @example\n * class MyClass {\n * @Negate('fn')\n * fn2: () => boolean;\n *\n * fn(): boolean {\n * return true;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn2(); //=> false\n ", + "start": 119, + "end": 517, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 20, + "line": 21, "column": 3 } } @@ -680,67 +645,67 @@ }, { "type": "ExportNamedDeclaration", - "start": 660, - "end": 686, + "start": 683, + "end": 711, "loc": { "start": { - "line": 22, + "line": 23, "column": 0 }, "end": { - "line": 22, - "column": 26 + "line": 23, + "column": 28 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", - "start": 669, - "end": 683, + "start": 692, + "end": 708, "loc": { "start": { - "line": 22, + "line": 23, "column": 9 }, "end": { - "line": 22, - "column": 23 + "line": 23, + "column": 25 } }, "local": { "type": "Identifier", - "start": 669, - "end": 674, + "start": 692, + "end": 698, "loc": { "start": { - "line": 22, + "line": 23, "column": 9 }, "end": { - "line": 22, - "column": 14 + "line": 23, + "column": 15 }, - "identifierName": "After" + "identifierName": "Negate" }, - "name": "After" + "name": "Negate" }, "exported": { "type": "Identifier", - "start": 678, - "end": 683, + "start": 702, + "end": 708, "loc": { "start": { - "line": 22, - "column": 18 + "line": 23, + "column": 19 }, "end": { - "line": 22, - "column": 23 + "line": 23, + "column": 25 }, - "identifierName": "after" + "identifierName": "negate" }, - "name": "after" + "name": "negate" } } ], @@ -748,34 +713,34 @@ }, { "type": "ExportDefaultDeclaration", - "start": 687, - "end": 708, + "start": 712, + "end": 734, "loc": { "start": { - "line": 23, + "line": 24, "column": 0 }, "end": { - "line": 23, - "column": 21 + "line": 24, + "column": 22 } }, "declaration": { "type": "Identifier", - "start": 702, - "end": 707, + "start": 727, + "end": 733, "loc": { "start": { - "line": 23, + "line": 24, "column": 15 }, "end": { - "line": 23, - "column": 20 + "line": 24, + "column": 21 }, - "identifierName": "After" + "identifierName": "Negate" }, - "name": "After", + "name": "Negate", "leadingComments": [], "trailingComments": [] } @@ -786,16 +751,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @After(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n ", - "start": 148, - "end": 523, + "value": "*\n * Negates a functions result or, when used on a property, creates a function that\n * negates the result of a provided function.\n *\n * @param {ResolvableFunction} [fn] A resolvable function.\n * @example\n * class MyClass {\n * @Negate('fn')\n * fn2: () => boolean;\n *\n * fn(): boolean {\n * return true;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn2(); //=> false\n ", + "start": 119, + "end": 517, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 20, + "line": 21, "column": 3 } } @@ -807,7 +772,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -867,9 +832,9 @@ "postfix": false, "binop": null }, - "value": "after", + "value": "DecoratorConfig", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -877,7 +842,59 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 } } }, @@ -893,16 +910,16 @@ "postfix": false, "binop": null }, - "start": 15, - "end": 16, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 15 + "column": 43 }, "end": { "line": 1, - "column": 16 + "column": 44 } } }, @@ -919,16 +936,16 @@ "binop": null }, "value": "from", - "start": 17, - "end": 21, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 17 + "column": 45 }, "end": { "line": 1, - "column": 21 + "column": 49 } } }, @@ -945,17 +962,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 22, - "end": 30, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 22 + "column": 50 }, "end": { "line": 1, - "column": 30 + "column": 61 } } }, @@ -972,16 +989,16 @@ "binop": null, "updateContext": null }, - "start": 30, - "end": 31, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 30 + "column": 61 }, "end": { "line": 1, - "column": 31 + "column": 62 } } }, @@ -990,7 +1007,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1000,8 +1017,8 @@ "updateContext": null }, "value": "import", - "start": 32, - "end": 38, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -1025,8 +1042,8 @@ "postfix": false, "binop": null }, - "start": 39, - "end": 40, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -1050,9 +1067,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 41, - "end": 56, + "value": "PartialValueApplicator", + "start": 72, + "end": 94, "loc": { "start": { "line": 2, @@ -1060,33 +1077,32 @@ }, "end": { "line": 2, - "column": 24 + "column": 31 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 56, - "end": 57, + "start": 95, + "end": 96, "loc": { "start": { "line": 2, - "column": 24 + "column": 32 }, "end": { "line": 2, - "column": 25 + "column": 33 } } }, @@ -1102,74 +1118,23 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 58, - "end": 74, + "value": "from", + "start": 97, + "end": 101, "loc": { "start": { "line": 2, - "column": 26 + "column": 34 }, "end": { "line": 2, - "column": 42 + "column": 38 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 75, - "end": 76, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 77, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1180,17 +1145,17 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 82, - "end": 93, + "value": "./applicators", + "start": 102, + "end": 117, "loc": { "start": { "line": 2, - "column": 50 + "column": 39 }, "end": { "line": 2, - "column": 61 + "column": 54 } } }, @@ -1207,101 +1172,67 @@ "binop": null, "updateContext": null }, - "start": 93, - "end": 94, + "start": 117, + "end": 118, "loc": { "start": { "line": 2, - "column": 61 + "column": 54 }, "end": { "line": 2, - "column": 62 + "column": 55 } } }, { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 95, - "end": 101, + "type": "CommentBlock", + "value": "*\n * Negates a functions result or, when used on a property, creates a function that\n * negates the result of a provided function.\n *\n * @param {ResolvableFunction} [fn] A resolvable function.\n * @example\n * class MyClass {\n * @Negate('fn')\n * fn2: () => boolean;\n *\n * fn(): boolean {\n * return true;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn2(); //=> false\n ", + "start": 119, + "end": 517, "loc": { "start": { "line": 3, "column": 0 }, "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 + "line": 21, + "column": 3 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "PostValueApplicator", - "start": 104, - "end": 123, + "value": "export", + "start": 518, + "end": 524, "loc": { "start": { - "line": 3, - "column": 9 + "line": 22, + "column": 0 }, "end": { - "line": 3, - "column": 28 + "line": 22, + "column": 6 } } }, { "type": { - "label": "}", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1309,18 +1240,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 124, - "end": 125, + "value": "const", + "start": 525, + "end": 530, "loc": { "start": { - "line": 3, - "column": 29 + "line": 22, + "column": 7 }, "end": { - "line": 3, - "column": 30 + "line": 22, + "column": 12 } } }, @@ -1336,93 +1269,76 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 126, - "end": 130, + "value": "Negate", + "start": 531, + "end": 537, "loc": { "start": { - "line": 3, - "column": 31 + "line": 22, + "column": 13 }, "end": { - "line": 3, - "column": 35 + "line": 22, + "column": 19 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "./applicators", - "start": 131, - "end": 146, + "value": "=", + "start": 538, + "end": 539, "loc": { "start": { - "line": 3, - "column": 36 + "line": 22, + "column": 20 }, "end": { - "line": 3, - "column": 51 + "line": 22, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 146, - "end": 147, - "loc": { - "start": { - "line": 3, - "column": 51 - }, - "end": { - "line": 3, - "column": 52 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @After(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n ", - "start": 148, - "end": 523, + "value": "DecoratorFactory", + "start": 540, + "end": 556, "loc": { "start": { - "line": 4, - "column": 0 + "line": 22, + "column": 22 }, "end": { - "line": 20, - "column": 3 + "line": 22, + "column": 38 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1433,52 +1349,49 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 524, - "end": 530, + "start": 556, + "end": 557, "loc": { "start": { - "line": 21, - "column": 0 + "line": 22, + "column": 38 }, "end": { - "line": 21, - "column": 6 + "line": 22, + "column": 39 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 531, - "end": 536, + "value": "createInstanceDecorator", + "start": 557, + "end": 580, "loc": { "start": { - "line": 21, - "column": 7 + "line": 22, + "column": 39 }, "end": { - "line": 21, - "column": 12 + "line": 22, + "column": 62 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1487,44 +1400,44 @@ "postfix": false, "binop": null }, - "value": "After", - "start": 537, - "end": 542, + "start": 580, + "end": 581, "loc": { "start": { - "line": 21, - "column": 13 + "line": 22, + "column": 62 }, "end": { - "line": 21, - "column": 18 + "line": 22, + "column": 63 } } }, { "type": { - "label": "=", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 543, - "end": 544, + "value": "new", + "start": 581, + "end": 584, "loc": { "start": { - "line": 21, - "column": 19 + "line": 22, + "column": 63 }, "end": { - "line": 21, - "column": 20 + "line": 22, + "column": 66 } } }, @@ -1540,43 +1453,42 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 545, - "end": 561, + "value": "DecoratorConfig", + "start": 585, + "end": 600, "loc": { "start": { - "line": 21, - "column": 21 + "line": 22, + "column": 67 }, "end": { - "line": 21, - "column": 37 + "line": 22, + "column": 82 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 561, - "end": 562, + "start": 600, + "end": 601, "loc": { "start": { - "line": 21, - "column": 37 + "line": 22, + "column": 82 }, "end": { - "line": 21, - "column": 38 + "line": 22, + "column": 83 } } }, @@ -1592,42 +1504,43 @@ "postfix": false, "binop": null }, - "value": "createInstanceDecorator", - "start": 562, - "end": 585, + "value": "negate", + "start": 601, + "end": 607, "loc": { "start": { - "line": 21, - "column": 38 + "line": 22, + "column": 83 }, "end": { - "line": 21, - "column": 61 + "line": 22, + "column": 89 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 585, - "end": 586, + "start": 607, + "end": 608, "loc": { "start": { - "line": 21, - "column": 61 + "line": 22, + "column": 89 }, "end": { - "line": 21, - "column": 62 + "line": 22, + "column": 90 } } }, @@ -1646,16 +1559,16 @@ "updateContext": null }, "value": "new", - "start": 586, - "end": 589, + "start": 609, + "end": 612, "loc": { "start": { - "line": 21, - "column": 62 + "line": 22, + "column": 91 }, "end": { - "line": 21, - "column": 65 + "line": 22, + "column": 94 } } }, @@ -1671,17 +1584,17 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 590, - "end": 605, + "value": "PartialValueApplicator", + "start": 613, + "end": 635, "loc": { "start": { - "line": 21, - "column": 66 + "line": 22, + "column": 95 }, "end": { - "line": 21, - "column": 81 + "line": 22, + "column": 117 } } }, @@ -1697,24 +1610,24 @@ "postfix": false, "binop": null }, - "start": 605, - "end": 606, + "start": 635, + "end": 636, "loc": { "start": { - "line": 21, - "column": 81 + "line": 22, + "column": 117 }, "end": { - "line": 21, - "column": 82 + "line": 22, + "column": 118 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1722,17 +1635,16 @@ "postfix": false, "binop": null }, - "value": "after", - "start": 606, - "end": 611, + "start": 636, + "end": 637, "loc": { "start": { - "line": 21, - "column": 82 + "line": 22, + "column": 118 }, "end": { - "line": 21, - "column": 87 + "line": 22, + "column": 119 } } }, @@ -1749,23 +1661,22 @@ "binop": null, "updateContext": null }, - "start": 611, - "end": 612, + "start": 637, + "end": 638, "loc": { "start": { - "line": 21, - "column": 87 + "line": 22, + "column": 119 }, "end": { - "line": 21, - "column": 88 + "line": 22, + "column": 120 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1773,20 +1684,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 613, - "end": 616, + "start": 639, + "end": 640, "loc": { "start": { - "line": 21, - "column": 89 + "line": 22, + "column": 121 }, "end": { - "line": 21, - "column": 92 + "line": 22, + "column": 122 } } }, @@ -1802,67 +1711,71 @@ "postfix": false, "binop": null }, - "value": "PostValueApplicator", - "start": 617, - "end": 636, + "value": "property", + "start": 641, + "end": 649, "loc": { "start": { - "line": 21, - "column": 93 + "line": 22, + "column": 123 }, "end": { - "line": 21, - "column": 112 + "line": 22, + "column": 131 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 636, - "end": 637, + "start": 649, + "end": 650, "loc": { "start": { - "line": 21, - "column": 112 + "line": 22, + "column": 131 }, "end": { - "line": 21, - "column": 113 + "line": 22, + "column": 132 } } }, { "type": { - "label": ")", + "label": "true", + "keyword": "true", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 637, - "end": 638, + "value": "true", + "start": 651, + "end": 655, "loc": { "start": { - "line": 21, - "column": 113 + "line": 22, + "column": 133 }, "end": { - "line": 21, - "column": 114 + "line": 22, + "column": 137 } } }, @@ -1879,41 +1792,16 @@ "binop": null, "updateContext": null }, - "start": 638, - "end": 639, - "loc": { - "start": { - "line": 21, - "column": 114 - }, - "end": { - "line": 21, - "column": 115 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 640, - "end": 641, + "start": 655, + "end": 656, "loc": { "start": { - "line": 21, - "column": 116 + "line": 22, + "column": 137 }, "end": { - "line": 21, - "column": 117 + "line": 22, + "column": 138 } } }, @@ -1929,17 +1817,17 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 642, - "end": 648, + "value": "optionalParams", + "start": 657, + "end": 671, "loc": { "start": { - "line": 21, - "column": 118 + "line": 22, + "column": 139 }, "end": { - "line": 21, - "column": 124 + "line": 22, + "column": 153 } } }, @@ -1956,16 +1844,16 @@ "binop": null, "updateContext": null }, - "start": 648, - "end": 649, + "start": 671, + "end": 672, "loc": { "start": { - "line": 21, - "column": 124 + "line": 22, + "column": 153 }, "end": { - "line": 21, - "column": 125 + "line": 22, + "column": 154 } } }, @@ -1984,16 +1872,16 @@ "updateContext": null }, "value": "true", - "start": 650, - "end": 654, + "start": 673, + "end": 677, "loc": { "start": { - "line": 21, - "column": 126 + "line": 22, + "column": 155 }, "end": { - "line": 21, - "column": 130 + "line": 22, + "column": 159 } } }, @@ -2009,16 +1897,16 @@ "postfix": false, "binop": null }, - "start": 655, - "end": 656, + "start": 678, + "end": 679, "loc": { "start": { - "line": 21, - "column": 131 + "line": 22, + "column": 160 }, "end": { - "line": 21, - "column": 132 + "line": 22, + "column": 161 } } }, @@ -2034,16 +1922,16 @@ "postfix": false, "binop": null }, - "start": 656, - "end": 657, + "start": 679, + "end": 680, "loc": { "start": { - "line": 21, - "column": 132 + "line": 22, + "column": 161 }, "end": { - "line": 21, - "column": 133 + "line": 22, + "column": 162 } } }, @@ -2059,16 +1947,16 @@ "postfix": false, "binop": null }, - "start": 657, - "end": 658, + "start": 680, + "end": 681, "loc": { "start": { - "line": 21, - "column": 133 + "line": 22, + "column": 162 }, "end": { - "line": 21, - "column": 134 + "line": 22, + "column": 163 } } }, @@ -2085,16 +1973,16 @@ "binop": null, "updateContext": null }, - "start": 658, - "end": 659, + "start": 681, + "end": 682, "loc": { "start": { - "line": 21, - "column": 134 + "line": 22, + "column": 163 }, "end": { - "line": 21, - "column": 135 + "line": 22, + "column": 164 } } }, @@ -2113,15 +2001,15 @@ "updateContext": null }, "value": "export", - "start": 660, - "end": 666, + "start": 683, + "end": 689, "loc": { "start": { - "line": 22, + "line": 23, "column": 0 }, "end": { - "line": 22, + "line": 23, "column": 6 } } @@ -2138,15 +2026,15 @@ "postfix": false, "binop": null }, - "start": 667, - "end": 668, + "start": 690, + "end": 691, "loc": { "start": { - "line": 22, + "line": 23, "column": 7 }, "end": { - "line": 22, + "line": 23, "column": 8 } } @@ -2163,17 +2051,17 @@ "postfix": false, "binop": null }, - "value": "After", - "start": 669, - "end": 674, + "value": "Negate", + "start": 692, + "end": 698, "loc": { "start": { - "line": 22, + "line": 23, "column": 9 }, "end": { - "line": 22, - "column": 14 + "line": 23, + "column": 15 } } }, @@ -2190,16 +2078,16 @@ "binop": null }, "value": "as", - "start": 675, - "end": 677, + "start": 699, + "end": 701, "loc": { "start": { - "line": 22, - "column": 15 + "line": 23, + "column": 16 }, "end": { - "line": 22, - "column": 17 + "line": 23, + "column": 18 } } }, @@ -2215,17 +2103,17 @@ "postfix": false, "binop": null }, - "value": "after", - "start": 678, - "end": 683, + "value": "negate", + "start": 702, + "end": 708, "loc": { "start": { - "line": 22, - "column": 18 + "line": 23, + "column": 19 }, "end": { - "line": 22, - "column": 23 + "line": 23, + "column": 25 } } }, @@ -2241,16 +2129,16 @@ "postfix": false, "binop": null }, - "start": 684, - "end": 685, + "start": 709, + "end": 710, "loc": { "start": { - "line": 22, - "column": 24 + "line": 23, + "column": 26 }, "end": { - "line": 22, - "column": 25 + "line": 23, + "column": 27 } } }, @@ -2267,16 +2155,16 @@ "binop": null, "updateContext": null }, - "start": 685, - "end": 686, + "start": 710, + "end": 711, "loc": { "start": { - "line": 22, - "column": 25 + "line": 23, + "column": 27 }, "end": { - "line": 22, - "column": 26 + "line": 23, + "column": 28 } } }, @@ -2295,15 +2183,15 @@ "updateContext": null }, "value": "export", - "start": 687, - "end": 693, + "start": 712, + "end": 718, "loc": { "start": { - "line": 23, + "line": 24, "column": 0 }, "end": { - "line": 23, + "line": 24, "column": 6 } } @@ -2323,15 +2211,15 @@ "updateContext": null }, "value": "default", - "start": 694, - "end": 701, + "start": 719, + "end": 726, "loc": { "start": { - "line": 23, + "line": 24, "column": 7 }, "end": { - "line": 23, + "line": 24, "column": 14 } } @@ -2348,17 +2236,17 @@ "postfix": false, "binop": null }, - "value": "After", - "start": 702, - "end": 707, + "value": "Negate", + "start": 727, + "end": 733, "loc": { "start": { - "line": 23, + "line": 24, "column": 15 }, "end": { - "line": 23, - "column": 20 + "line": 24, + "column": 21 } } }, @@ -2375,16 +2263,16 @@ "binop": null, "updateContext": null }, - "start": 707, - "end": 708, + "start": 733, + "end": 734, "loc": { "start": { - "line": 23, - "column": 20 + "line": 24, + "column": 21 }, "end": { - "line": 23, - "column": 21 + "line": 24, + "column": 22 } } }, @@ -2401,15 +2289,15 @@ "binop": null, "updateContext": null }, - "start": 709, - "end": 709, + "start": 735, + "end": 735, "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 0 } } diff --git a/docs/ast/source/once.js.json b/docs/ast/source/once.ts.json similarity index 74% rename from docs/ast/source/once.js.json rename to docs/ast/source/once.ts.json index 955a8bd..3309d76 100644 --- a/docs/ast/source/once.js.json +++ b/docs/ast/source/once.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 325, + "end": 705, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 25, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 325, + "end": 705, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 25, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 30, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 30 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - }, - "identifierName": "once" - }, - "name": "once" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 13 - }, - "identifierName": "once" - }, - "name": "once" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 31, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 40, - "end": 55, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 81, - "end": 92, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 94, - "end": 145, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 129, - "end": 144, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -333,109 +247,128 @@ "raw": "'./applicators'" }, "value": "./applicators" - } + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n *\n * @example\n * class MyClass {\n * value: number = 0;\n *\n * @Once()\n * fn(): number {\n * return ++this.value;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n ", + "start": 115, + "end": 503, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 146, - "end": 278, + "start": 504, + "end": 658, "loc": { "start": { - "line": 4, + "line": 22, "column": 0 }, "end": { - "line": 4, - "column": 132 + "line": 22, + "column": 154 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 153, - "end": 278, + "start": 511, + "end": 658, "loc": { "start": { - "line": 4, + "line": 22, "column": 7 }, "end": { - "line": 4, - "column": 132 + "line": 22, + "column": 154 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 159, - "end": 277, + "start": 517, + "end": 657, "loc": { "start": { - "line": 4, + "line": 22, "column": 13 }, "end": { - "line": 4, - "column": 131 + "line": 22, + "column": 153 } }, "id": { "type": "Identifier", - "start": 159, - "end": 163, + "start": 517, + "end": 521, "loc": { "start": { - "line": 4, + "line": 22, "column": 13 }, "end": { - "line": 4, + "line": 22, "column": 17 }, "identifierName": "Once" }, - "name": "Once" + "name": "Once", + "leadingComments": null }, "init": { "type": "CallExpression", - "start": 166, - "end": 277, + "start": 524, + "end": 657, "loc": { "start": { - "line": 4, + "line": 22, "column": 20 }, "end": { - "line": 4, - "column": 131 + "line": 22, + "column": 153 } }, "callee": { "type": "MemberExpression", - "start": 166, - "end": 206, + "start": 524, + "end": 564, "loc": { "start": { - "line": 4, + "line": 22, "column": 20 }, "end": { - "line": 4, + "line": 22, "column": 60 } }, "object": { "type": "Identifier", - "start": 166, - "end": 182, + "start": 524, + "end": 540, "loc": { "start": { - "line": 4, + "line": 22, "column": 20 }, "end": { - "line": 4, + "line": 22, "column": 36 }, "identifierName": "DecoratorFactory" @@ -444,15 +377,15 @@ }, "property": { "type": "Identifier", - "start": 183, - "end": 206, + "start": 541, + "end": 564, "loc": { "start": { - "line": 4, + "line": 22, "column": 37 }, "end": { - "line": 4, + "line": 22, "column": 60 }, "identifierName": "createInstanceDecorator" @@ -464,29 +397,29 @@ "arguments": [ { "type": "NewExpression", - "start": 207, - "end": 276, + "start": 565, + "end": 656, "loc": { "start": { - "line": 4, + "line": 22, "column": 61 }, "end": { - "line": 4, - "column": 130 + "line": 22, + "column": 152 } }, "callee": { "type": "Identifier", - "start": 211, - "end": 226, + "start": 569, + "end": 584, "loc": { "start": { - "line": 4, + "line": 22, "column": 65 }, "end": { - "line": 4, + "line": 22, "column": 80 }, "identifierName": "DecoratorConfig" @@ -496,15 +429,15 @@ "arguments": [ { "type": "Identifier", - "start": 227, - "end": 231, + "start": 585, + "end": 589, "loc": { "start": { - "line": 4, + "line": 22, "column": 81 }, "end": { - "line": 4, + "line": 22, "column": 85 }, "identifierName": "once" @@ -513,29 +446,29 @@ }, { "type": "NewExpression", - "start": 233, - "end": 257, + "start": 591, + "end": 615, "loc": { "start": { - "line": 4, + "line": 22, "column": 87 }, "end": { - "line": 4, + "line": 22, "column": 111 } }, "callee": { "type": "Identifier", - "start": 237, - "end": 255, + "start": 595, + "end": 613, "loc": { "start": { - "line": 4, + "line": 22, "column": 91 }, "end": { - "line": 4, + "line": 22, "column": 109 }, "identifierName": "PreValueApplicator" @@ -546,30 +479,30 @@ }, { "type": "ObjectExpression", - "start": 259, - "end": 275, + "start": 617, + "end": 655, "loc": { "start": { - "line": 4, + "line": 22, "column": 113 }, "end": { - "line": 4, - "column": 129 + "line": 22, + "column": 151 } }, "properties": [ { "type": "ObjectProperty", - "start": 261, - "end": 273, + "start": 619, + "end": 631, "loc": { "start": { - "line": 4, + "line": 22, "column": 115 }, "end": { - "line": 4, + "line": 22, "column": 127 } }, @@ -578,15 +511,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 261, - "end": 267, + "start": 619, + "end": 625, "loc": { "start": { - "line": 4, + "line": 22, "column": 115 }, "end": { - "line": 4, + "line": 22, "column": 121 }, "identifierName": "setter" @@ -595,45 +528,132 @@ }, "value": { "type": "BooleanLiteral", - "start": 269, - "end": 273, + "start": 627, + "end": 631, "loc": { "start": { - "line": 4, + "line": 22, "column": 123 }, "end": { - "line": 4, + "line": 22, "column": 127 } }, "value": true } + }, + { + "type": "ObjectProperty", + "start": 633, + "end": 653, + "loc": { + "start": { + "line": 22, + "column": 129 + }, + "end": { + "line": 22, + "column": 149 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 633, + "end": 647, + "loc": { + "start": { + "line": 22, + "column": 129 + }, + "end": { + "line": 22, + "column": 143 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 649, + "end": 653, + "loc": { + "start": { + "line": 22, + "column": 145 + }, + "end": { + "line": 22, + "column": 149 + } + }, + "value": true + } } ] } ] } ] - } + }, + "leadingComments": null } ], "kind": "const", - "leadingComments": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n *\n * @example\n * class MyClass {\n * value: number = 0;\n *\n * @Once()\n * fn(): number {\n * return ++this.value;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n ", + "start": 115, + "end": 503, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ], "trailingComments": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n *\n * @example\n * class MyClass {\n * value: number = 0;\n *\n * @Once()\n * fn(): number {\n * return ++this.value;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n ", + "start": 115, + "end": 503, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 279, - "end": 303, + "start": 659, + "end": 683, "loc": { "start": { - "line": 5, + "line": 23, "column": 0 }, "end": { - "line": 5, + "line": 23, "column": 24 } }, @@ -641,29 +661,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 288, - "end": 300, + "start": 668, + "end": 680, "loc": { "start": { - "line": 5, + "line": 23, "column": 9 }, "end": { - "line": 5, + "line": 23, "column": 21 } }, "local": { "type": "Identifier", - "start": 288, - "end": 292, + "start": 668, + "end": 672, "loc": { "start": { - "line": 5, + "line": 23, "column": 9 }, "end": { - "line": 5, + "line": 23, "column": 13 }, "identifierName": "Once" @@ -672,15 +692,15 @@ }, "exported": { "type": "Identifier", - "start": 296, - "end": 300, + "start": 676, + "end": 680, "loc": { "start": { - "line": 5, + "line": 23, "column": 17 }, "end": { - "line": 5, + "line": 23, "column": 21 }, "identifierName": "once" @@ -693,29 +713,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 304, - "end": 324, + "start": 684, + "end": 704, "loc": { "start": { - "line": 6, + "line": 24, "column": 0 }, "end": { - "line": 6, + "line": 24, "column": 20 } }, "declaration": { "type": "Identifier", - "start": 319, - "end": 323, + "start": 699, + "end": 703, "loc": { "start": { - "line": 6, + "line": 24, "column": 15 }, "end": { - "line": 6, + "line": 24, "column": 19 }, "identifierName": "Once" @@ -728,14 +748,31 @@ ], "directives": [] }, - "comments": [], + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n *\n * @example\n * class MyClass {\n * value: number = 0;\n *\n * @Once()\n * fn(): number {\n * return ++this.value;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n ", + "start": 115, + "end": 503, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -795,9 +832,9 @@ "postfix": false, "binop": null }, - "value": "once", + "value": "DecoratorConfig", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -805,189 +842,6 @@ }, "end": { "line": 1, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 16, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 29, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 31, - "end": 37, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 38, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 } } @@ -1005,15 +859,15 @@ "binop": null, "updateContext": null }, - "start": 55, - "end": 56, + "start": 24, + "end": 25, "loc": { "start": { - "line": 2, + "line": 1, "column": 24 }, "end": { - "line": 2, + "line": 1, "column": 25 } } @@ -1031,15 +885,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } } @@ -1056,15 +910,15 @@ "postfix": false, "binop": null }, - "start": 74, - "end": 75, + "start": 43, + "end": 44, "loc": { "start": { - "line": 2, + "line": 1, "column": 43 }, "end": { - "line": 2, + "line": 1, "column": 44 } } @@ -1082,15 +936,15 @@ "binop": null }, "value": "from", - "start": 76, - "end": 80, + "start": 45, + "end": 49, "loc": { "start": { - "line": 2, + "line": 1, "column": 45 }, "end": { - "line": 2, + "line": 1, "column": 49 } } @@ -1109,15 +963,15 @@ "updateContext": null }, "value": "./factory", - "start": 81, - "end": 92, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } } @@ -1135,15 +989,15 @@ "binop": null, "updateContext": null }, - "start": 92, - "end": 93, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, + "line": 1, "column": 61 }, "end": { - "line": 2, + "line": 1, "column": 62 } } @@ -1153,7 +1007,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1163,15 +1017,15 @@ "updateContext": null }, "value": "import", - "start": 94, - "end": 100, + "start": 63, + "end": 69, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 6 } } @@ -1188,15 +1042,15 @@ "postfix": false, "binop": null }, - "start": 101, - "end": 102, + "start": 70, + "end": 71, "loc": { "start": { - "line": 3, + "line": 2, "column": 7 }, "end": { - "line": 3, + "line": 2, "column": 8 } } @@ -1214,15 +1068,15 @@ "binop": null }, "value": "PreValueApplicator", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } } @@ -1239,15 +1093,15 @@ "postfix": false, "binop": null }, - "start": 122, - "end": 123, + "start": 91, + "end": 92, "loc": { "start": { - "line": 3, + "line": 2, "column": 28 }, "end": { - "line": 3, + "line": 2, "column": 29 } } @@ -1265,15 +1119,15 @@ "binop": null }, "value": "from", - "start": 124, - "end": 128, + "start": 93, + "end": 97, "loc": { "start": { - "line": 3, + "line": 2, "column": 30 }, "end": { - "line": 3, + "line": 2, "column": 34 } } @@ -1292,15 +1146,15 @@ "updateContext": null }, "value": "./applicators", - "start": 129, - "end": 144, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } } @@ -1318,19 +1172,35 @@ "binop": null, "updateContext": null }, - "start": 144, - "end": 145, + "start": 113, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 50 }, "end": { - "line": 3, + "line": 2, "column": 51 } } }, + { + "type": "CommentBlock", + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n *\n * @example\n * class MyClass {\n * value: number = 0;\n *\n * @Once()\n * fn(): number {\n * return ++this.value;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n ", + "start": 115, + "end": 503, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, { "type": { "label": "export", @@ -1346,15 +1216,15 @@ "updateContext": null }, "value": "export", - "start": 146, - "end": 152, + "start": 504, + "end": 510, "loc": { "start": { - "line": 4, + "line": 22, "column": 0 }, "end": { - "line": 4, + "line": 22, "column": 6 } } @@ -1374,15 +1244,15 @@ "updateContext": null }, "value": "const", - "start": 153, - "end": 158, + "start": 511, + "end": 516, "loc": { "start": { - "line": 4, + "line": 22, "column": 7 }, "end": { - "line": 4, + "line": 22, "column": 12 } } @@ -1400,15 +1270,15 @@ "binop": null }, "value": "Once", - "start": 159, - "end": 163, + "start": 517, + "end": 521, "loc": { "start": { - "line": 4, + "line": 22, "column": 13 }, "end": { - "line": 4, + "line": 22, "column": 17 } } @@ -1427,15 +1297,15 @@ "updateContext": null }, "value": "=", - "start": 164, - "end": 165, + "start": 522, + "end": 523, "loc": { "start": { - "line": 4, + "line": 22, "column": 18 }, "end": { - "line": 4, + "line": 22, "column": 19 } } @@ -1453,15 +1323,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 166, - "end": 182, + "start": 524, + "end": 540, "loc": { "start": { - "line": 4, + "line": 22, "column": 20 }, "end": { - "line": 4, + "line": 22, "column": 36 } } @@ -1479,15 +1349,15 @@ "binop": null, "updateContext": null }, - "start": 182, - "end": 183, + "start": 540, + "end": 541, "loc": { "start": { - "line": 4, + "line": 22, "column": 36 }, "end": { - "line": 4, + "line": 22, "column": 37 } } @@ -1505,15 +1375,15 @@ "binop": null }, "value": "createInstanceDecorator", - "start": 183, - "end": 206, + "start": 541, + "end": 564, "loc": { "start": { - "line": 4, + "line": 22, "column": 37 }, "end": { - "line": 4, + "line": 22, "column": 60 } } @@ -1530,15 +1400,15 @@ "postfix": false, "binop": null }, - "start": 206, - "end": 207, + "start": 564, + "end": 565, "loc": { "start": { - "line": 4, + "line": 22, "column": 60 }, "end": { - "line": 4, + "line": 22, "column": 61 } } @@ -1558,15 +1428,15 @@ "updateContext": null }, "value": "new", - "start": 207, - "end": 210, + "start": 565, + "end": 568, "loc": { "start": { - "line": 4, + "line": 22, "column": 61 }, "end": { - "line": 4, + "line": 22, "column": 64 } } @@ -1584,15 +1454,15 @@ "binop": null }, "value": "DecoratorConfig", - "start": 211, - "end": 226, + "start": 569, + "end": 584, "loc": { "start": { - "line": 4, + "line": 22, "column": 65 }, "end": { - "line": 4, + "line": 22, "column": 80 } } @@ -1609,15 +1479,15 @@ "postfix": false, "binop": null }, - "start": 226, - "end": 227, + "start": 584, + "end": 585, "loc": { "start": { - "line": 4, + "line": 22, "column": 80 }, "end": { - "line": 4, + "line": 22, "column": 81 } } @@ -1635,15 +1505,15 @@ "binop": null }, "value": "once", - "start": 227, - "end": 231, + "start": 585, + "end": 589, "loc": { "start": { - "line": 4, + "line": 22, "column": 81 }, "end": { - "line": 4, + "line": 22, "column": 85 } } @@ -1661,15 +1531,15 @@ "binop": null, "updateContext": null }, - "start": 231, - "end": 232, + "start": 589, + "end": 590, "loc": { "start": { - "line": 4, + "line": 22, "column": 85 }, "end": { - "line": 4, + "line": 22, "column": 86 } } @@ -1689,15 +1559,15 @@ "updateContext": null }, "value": "new", - "start": 233, - "end": 236, + "start": 591, + "end": 594, "loc": { "start": { - "line": 4, + "line": 22, "column": 87 }, "end": { - "line": 4, + "line": 22, "column": 90 } } @@ -1715,15 +1585,15 @@ "binop": null }, "value": "PreValueApplicator", - "start": 237, - "end": 255, + "start": 595, + "end": 613, "loc": { "start": { - "line": 4, + "line": 22, "column": 91 }, "end": { - "line": 4, + "line": 22, "column": 109 } } @@ -1740,15 +1610,15 @@ "postfix": false, "binop": null }, - "start": 255, - "end": 256, + "start": 613, + "end": 614, "loc": { "start": { - "line": 4, + "line": 22, "column": 109 }, "end": { - "line": 4, + "line": 22, "column": 110 } } @@ -1765,15 +1635,15 @@ "postfix": false, "binop": null }, - "start": 256, - "end": 257, + "start": 614, + "end": 615, "loc": { "start": { - "line": 4, + "line": 22, "column": 110 }, "end": { - "line": 4, + "line": 22, "column": 111 } } @@ -1791,15 +1661,15 @@ "binop": null, "updateContext": null }, - "start": 257, - "end": 258, + "start": 615, + "end": 616, "loc": { "start": { - "line": 4, + "line": 22, "column": 111 }, "end": { - "line": 4, + "line": 22, "column": 112 } } @@ -1816,15 +1686,15 @@ "postfix": false, "binop": null }, - "start": 259, - "end": 260, + "start": 617, + "end": 618, "loc": { "start": { - "line": 4, + "line": 22, "column": 113 }, "end": { - "line": 4, + "line": 22, "column": 114 } } @@ -1842,15 +1712,15 @@ "binop": null }, "value": "setter", - "start": 261, - "end": 267, + "start": 619, + "end": 625, "loc": { "start": { - "line": 4, + "line": 22, "column": 115 }, "end": { - "line": 4, + "line": 22, "column": 121 } } @@ -1868,15 +1738,15 @@ "binop": null, "updateContext": null }, - "start": 267, - "end": 268, + "start": 625, + "end": 626, "loc": { "start": { - "line": 4, + "line": 22, "column": 121 }, "end": { - "line": 4, + "line": 22, "column": 122 } } @@ -1896,16 +1766,122 @@ "updateContext": null }, "value": "true", - "start": 269, - "end": 273, + "start": 627, + "end": 631, "loc": { "start": { - "line": 4, + "line": 22, "column": 123 }, "end": { - "line": 4, + "line": 22, + "column": 127 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 631, + "end": 632, + "loc": { + "start": { + "line": 22, "column": 127 + }, + "end": { + "line": 22, + "column": 128 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 633, + "end": 647, + "loc": { + "start": { + "line": 22, + "column": 129 + }, + "end": { + "line": 22, + "column": 143 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 647, + "end": 648, + "loc": { + "start": { + "line": 22, + "column": 143 + }, + "end": { + "line": 22, + "column": 144 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 649, + "end": 653, + "loc": { + "start": { + "line": 22, + "column": 145 + }, + "end": { + "line": 22, + "column": 149 } } }, @@ -1921,16 +1897,16 @@ "postfix": false, "binop": null }, - "start": 274, - "end": 275, + "start": 654, + "end": 655, "loc": { "start": { - "line": 4, - "column": 128 + "line": 22, + "column": 150 }, "end": { - "line": 4, - "column": 129 + "line": 22, + "column": 151 } } }, @@ -1946,16 +1922,16 @@ "postfix": false, "binop": null }, - "start": 275, - "end": 276, + "start": 655, + "end": 656, "loc": { "start": { - "line": 4, - "column": 129 + "line": 22, + "column": 151 }, "end": { - "line": 4, - "column": 130 + "line": 22, + "column": 152 } } }, @@ -1971,16 +1947,16 @@ "postfix": false, "binop": null }, - "start": 276, - "end": 277, + "start": 656, + "end": 657, "loc": { "start": { - "line": 4, - "column": 130 + "line": 22, + "column": 152 }, "end": { - "line": 4, - "column": 131 + "line": 22, + "column": 153 } } }, @@ -1997,16 +1973,16 @@ "binop": null, "updateContext": null }, - "start": 277, - "end": 278, + "start": 657, + "end": 658, "loc": { "start": { - "line": 4, - "column": 131 + "line": 22, + "column": 153 }, "end": { - "line": 4, - "column": 132 + "line": 22, + "column": 154 } } }, @@ -2025,15 +2001,15 @@ "updateContext": null }, "value": "export", - "start": 279, - "end": 285, + "start": 659, + "end": 665, "loc": { "start": { - "line": 5, + "line": 23, "column": 0 }, "end": { - "line": 5, + "line": 23, "column": 6 } } @@ -2050,15 +2026,15 @@ "postfix": false, "binop": null }, - "start": 286, - "end": 287, + "start": 666, + "end": 667, "loc": { "start": { - "line": 5, + "line": 23, "column": 7 }, "end": { - "line": 5, + "line": 23, "column": 8 } } @@ -2076,15 +2052,15 @@ "binop": null }, "value": "Once", - "start": 288, - "end": 292, + "start": 668, + "end": 672, "loc": { "start": { - "line": 5, + "line": 23, "column": 9 }, "end": { - "line": 5, + "line": 23, "column": 13 } } @@ -2102,15 +2078,15 @@ "binop": null }, "value": "as", - "start": 293, - "end": 295, + "start": 673, + "end": 675, "loc": { "start": { - "line": 5, + "line": 23, "column": 14 }, "end": { - "line": 5, + "line": 23, "column": 16 } } @@ -2128,15 +2104,15 @@ "binop": null }, "value": "once", - "start": 296, - "end": 300, + "start": 676, + "end": 680, "loc": { "start": { - "line": 5, + "line": 23, "column": 17 }, "end": { - "line": 5, + "line": 23, "column": 21 } } @@ -2153,15 +2129,15 @@ "postfix": false, "binop": null }, - "start": 301, - "end": 302, + "start": 681, + "end": 682, "loc": { "start": { - "line": 5, + "line": 23, "column": 22 }, "end": { - "line": 5, + "line": 23, "column": 23 } } @@ -2179,15 +2155,15 @@ "binop": null, "updateContext": null }, - "start": 302, - "end": 303, + "start": 682, + "end": 683, "loc": { "start": { - "line": 5, + "line": 23, "column": 23 }, "end": { - "line": 5, + "line": 23, "column": 24 } } @@ -2207,15 +2183,15 @@ "updateContext": null }, "value": "export", - "start": 304, - "end": 310, + "start": 684, + "end": 690, "loc": { "start": { - "line": 6, + "line": 24, "column": 0 }, "end": { - "line": 6, + "line": 24, "column": 6 } } @@ -2235,15 +2211,15 @@ "updateContext": null }, "value": "default", - "start": 311, - "end": 318, + "start": 691, + "end": 698, "loc": { "start": { - "line": 6, + "line": 24, "column": 7 }, "end": { - "line": 6, + "line": 24, "column": 14 } } @@ -2261,15 +2237,15 @@ "binop": null }, "value": "Once", - "start": 319, - "end": 323, + "start": 699, + "end": 703, "loc": { "start": { - "line": 6, + "line": 24, "column": 15 }, "end": { - "line": 6, + "line": 24, "column": 19 } } @@ -2287,15 +2263,15 @@ "binop": null, "updateContext": null }, - "start": 323, - "end": 324, + "start": 703, + "end": 704, "loc": { "start": { - "line": 6, + "line": 24, "column": 19 }, "end": { - "line": 6, + "line": 24, "column": 20 } } @@ -2313,15 +2289,15 @@ "binop": null, "updateContext": null }, - "start": 325, - "end": 325, + "start": 705, + "end": 705, "loc": { "start": { - "line": 7, + "line": 25, "column": 0 }, "end": { - "line": 7, + "line": 25, "column": 0 } } diff --git a/docs/ast/source/onceAll.js.json b/docs/ast/source/onceAll.js.json deleted file mode 100644 index e9c8d74..0000000 --- a/docs/ast/source/onceAll.js.json +++ /dev/null @@ -1,2396 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 331, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 331, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - }, - "identifierName": "once" - }, - "name": "once" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - }, - "identifierName": "once" - }, - "name": "once" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 31, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 57, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 57, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 57, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 81, - "end": 92, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 94, - "end": 145, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 51 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 103, - "end": 121, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "imported": { - "type": "Identifier", - "start": 103, - "end": 121, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "local": { - "type": "Identifier", - "start": 103, - "end": 121, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 129, - "end": 144, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - } - }, - { - "type": "ExportNamedDeclaration", - "start": 146, - "end": 275, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 129 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 153, - "end": 275, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 129 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 159, - "end": 274, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 128 - } - }, - "id": { - "type": "Identifier", - "start": 159, - "end": 166, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 20 - }, - "identifierName": "OnceAll" - }, - "name": "OnceAll" - }, - "init": { - "type": "CallExpression", - "start": 169, - "end": 274, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 128 - } - }, - "callee": { - "type": "CallExpression", - "start": 169, - "end": 272, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 126 - } - }, - "callee": { - "type": "MemberExpression", - "start": 169, - "end": 201, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 55 - } - }, - "object": { - "type": "Identifier", - "start": 169, - "end": 185, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 39 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 186, - "end": 201, - "loc": { - "start": { - "line": 4, - "column": 40 - }, - "end": { - "line": 4, - "column": 55 - }, - "identifierName": "createDecorator" - }, - "name": "createDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 202, - "end": 271, - "loc": { - "start": { - "line": 4, - "column": 56 - }, - "end": { - "line": 4, - "column": 125 - } - }, - "callee": { - "type": "Identifier", - "start": 206, - "end": 221, - "loc": { - "start": { - "line": 4, - "column": 60 - }, - "end": { - "line": 4, - "column": 75 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 222, - "end": 226, - "loc": { - "start": { - "line": 4, - "column": 76 - }, - "end": { - "line": 4, - "column": 80 - }, - "identifierName": "once" - }, - "name": "once" - }, - { - "type": "NewExpression", - "start": 228, - "end": 252, - "loc": { - "start": { - "line": 4, - "column": 82 - }, - "end": { - "line": 4, - "column": 106 - } - }, - "callee": { - "type": "Identifier", - "start": 232, - "end": 250, - "loc": { - "start": { - "line": 4, - "column": 86 - }, - "end": { - "line": 4, - "column": 104 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "arguments": [] - }, - { - "type": "ObjectExpression", - "start": 254, - "end": 270, - "loc": { - "start": { - "line": 4, - "column": 108 - }, - "end": { - "line": 4, - "column": 124 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 256, - "end": 268, - "loc": { - "start": { - "line": 4, - "column": 110 - }, - "end": { - "line": 4, - "column": 122 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 256, - "end": 262, - "loc": { - "start": { - "line": 4, - "column": 110 - }, - "end": { - "line": 4, - "column": 116 - }, - "identifierName": "setter" - }, - "name": "setter" - }, - "value": { - "type": "BooleanLiteral", - "start": 264, - "end": 268, - "loc": { - "start": { - "line": 4, - "column": 118 - }, - "end": { - "line": 4, - "column": 122 - } - }, - "value": true - } - } - ] - } - ] - } - ] - }, - "arguments": [] - } - } - ], - "kind": "const", - "leadingComments": [], - "trailingComments": [] - } - }, - { - "type": "ExportNamedDeclaration", - "start": 276, - "end": 306, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 30 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 285, - "end": 303, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 27 - } - }, - "local": { - "type": "Identifier", - "start": 285, - "end": 292, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - }, - "identifierName": "OnceAll" - }, - "name": "OnceAll" - }, - "exported": { - "type": "Identifier", - "start": 296, - "end": 303, - "loc": { - "start": { - "line": 5, - "column": 20 - }, - "end": { - "line": 5, - "column": 27 - }, - "identifierName": "onceAll" - }, - "name": "onceAll" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 307, - "end": 330, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 23 - } - }, - "declaration": { - "type": "Identifier", - "start": 322, - "end": 329, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 22 - }, - "identifierName": "OnceAll" - }, - "name": "OnceAll", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "once", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 16, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 29, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 31, - "end": 37, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 38, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 55, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 57, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 74, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 76, - "end": 80, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 81, - "end": 92, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 94, - "end": 100, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 101, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 103, - "end": 121, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 124, - "end": 128, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 129, - "end": 144, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 144, - "end": 145, - "loc": { - "start": { - "line": 3, - "column": 50 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 146, - "end": 152, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 153, - "end": 158, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "OnceAll", - "start": 159, - "end": 166, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 167, - "end": 168, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 169, - "end": 185, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 185, - "end": 186, - "loc": { - "start": { - "line": 4, - "column": 39 - }, - "end": { - "line": 4, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createDecorator", - "start": 186, - "end": 201, - "loc": { - "start": { - "line": 4, - "column": 40 - }, - "end": { - "line": 4, - "column": 55 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 201, - "end": 202, - "loc": { - "start": { - "line": 4, - "column": 55 - }, - "end": { - "line": 4, - "column": 56 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 202, - "end": 205, - "loc": { - "start": { - "line": 4, - "column": 56 - }, - "end": { - "line": 4, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 206, - "end": 221, - "loc": { - "start": { - "line": 4, - "column": 60 - }, - "end": { - "line": 4, - "column": 75 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 4, - "column": 75 - }, - "end": { - "line": 4, - "column": 76 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "once", - "start": 222, - "end": 226, - "loc": { - "start": { - "line": 4, - "column": 76 - }, - "end": { - "line": 4, - "column": 80 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 4, - "column": 80 - }, - "end": { - "line": 4, - "column": 81 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 228, - "end": 231, - "loc": { - "start": { - "line": 4, - "column": 82 - }, - "end": { - "line": 4, - "column": 85 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 232, - "end": 250, - "loc": { - "start": { - "line": 4, - "column": 86 - }, - "end": { - "line": 4, - "column": 104 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 250, - "end": 251, - "loc": { - "start": { - "line": 4, - "column": 104 - }, - "end": { - "line": 4, - "column": 105 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 4, - "column": 105 - }, - "end": { - "line": 4, - "column": 106 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 4, - "column": 106 - }, - "end": { - "line": 4, - "column": 107 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 4, - "column": 108 - }, - "end": { - "line": 4, - "column": 109 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setter", - "start": 256, - "end": 262, - "loc": { - "start": { - "line": 4, - "column": 110 - }, - "end": { - "line": 4, - "column": 116 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 262, - "end": 263, - "loc": { - "start": { - "line": 4, - "column": 116 - }, - "end": { - "line": 4, - "column": 117 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 264, - "end": 268, - "loc": { - "start": { - "line": 4, - "column": 118 - }, - "end": { - "line": 4, - "column": 122 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 269, - "end": 270, - "loc": { - "start": { - "line": 4, - "column": 123 - }, - "end": { - "line": 4, - "column": 124 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 270, - "end": 271, - "loc": { - "start": { - "line": 4, - "column": 124 - }, - "end": { - "line": 4, - "column": 125 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 4, - "column": 125 - }, - "end": { - "line": 4, - "column": 126 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 272, - "end": 273, - "loc": { - "start": { - "line": 4, - "column": 126 - }, - "end": { - "line": 4, - "column": 127 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 273, - "end": 274, - "loc": { - "start": { - "line": 4, - "column": 127 - }, - "end": { - "line": 4, - "column": 128 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 274, - "end": 275, - "loc": { - "start": { - "line": 4, - "column": 128 - }, - "end": { - "line": 4, - "column": 129 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 276, - "end": 282, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 283, - "end": 284, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "OnceAll", - "start": 285, - "end": 292, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 293, - "end": 295, - "loc": { - "start": { - "line": 5, - "column": 17 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "onceAll", - "start": 296, - "end": 303, - "loc": { - "start": { - "line": 5, - "column": 20 - }, - "end": { - "line": 5, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 304, - "end": 305, - "loc": { - "start": { - "line": 5, - "column": 28 - }, - "end": { - "line": 5, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 305, - "end": 306, - "loc": { - "start": { - "line": 5, - "column": 29 - }, - "end": { - "line": 5, - "column": 30 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 307, - "end": 313, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 314, - "end": 321, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "OnceAll", - "start": 322, - "end": 329, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 331, - "end": 331, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/flip.js.json b/docs/ast/source/onceAll.ts.json similarity index 71% rename from docs/ast/source/flip.js.json rename to docs/ast/source/onceAll.ts.json index b7ce6e0..b5bc5ce 100644 --- a/docs/ast/source/flip.js.json +++ b/docs/ast/source/onceAll.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 667, + "end": 765, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 667, + "end": 765, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 30, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 30 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - }, - "identifierName": "flip" - }, - "name": "flip" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 13 - }, - "identifierName": "flip" - }, - "name": "flip" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 31, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 40, - "end": 55, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 81, - "end": 92, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 94, - "end": 145, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 129, - "end": 144, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -337,12 +251,12 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n *\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Flip()\n * fn(a, b) {\n * return [ a, b ];\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10, 20); // => [ 20, 10 ]\n ", - "start": 146, - "end": 513, + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n * This is shared across all instances of the class.\n *\n * @example\n * const value = 0;\n *\n * class MyClass {\n * @Once()\n * fn(): number {\n * return ++value;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass2.fn(); //=> 1\n ", + "start": 115, + "end": 559, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -355,8 +269,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 514, - "end": 620, + "start": 560, + "end": 709, "loc": { "start": { "line": 23, @@ -364,15 +278,15 @@ }, "end": { "line": 23, - "column": 106 + "column": 149 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 521, - "end": 620, + "start": 567, + "end": 709, "loc": { "start": { "line": 23, @@ -380,14 +294,14 @@ }, "end": { "line": 23, - "column": 106 + "column": 149 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 527, - "end": 619, + "start": 573, + "end": 708, "loc": { "start": { "line": 23, @@ -395,13 +309,13 @@ }, "end": { "line": 23, - "column": 105 + "column": 148 } }, "id": { "type": "Identifier", - "start": 527, - "end": 531, + "start": 573, + "end": 580, "loc": { "start": { "line": 23, @@ -409,53 +323,53 @@ }, "end": { "line": 23, - "column": 17 + "column": 20 }, - "identifierName": "Flip" + "identifierName": "OnceAll" }, - "name": "Flip", + "name": "OnceAll", "leadingComments": null }, "init": { "type": "CallExpression", - "start": 534, - "end": 619, + "start": 583, + "end": 708, "loc": { "start": { "line": 23, - "column": 20 + "column": 23 }, "end": { "line": 23, - "column": 105 + "column": 148 } }, "callee": { "type": "MemberExpression", - "start": 534, - "end": 566, + "start": 583, + "end": 615, "loc": { "start": { "line": 23, - "column": 20 + "column": 23 }, "end": { "line": 23, - "column": 52 + "column": 55 } }, "object": { "type": "Identifier", - "start": 534, - "end": 550, + "start": 583, + "end": 599, "loc": { "start": { "line": 23, - "column": 20 + "column": 23 }, "end": { "line": 23, - "column": 36 + "column": 39 }, "identifierName": "DecoratorFactory" }, @@ -463,16 +377,16 @@ }, "property": { "type": "Identifier", - "start": 551, - "end": 566, + "start": 600, + "end": 615, "loc": { "start": { "line": 23, - "column": 37 + "column": 40 }, "end": { "line": 23, - "column": 52 + "column": 55 }, "identifierName": "createDecorator" }, @@ -483,30 +397,30 @@ "arguments": [ { "type": "NewExpression", - "start": 567, - "end": 618, + "start": 616, + "end": 707, "loc": { "start": { "line": 23, - "column": 53 + "column": 56 }, "end": { "line": 23, - "column": 104 + "column": 147 } }, "callee": { "type": "Identifier", - "start": 571, - "end": 586, + "start": 620, + "end": 635, "loc": { "start": { "line": 23, - "column": 57 + "column": 60 }, "end": { "line": 23, - "column": 72 + "column": 75 }, "identifierName": "DecoratorConfig" }, @@ -515,53 +429,172 @@ "arguments": [ { "type": "Identifier", - "start": 587, - "end": 591, + "start": 636, + "end": 640, "loc": { "start": { "line": 23, - "column": 73 + "column": 76 }, "end": { "line": 23, - "column": 77 + "column": 80 }, - "identifierName": "flip" + "identifierName": "once" }, - "name": "flip" + "name": "once" }, { "type": "NewExpression", - "start": 593, - "end": 617, + "start": 642, + "end": 666, "loc": { "start": { "line": 23, - "column": 79 + "column": 82 }, "end": { "line": 23, - "column": 103 + "column": 106 } }, "callee": { "type": "Identifier", - "start": 597, - "end": 615, + "start": 646, + "end": 664, "loc": { "start": { "line": 23, - "column": 83 + "column": 86 }, "end": { "line": 23, - "column": 101 + "column": 104 }, "identifierName": "PreValueApplicator" }, "name": "PreValueApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 668, + "end": 706, + "loc": { + "start": { + "line": 23, + "column": 108 + }, + "end": { + "line": 23, + "column": 146 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 670, + "end": 682, + "loc": { + "start": { + "line": 23, + "column": 110 + }, + "end": { + "line": 23, + "column": 122 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 670, + "end": 676, + "loc": { + "start": { + "line": 23, + "column": 110 + }, + "end": { + "line": 23, + "column": 116 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 678, + "end": 682, + "loc": { + "start": { + "line": 23, + "column": 118 + }, + "end": { + "line": 23, + "column": 122 + } + }, + "value": true + } + }, + { + "type": "ObjectProperty", + "start": 684, + "end": 704, + "loc": { + "start": { + "line": 23, + "column": 124 + }, + "end": { + "line": 23, + "column": 144 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 684, + "end": 698, + "loc": { + "start": { + "line": 23, + "column": 124 + }, + "end": { + "line": 23, + "column": 138 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 700, + "end": 704, + "loc": { + "start": { + "line": 23, + "column": 140 + }, + "end": { + "line": 23, + "column": 144 + } + }, + "value": true + } + } + ] } ] } @@ -574,12 +607,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n *\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Flip()\n * fn(a, b) {\n * return [ a, b ];\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10, 20); // => [ 20, 10 ]\n ", - "start": 146, - "end": 513, + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n * This is shared across all instances of the class.\n *\n * @example\n * const value = 0;\n *\n * class MyClass {\n * @Once()\n * fn(): number {\n * return ++value;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass2.fn(); //=> 1\n ", + "start": 115, + "end": 559, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -594,12 +627,12 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n *\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Flip()\n * fn(a, b) {\n * return [ a, b ];\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10, 20); // => [ 20, 10 ]\n ", - "start": 146, - "end": 513, + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n * This is shared across all instances of the class.\n *\n * @example\n * const value = 0;\n *\n * class MyClass {\n * @Once()\n * fn(): number {\n * return ++value;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass2.fn(); //=> 1\n ", + "start": 115, + "end": 559, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -612,8 +645,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 621, - "end": 645, + "start": 710, + "end": 740, "loc": { "start": { "line": 24, @@ -621,15 +654,15 @@ }, "end": { "line": 24, - "column": 24 + "column": 30 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", - "start": 630, - "end": 642, + "start": 719, + "end": 737, "loc": { "start": { "line": 24, @@ -637,13 +670,13 @@ }, "end": { "line": 24, - "column": 21 + "column": 27 } }, "local": { "type": "Identifier", - "start": 630, - "end": 634, + "start": 719, + "end": 726, "loc": { "start": { "line": 24, @@ -651,28 +684,28 @@ }, "end": { "line": 24, - "column": 13 + "column": 16 }, - "identifierName": "Flip" + "identifierName": "OnceAll" }, - "name": "Flip" + "name": "OnceAll" }, "exported": { "type": "Identifier", - "start": 638, - "end": 642, + "start": 730, + "end": 737, "loc": { "start": { "line": 24, - "column": 17 + "column": 20 }, "end": { "line": 24, - "column": 21 + "column": 27 }, - "identifierName": "flip" + "identifierName": "onceAll" }, - "name": "flip" + "name": "onceAll" } } ], @@ -680,8 +713,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 646, - "end": 666, + "start": 741, + "end": 764, "loc": { "start": { "line": 25, @@ -689,13 +722,13 @@ }, "end": { "line": 25, - "column": 20 + "column": 23 } }, "declaration": { "type": "Identifier", - "start": 661, - "end": 665, + "start": 756, + "end": 763, "loc": { "start": { "line": 25, @@ -703,11 +736,11 @@ }, "end": { "line": 25, - "column": 19 + "column": 22 }, - "identifierName": "Flip" + "identifierName": "OnceAll" }, - "name": "Flip", + "name": "OnceAll", "leadingComments": [], "trailingComments": [] } @@ -718,12 +751,12 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n *\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Flip()\n * fn(a, b) {\n * return [ a, b ];\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10, 20); // => [ 20, 10 ]\n ", - "start": 146, - "end": 513, + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n * This is shared across all instances of the class.\n *\n * @example\n * const value = 0;\n *\n * class MyClass {\n * @Once()\n * fn(): number {\n * return ++value;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass2.fn(); //=> 1\n ", + "start": 115, + "end": 559, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { @@ -739,7 +772,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -799,9 +832,9 @@ "postfix": false, "binop": null }, - "value": "flip", + "value": "DecoratorConfig", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -809,32 +842,33 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14, - "end": 15, + "start": 24, + "end": 25, "loc": { "start": { "line": 1, - "column": 14 + "column": 24 }, "end": { "line": 1, - "column": 15 + "column": 25 } } }, @@ -850,79 +884,76 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 16, - "end": 20, + "value": "DecoratorFactory", + "start": 26, + "end": 42, "loc": { "start": { "line": 1, - "column": 16 + "column": 26 }, "end": { "line": 1, - "column": 20 + "column": 42 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "lodash", - "start": 21, - "end": 29, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 21 + "column": 43 }, "end": { "line": 1, - "column": 29 + "column": 44 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 29, - "end": 30, + "value": "from", + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 29 + "column": 45 }, "end": { "line": 1, - "column": 30 + "column": 49 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -931,48 +962,50 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 31, - "end": 37, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, - "column": 0 + "line": 1, + "column": 50 }, "end": { - "line": 2, - "column": 6 + "line": 1, + "column": 61 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 38, - "end": 39, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, - "column": 7 + "line": 1, + "column": 61 }, "end": { - "line": 2, - "column": 8 + "line": 1, + "column": 62 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -980,45 +1013,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 40, - "end": 55, + "value": "import", + "start": 63, + "end": 69, "loc": { "start": { "line": 2, - "column": 9 + "column": 0 }, "end": { "line": 2, - "column": 24 + "column": 6 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 55, - "end": 56, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, - "column": 24 + "column": 7 }, "end": { "line": 2, - "column": 25 + "column": 8 } } }, @@ -1034,17 +1067,17 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 57, - "end": 73, + "value": "PreValueApplicator", + "start": 72, + "end": 90, "loc": { "start": { "line": 2, - "column": 26 + "column": 9 }, "end": { "line": 2, - "column": 42 + "column": 27 } } }, @@ -1060,16 +1093,16 @@ "postfix": false, "binop": null }, - "start": 74, - "end": 75, + "start": 91, + "end": 92, "loc": { "start": { "line": 2, - "column": 43 + "column": 28 }, "end": { "line": 2, - "column": 44 + "column": 29 } } }, @@ -1086,16 +1119,16 @@ "binop": null }, "value": "from", - "start": 76, - "end": 80, + "start": 93, + "end": 97, "loc": { "start": { "line": 2, - "column": 45 + "column": 30 }, "end": { "line": 2, - "column": 49 + "column": 34 } } }, @@ -1112,17 +1145,17 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 81, - "end": 92, + "value": "./applicators", + "start": 98, + "end": 113, "loc": { "start": { "line": 2, - "column": 50 + "column": 35 }, "end": { "line": 2, - "column": 61 + "column": 50 } } }, @@ -1139,23 +1172,39 @@ "binop": null, "updateContext": null }, - "start": 92, - "end": 93, + "start": 113, + "end": 114, "loc": { "start": { "line": 2, - "column": 61 + "column": 50 }, "end": { "line": 2, - "column": 62 + "column": 51 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n * This is shared across all instances of the class.\n *\n * @example\n * const value = 0;\n *\n * class MyClass {\n * @Once()\n * fn(): number {\n * return ++value;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass2.fn(); //=> 1\n ", + "start": 115, + "end": 559, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 22, + "column": 3 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1166,42 +1215,45 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 94, - "end": 100, + "value": "export", + "start": 560, + "end": 566, "loc": { "start": { - "line": 3, + "line": 23, "column": 0 }, "end": { - "line": 3, + "line": 23, "column": 6 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 101, - "end": 102, + "value": "const", + "start": 567, + "end": 572, "loc": { "start": { - "line": 3, + "line": 23, "column": 7 }, "end": { - "line": 3, - "column": 8 + "line": 23, + "column": 12 } } }, @@ -1217,42 +1269,44 @@ "postfix": false, "binop": null }, - "value": "PreValueApplicator", - "start": 103, - "end": 121, + "value": "OnceAll", + "start": 573, + "end": 580, "loc": { "start": { - "line": 3, - "column": 9 + "line": 23, + "column": 13 }, "end": { - "line": 3, - "column": 27 + "line": 23, + "column": 20 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 122, - "end": 123, + "value": "=", + "start": 581, + "end": 582, "loc": { "start": { - "line": 3, - "column": 28 + "line": 23, + "column": 21 }, "end": { - "line": 3, - "column": 29 + "line": 23, + "column": 22 } } }, @@ -1268,25 +1322,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 124, - "end": 128, + "value": "DecoratorFactory", + "start": 583, + "end": 599, "loc": { "start": { - "line": 3, - "column": 30 + "line": 23, + "column": 23 }, "end": { - "line": 3, - "column": 34 + "line": 23, + "column": 39 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1295,68 +1349,76 @@ "binop": null, "updateContext": null }, - "value": "./applicators", - "start": 129, - "end": 144, + "start": 599, + "end": 600, "loc": { "start": { - "line": 3, - "column": 35 + "line": 23, + "column": 39 }, "end": { - "line": 3, - "column": 50 + "line": 23, + "column": 40 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 144, - "end": 145, + "value": "createDecorator", + "start": 600, + "end": 615, "loc": { "start": { - "line": 3, - "column": 50 + "line": 23, + "column": 40 }, "end": { - "line": 3, - "column": 51 + "line": 23, + "column": 55 } } }, { - "type": "CommentBlock", - "value": "*\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n *\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Flip()\n * fn(a, b) {\n * return [ a, b ];\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10, 20); // => [ 20, 10 ]\n ", - "start": 146, - "end": 513, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 615, + "end": 616, "loc": { "start": { - "line": 4, - "column": 0 + "line": 23, + "column": 55 }, "end": { - "line": 22, - "column": 3 + "line": 23, + "column": 56 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1365,52 +1427,50 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 514, - "end": 520, + "value": "new", + "start": 616, + "end": 619, "loc": { "start": { "line": 23, - "column": 0 + "column": 56 }, "end": { "line": 23, - "column": 6 + "column": 59 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 521, - "end": 526, + "value": "DecoratorConfig", + "start": 620, + "end": 635, "loc": { "start": { "line": 23, - "column": 7 + "column": 60 }, "end": { "line": 23, - "column": 12 + "column": 75 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1419,78 +1479,77 @@ "postfix": false, "binop": null }, - "value": "Flip", - "start": 527, - "end": 531, + "start": 635, + "end": 636, "loc": { "start": { "line": 23, - "column": 13 + "column": 75 }, "end": { "line": 23, - "column": 17 + "column": 76 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 532, - "end": 533, + "value": "once", + "start": 636, + "end": 640, "loc": { "start": { "line": 23, - "column": 18 + "column": 76 }, "end": { "line": 23, - "column": 19 + "column": 80 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorFactory", - "start": 534, - "end": 550, + "start": 640, + "end": 641, "loc": { "start": { "line": 23, - "column": 20 + "column": 80 }, "end": { "line": 23, - "column": 36 + "column": 81 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1499,16 +1558,17 @@ "binop": null, "updateContext": null }, - "start": 550, - "end": 551, + "value": "new", + "start": 642, + "end": 645, "loc": { "start": { "line": 23, - "column": 36 + "column": 82 }, "end": { "line": 23, - "column": 37 + "column": 85 } } }, @@ -1524,17 +1584,17 @@ "postfix": false, "binop": null }, - "value": "createDecorator", - "start": 551, - "end": 566, + "value": "PreValueApplicator", + "start": 646, + "end": 664, "loc": { "start": { "line": 23, - "column": 37 + "column": 86 }, "end": { "line": 23, - "column": 52 + "column": 104 } } }, @@ -1550,76 +1610,73 @@ "postfix": false, "binop": null }, - "start": 566, - "end": 567, + "start": 664, + "end": 665, "loc": { "start": { "line": 23, - "column": 52 + "column": 104 }, "end": { "line": 23, - "column": 53 + "column": 105 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 567, - "end": 570, + "start": 665, + "end": 666, "loc": { "start": { "line": 23, - "column": 53 + "column": 105 }, "end": { "line": 23, - "column": 56 + "column": 106 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 571, - "end": 586, + "start": 666, + "end": 667, "loc": { "start": { "line": 23, - "column": 57 + "column": 106 }, "end": { "line": 23, - "column": 72 + "column": 107 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1629,16 +1686,16 @@ "postfix": false, "binop": null }, - "start": 586, - "end": 587, + "start": 668, + "end": 669, "loc": { "start": { "line": 23, - "column": 72 + "column": 108 }, "end": { "line": 23, - "column": 73 + "column": 109 } } }, @@ -1654,23 +1711,23 @@ "postfix": false, "binop": null }, - "value": "flip", - "start": 587, - "end": 591, + "value": "setter", + "start": 670, + "end": 676, "loc": { "start": { "line": 23, - "column": 73 + "column": 110 }, "end": { "line": 23, - "column": 77 + "column": 116 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1681,24 +1738,24 @@ "binop": null, "updateContext": null }, - "start": 591, - "end": 592, + "start": 676, + "end": 677, "loc": { "start": { "line": 23, - "column": 77 + "column": 116 }, "end": { "line": 23, - "column": 78 + "column": 117 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "true", + "keyword": "true", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1708,17 +1765,43 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 593, - "end": 596, + "value": "true", + "start": 678, + "end": 682, "loc": { "start": { "line": 23, - "column": 79 + "column": 118 }, "end": { "line": 23, - "column": 82 + "column": 122 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 682, + "end": 683, + "loc": { + "start": { + "line": 23, + "column": 122 + }, + "end": { + "line": 23, + "column": 123 } } }, @@ -1734,48 +1817,77 @@ "postfix": false, "binop": null }, - "value": "PreValueApplicator", - "start": 597, - "end": 615, + "value": "optionalParams", + "start": 684, + "end": 698, "loc": { "start": { "line": 23, - "column": 83 + "column": 124 }, "end": { "line": 23, - "column": 101 + "column": 138 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 698, + "end": 699, + "loc": { + "start": { + "line": 23, + "column": 138 + }, + "end": { + "line": 23, + "column": 139 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 615, - "end": 616, + "value": "true", + "start": 700, + "end": 704, "loc": { "start": { "line": 23, - "column": 101 + "column": 140 }, "end": { "line": 23, - "column": 102 + "column": 144 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1785,16 +1897,16 @@ "postfix": false, "binop": null }, - "start": 616, - "end": 617, + "start": 705, + "end": 706, "loc": { "start": { "line": 23, - "column": 102 + "column": 145 }, "end": { "line": 23, - "column": 103 + "column": 146 } } }, @@ -1810,16 +1922,16 @@ "postfix": false, "binop": null }, - "start": 617, - "end": 618, + "start": 706, + "end": 707, "loc": { "start": { "line": 23, - "column": 103 + "column": 146 }, "end": { "line": 23, - "column": 104 + "column": 147 } } }, @@ -1835,16 +1947,16 @@ "postfix": false, "binop": null }, - "start": 618, - "end": 619, + "start": 707, + "end": 708, "loc": { "start": { "line": 23, - "column": 104 + "column": 147 }, "end": { "line": 23, - "column": 105 + "column": 148 } } }, @@ -1861,16 +1973,16 @@ "binop": null, "updateContext": null }, - "start": 619, - "end": 620, + "start": 708, + "end": 709, "loc": { "start": { "line": 23, - "column": 105 + "column": 148 }, "end": { "line": 23, - "column": 106 + "column": 149 } } }, @@ -1889,8 +2001,8 @@ "updateContext": null }, "value": "export", - "start": 621, - "end": 627, + "start": 710, + "end": 716, "loc": { "start": { "line": 24, @@ -1914,8 +2026,8 @@ "postfix": false, "binop": null }, - "start": 628, - "end": 629, + "start": 717, + "end": 718, "loc": { "start": { "line": 24, @@ -1939,9 +2051,9 @@ "postfix": false, "binop": null }, - "value": "Flip", - "start": 630, - "end": 634, + "value": "OnceAll", + "start": 719, + "end": 726, "loc": { "start": { "line": 24, @@ -1949,7 +2061,7 @@ }, "end": { "line": 24, - "column": 13 + "column": 16 } } }, @@ -1966,16 +2078,16 @@ "binop": null }, "value": "as", - "start": 635, - "end": 637, + "start": 727, + "end": 729, "loc": { "start": { "line": 24, - "column": 14 + "column": 17 }, "end": { "line": 24, - "column": 16 + "column": 19 } } }, @@ -1991,17 +2103,17 @@ "postfix": false, "binop": null }, - "value": "flip", - "start": 638, - "end": 642, + "value": "onceAll", + "start": 730, + "end": 737, "loc": { "start": { "line": 24, - "column": 17 + "column": 20 }, "end": { "line": 24, - "column": 21 + "column": 27 } } }, @@ -2017,16 +2129,16 @@ "postfix": false, "binop": null }, - "start": 643, - "end": 644, + "start": 738, + "end": 739, "loc": { "start": { "line": 24, - "column": 22 + "column": 28 }, "end": { "line": 24, - "column": 23 + "column": 29 } } }, @@ -2043,16 +2155,16 @@ "binop": null, "updateContext": null }, - "start": 644, - "end": 645, + "start": 739, + "end": 740, "loc": { "start": { "line": 24, - "column": 23 + "column": 29 }, "end": { "line": 24, - "column": 24 + "column": 30 } } }, @@ -2071,8 +2183,8 @@ "updateContext": null }, "value": "export", - "start": 646, - "end": 652, + "start": 741, + "end": 747, "loc": { "start": { "line": 25, @@ -2099,8 +2211,8 @@ "updateContext": null }, "value": "default", - "start": 653, - "end": 660, + "start": 748, + "end": 755, "loc": { "start": { "line": 25, @@ -2124,9 +2236,9 @@ "postfix": false, "binop": null }, - "value": "Flip", - "start": 661, - "end": 665, + "value": "OnceAll", + "start": 756, + "end": 763, "loc": { "start": { "line": 25, @@ -2134,7 +2246,7 @@ }, "end": { "line": 25, - "column": 19 + "column": 22 } } }, @@ -2151,16 +2263,16 @@ "binop": null, "updateContext": null }, - "start": 665, - "end": 666, + "start": 763, + "end": 764, "loc": { "start": { "line": 25, - "column": 19 + "column": 22 }, "end": { "line": 25, - "column": 20 + "column": 23 } } }, @@ -2177,8 +2289,8 @@ "binop": null, "updateContext": null }, - "start": 667, - "end": 667, + "start": 765, + "end": 765, "loc": { "start": { "line": 26, diff --git a/docs/ast/source/overArgs.js.json b/docs/ast/source/overArgs.js.json deleted file mode 100644 index e9afb86..0000000 --- a/docs/ast/source/overArgs.js.json +++ /dev/null @@ -1,2330 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 341, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 341, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - }, - "identifierName": "overArgs" - }, - "name": "overArgs" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - }, - "identifierName": "overArgs" - }, - "name": "overArgs" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 35, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 98, - "end": 149, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 51 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "imported": { - "type": "Identifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "local": { - "type": "Identifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 133, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - } - }, - { - "type": "ExportNamedDeclaration", - "start": 150, - "end": 282, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 132 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 157, - "end": 282, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 132 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 163, - "end": 281, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 131 - } - }, - "id": { - "type": "Identifier", - "start": 163, - "end": 171, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 21 - }, - "identifierName": "OverArgs" - }, - "name": "OverArgs" - }, - "init": { - "type": "CallExpression", - "start": 174, - "end": 281, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 131 - } - }, - "callee": { - "type": "MemberExpression", - "start": 174, - "end": 206, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 174, - "end": 190, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 40 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 191, - "end": 206, - "loc": { - "start": { - "line": 4, - "column": 41 - }, - "end": { - "line": 4, - "column": 56 - }, - "identifierName": "createDecorator" - }, - "name": "createDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 207, - "end": 280, - "loc": { - "start": { - "line": 4, - "column": 57 - }, - "end": { - "line": 4, - "column": 130 - } - }, - "callee": { - "type": "Identifier", - "start": 211, - "end": 226, - "loc": { - "start": { - "line": 4, - "column": 61 - }, - "end": { - "line": 4, - "column": 76 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 227, - "end": 235, - "loc": { - "start": { - "line": 4, - "column": 77 - }, - "end": { - "line": 4, - "column": 85 - }, - "identifierName": "overArgs" - }, - "name": "overArgs" - }, - { - "type": "NewExpression", - "start": 237, - "end": 261, - "loc": { - "start": { - "line": 4, - "column": 87 - }, - "end": { - "line": 4, - "column": 111 - } - }, - "callee": { - "type": "Identifier", - "start": 241, - "end": 259, - "loc": { - "start": { - "line": 4, - "column": 91 - }, - "end": { - "line": 4, - "column": 109 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "arguments": [] - }, - { - "type": "ObjectExpression", - "start": 263, - "end": 279, - "loc": { - "start": { - "line": 4, - "column": 113 - }, - "end": { - "line": 4, - "column": 129 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 265, - "end": 277, - "loc": { - "start": { - "line": 4, - "column": 115 - }, - "end": { - "line": 4, - "column": 127 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 265, - "end": 271, - "loc": { - "start": { - "line": 4, - "column": 115 - }, - "end": { - "line": 4, - "column": 121 - }, - "identifierName": "setter" - }, - "name": "setter" - }, - "value": { - "type": "BooleanLiteral", - "start": 273, - "end": 277, - "loc": { - "start": { - "line": 4, - "column": 123 - }, - "end": { - "line": 4, - "column": 127 - } - }, - "value": true - } - } - ] - } - ] - } - ] - } - } - ], - "kind": "const", - "leadingComments": [], - "trailingComments": [] - } - }, - { - "type": "ExportNamedDeclaration", - "start": 283, - "end": 315, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 32 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 292, - "end": 312, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 29 - } - }, - "local": { - "type": "Identifier", - "start": 292, - "end": 300, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 17 - }, - "identifierName": "OverArgs" - }, - "name": "OverArgs" - }, - "exported": { - "type": "Identifier", - "start": 304, - "end": 312, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 29 - }, - "identifierName": "overArgs" - }, - "name": "overArgs" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 316, - "end": 340, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 24 - } - }, - "declaration": { - "type": "Identifier", - "start": 331, - "end": 339, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 23 - }, - "identifierName": "OverArgs" - }, - "name": "OverArgs", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "overArgs", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 33, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 34 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 35, - "end": 41, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 42, - "end": 43, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 59, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 85, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 96, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 98, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 105, - "end": 106, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 128, - "end": 132, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 133, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 148, - "end": 149, - "loc": { - "start": { - "line": 3, - "column": 50 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 150, - "end": 156, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 157, - "end": 162, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "OverArgs", - "start": 163, - "end": 171, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 172, - "end": 173, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 174, - "end": 190, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 190, - "end": 191, - "loc": { - "start": { - "line": 4, - "column": 40 - }, - "end": { - "line": 4, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createDecorator", - "start": 191, - "end": 206, - "loc": { - "start": { - "line": 4, - "column": 41 - }, - "end": { - "line": 4, - "column": 56 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 206, - "end": 207, - "loc": { - "start": { - "line": 4, - "column": 56 - }, - "end": { - "line": 4, - "column": 57 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 207, - "end": 210, - "loc": { - "start": { - "line": 4, - "column": 57 - }, - "end": { - "line": 4, - "column": 60 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 211, - "end": 226, - "loc": { - "start": { - "line": 4, - "column": 61 - }, - "end": { - "line": 4, - "column": 76 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 4, - "column": 76 - }, - "end": { - "line": 4, - "column": 77 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "overArgs", - "start": 227, - "end": 235, - "loc": { - "start": { - "line": 4, - "column": 77 - }, - "end": { - "line": 4, - "column": 85 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 235, - "end": 236, - "loc": { - "start": { - "line": 4, - "column": 85 - }, - "end": { - "line": 4, - "column": 86 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 237, - "end": 240, - "loc": { - "start": { - "line": 4, - "column": 87 - }, - "end": { - "line": 4, - "column": 90 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 241, - "end": 259, - "loc": { - "start": { - "line": 4, - "column": 91 - }, - "end": { - "line": 4, - "column": 109 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 259, - "end": 260, - "loc": { - "start": { - "line": 4, - "column": 109 - }, - "end": { - "line": 4, - "column": 110 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 260, - "end": 261, - "loc": { - "start": { - "line": 4, - "column": 110 - }, - "end": { - "line": 4, - "column": 111 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 4, - "column": 111 - }, - "end": { - "line": 4, - "column": 112 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 263, - "end": 264, - "loc": { - "start": { - "line": 4, - "column": 113 - }, - "end": { - "line": 4, - "column": 114 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setter", - "start": 265, - "end": 271, - "loc": { - "start": { - "line": 4, - "column": 115 - }, - "end": { - "line": 4, - "column": 121 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 4, - "column": 121 - }, - "end": { - "line": 4, - "column": 122 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 273, - "end": 277, - "loc": { - "start": { - "line": 4, - "column": 123 - }, - "end": { - "line": 4, - "column": 127 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 278, - "end": 279, - "loc": { - "start": { - "line": 4, - "column": 128 - }, - "end": { - "line": 4, - "column": 129 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 279, - "end": 280, - "loc": { - "start": { - "line": 4, - "column": 129 - }, - "end": { - "line": 4, - "column": 130 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 280, - "end": 281, - "loc": { - "start": { - "line": 4, - "column": 130 - }, - "end": { - "line": 4, - "column": 131 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 4, - "column": 131 - }, - "end": { - "line": 4, - "column": 132 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 283, - "end": 289, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 290, - "end": 291, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "OverArgs", - "start": 292, - "end": 300, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 301, - "end": 303, - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 5, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "overArgs", - "start": 304, - "end": 312, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 29 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 313, - "end": 314, - "loc": { - "start": { - "line": 5, - "column": 30 - }, - "end": { - "line": 5, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 314, - "end": 315, - "loc": { - "start": { - "line": 5, - "column": 31 - }, - "end": { - "line": 5, - "column": 32 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 316, - "end": 322, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 323, - "end": 330, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "OverArgs", - "start": 331, - "end": 339, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 339, - "end": 340, - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 24 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 341, - "end": 341, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/overArgs.ts.json b/docs/ast/source/overArgs.ts.json new file mode 100644 index 0000000..944cf86 --- /dev/null +++ b/docs/ast/source/overArgs.ts.json @@ -0,0 +1,2992 @@ +{ + "type": "File", + "start": 0, + "end": 566, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 19, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 566, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 19, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 51 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 115, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 126 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 186, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 79 + }, + "identifierName": "overArgs" + }, + "name": "overArgs" + }, + { + "type": "NewExpression", + "start": 196, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 105 + } + }, + "callee": { + "type": "Identifier", + "start": 200, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 103 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 222, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 224, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 224, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 115 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 232, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 426, + "end": 506, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 433, + "end": 506, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 442, + "end": 450, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 24 + }, + "identifierName": "OverArgs" + }, + "name": "OverArgs", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 451, + "end": 464, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 38 + } + }, + "argument": { + "type": "Identifier", + "start": 454, + "end": 464, + "loc": { + "start": { + "line": 14, + "column": 28 + }, + "end": { + "line": 14, + "column": 38 + }, + "identifierName": "transforms" + }, + "name": "transforms" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 466, + "end": 506, + "loc": { + "start": { + "line": 14, + "column": 40 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 472, + "end": 504, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 36 + } + }, + "argument": { + "type": "CallExpression", + "start": 479, + "end": 503, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 479, + "end": 488, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 489, + "end": 502, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 34 + } + }, + "argument": { + "type": "Identifier", + "start": 492, + "end": 502, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 34 + }, + "identifierName": "transforms" + }, + "name": "transforms" + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func with its arguments transformed.\n * @lineNumber\n * 29\n * @param\n * {undefined} transforms\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 425, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func with its arguments transformed.\n * @lineNumber\n * 29\n * @param\n * {undefined} transforms\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 425, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 507, + "end": 539, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 32 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 516, + "end": 536, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 29 + } + }, + "local": { + "type": "Identifier", + "start": 516, + "end": 524, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 17 + }, + "identifierName": "OverArgs" + }, + "name": "OverArgs" + }, + "exported": { + "type": "Identifier", + "start": 528, + "end": 536, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 29 + }, + "identifierName": "overArgs" + }, + "name": "overArgs" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 540, + "end": 565, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 555, + "end": 564, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 540, + "end": 565, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 115, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 126 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 186, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 79 + }, + "identifierName": "overArgs" + }, + "name": "overArgs" + }, + { + "type": "NewExpression", + "start": 196, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 105 + } + }, + "callee": { + "type": "Identifier", + "start": 200, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 103 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 222, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 224, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 224, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 115 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 232, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func with its arguments transformed.\n * @lineNumber\n * 29\n * @param\n * {undefined} transforms\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 425, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func with its arguments transformed.\n * @lineNumber\n * 29\n * @param\n * {undefined} transforms\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 425, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 2, + "column": 28 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 93, + "end": 97, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 113, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 50 + }, + "end": { + "line": 2, + "column": 51 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 115, + "end": 120, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 149, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createDecorator", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 165, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 166, + "end": 169, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 185, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 70 + }, + "end": { + "line": 3, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "overArgs", + "start": 186, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 79 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 194, + "end": 195, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 80 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 196, + "end": 199, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 84 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 200, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 103 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 218, + "end": 219, + "loc": { + "start": { + "line": 3, + "column": 103 + }, + "end": { + "line": 3, + "column": 104 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 219, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 104 + }, + "end": { + "line": 3, + "column": 105 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 220, + "end": 221, + "loc": { + "start": { + "line": 3, + "column": 105 + }, + "end": { + "line": 3, + "column": 106 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 108 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setter", + "start": 224, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 115 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 230, + "end": 231, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 116 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 232, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 121 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 122 + }, + "end": { + "line": 3, + "column": 123 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 238, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 123 + }, + "end": { + "line": 3, + "column": 124 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 239, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 124 + }, + "end": { + "line": 3, + "column": 125 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 240, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 125 + }, + "end": { + "line": 3, + "column": 126 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Creates a function that invokes func with its arguments transformed.\n * @lineNumber\n * 29\n * @param\n * {undefined} transforms\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 425, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 426, + "end": 432, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 433, + "end": 441, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "OverArgs", + "start": 442, + "end": 450, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 450, + "end": 451, + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 25 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 451, + "end": 454, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transforms", + "start": 454, + "end": 464, + "loc": { + "start": { + "line": 14, + "column": 28 + }, + "end": { + "line": 14, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 464, + "end": 465, + "loc": { + "start": { + "line": 14, + "column": 38 + }, + "end": { + "line": 14, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 466, + "end": 467, + "loc": { + "start": { + "line": 14, + "column": 40 + }, + "end": { + "line": 14, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 472, + "end": 478, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 479, + "end": 488, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 488, + "end": 489, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 489, + "end": 492, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "transforms", + "start": 492, + "end": 502, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 502, + "end": 503, + "loc": { + "start": { + "line": 15, + "column": 34 + }, + "end": { + "line": 15, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 503, + "end": 504, + "loc": { + "start": { + "line": 15, + "column": 35 + }, + "end": { + "line": 15, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 505, + "end": 506, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 507, + "end": 513, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 514, + "end": 515, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "OverArgs", + "start": 516, + "end": 524, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 525, + "end": 527, + "loc": { + "start": { + "line": 17, + "column": 18 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "overArgs", + "start": 528, + "end": 536, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 537, + "end": 538, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 538, + "end": 539, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 32 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 540, + "end": 546, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 547, + "end": 554, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 555, + "end": 564, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 564, + "end": 565, + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 18, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 566, + "end": 566, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/partial.ts.json b/docs/ast/source/partial.ts.json new file mode 100644 index 0000000..d3f9cf3 --- /dev/null +++ b/docs/ast/source/partial.ts.json @@ -0,0 +1,3200 @@ +{ + "type": "File", + "start": 0, + "end": 549, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 19, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 549, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 19, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 50 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + }, + "identifierName": "PartialApplicator" + }, + "name": "PartialApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + }, + "identifierName": "PartialApplicator" + }, + "name": "PartialApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 97, + "end": 112, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 49 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 114, + "end": 263, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 149 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 120, + "end": 262, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 148 + } + }, + "id": { + "type": "Identifier", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 132, + "end": 262, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 148 + } + }, + "callee": { + "type": "MemberExpression", + "start": 132, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 173, + "end": 261, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 147 + } + }, + "callee": { + "type": "Identifier", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 193, + "end": 200, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 86 + }, + "identifierName": "partial" + }, + "name": "partial" + }, + { + "type": "NewExpression", + "start": 202, + "end": 225, + "loc": { + "start": { + "line": 3, + "column": 88 + }, + "end": { + "line": 3, + "column": 111 + } + }, + "callee": { + "type": "Identifier", + "start": 206, + "end": 223, + "loc": { + "start": { + "line": 3, + "column": 92 + }, + "end": { + "line": 3, + "column": 109 + }, + "identifierName": "PartialApplicator" + }, + "name": "PartialApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 227, + "end": 260, + "loc": { + "start": { + "line": 3, + "column": 113 + }, + "end": { + "line": 3, + "column": 146 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 229, + "end": 243, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 229, + "end": 237, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 123 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 239, + "end": 243, + "loc": { + "start": { + "line": 3, + "column": 125 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "value": true + } + }, + { + "type": "ObjectProperty", + "start": 245, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 131 + }, + "end": { + "line": 3, + "column": 144 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 245, + "end": 251, + "loc": { + "start": { + "line": 3, + "column": 131 + }, + "end": { + "line": 3, + "column": 137 + }, + "identifierName": "method" + }, + "name": "method" + }, + "value": { + "type": "BooleanLiteral", + "start": 253, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 139 + }, + "end": { + "line": 3, + "column": 144 + } + }, + "value": false + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 416, + "end": 491, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 423, + "end": 491, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 432, + "end": 439, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 23 + }, + "identifierName": "Partial" + }, + "name": "Partial", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 440, + "end": 451, + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 35 + } + }, + "argument": { + "type": "Identifier", + "start": 443, + "end": 451, + "loc": { + "start": { + "line": 14, + "column": 27 + }, + "end": { + "line": 14, + "column": 35 + }, + "identifierName": "partials" + }, + "name": "partials" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 453, + "end": 491, + "loc": { + "start": { + "line": 14, + "column": 37 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 459, + "end": 489, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 34 + } + }, + "argument": { + "type": "CallExpression", + "start": 466, + "end": 488, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 466, + "end": 475, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 476, + "end": 487, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 32 + } + }, + "argument": { + "type": "Identifier", + "start": 479, + "end": 487, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 32 + }, + "identifierName": "partials" + }, + "name": "partials" + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Partially applies arguments to a function.\n * @lineNumber\n * 32\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 264, + "end": 415, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Partially applies arguments to a function.\n * @lineNumber\n * 32\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 264, + "end": 415, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 492, + "end": 522, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 30 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 501, + "end": 519, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 27 + } + }, + "local": { + "type": "Identifier", + "start": 501, + "end": 508, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 16 + }, + "identifierName": "Partial" + }, + "name": "Partial" + }, + "exported": { + "type": "Identifier", + "start": 512, + "end": 519, + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 27 + }, + "identifierName": "partial" + }, + "name": "partial" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 523, + "end": 548, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 538, + "end": 547, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 523, + "end": 548, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 114, + "end": 263, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 149 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 120, + "end": 262, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 148 + } + }, + "id": { + "type": "Identifier", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 132, + "end": 262, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 148 + } + }, + "callee": { + "type": "MemberExpression", + "start": 132, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 173, + "end": 261, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 147 + } + }, + "callee": { + "type": "Identifier", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 193, + "end": 200, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 86 + }, + "identifierName": "partial" + }, + "name": "partial" + }, + { + "type": "NewExpression", + "start": 202, + "end": 225, + "loc": { + "start": { + "line": 3, + "column": 88 + }, + "end": { + "line": 3, + "column": 111 + } + }, + "callee": { + "type": "Identifier", + "start": 206, + "end": 223, + "loc": { + "start": { + "line": 3, + "column": 92 + }, + "end": { + "line": 3, + "column": 109 + }, + "identifierName": "PartialApplicator" + }, + "name": "PartialApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 227, + "end": 260, + "loc": { + "start": { + "line": 3, + "column": 113 + }, + "end": { + "line": 3, + "column": 146 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 229, + "end": 243, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 229, + "end": 237, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 123 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 239, + "end": 243, + "loc": { + "start": { + "line": 3, + "column": 125 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "value": true + } + }, + { + "type": "ObjectProperty", + "start": 245, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 131 + }, + "end": { + "line": 3, + "column": 144 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 245, + "end": 251, + "loc": { + "start": { + "line": 3, + "column": 131 + }, + "end": { + "line": 3, + "column": 137 + }, + "identifierName": "method" + }, + "name": "method" + }, + "value": { + "type": "BooleanLiteral", + "start": 253, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 139 + }, + "end": { + "line": 3, + "column": 144 + } + }, + "value": false + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Partially applies arguments to a function.\n * @lineNumber\n * 32\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 264, + "end": 415, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Partially applies arguments to a function.\n * @lineNumber\n * 32\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 264, + "end": 415, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PartialApplicator", + "start": 72, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 90, + "end": 91, + "loc": { + "start": { + "line": 2, + "column": 27 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 92, + "end": 96, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 97, + "end": 112, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 112, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 49 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 114, + "end": 119, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 130, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createInstanceDecorator", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 172, + "end": 173, + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 173, + "end": 176, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 192, + "end": 193, + "loc": { + "start": { + "line": 3, + "column": 78 + }, + "end": { + "line": 3, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "partial", + "start": 193, + "end": 200, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 86 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 200, + "end": 201, + "loc": { + "start": { + "line": 3, + "column": 86 + }, + "end": { + "line": 3, + "column": 87 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 202, + "end": 205, + "loc": { + "start": { + "line": 3, + "column": 88 + }, + "end": { + "line": 3, + "column": 91 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PartialApplicator", + "start": 206, + "end": 223, + "loc": { + "start": { + "line": 3, + "column": 92 + }, + "end": { + "line": 3, + "column": 109 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 223, + "end": 224, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 110 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 224, + "end": 225, + "loc": { + "start": { + "line": 3, + "column": 110 + }, + "end": { + "line": 3, + "column": 111 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 225, + "end": 226, + "loc": { + "start": { + "line": 3, + "column": 111 + }, + "end": { + "line": 3, + "column": 112 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 227, + "end": 228, + "loc": { + "start": { + "line": 3, + "column": 113 + }, + "end": { + "line": 3, + "column": 114 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 229, + "end": 237, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 123 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 123 + }, + "end": { + "line": 3, + "column": 124 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 239, + "end": 243, + "loc": { + "start": { + "line": 3, + "column": 125 + }, + "end": { + "line": 3, + "column": 129 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 243, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 129 + }, + "end": { + "line": 3, + "column": 130 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "method", + "start": 245, + "end": 251, + "loc": { + "start": { + "line": 3, + "column": 131 + }, + "end": { + "line": 3, + "column": 137 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 251, + "end": 252, + "loc": { + "start": { + "line": 3, + "column": 137 + }, + "end": { + "line": 3, + "column": 138 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 253, + "end": 258, + "loc": { + "start": { + "line": 3, + "column": 139 + }, + "end": { + "line": 3, + "column": 144 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 259, + "end": 260, + "loc": { + "start": { + "line": 3, + "column": 145 + }, + "end": { + "line": 3, + "column": 146 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 260, + "end": 261, + "loc": { + "start": { + "line": 3, + "column": 146 + }, + "end": { + "line": 3, + "column": 147 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 261, + "end": 262, + "loc": { + "start": { + "line": 3, + "column": 147 + }, + "end": { + "line": 3, + "column": 148 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 262, + "end": 263, + "loc": { + "start": { + "line": 3, + "column": 148 + }, + "end": { + "line": 3, + "column": 149 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Partially applies arguments to a function.\n * @lineNumber\n * 32\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 264, + "end": 415, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 416, + "end": 422, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 423, + "end": 431, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Partial", + "start": 432, + "end": 439, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 439, + "end": 440, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 440, + "end": 443, + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "partials", + "start": 443, + "end": 451, + "loc": { + "start": { + "line": 14, + "column": 27 + }, + "end": { + "line": 14, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 451, + "end": 452, + "loc": { + "start": { + "line": 14, + "column": 35 + }, + "end": { + "line": 14, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 453, + "end": 454, + "loc": { + "start": { + "line": 14, + "column": 37 + }, + "end": { + "line": 14, + "column": 38 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 459, + "end": 465, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 466, + "end": 475, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 475, + "end": 476, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 476, + "end": 479, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "partials", + "start": 479, + "end": 487, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 487, + "end": 488, + "loc": { + "start": { + "line": 15, + "column": 32 + }, + "end": { + "line": 15, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 488, + "end": 489, + "loc": { + "start": { + "line": 15, + "column": 33 + }, + "end": { + "line": 15, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 490, + "end": 491, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 492, + "end": 498, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 499, + "end": 500, + "loc": { + "start": { + "line": 17, + "column": 7 + }, + "end": { + "line": 17, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Partial", + "start": 501, + "end": 508, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 509, + "end": 511, + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "partial", + "start": 512, + "end": 519, + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 17, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 521, + "end": 522, + "loc": { + "start": { + "line": 17, + "column": 29 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 523, + "end": 529, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 530, + "end": 537, + "loc": { + "start": { + "line": 18, + "column": 7 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 538, + "end": 547, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 547, + "end": 548, + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 18, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 549, + "end": 549, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/partialRight.js.json b/docs/ast/source/partialRight.js.json deleted file mode 100644 index bfe4b4d..0000000 --- a/docs/ast/source/partialRight.js.json +++ /dev/null @@ -1,2487 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 388, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 388, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 21 - }, - "identifierName": "partialRight" - }, - "name": "partialRight" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 21 - }, - "identifierName": "partialRight" - }, - "name": "partialRight" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 29, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 39, - "end": 101, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 48, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 48, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 48, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 65, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 65, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 65, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 89, - "end": 100, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 102, - "end": 152, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 50 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 111, - "end": 128, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 26 - } - }, - "imported": { - "type": "Identifier", - "start": 111, - "end": 128, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 26 - }, - "identifierName": "PartialApplicator" - }, - "name": "PartialApplicator" - }, - "local": { - "type": "Identifier", - "start": 111, - "end": 128, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 26 - }, - "identifierName": "PartialApplicator" - }, - "name": "PartialApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 136, - "end": 151, - "loc": { - "start": { - "line": 3, - "column": 34 - }, - "end": { - "line": 3, - "column": 49 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - } - }, - { - "type": "ExportNamedDeclaration", - "start": 153, - "end": 317, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 164 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 160, - "end": 317, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 164 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 166, - "end": 316, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 163 - } - }, - "id": { - "type": "Identifier", - "start": 166, - "end": 178, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 25 - }, - "identifierName": "PartialRight" - }, - "name": "PartialRight" - }, - "init": { - "type": "CallExpression", - "start": 181, - "end": 316, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 163 - } - }, - "callee": { - "type": "MemberExpression", - "start": 181, - "end": 221, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 68 - } - }, - "object": { - "type": "Identifier", - "start": 181, - "end": 197, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 44 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 198, - "end": 221, - "loc": { - "start": { - "line": 4, - "column": 45 - }, - "end": { - "line": 4, - "column": 68 - }, - "identifierName": "createInstanceDecorator" - }, - "name": "createInstanceDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 222, - "end": 315, - "loc": { - "start": { - "line": 4, - "column": 69 - }, - "end": { - "line": 4, - "column": 162 - } - }, - "callee": { - "type": "Identifier", - "start": 226, - "end": 241, - "loc": { - "start": { - "line": 4, - "column": 73 - }, - "end": { - "line": 4, - "column": 88 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 242, - "end": 254, - "loc": { - "start": { - "line": 4, - "column": 89 - }, - "end": { - "line": 4, - "column": 101 - }, - "identifierName": "partialRight" - }, - "name": "partialRight" - }, - { - "type": "NewExpression", - "start": 256, - "end": 279, - "loc": { - "start": { - "line": 4, - "column": 103 - }, - "end": { - "line": 4, - "column": 126 - } - }, - "callee": { - "type": "Identifier", - "start": 260, - "end": 277, - "loc": { - "start": { - "line": 4, - "column": 107 - }, - "end": { - "line": 4, - "column": 124 - }, - "identifierName": "PartialApplicator" - }, - "name": "PartialApplicator" - }, - "arguments": [] - }, - { - "type": "ObjectExpression", - "start": 281, - "end": 314, - "loc": { - "start": { - "line": 4, - "column": 128 - }, - "end": { - "line": 4, - "column": 161 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 283, - "end": 297, - "loc": { - "start": { - "line": 4, - "column": 130 - }, - "end": { - "line": 4, - "column": 144 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 283, - "end": 291, - "loc": { - "start": { - "line": 4, - "column": 130 - }, - "end": { - "line": 4, - "column": 138 - }, - "identifierName": "property" - }, - "name": "property" - }, - "value": { - "type": "BooleanLiteral", - "start": 293, - "end": 297, - "loc": { - "start": { - "line": 4, - "column": 140 - }, - "end": { - "line": 4, - "column": 144 - } - }, - "value": true - } - }, - { - "type": "ObjectProperty", - "start": 299, - "end": 312, - "loc": { - "start": { - "line": 4, - "column": 146 - }, - "end": { - "line": 4, - "column": 159 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 299, - "end": 305, - "loc": { - "start": { - "line": 4, - "column": 146 - }, - "end": { - "line": 4, - "column": 152 - }, - "identifierName": "method" - }, - "name": "method" - }, - "value": { - "type": "BooleanLiteral", - "start": 307, - "end": 312, - "loc": { - "start": { - "line": 4, - "column": 154 - }, - "end": { - "line": 4, - "column": 159 - } - }, - "value": false - } - } - ] - } - ] - } - ] - } - } - ], - "kind": "const", - "leadingComments": [], - "trailingComments": [] - } - }, - { - "type": "ExportNamedDeclaration", - "start": 318, - "end": 358, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 40 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 327, - "end": 355, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 37 - } - }, - "local": { - "type": "Identifier", - "start": 327, - "end": 339, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 21 - }, - "identifierName": "PartialRight" - }, - "name": "PartialRight" - }, - "exported": { - "type": "Identifier", - "start": 343, - "end": 355, - "loc": { - "start": { - "line": 5, - "column": 25 - }, - "end": { - "line": 5, - "column": 37 - }, - "identifierName": "partialRight" - }, - "name": "partialRight" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 359, - "end": 387, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 28 - } - }, - "declaration": { - "type": "Identifier", - "start": 374, - "end": 386, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 27 - }, - "identifierName": "PartialRight" - }, - "name": "PartialRight", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "partialRight", - "start": 9, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 22, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 24, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 29, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 37, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 38 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 39, - "end": 45, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 46, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 48, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 65, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 82, - "end": 83, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 84, - "end": 88, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 89, - "end": 100, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 100, - "end": 101, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 102, - "end": 108, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 109, - "end": 110, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PartialApplicator", - "start": 111, - "end": 128, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 26 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 129, - "end": 130, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 131, - "end": 135, - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 136, - "end": 151, - "loc": { - "start": { - "line": 3, - "column": 34 - }, - "end": { - "line": 3, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 151, - "end": 152, - "loc": { - "start": { - "line": 3, - "column": 49 - }, - "end": { - "line": 3, - "column": 50 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 153, - "end": 159, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 160, - "end": 165, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PartialRight", - "start": 166, - "end": 178, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 179, - "end": 180, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 181, - "end": 197, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 44 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 197, - "end": 198, - "loc": { - "start": { - "line": 4, - "column": 44 - }, - "end": { - "line": 4, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createInstanceDecorator", - "start": 198, - "end": 221, - "loc": { - "start": { - "line": 4, - "column": 45 - }, - "end": { - "line": 4, - "column": 68 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 4, - "column": 68 - }, - "end": { - "line": 4, - "column": 69 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 222, - "end": 225, - "loc": { - "start": { - "line": 4, - "column": 69 - }, - "end": { - "line": 4, - "column": 72 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 226, - "end": 241, - "loc": { - "start": { - "line": 4, - "column": 73 - }, - "end": { - "line": 4, - "column": 88 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 241, - "end": 242, - "loc": { - "start": { - "line": 4, - "column": 88 - }, - "end": { - "line": 4, - "column": 89 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "partialRight", - "start": 242, - "end": 254, - "loc": { - "start": { - "line": 4, - "column": 89 - }, - "end": { - "line": 4, - "column": 101 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 4, - "column": 101 - }, - "end": { - "line": 4, - "column": 102 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 256, - "end": 259, - "loc": { - "start": { - "line": 4, - "column": 103 - }, - "end": { - "line": 4, - "column": 106 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PartialApplicator", - "start": 260, - "end": 277, - "loc": { - "start": { - "line": 4, - "column": 107 - }, - "end": { - "line": 4, - "column": 124 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 277, - "end": 278, - "loc": { - "start": { - "line": 4, - "column": 124 - }, - "end": { - "line": 4, - "column": 125 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 278, - "end": 279, - "loc": { - "start": { - "line": 4, - "column": 125 - }, - "end": { - "line": 4, - "column": 126 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 279, - "end": 280, - "loc": { - "start": { - "line": 4, - "column": 126 - }, - "end": { - "line": 4, - "column": 127 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 4, - "column": 128 - }, - "end": { - "line": 4, - "column": 129 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "property", - "start": 283, - "end": 291, - "loc": { - "start": { - "line": 4, - "column": 130 - }, - "end": { - "line": 4, - "column": 138 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 291, - "end": 292, - "loc": { - "start": { - "line": 4, - "column": 138 - }, - "end": { - "line": 4, - "column": 139 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 293, - "end": 297, - "loc": { - "start": { - "line": 4, - "column": 140 - }, - "end": { - "line": 4, - "column": 144 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 297, - "end": 298, - "loc": { - "start": { - "line": 4, - "column": 144 - }, - "end": { - "line": 4, - "column": 145 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "method", - "start": 299, - "end": 305, - "loc": { - "start": { - "line": 4, - "column": 146 - }, - "end": { - "line": 4, - "column": 152 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 305, - "end": 306, - "loc": { - "start": { - "line": 4, - "column": 152 - }, - "end": { - "line": 4, - "column": 153 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 307, - "end": 312, - "loc": { - "start": { - "line": 4, - "column": 154 - }, - "end": { - "line": 4, - "column": 159 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 313, - "end": 314, - "loc": { - "start": { - "line": 4, - "column": 160 - }, - "end": { - "line": 4, - "column": 161 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 314, - "end": 315, - "loc": { - "start": { - "line": 4, - "column": 161 - }, - "end": { - "line": 4, - "column": 162 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 4, - "column": 162 - }, - "end": { - "line": 4, - "column": 163 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 316, - "end": 317, - "loc": { - "start": { - "line": 4, - "column": 163 - }, - "end": { - "line": 4, - "column": 164 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 318, - "end": 324, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 325, - "end": 326, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PartialRight", - "start": 327, - "end": 339, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 340, - "end": 342, - "loc": { - "start": { - "line": 5, - "column": 22 - }, - "end": { - "line": 5, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "partialRight", - "start": 343, - "end": 355, - "loc": { - "start": { - "line": 5, - "column": 25 - }, - "end": { - "line": 5, - "column": 37 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 356, - "end": 357, - "loc": { - "start": { - "line": 5, - "column": 38 - }, - "end": { - "line": 5, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 357, - "end": 358, - "loc": { - "start": { - "line": 5, - "column": 39 - }, - "end": { - "line": 5, - "column": 40 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 359, - "end": 365, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 366, - "end": 373, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PartialRight", - "start": 374, - "end": 386, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 386, - "end": 387, - "loc": { - "start": { - "line": 6, - "column": 27 - }, - "end": { - "line": 6, - "column": 28 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 388, - "end": 388, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/partial.js.json b/docs/ast/source/partialRight.ts.json similarity index 58% rename from docs/ast/source/partial.js.json rename to docs/ast/source/partialRight.ts.json index 1c20249..d1dce99 100644 --- a/docs/ast/source/partial.js.json +++ b/docs/ast/source/partialRight.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 358, + "end": 526, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 19, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 358, + "end": 526, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 19, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 33, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 33 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 16 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -68,16 +68,16 @@ }, "end": { "line": 1, - "column": 16 + "column": 24 }, - "identifierName": "partial" + "identifierName": "DecoratorConfig" }, - "name": "partial" + "name": "DecoratorConfig" }, "local": { "type": "Identifier", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -85,39 +85,88 @@ }, "end": { "line": 1, - "column": 16 + "column": 24 }, - "identifierName": "partial" + "identifierName": "DecoratorConfig" }, - "name": "partial" + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" } } ], "source": { "type": "StringLiteral", - "start": 24, - "end": 32, + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 24 + "column": 50 }, "end": { "line": 1, - "column": 32 + "column": 61 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" + "rawValue": "./factory", + "raw": "'./factory'" }, - "value": "lodash" + "value": "./factory" } }, { "type": "ImportDeclaration", - "start": 34, - "end": 96, + "start": 63, + "end": 113, "loc": { "start": { "line": 2, @@ -125,14 +174,14 @@ }, "end": { "line": 2, - "column": 62 + "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 43, - "end": 58, + "start": 72, + "end": 89, "loc": { "start": { "line": 2, @@ -140,13 +189,13 @@ }, "end": { "line": 2, - "column": 24 + "column": 26 } }, "imported": { "type": "Identifier", - "start": 43, - "end": 58, + "start": 72, + "end": 89, "loc": { "start": { "line": 2, @@ -154,16 +203,16 @@ }, "end": { "line": 2, - "column": 24 + "column": 26 }, - "identifierName": "DecoratorConfig" + "identifierName": "PartialApplicator" }, - "name": "DecoratorConfig" + "name": "PartialApplicator" }, "local": { "type": "Identifier", - "start": 43, - "end": 58, + "start": 72, + "end": 89, "loc": { "start": { "line": 2, @@ -171,272 +220,784 @@ }, "end": { "line": 2, - "column": 24 + "column": 26 }, - "identifierName": "DecoratorConfig" + "identifierName": "PartialApplicator" }, - "name": "DecoratorConfig" + "name": "PartialApplicator" } + } + ], + "source": { + "type": "StringLiteral", + "start": 97, + "end": 112, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 49 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 114, + "end": 268, + "loc": { + "start": { + "line": 3, + "column": 0 }, + "end": { + "line": 3, + "column": 154 + } + }, + "declarations": [ { - "type": "ImportSpecifier", - "start": 60, - "end": 76, + "type": "VariableDeclarator", + "start": 120, + "end": 267, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 6 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 153 } }, - "imported": { + "id": { "type": "Identifier", - "start": 60, - "end": 76, + "start": 120, + "end": 129, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 6 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 15 }, - "identifierName": "DecoratorFactory" + "identifierName": "decorator" }, - "name": "DecoratorFactory" + "name": "decorator" }, - "local": { - "type": "Identifier", - "start": 60, - "end": 76, + "init": { + "type": "CallExpression", + "start": 132, + "end": 267, "loc": { "start": { - "line": 2, - "column": 26 + "line": 3, + "column": 18 }, "end": { - "line": 2, - "column": 42 + "line": 3, + "column": 153 + } + }, + "callee": { + "type": "MemberExpression", + "start": 132, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } }, - "identifierName": "DecoratorFactory" + "object": { + "type": "Identifier", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 149, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false }, - "name": "DecoratorFactory" + "arguments": [ + { + "type": "NewExpression", + "start": 173, + "end": 266, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 152 + } + }, + "callee": { + "type": "Identifier", + "start": 177, + "end": 192, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 193, + "end": 205, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 91 + }, + "identifierName": "partialRight" + }, + "name": "partialRight" + }, + { + "type": "NewExpression", + "start": 207, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 93 + }, + "end": { + "line": 3, + "column": 116 + } + }, + "callee": { + "type": "Identifier", + "start": 211, + "end": 228, + "loc": { + "start": { + "line": 3, + "column": 97 + }, + "end": { + "line": 3, + "column": 114 + }, + "identifierName": "PartialApplicator" + }, + "name": "PartialApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 232, + "end": 265, + "loc": { + "start": { + "line": 3, + "column": 118 + }, + "end": { + "line": 3, + "column": 151 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 234, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 120 + }, + "end": { + "line": 3, + "column": 134 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 234, + "end": 242, + "loc": { + "start": { + "line": 3, + "column": 120 + }, + "end": { + "line": 3, + "column": 128 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 244, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 130 + }, + "end": { + "line": 3, + "column": 134 + } + }, + "value": true + } + }, + { + "type": "ObjectProperty", + "start": 250, + "end": 263, + "loc": { + "start": { + "line": 3, + "column": 136 + }, + "end": { + "line": 3, + "column": 149 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 250, + "end": 256, + "loc": { + "start": { + "line": 3, + "column": 136 + }, + "end": { + "line": 3, + "column": 142 + }, + "identifierName": "method" + }, + "name": "method" + }, + "value": { + "type": "BooleanLiteral", + "start": 258, + "end": 263, + "loc": { + "start": { + "line": 3, + "column": 144 + }, + "end": { + "line": 3, + "column": 149 + } + }, + "value": false + } + } + ] + } + ] + } + ] } } ], - "source": { - "type": "StringLiteral", - "start": 84, - "end": 95, + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 378, + "end": 458, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 385, + "end": 458, "loc": { "start": { - "line": 2, - "column": 50 + "line": 14, + "column": 7 }, "end": { - "line": 2, - "column": 61 + "line": 16, + "column": 1 } }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" + "id": { + "type": "Identifier", + "start": 394, + "end": 406, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 28 + }, + "identifierName": "PartialRight" + }, + "name": "PartialRight", + "leadingComments": null }, - "value": "./factory" - } + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 407, + "end": 418, + "loc": { + "start": { + "line": 14, + "column": 29 + }, + "end": { + "line": 14, + "column": 40 + } + }, + "argument": { + "type": "Identifier", + "start": 410, + "end": 418, + "loc": { + "start": { + "line": 14, + "column": 32 + }, + "end": { + "line": 14, + "column": 40 + }, + "identifierName": "partials" + }, + "name": "partials" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 420, + "end": 458, + "loc": { + "start": { + "line": 14, + "column": 42 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 426, + "end": 456, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 34 + } + }, + "argument": { + "type": "CallExpression", + "start": 433, + "end": 455, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 433, + "end": 442, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 443, + "end": 454, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 32 + } + }, + "argument": { + "type": "Identifier", + "start": 446, + "end": 454, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 32 + }, + "identifierName": "partials" + }, + "name": "partials" + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 269, + "end": 377, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 269, + "end": 377, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] }, { - "type": "ImportDeclaration", - "start": 97, - "end": 147, + "type": "ExportNamedDeclaration", + "start": 459, + "end": 499, "loc": { "start": { - "line": 3, + "line": 17, "column": 0 }, "end": { - "line": 3, - "column": 50 + "line": 17, + "column": 40 } }, + "declaration": null, "specifiers": [ { - "type": "ImportSpecifier", - "start": 106, - "end": 123, + "type": "ExportSpecifier", + "start": 468, + "end": 496, "loc": { "start": { - "line": 3, + "line": 17, "column": 9 }, "end": { - "line": 3, - "column": 26 + "line": 17, + "column": 37 } }, - "imported": { + "local": { "type": "Identifier", - "start": 106, - "end": 123, + "start": 468, + "end": 480, "loc": { "start": { - "line": 3, + "line": 17, "column": 9 }, "end": { - "line": 3, - "column": 26 + "line": 17, + "column": 21 }, - "identifierName": "PartialApplicator" + "identifierName": "PartialRight" }, - "name": "PartialApplicator" + "name": "PartialRight" }, - "local": { + "exported": { "type": "Identifier", - "start": 106, - "end": 123, + "start": 484, + "end": 496, "loc": { "start": { - "line": 3, - "column": 9 + "line": 17, + "column": 25 }, "end": { - "line": 3, - "column": 26 + "line": 17, + "column": 37 }, - "identifierName": "PartialApplicator" + "identifierName": "partialRight" }, - "name": "PartialApplicator" + "name": "partialRight" } } ], - "source": { - "type": "StringLiteral", - "start": 131, - "end": 146, + "source": null + }, + { + "type": "Identifier", + "start": 500, + "end": 525, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 515, + "end": 524, "loc": { "start": { - "line": 3, - "column": 34 + "line": 18, + "column": 15 }, "end": { - "line": 3, - "column": 49 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" + "line": 18, + "column": 24 + }, + "identifierName": "decorator" }, - "value": "./applicators" - } + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] }, { - "type": "ExportNamedDeclaration", - "start": 148, - "end": 302, + "type": "ExportDefaultDeclaration", + "start": 500, + "end": 525, "loc": { "start": { - "line": 4, + "line": 18, "column": 0 }, "end": { - "line": 4, - "column": 154 + "line": 18, + "column": 25 } }, - "specifiers": [], - "source": null, "declaration": { "type": "VariableDeclaration", - "start": 155, - "end": 302, + "start": 114, + "end": 268, "loc": { "start": { - "line": 4, - "column": 7 + "line": 3, + "column": 0 }, "end": { - "line": 4, + "line": 3, "column": 154 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 161, - "end": 301, + "start": 120, + "end": 267, "loc": { "start": { - "line": 4, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 4, + "line": 3, "column": 153 } }, "id": { "type": "Identifier", - "start": 161, - "end": 168, + "start": 120, + "end": 129, "loc": { "start": { - "line": 4, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 4, - "column": 20 + "line": 3, + "column": 15 }, - "identifierName": "Partial" + "identifierName": "decorator" }, - "name": "Partial" + "name": "decorator" }, "init": { "type": "CallExpression", - "start": 171, - "end": 301, + "start": 132, + "end": 267, "loc": { "start": { - "line": 4, - "column": 23 + "line": 3, + "column": 18 }, "end": { - "line": 4, + "line": 3, "column": 153 } }, "callee": { "type": "MemberExpression", - "start": 171, - "end": 211, + "start": 132, + "end": 172, "loc": { "start": { - "line": 4, - "column": 23 + "line": 3, + "column": 18 }, "end": { - "line": 4, - "column": 63 + "line": 3, + "column": 58 } }, "object": { "type": "Identifier", - "start": 171, - "end": 187, + "start": 132, + "end": 148, "loc": { "start": { - "line": 4, - "column": 23 + "line": 3, + "column": 18 }, "end": { - "line": 4, - "column": 39 + "line": 3, + "column": 34 }, "identifierName": "DecoratorFactory" }, @@ -444,16 +1005,16 @@ }, "property": { "type": "Identifier", - "start": 188, - "end": 211, + "start": 149, + "end": 172, "loc": { "start": { - "line": 4, - "column": 40 + "line": 3, + "column": 35 }, "end": { - "line": 4, - "column": 63 + "line": 3, + "column": 58 }, "identifierName": "createInstanceDecorator" }, @@ -464,30 +1025,30 @@ "arguments": [ { "type": "NewExpression", - "start": 212, - "end": 300, + "start": 173, + "end": 266, "loc": { "start": { - "line": 4, - "column": 64 + "line": 3, + "column": 59 }, "end": { - "line": 4, + "line": 3, "column": 152 } }, "callee": { "type": "Identifier", - "start": 216, - "end": 231, + "start": 177, + "end": 192, "loc": { "start": { - "line": 4, - "column": 68 + "line": 3, + "column": 63 }, "end": { - "line": 4, - "column": 83 + "line": 3, + "column": 78 }, "identifierName": "DecoratorConfig" }, @@ -496,46 +1057,46 @@ "arguments": [ { "type": "Identifier", - "start": 232, - "end": 239, + "start": 193, + "end": 205, "loc": { "start": { - "line": 4, - "column": 84 + "line": 3, + "column": 79 }, "end": { - "line": 4, + "line": 3, "column": 91 }, - "identifierName": "partial" + "identifierName": "partialRight" }, - "name": "partial" + "name": "partialRight" }, { "type": "NewExpression", - "start": 241, - "end": 264, + "start": 207, + "end": 230, "loc": { "start": { - "line": 4, + "line": 3, "column": 93 }, "end": { - "line": 4, + "line": 3, "column": 116 } }, "callee": { "type": "Identifier", - "start": 245, - "end": 262, + "start": 211, + "end": 228, "loc": { "start": { - "line": 4, + "line": 3, "column": 97 }, "end": { - "line": 4, + "line": 3, "column": 114 }, "identifierName": "PartialApplicator" @@ -546,30 +1107,30 @@ }, { "type": "ObjectExpression", - "start": 266, - "end": 299, + "start": 232, + "end": 265, "loc": { "start": { - "line": 4, + "line": 3, "column": 118 }, "end": { - "line": 4, + "line": 3, "column": 151 } }, "properties": [ { "type": "ObjectProperty", - "start": 268, - "end": 282, + "start": 234, + "end": 248, "loc": { "start": { - "line": 4, + "line": 3, "column": 120 }, "end": { - "line": 4, + "line": 3, "column": 134 } }, @@ -578,15 +1139,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 268, - "end": 276, + "start": 234, + "end": 242, "loc": { "start": { - "line": 4, + "line": 3, "column": 120 }, "end": { - "line": 4, + "line": 3, "column": 128 }, "identifierName": "property" @@ -595,15 +1156,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 278, - "end": 282, + "start": 244, + "end": 248, "loc": { "start": { - "line": 4, + "line": 3, "column": 130 }, "end": { - "line": 4, + "line": 3, "column": 134 } }, @@ -612,15 +1173,15 @@ }, { "type": "ObjectProperty", - "start": 284, - "end": 297, + "start": 250, + "end": 263, "loc": { "start": { - "line": 4, + "line": 3, "column": 136 }, "end": { - "line": 4, + "line": 3, "column": 149 } }, @@ -629,15 +1190,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 284, - "end": 290, + "start": 250, + "end": 256, "loc": { "start": { - "line": 4, + "line": 3, "column": 136 }, "end": { - "line": 4, + "line": 3, "column": 142 }, "identifierName": "method" @@ -646,15 +1207,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 292, - "end": 297, + "start": 258, + "end": 263, "loc": { "start": { - "line": 4, + "line": 3, "column": 144 }, "end": { - "line": 4, + "line": 3, "column": 149 } }, @@ -670,123 +1231,55 @@ } ], "kind": "const", - "leadingComments": [], - "trailingComments": [] - } - }, - { - "type": "ExportNamedDeclaration", - "start": 303, - "end": 333, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 30 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 312, - "end": 330, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 27 - } - }, - "local": { - "type": "Identifier", - "start": 312, - "end": 319, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - }, - "identifierName": "Partial" - }, - "name": "Partial" - }, - "exported": { - "type": "Identifier", - "start": 323, - "end": 330, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 269, + "end": 377, "loc": { "start": { - "line": 5, - "column": 20 + "line": 4, + "column": 0 }, "end": { - "line": 5, - "column": 27 - }, - "identifierName": "partial" - }, - "name": "partial" + "line": 13, + "column": 3 + } + } } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 334, - "end": 357, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 23 - } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 269, + "end": 377, + "loc": { + "start": { + "line": 4, + "column": 0 }, - "declaration": { - "type": "Identifier", - "start": 349, - "end": 356, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 22 - }, - "identifierName": "Partial" - }, - "name": "Partial", - "leadingComments": [], - "trailingComments": [] + "end": { + "line": 13, + "column": 3 } } - ], - "directives": [] - }, - "comments": [], + } + ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -846,9 +1339,9 @@ "postfix": false, "binop": null }, - "value": "partial", + "value": "DecoratorConfig", "start": 9, - "end": 16, + "end": 24, "loc": { "start": { "line": 1, @@ -856,7 +1349,59 @@ }, "end": { "line": 1, - "column": 16 + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 } } }, @@ -872,16 +1417,16 @@ "postfix": false, "binop": null }, - "start": 17, - "end": 18, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 17 + "column": 43 }, "end": { "line": 1, - "column": 18 + "column": 44 } } }, @@ -898,16 +1443,16 @@ "binop": null }, "value": "from", - "start": 19, - "end": 23, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 19 + "column": 45 }, "end": { "line": 1, - "column": 23 + "column": 49 } } }, @@ -924,17 +1469,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 24, - "end": 32, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 24 + "column": 50 }, "end": { "line": 1, - "column": 32 + "column": 61 } } }, @@ -951,16 +1496,16 @@ "binop": null, "updateContext": null }, - "start": 32, - "end": 33, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 32 + "column": 61 }, "end": { "line": 1, - "column": 33 + "column": 62 } } }, @@ -969,7 +1514,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -979,8 +1524,8 @@ "updateContext": null }, "value": "import", - "start": 34, - "end": 40, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -1004,8 +1549,8 @@ "postfix": false, "binop": null }, - "start": 41, - "end": 42, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -1029,9 +1574,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 43, - "end": 58, + "value": "PartialApplicator", + "start": 72, + "end": 89, "loc": { "start": { "line": 2, @@ -1039,33 +1584,32 @@ }, "end": { "line": 2, - "column": 24 + "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 58, - "end": 59, + "start": 90, + "end": 91, "loc": { "start": { "line": 2, - "column": 24 + "column": 27 }, "end": { "line": 2, - "column": 25 + "column": 28 } } }, @@ -1081,42 +1625,203 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 60, - "end": 76, + "value": "from", + "start": 92, + "end": 96, "loc": { "start": { "line": 2, - "column": 26 + "column": 29 }, "end": { "line": 2, - "column": 42 + "column": 33 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 97, + "end": 112, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 77, - "end": 78, + "start": 112, + "end": 113, "loc": { "start": { "line": 2, - "column": 43 + "column": 49 }, "end": { "line": 2, - "column": 44 + "column": 50 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 114, + "end": 119, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 120, + "end": 129, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 130, + "end": 131, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 132, + "end": 148, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 } } }, @@ -1132,52 +1837,51 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 79, - "end": 83, + "value": "createInstanceDecorator", + "start": 149, + "end": 172, "loc": { "start": { - "line": 2, - "column": 45 + "line": 3, + "column": 35 }, "end": { - "line": 2, - "column": 49 + "line": 3, + "column": 58 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./factory", - "start": 84, - "end": 95, + "start": 172, + "end": 173, "loc": { "start": { - "line": 2, - "column": 50 + "line": 3, + "column": 58 }, "end": { - "line": 2, - "column": 61 + "line": 3, + "column": 59 } } }, { "type": { - "label": ";", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1186,50 +1890,49 @@ "binop": null, "updateContext": null }, - "start": 95, - "end": 96, + "value": "new", + "start": 173, + "end": 176, "loc": { "start": { - "line": 2, - "column": 61 + "line": 3, + "column": 59 }, "end": { - "line": 2, + "line": 3, "column": 62 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 97, - "end": 103, + "value": "DecoratorConfig", + "start": 177, + "end": 192, "loc": { "start": { "line": 3, - "column": 0 + "column": 63 }, "end": { "line": 3, - "column": 6 + "column": 78 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1239,16 +1942,16 @@ "postfix": false, "binop": null }, - "start": 104, - "end": 105, + "start": 192, + "end": 193, "loc": { "start": { "line": 3, - "column": 7 + "column": 78 }, "end": { "line": 3, - "column": 8 + "column": 79 } } }, @@ -1264,74 +1967,77 @@ "postfix": false, "binop": null }, - "value": "PartialApplicator", - "start": 106, - "end": 123, + "value": "partialRight", + "start": 193, + "end": 205, "loc": { "start": { "line": 3, - "column": 9 + "column": 79 }, "end": { "line": 3, - "column": 26 + "column": 91 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 124, - "end": 125, + "start": 205, + "end": 206, "loc": { "start": { "line": 3, - "column": 27 + "column": 91 }, "end": { "line": 3, - "column": 28 + "column": 92 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 126, - "end": 130, + "value": "new", + "start": 207, + "end": 210, "loc": { "start": { "line": 3, - "column": 29 + "column": 93 }, "end": { "line": 3, - "column": 33 + "column": 96 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1339,53 +2045,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./applicators", - "start": 131, - "end": 146, + "value": "PartialApplicator", + "start": 211, + "end": 228, "loc": { "start": { "line": 3, - "column": 34 + "column": 97 }, "end": { "line": 3, - "column": 49 + "column": 114 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 146, - "end": 147, + "start": 228, + "end": 229, "loc": { "start": { "line": 3, - "column": 49 + "column": 114 }, "end": { "line": 3, - "column": 50 + "column": 115 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1393,28 +2096,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 148, - "end": 154, + "start": 229, + "end": 230, "loc": { "start": { - "line": 4, - "column": 0 + "line": 3, + "column": 115 }, "end": { - "line": 4, - "column": 6 + "line": 3, + "column": 116 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1424,17 +2124,41 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 155, - "end": 160, + "start": 230, + "end": 231, "loc": { "start": { - "line": 4, - "column": 7 + "line": 3, + "column": 116 }, "end": { - "line": 4, - "column": 12 + "line": 3, + "column": 117 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 232, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 118 + }, + "end": { + "line": 3, + "column": 119 } } }, @@ -1450,50 +2174,50 @@ "postfix": false, "binop": null }, - "value": "Partial", - "start": 161, - "end": 168, + "value": "property", + "start": 234, + "end": 242, "loc": { "start": { - "line": 4, - "column": 13 + "line": 3, + "column": 120 }, "end": { - "line": 4, - "column": 20 + "line": 3, + "column": 128 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 169, - "end": 170, + "start": 242, + "end": 243, "loc": { "start": { - "line": 4, - "column": 21 + "line": 3, + "column": 128 }, "end": { - "line": 4, - "column": 22 + "line": 3, + "column": 129 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1501,26 +2225,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorFactory", - "start": 171, - "end": 187, + "value": "true", + "start": 244, + "end": 248, "loc": { "start": { - "line": 4, - "column": 23 + "line": 3, + "column": 130 }, "end": { - "line": 4, - "column": 39 + "line": 3, + "column": 134 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1530,16 +2255,16 @@ "binop": null, "updateContext": null }, - "start": 187, - "end": 188, + "start": 248, + "end": 249, "loc": { "start": { - "line": 4, - "column": 39 + "line": 3, + "column": 134 }, "end": { - "line": 4, - "column": 40 + "line": 3, + "column": 135 } } }, @@ -1555,50 +2280,51 @@ "postfix": false, "binop": null }, - "value": "createInstanceDecorator", - "start": 188, - "end": 211, + "value": "method", + "start": 250, + "end": 256, "loc": { "start": { - "line": 4, - "column": 40 + "line": 3, + "column": 136 }, "end": { - "line": 4, - "column": 63 + "line": 3, + "column": 142 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 211, - "end": 212, + "start": 256, + "end": 257, "loc": { "start": { - "line": 4, - "column": 63 + "line": 3, + "column": 142 }, "end": { - "line": 4, - "column": 64 + "line": 3, + "column": 143 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "false", + "keyword": "false", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1608,25 +2334,25 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 212, - "end": 215, + "value": "false", + "start": 258, + "end": 263, "loc": { "start": { - "line": 4, - "column": 64 + "line": 3, + "column": 144 }, "end": { - "line": 4, - "column": 67 + "line": 3, + "column": 149 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1634,25 +2360,24 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 216, - "end": 231, + "start": 264, + "end": 265, "loc": { "start": { - "line": 4, - "column": 68 + "line": 3, + "column": 150 }, "end": { - "line": 4, - "column": 83 + "line": 3, + "column": 151 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1660,24 +2385,24 @@ "postfix": false, "binop": null }, - "start": 231, - "end": 232, + "start": 265, + "end": 266, "loc": { "start": { - "line": 4, - "column": 83 + "line": 3, + "column": 151 }, "end": { - "line": 4, - "column": 84 + "line": 3, + "column": 152 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1685,23 +2410,22 @@ "postfix": false, "binop": null }, - "value": "partial", - "start": 232, - "end": 239, + "start": 266, + "end": 267, "loc": { "start": { - "line": 4, - "column": 84 + "line": 3, + "column": 152 }, "end": { - "line": 4, - "column": 91 + "line": 3, + "column": 153 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1712,77 +2436,68 @@ "binop": null, "updateContext": null }, - "start": 239, - "end": 240, + "start": 267, + "end": 268, "loc": { "start": { - "line": 4, - "column": 91 + "line": 3, + "column": 153 }, "end": { - "line": 4, - "column": 92 + "line": 3, + "column": 154 } } }, { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 241, - "end": 244, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {undefined} partials\n * @return\n * {PropertyDecorator}\n ", + "start": 269, + "end": 377, "loc": { "start": { "line": 4, - "column": 93 + "column": 0 }, "end": { - "line": 4, - "column": 96 + "line": 13, + "column": 3 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "PartialApplicator", - "start": 245, - "end": 262, + "value": "export", + "start": 378, + "end": 384, "loc": { "start": { - "line": 4, - "column": 97 + "line": 14, + "column": 0 }, "end": { - "line": 4, - "column": 114 + "line": 14, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "function", + "keyword": "function", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1791,24 +2506,25 @@ "postfix": false, "binop": null }, - "start": 262, - "end": 263, + "value": "function", + "start": 385, + "end": 393, "loc": { "start": { - "line": 4, - "column": 114 + "line": 14, + "column": 7 }, "end": { - "line": 4, - "column": 115 + "line": 14, + "column": 15 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1816,67 +2532,68 @@ "postfix": false, "binop": null }, - "start": 263, - "end": 264, + "value": "PartialRight", + "start": 394, + "end": 406, "loc": { "start": { - "line": 4, - "column": 115 + "line": 14, + "column": 16 }, "end": { - "line": 4, - "column": 116 + "line": 14, + "column": 28 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 264, - "end": 265, + "start": 406, + "end": 407, "loc": { "start": { - "line": 4, - "column": 116 + "line": 14, + "column": 28 }, "end": { - "line": 4, - "column": 117 + "line": 14, + "column": 29 } } }, { "type": { - "label": "{", + "label": "...", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 266, - "end": 267, + "start": 407, + "end": 410, "loc": { "start": { - "line": 4, - "column": 118 + "line": 14, + "column": 29 }, "end": { - "line": 4, - "column": 119 + "line": 14, + "column": 32 } } }, @@ -1892,77 +2609,74 @@ "postfix": false, "binop": null }, - "value": "property", - "start": 268, - "end": 276, + "value": "partials", + "start": 410, + "end": 418, "loc": { "start": { - "line": 4, - "column": 120 + "line": 14, + "column": 32 }, "end": { - "line": 4, - "column": 128 + "line": 14, + "column": 40 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 276, - "end": 277, + "start": 418, + "end": 419, "loc": { "start": { - "line": 4, - "column": 128 + "line": 14, + "column": 40 }, "end": { - "line": 4, - "column": 129 + "line": 14, + "column": 41 } } }, { "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 278, - "end": 282, + "start": 420, + "end": 421, "loc": { "start": { - "line": 4, - "column": 130 + "line": 14, + "column": 42 }, "end": { - "line": 4, - "column": 134 + "line": 14, + "column": 43 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1973,16 +2687,17 @@ "binop": null, "updateContext": null }, - "start": 282, - "end": 283, + "value": "return", + "start": 426, + "end": 432, "loc": { "start": { - "line": 4, - "column": 134 + "line": 15, + "column": 4 }, "end": { - "line": 4, - "column": 135 + "line": 15, + "column": 10 } } }, @@ -1998,52 +2713,50 @@ "postfix": false, "binop": null }, - "value": "method", - "start": 284, - "end": 290, + "value": "decorator", + "start": 433, + "end": 442, "loc": { "start": { - "line": 4, - "column": 136 + "line": 15, + "column": 11 }, "end": { - "line": 4, - "column": 142 + "line": 15, + "column": 20 } } }, { "type": { - "label": ":", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 290, - "end": 291, + "start": 442, + "end": 443, "loc": { "start": { - "line": 4, - "column": 142 + "line": 15, + "column": 20 }, "end": { - "line": 4, - "column": 143 + "line": 15, + "column": 21 } } }, { "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, + "label": "...", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2052,25 +2765,24 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 292, - "end": 297, + "start": 443, + "end": 446, "loc": { "start": { - "line": 4, - "column": 144 + "line": 15, + "column": 21 }, "end": { - "line": 4, - "column": 149 + "line": 15, + "column": 24 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2078,16 +2790,17 @@ "postfix": false, "binop": null }, - "start": 298, - "end": 299, + "value": "partials", + "start": 446, + "end": 454, "loc": { "start": { - "line": 4, - "column": 150 + "line": 15, + "column": 24 }, "end": { - "line": 4, - "column": 151 + "line": 15, + "column": 32 } } }, @@ -2103,67 +2816,67 @@ "postfix": false, "binop": null }, - "start": 299, - "end": 300, + "start": 454, + "end": 455, "loc": { "start": { - "line": 4, - "column": 151 + "line": 15, + "column": 32 }, "end": { - "line": 4, - "column": 152 + "line": 15, + "column": 33 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 300, - "end": 301, + "start": 455, + "end": 456, "loc": { "start": { - "line": 4, - "column": 152 + "line": 15, + "column": 33 }, "end": { - "line": 4, - "column": 153 + "line": 15, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 301, - "end": 302, + "start": 457, + "end": 458, "loc": { "start": { - "line": 4, - "column": 153 + "line": 16, + "column": 0 }, "end": { - "line": 4, - "column": 154 + "line": 16, + "column": 1 } } }, @@ -2182,15 +2895,15 @@ "updateContext": null }, "value": "export", - "start": 303, - "end": 309, + "start": 459, + "end": 465, "loc": { "start": { - "line": 5, + "line": 17, "column": 0 }, "end": { - "line": 5, + "line": 17, "column": 6 } } @@ -2207,15 +2920,15 @@ "postfix": false, "binop": null }, - "start": 310, - "end": 311, + "start": 466, + "end": 467, "loc": { "start": { - "line": 5, + "line": 17, "column": 7 }, "end": { - "line": 5, + "line": 17, "column": 8 } } @@ -2232,17 +2945,17 @@ "postfix": false, "binop": null }, - "value": "Partial", - "start": 312, - "end": 319, + "value": "PartialRight", + "start": 468, + "end": 480, "loc": { "start": { - "line": 5, + "line": 17, "column": 9 }, "end": { - "line": 5, - "column": 16 + "line": 17, + "column": 21 } } }, @@ -2259,16 +2972,16 @@ "binop": null }, "value": "as", - "start": 320, - "end": 322, + "start": 481, + "end": 483, "loc": { "start": { - "line": 5, - "column": 17 + "line": 17, + "column": 22 }, "end": { - "line": 5, - "column": 19 + "line": 17, + "column": 24 } } }, @@ -2284,17 +2997,17 @@ "postfix": false, "binop": null }, - "value": "partial", - "start": 323, - "end": 330, + "value": "partialRight", + "start": 484, + "end": 496, "loc": { "start": { - "line": 5, - "column": 20 + "line": 17, + "column": 25 }, "end": { - "line": 5, - "column": 27 + "line": 17, + "column": 37 } } }, @@ -2310,16 +3023,16 @@ "postfix": false, "binop": null }, - "start": 331, - "end": 332, + "start": 497, + "end": 498, "loc": { "start": { - "line": 5, - "column": 28 + "line": 17, + "column": 38 }, "end": { - "line": 5, - "column": 29 + "line": 17, + "column": 39 } } }, @@ -2336,16 +3049,16 @@ "binop": null, "updateContext": null }, - "start": 332, - "end": 333, + "start": 498, + "end": 499, "loc": { "start": { - "line": 5, - "column": 29 + "line": 17, + "column": 39 }, "end": { - "line": 5, - "column": 30 + "line": 17, + "column": 40 } } }, @@ -2364,15 +3077,15 @@ "updateContext": null }, "value": "export", - "start": 334, - "end": 340, + "start": 500, + "end": 506, "loc": { "start": { - "line": 6, + "line": 18, "column": 0 }, "end": { - "line": 6, + "line": 18, "column": 6 } } @@ -2392,15 +3105,15 @@ "updateContext": null }, "value": "default", - "start": 341, - "end": 348, + "start": 507, + "end": 514, "loc": { "start": { - "line": 6, + "line": 18, "column": 7 }, "end": { - "line": 6, + "line": 18, "column": 14 } } @@ -2417,17 +3130,17 @@ "postfix": false, "binop": null }, - "value": "Partial", - "start": 349, - "end": 356, + "value": "decorator", + "start": 515, + "end": 524, "loc": { "start": { - "line": 6, + "line": 18, "column": 15 }, "end": { - "line": 6, - "column": 22 + "line": 18, + "column": 24 } } }, @@ -2444,16 +3157,16 @@ "binop": null, "updateContext": null }, - "start": 356, - "end": 357, + "start": 524, + "end": 525, "loc": { "start": { - "line": 6, - "column": 22 + "line": 18, + "column": 24 }, "end": { - "line": 6, - "column": 23 + "line": 18, + "column": 25 } } }, @@ -2470,15 +3183,15 @@ "binop": null, "updateContext": null }, - "start": 358, - "end": 358, + "start": 526, + "end": 526, "loc": { "start": { - "line": 7, + "line": 19, "column": 0 }, "end": { - "line": 7, + "line": 19, "column": 0 } } diff --git a/docs/ast/source/rearg.js.json b/docs/ast/source/rearg.js.json deleted file mode 100644 index 255cf71..0000000 --- a/docs/ast/source/rearg.js.json +++ /dev/null @@ -1,2106 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 305, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 305, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - }, - "identifierName": "rearg" - }, - "name": "rearg" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - }, - "identifierName": "rearg" - }, - "name": "rearg" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 32, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 58, - "end": 74, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 58, - "end": 74, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 58, - "end": 74, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 82, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 95, - "end": 146, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 51 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 104, - "end": 122, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "imported": { - "type": "Identifier", - "start": 104, - "end": 122, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "local": { - "type": "Identifier", - "start": 104, - "end": 122, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 130, - "end": 145, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - } - }, - { - "type": "ExportNamedDeclaration", - "start": 147, - "end": 255, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 108 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 154, - "end": 255, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 108 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 160, - "end": 254, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 107 - } - }, - "id": { - "type": "Identifier", - "start": 160, - "end": 165, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 18 - }, - "identifierName": "Rearg" - }, - "name": "Rearg" - }, - "init": { - "type": "CallExpression", - "start": 168, - "end": 254, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 107 - } - }, - "callee": { - "type": "MemberExpression", - "start": 168, - "end": 200, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 168, - "end": 184, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 37 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 185, - "end": 200, - "loc": { - "start": { - "line": 4, - "column": 38 - }, - "end": { - "line": 4, - "column": 53 - }, - "identifierName": "createDecorator" - }, - "name": "createDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 201, - "end": 253, - "loc": { - "start": { - "line": 4, - "column": 54 - }, - "end": { - "line": 4, - "column": 106 - } - }, - "callee": { - "type": "Identifier", - "start": 205, - "end": 220, - "loc": { - "start": { - "line": 4, - "column": 58 - }, - "end": { - "line": 4, - "column": 73 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 221, - "end": 226, - "loc": { - "start": { - "line": 4, - "column": 74 - }, - "end": { - "line": 4, - "column": 79 - }, - "identifierName": "rearg" - }, - "name": "rearg" - }, - { - "type": "NewExpression", - "start": 228, - "end": 252, - "loc": { - "start": { - "line": 4, - "column": 81 - }, - "end": { - "line": 4, - "column": 105 - } - }, - "callee": { - "type": "Identifier", - "start": 232, - "end": 250, - "loc": { - "start": { - "line": 4, - "column": 85 - }, - "end": { - "line": 4, - "column": 103 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "arguments": [] - } - ] - } - ] - } - } - ], - "kind": "const", - "leadingComments": [], - "trailingComments": [] - } - }, - { - "type": "ExportNamedDeclaration", - "start": 256, - "end": 282, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 26 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 265, - "end": 279, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 23 - } - }, - "local": { - "type": "Identifier", - "start": 265, - "end": 270, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 14 - }, - "identifierName": "Rearg" - }, - "name": "Rearg" - }, - "exported": { - "type": "Identifier", - "start": 274, - "end": 279, - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 5, - "column": 23 - }, - "identifierName": "rearg" - }, - "name": "rearg" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 283, - "end": 304, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "declaration": { - "type": "Identifier", - "start": 298, - "end": 303, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 20 - }, - "identifierName": "Rearg" - }, - "name": "Rearg", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rearg", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 17, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 39, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 56, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 58, - "end": 74, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 75, - "end": 76, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 77, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 82, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 93, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 95, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 104, - "end": 122, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 123, - "end": 124, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 125, - "end": 129, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 130, - "end": 145, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 145, - "end": 146, - "loc": { - "start": { - "line": 3, - "column": 50 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 147, - "end": 153, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 154, - "end": 159, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Rearg", - "start": 160, - "end": 165, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 166, - "end": 167, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 168, - "end": 184, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 184, - "end": 185, - "loc": { - "start": { - "line": 4, - "column": 37 - }, - "end": { - "line": 4, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createDecorator", - "start": 185, - "end": 200, - "loc": { - "start": { - "line": 4, - "column": 38 - }, - "end": { - "line": 4, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 200, - "end": 201, - "loc": { - "start": { - "line": 4, - "column": 53 - }, - "end": { - "line": 4, - "column": 54 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 201, - "end": 204, - "loc": { - "start": { - "line": 4, - "column": 54 - }, - "end": { - "line": 4, - "column": 57 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 205, - "end": 220, - "loc": { - "start": { - "line": 4, - "column": 58 - }, - "end": { - "line": 4, - "column": 73 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 220, - "end": 221, - "loc": { - "start": { - "line": 4, - "column": 73 - }, - "end": { - "line": 4, - "column": 74 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rearg", - "start": 221, - "end": 226, - "loc": { - "start": { - "line": 4, - "column": 74 - }, - "end": { - "line": 4, - "column": 79 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 4, - "column": 79 - }, - "end": { - "line": 4, - "column": 80 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 228, - "end": 231, - "loc": { - "start": { - "line": 4, - "column": 81 - }, - "end": { - "line": 4, - "column": 84 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 232, - "end": 250, - "loc": { - "start": { - "line": 4, - "column": 85 - }, - "end": { - "line": 4, - "column": 103 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 250, - "end": 251, - "loc": { - "start": { - "line": 4, - "column": 103 - }, - "end": { - "line": 4, - "column": 104 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 4, - "column": 104 - }, - "end": { - "line": 4, - "column": 105 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 4, - "column": 105 - }, - "end": { - "line": 4, - "column": 106 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 253, - "end": 254, - "loc": { - "start": { - "line": 4, - "column": 106 - }, - "end": { - "line": 4, - "column": 107 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 4, - "column": 107 - }, - "end": { - "line": 4, - "column": 108 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 256, - "end": 262, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 263, - "end": 264, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Rearg", - "start": 265, - "end": 270, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 271, - "end": 273, - "loc": { - "start": { - "line": 5, - "column": 15 - }, - "end": { - "line": 5, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rearg", - "start": 274, - "end": 279, - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 280, - "end": 281, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 5, - "column": 25 - }, - "end": { - "line": 5, - "column": 26 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 283, - "end": 289, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 290, - "end": 297, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Rearg", - "start": 298, - "end": 303, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 303, - "end": 304, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 305, - "end": 305, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/rearg.ts.json b/docs/ast/source/rearg.ts.json new file mode 100644 index 0000000..4fa2d71 --- /dev/null +++ b/docs/ast/source/rearg.ts.json @@ -0,0 +1,3130 @@ +{ + "type": "File", + "start": 0, + "end": 530, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 21, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 530, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 21, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 118, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 55 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 94, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 31 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 94, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 31 + }, + "identifierName": "PartialValueApplicator" + }, + "name": "PartialValueApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 94, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 31 + }, + "identifierName": "PartialValueApplicator" + }, + "name": "PartialValueApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 102, + "end": 117, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 54 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 119, + "end": 256, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 137 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 125, + "end": 255, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 136 + } + }, + "id": { + "type": "Identifier", + "start": 125, + "end": 134, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 137, + "end": 255, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 136 + } + }, + "callee": { + "type": "MemberExpression", + "start": 137, + "end": 177, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 137, + "end": 153, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 154, + "end": 177, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 178, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 135 + } + }, + "callee": { + "type": "Identifier", + "start": 182, + "end": 197, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 198, + "end": 203, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 84 + }, + "identifierName": "rearg" + }, + "name": "rearg" + }, + { + "type": "NewExpression", + "start": 205, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 86 + }, + "end": { + "line": 3, + "column": 114 + } + }, + "callee": { + "type": "Identifier", + "start": 209, + "end": 231, + "loc": { + "start": { + "line": 3, + "column": 90 + }, + "end": { + "line": 3, + "column": 112 + }, + "identifierName": "PartialValueApplicator" + }, + "name": "PartialValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 235, + "end": 253, + "loc": { + "start": { + "line": 3, + "column": 116 + }, + "end": { + "line": 3, + "column": 134 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 237, + "end": 251, + "loc": { + "start": { + "line": 3, + "column": 118 + }, + "end": { + "line": 3, + "column": 132 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 237, + "end": 245, + "loc": { + "start": { + "line": 3, + "column": 118 + }, + "end": { + "line": 3, + "column": 126 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 247, + "end": 251, + "loc": { + "start": { + "line": 3, + "column": 128 + }, + "end": { + "line": 3, + "column": 132 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 393, + "end": 476, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 400, + "end": 476, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 18, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 409, + "end": 414, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 21 + }, + "identifierName": "Rearg" + }, + "name": "Rearg", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 415, + "end": 422, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 29 + }, + "identifierName": "indexes" + }, + "name": "indexes" + }, + { + "type": "RestElement", + "start": 424, + "end": 431, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 38 + } + }, + "argument": { + "type": "Identifier", + "start": 427, + "end": 431, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 38 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 433, + "end": 476, + "loc": { + "start": { + "line": 16, + "column": 40 + }, + "end": { + "line": 18, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 439, + "end": 474, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 39 + } + }, + "argument": { + "type": "CallExpression", + "start": 446, + "end": 473, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 38 + } + }, + "callee": { + "type": "Identifier", + "start": 446, + "end": 455, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 456, + "end": 463, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 28 + }, + "identifierName": "indexes" + }, + "name": "indexes" + }, + { + "type": "SpreadElement", + "start": 465, + "end": 472, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 37 + } + }, + "argument": { + "type": "Identifier", + "start": 468, + "end": 472, + "loc": { + "start": { + "line": 17, + "column": 33 + }, + "end": { + "line": 17, + "column": 37 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {undefined} indexes\n * @param\n * {undefined} args\n * @return\n * {LodashDecorator}\n ", + "start": 257, + "end": 392, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {undefined} indexes\n * @param\n * {undefined} args\n * @return\n * {LodashDecorator}\n ", + "start": 257, + "end": 392, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 477, + "end": 503, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 26 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 486, + "end": 500, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 23 + } + }, + "local": { + "type": "Identifier", + "start": 486, + "end": 491, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 14 + }, + "identifierName": "Rearg" + }, + "name": "Rearg" + }, + "exported": { + "type": "Identifier", + "start": 495, + "end": 500, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 23 + }, + "identifierName": "rearg" + }, + "name": "rearg" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 504, + "end": 529, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 519, + "end": 528, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 504, + "end": 529, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 119, + "end": 256, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 137 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 125, + "end": 255, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 136 + } + }, + "id": { + "type": "Identifier", + "start": 125, + "end": 134, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 137, + "end": 255, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 136 + } + }, + "callee": { + "type": "MemberExpression", + "start": 137, + "end": 177, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 137, + "end": 153, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 154, + "end": 177, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + }, + "identifierName": "createInstanceDecorator" + }, + "name": "createInstanceDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 178, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 135 + } + }, + "callee": { + "type": "Identifier", + "start": 182, + "end": 197, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 198, + "end": 203, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 84 + }, + "identifierName": "rearg" + }, + "name": "rearg" + }, + { + "type": "NewExpression", + "start": 205, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 86 + }, + "end": { + "line": 3, + "column": 114 + } + }, + "callee": { + "type": "Identifier", + "start": 209, + "end": 231, + "loc": { + "start": { + "line": 3, + "column": 90 + }, + "end": { + "line": 3, + "column": 112 + }, + "identifierName": "PartialValueApplicator" + }, + "name": "PartialValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 235, + "end": 253, + "loc": { + "start": { + "line": 3, + "column": 116 + }, + "end": { + "line": 3, + "column": 134 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 237, + "end": 251, + "loc": { + "start": { + "line": 3, + "column": 118 + }, + "end": { + "line": 3, + "column": 132 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 237, + "end": 245, + "loc": { + "start": { + "line": 3, + "column": 118 + }, + "end": { + "line": 3, + "column": 126 + }, + "identifierName": "property" + }, + "name": "property" + }, + "value": { + "type": "BooleanLiteral", + "start": 247, + "end": 251, + "loc": { + "start": { + "line": 3, + "column": 128 + }, + "end": { + "line": 3, + "column": 132 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {undefined} indexes\n * @param\n * {undefined} args\n * @return\n * {LodashDecorator}\n ", + "start": 257, + "end": 392, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {undefined} indexes\n * @param\n * {undefined} args\n * @return\n * {LodashDecorator}\n ", + "start": 257, + "end": 392, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PartialValueApplicator", + "start": 72, + "end": 94, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 95, + "end": 96, + "loc": { + "start": { + "line": 2, + "column": 32 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 97, + "end": 101, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 38 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 102, + "end": 117, + "loc": { + "start": { + "line": 2, + "column": 39 + }, + "end": { + "line": 2, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 117, + "end": 118, + "loc": { + "start": { + "line": 2, + "column": 54 + }, + "end": { + "line": 2, + "column": 55 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 119, + "end": 124, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 125, + "end": 134, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 135, + "end": 136, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 137, + "end": 153, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 153, + "end": 154, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createInstanceDecorator", + "start": 154, + "end": 177, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 58 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 177, + "end": 178, + "loc": { + "start": { + "line": 3, + "column": 58 + }, + "end": { + "line": 3, + "column": 59 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 178, + "end": 181, + "loc": { + "start": { + "line": 3, + "column": 59 + }, + "end": { + "line": 3, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 182, + "end": 197, + "loc": { + "start": { + "line": 3, + "column": 63 + }, + "end": { + "line": 3, + "column": 78 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 197, + "end": 198, + "loc": { + "start": { + "line": 3, + "column": 78 + }, + "end": { + "line": 3, + "column": 79 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rearg", + "start": 198, + "end": 203, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 84 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 203, + "end": 204, + "loc": { + "start": { + "line": 3, + "column": 84 + }, + "end": { + "line": 3, + "column": 85 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 205, + "end": 208, + "loc": { + "start": { + "line": 3, + "column": 86 + }, + "end": { + "line": 3, + "column": 89 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PartialValueApplicator", + "start": 209, + "end": 231, + "loc": { + "start": { + "line": 3, + "column": 90 + }, + "end": { + "line": 3, + "column": 112 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 3, + "column": 112 + }, + "end": { + "line": 3, + "column": 113 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 232, + "end": 233, + "loc": { + "start": { + "line": 3, + "column": 113 + }, + "end": { + "line": 3, + "column": 114 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 233, + "end": 234, + "loc": { + "start": { + "line": 3, + "column": 114 + }, + "end": { + "line": 3, + "column": 115 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 235, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 116 + }, + "end": { + "line": 3, + "column": 117 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "property", + "start": 237, + "end": 245, + "loc": { + "start": { + "line": 3, + "column": 118 + }, + "end": { + "line": 3, + "column": 126 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 245, + "end": 246, + "loc": { + "start": { + "line": 3, + "column": 126 + }, + "end": { + "line": 3, + "column": 127 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 247, + "end": 251, + "loc": { + "start": { + "line": 3, + "column": 128 + }, + "end": { + "line": 3, + "column": 132 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 252, + "end": 253, + "loc": { + "start": { + "line": 3, + "column": 133 + }, + "end": { + "line": 3, + "column": 134 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 253, + "end": 254, + "loc": { + "start": { + "line": 3, + "column": 134 + }, + "end": { + "line": 3, + "column": 135 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 254, + "end": 255, + "loc": { + "start": { + "line": 3, + "column": 135 + }, + "end": { + "line": 3, + "column": 136 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 255, + "end": 256, + "loc": { + "start": { + "line": 3, + "column": 136 + }, + "end": { + "line": 3, + "column": 137 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {undefined} indexes\n * @param\n * {undefined} args\n * @return\n * {LodashDecorator}\n ", + "start": 257, + "end": 392, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 393, + "end": 399, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 400, + "end": 408, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Rearg", + "start": 409, + "end": 414, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 414, + "end": 415, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "indexes", + "start": 415, + "end": 422, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 422, + "end": 423, + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 30 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 424, + "end": 427, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 427, + "end": 431, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 431, + "end": 432, + "loc": { + "start": { + "line": 16, + "column": 38 + }, + "end": { + "line": 16, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 433, + "end": 434, + "loc": { + "start": { + "line": 16, + "column": 40 + }, + "end": { + "line": 16, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 439, + "end": 445, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 446, + "end": 455, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 455, + "end": 456, + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "indexes", + "start": 456, + "end": 463, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 463, + "end": 464, + "loc": { + "start": { + "line": 17, + "column": 28 + }, + "end": { + "line": 17, + "column": 29 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 465, + "end": 468, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 468, + "end": 472, + "loc": { + "start": { + "line": 17, + "column": 33 + }, + "end": { + "line": 17, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 472, + "end": 473, + "loc": { + "start": { + "line": 17, + "column": 37 + }, + "end": { + "line": 17, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 473, + "end": 474, + "loc": { + "start": { + "line": 17, + "column": 38 + }, + "end": { + "line": 17, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 475, + "end": 476, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 477, + "end": 483, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 484, + "end": 485, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Rearg", + "start": 486, + "end": 491, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 492, + "end": 494, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rearg", + "start": 495, + "end": 500, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 501, + "end": 502, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 502, + "end": 503, + "loc": { + "start": { + "line": 19, + "column": 25 + }, + "end": { + "line": 19, + "column": 26 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 504, + "end": 510, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 511, + "end": 518, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 519, + "end": 528, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 528, + "end": 529, + "loc": { + "start": { + "line": 20, + "column": 24 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 530, + "end": 530, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/rest.js.json b/docs/ast/source/rest.ts.json similarity index 80% rename from docs/ast/source/rest.js.json rename to docs/ast/source/rest.ts.json index 68fea70..d7eae09 100644 --- a/docs/ast/source/rest.js.json +++ b/docs/ast/source/rest.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 299, + "end": 294, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 299, + "end": 294, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 30, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 30 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - }, - "identifierName": "rest" - }, - "name": "rest" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 13 - }, - "identifierName": "rest" - }, - "name": "rest" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 31, - "end": 93, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 40, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 40, - "end": 55, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 57, - "end": 73, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 81, - "end": 92, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 94, - "end": 145, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 103, - "end": 121, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 129, - "end": 144, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -337,60 +251,60 @@ }, { "type": "ExportNamedDeclaration", - "start": 146, - "end": 252, + "start": 115, + "end": 247, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 4, - "column": 106 + "line": 3, + "column": 132 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 153, - "end": 252, + "start": 122, + "end": 247, "loc": { "start": { - "line": 4, + "line": 3, "column": 7 }, "end": { - "line": 4, - "column": 106 + "line": 3, + "column": 132 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 159, - "end": 251, + "start": 128, + "end": 246, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, - "column": 105 + "line": 3, + "column": 131 } }, "id": { "type": "Identifier", - "start": 159, - "end": 163, + "start": 128, + "end": 132, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, + "line": 3, "column": 17 }, "identifierName": "Rest" @@ -399,43 +313,43 @@ }, "init": { "type": "CallExpression", - "start": 166, - "end": 251, + "start": 135, + "end": 246, "loc": { "start": { - "line": 4, + "line": 3, "column": 20 }, "end": { - "line": 4, - "column": 105 + "line": 3, + "column": 131 } }, "callee": { "type": "MemberExpression", - "start": 166, - "end": 198, + "start": 135, + "end": 167, "loc": { "start": { - "line": 4, + "line": 3, "column": 20 }, "end": { - "line": 4, + "line": 3, "column": 52 } }, "object": { "type": "Identifier", - "start": 166, - "end": 182, + "start": 135, + "end": 151, "loc": { "start": { - "line": 4, + "line": 3, "column": 20 }, "end": { - "line": 4, + "line": 3, "column": 36 }, "identifierName": "DecoratorFactory" @@ -444,15 +358,15 @@ }, "property": { "type": "Identifier", - "start": 183, - "end": 198, + "start": 152, + "end": 167, "loc": { "start": { - "line": 4, + "line": 3, "column": 37 }, "end": { - "line": 4, + "line": 3, "column": 52 }, "identifierName": "createDecorator" @@ -464,29 +378,29 @@ "arguments": [ { "type": "NewExpression", - "start": 199, - "end": 250, + "start": 168, + "end": 245, "loc": { "start": { - "line": 4, + "line": 3, "column": 53 }, "end": { - "line": 4, - "column": 104 + "line": 3, + "column": 130 } }, "callee": { "type": "Identifier", - "start": 203, - "end": 218, + "start": 172, + "end": 187, "loc": { "start": { - "line": 4, + "line": 3, "column": 57 }, "end": { - "line": 4, + "line": 3, "column": 72 }, "identifierName": "DecoratorConfig" @@ -496,15 +410,15 @@ "arguments": [ { "type": "Identifier", - "start": 219, - "end": 223, + "start": 188, + "end": 192, "loc": { "start": { - "line": 4, + "line": 3, "column": 73 }, "end": { - "line": 4, + "line": 3, "column": 77 }, "identifierName": "rest" @@ -513,29 +427,29 @@ }, { "type": "NewExpression", - "start": 225, - "end": 249, + "start": 194, + "end": 218, "loc": { "start": { - "line": 4, + "line": 3, "column": 79 }, "end": { - "line": 4, + "line": 3, "column": 103 } }, "callee": { "type": "Identifier", - "start": 229, - "end": 247, + "start": 198, + "end": 216, "loc": { "start": { - "line": 4, + "line": 3, "column": 83 }, "end": { - "line": 4, + "line": 3, "column": 101 }, "identifierName": "PreValueApplicator" @@ -543,6 +457,74 @@ "name": "PreValueApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 220, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 105 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 222, + "end": 242, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 127 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 222, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 121 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 238, + "end": 242, + "loc": { + "start": { + "line": 3, + "column": 123 + }, + "end": { + "line": 3, + "column": 127 + } + }, + "value": true + } + } + ] } ] } @@ -557,15 +539,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 253, - "end": 277, + "start": 248, + "end": 272, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 4, "column": 24 } }, @@ -573,29 +555,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 262, - "end": 274, + "start": 257, + "end": 269, "loc": { "start": { - "line": 5, + "line": 4, "column": 9 }, "end": { - "line": 5, + "line": 4, "column": 21 } }, "local": { "type": "Identifier", - "start": 262, - "end": 266, + "start": 257, + "end": 261, "loc": { "start": { - "line": 5, + "line": 4, "column": 9 }, "end": { - "line": 5, + "line": 4, "column": 13 }, "identifierName": "Rest" @@ -604,15 +586,15 @@ }, "exported": { "type": "Identifier", - "start": 270, - "end": 274, + "start": 265, + "end": 269, "loc": { "start": { - "line": 5, + "line": 4, "column": 17 }, "end": { - "line": 5, + "line": 4, "column": 21 }, "identifierName": "rest" @@ -625,29 +607,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 278, - "end": 298, + "start": 273, + "end": 293, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 20 } }, "declaration": { "type": "Identifier", - "start": 293, - "end": 297, + "start": 288, + "end": 292, "loc": { "start": { - "line": 6, + "line": 5, "column": 15 }, "end": { - "line": 6, + "line": 5, "column": 19 }, "identifierName": "Rest" @@ -667,7 +649,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -727,9 +709,9 @@ "postfix": false, "binop": null }, - "value": "rest", + "value": "DecoratorConfig", "start": 9, - "end": 13, + "end": 24, "loc": { "start": { "line": 1, @@ -737,7 +719,59 @@ }, "end": { "line": 1, - "column": 13 + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 } } }, @@ -753,16 +787,16 @@ "postfix": false, "binop": null }, - "start": 14, - "end": 15, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 14 + "column": 43 }, "end": { "line": 1, - "column": 15 + "column": 44 } } }, @@ -779,16 +813,16 @@ "binop": null }, "value": "from", - "start": 16, - "end": 20, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 16 + "column": 45 }, "end": { "line": 1, - "column": 20 + "column": 49 } } }, @@ -805,17 +839,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 21, - "end": 29, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 21 + "column": 50 }, "end": { "line": 1, - "column": 29 + "column": 61 } } }, @@ -832,16 +866,16 @@ "binop": null, "updateContext": null }, - "start": 29, - "end": 30, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 29 + "column": 61 }, "end": { "line": 1, - "column": 30 + "column": 62 } } }, @@ -850,7 +884,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -860,8 +894,8 @@ "updateContext": null }, "value": "import", - "start": 31, - "end": 37, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -885,8 +919,8 @@ "postfix": false, "binop": null }, - "start": 38, - "end": 39, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -910,9 +944,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 40, - "end": 55, + "value": "PreValueApplicator", + "start": 72, + "end": 90, "loc": { "start": { "line": 2, @@ -920,33 +954,32 @@ }, "end": { "line": 2, - "column": 24 + "column": 27 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 55, - "end": 56, + "start": 91, + "end": 92, "loc": { "start": { "line": 2, - "column": 24 + "column": 28 }, "end": { "line": 2, - "column": 25 + "column": 29 } } }, @@ -962,95 +995,44 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 57, - "end": 73, + "value": "from", + "start": 93, + "end": 97, "loc": { "start": { "line": 2, - "column": 26 + "column": 30 }, "end": { "line": 2, - "column": 42 + "column": 34 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 74, - "end": 75, + "value": "./applicators", + "start": 98, + "end": 113, "loc": { "start": { "line": 2, - "column": 43 + "column": 35 }, "end": { "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 76, - "end": 80, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 81, - "end": 92, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 + "column": 50 } } }, @@ -1067,23 +1049,23 @@ "binop": null, "updateContext": null }, - "start": 92, - "end": 93, + "start": 113, + "end": 114, "loc": { "start": { "line": 2, - "column": 61 + "column": 50 }, "end": { "line": 2, - "column": 62 + "column": 51 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1094,9 +1076,9 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 94, - "end": 100, + "value": "export", + "start": 115, + "end": 121, "loc": { "start": { "line": 3, @@ -1110,18 +1092,21 @@ }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 101, - "end": 102, + "value": "const", + "start": 122, + "end": 127, "loc": { "start": { "line": 3, @@ -1129,7 +1114,7 @@ }, "end": { "line": 3, - "column": 8 + "column": 12 } } }, @@ -1145,42 +1130,44 @@ "postfix": false, "binop": null }, - "value": "PreValueApplicator", - "start": 103, - "end": 121, + "value": "Rest", + "start": 128, + "end": 132, "loc": { "start": { "line": 3, - "column": 9 + "column": 13 }, "end": { "line": 3, - "column": 27 + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 122, - "end": 123, + "value": "=", + "start": 133, + "end": 134, "loc": { "start": { "line": 3, - "column": 28 + "column": 18 }, "end": { "line": 3, - "column": 29 + "column": 19 } } }, @@ -1196,25 +1183,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 124, - "end": 128, + "value": "DecoratorFactory", + "start": 135, + "end": 151, "loc": { "start": { "line": 3, - "column": 30 + "column": 20 }, "end": { "line": 3, - "column": 34 + "column": 36 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1223,80 +1210,76 @@ "binop": null, "updateContext": null }, - "value": "./applicators", - "start": 129, - "end": 144, + "start": 151, + "end": 152, "loc": { "start": { "line": 3, - "column": 35 + "column": 36 }, "end": { "line": 3, - "column": 50 + "column": 37 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 144, - "end": 145, + "value": "createDecorator", + "start": 152, + "end": 167, "loc": { "start": { "line": 3, - "column": 50 + "column": 37 }, "end": { "line": 3, - "column": 51 + "column": 52 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 146, - "end": 152, + "start": 167, + "end": 168, "loc": { "start": { - "line": 4, - "column": 0 + "line": 3, + "column": 52 }, "end": { - "line": 4, - "column": 6 + "line": 3, + "column": 53 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1305,17 +1288,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 153, - "end": 158, + "value": "new", + "start": 168, + "end": 171, "loc": { "start": { - "line": 4, - "column": 7 + "line": 3, + "column": 53 }, "end": { - "line": 4, - "column": 12 + "line": 3, + "column": 56 } } }, @@ -1331,44 +1314,42 @@ "postfix": false, "binop": null }, - "value": "Rest", - "start": 159, - "end": 163, + "value": "DecoratorConfig", + "start": 172, + "end": 187, "loc": { "start": { - "line": 4, - "column": 13 + "line": 3, + "column": 57 }, "end": { - "line": 4, - "column": 17 + "line": 3, + "column": 72 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 164, - "end": 165, + "start": 187, + "end": 188, "loc": { "start": { - "line": 4, - "column": 18 + "line": 3, + "column": 72 }, "end": { - "line": 4, - "column": 19 + "line": 3, + "column": 73 } } }, @@ -1384,24 +1365,24 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 166, - "end": 182, + "value": "rest", + "start": 188, + "end": 192, "loc": { "start": { - "line": 4, - "column": 20 + "line": 3, + "column": 73 }, "end": { - "line": 4, - "column": 36 + "line": 3, + "column": 77 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1411,49 +1392,51 @@ "binop": null, "updateContext": null }, - "start": 182, - "end": 183, + "start": 192, + "end": 193, "loc": { "start": { - "line": 4, - "column": 36 + "line": 3, + "column": 77 }, "end": { - "line": 4, - "column": 37 + "line": 3, + "column": 78 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "createDecorator", - "start": 183, - "end": 198, + "value": "new", + "start": 194, + "end": 197, "loc": { "start": { - "line": 4, - "column": 37 + "line": 3, + "column": 79 }, "end": { - "line": 4, - "column": 52 + "line": 3, + "column": 82 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1462,23 +1445,23 @@ "postfix": false, "binop": null }, + "value": "PreValueApplicator", "start": 198, - "end": 199, + "end": 216, "loc": { "start": { - "line": 4, - "column": 52 + "line": 3, + "column": 83 }, "end": { - "line": 4, - "column": 53 + "line": 3, + "column": 101 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1486,28 +1469,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 199, - "end": 202, + "start": 216, + "end": 217, "loc": { "start": { - "line": 4, - "column": 53 + "line": 3, + "column": 101 }, "end": { - "line": 4, - "column": 56 + "line": 3, + "column": 102 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1515,49 +1496,49 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 203, + "start": 217, "end": 218, "loc": { "start": { - "line": 4, - "column": 57 + "line": 3, + "column": 102 }, "end": { - "line": 4, - "column": 72 + "line": 3, + "column": 103 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, "start": 218, "end": 219, "loc": { "start": { - "line": 4, - "column": 72 + "line": 3, + "column": 103 }, "end": { - "line": 4, - "column": 73 + "line": 3, + "column": 104 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1566,52 +1547,50 @@ "postfix": false, "binop": null }, - "value": "rest", - "start": 219, - "end": 223, + "start": 220, + "end": 221, "loc": { "start": { - "line": 4, - "column": 73 + "line": 3, + "column": 105 }, "end": { - "line": 4, - "column": 77 + "line": 3, + "column": 106 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 223, - "end": 224, + "value": "optionalParams", + "start": 222, + "end": 236, "loc": { "start": { - "line": 4, - "column": 77 + "line": 3, + "column": 107 }, "end": { - "line": 4, - "column": 78 + "line": 3, + "column": 121 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1620,23 +1599,23 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 225, - "end": 228, + "start": 236, + "end": 237, "loc": { "start": { - "line": 4, - "column": 79 + "line": 3, + "column": 121 }, "end": { - "line": 4, - "column": 82 + "line": 3, + "column": 122 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1644,50 +1623,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 229, - "end": 247, - "loc": { - "start": { - "line": 4, - "column": 83 - }, - "end": { - "line": 4, - "column": 101 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 247, - "end": 248, + "value": "true", + "start": 238, + "end": 242, "loc": { "start": { - "line": 4, - "column": 101 + "line": 3, + "column": 123 }, "end": { - "line": 4, - "column": 102 + "line": 3, + "column": 127 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1697,16 +1652,16 @@ "postfix": false, "binop": null }, - "start": 248, - "end": 249, + "start": 243, + "end": 244, "loc": { "start": { - "line": 4, - "column": 102 + "line": 3, + "column": 128 }, "end": { - "line": 4, - "column": 103 + "line": 3, + "column": 129 } } }, @@ -1722,16 +1677,16 @@ "postfix": false, "binop": null }, - "start": 249, - "end": 250, + "start": 244, + "end": 245, "loc": { "start": { - "line": 4, - "column": 103 + "line": 3, + "column": 129 }, "end": { - "line": 4, - "column": 104 + "line": 3, + "column": 130 } } }, @@ -1747,16 +1702,16 @@ "postfix": false, "binop": null }, - "start": 250, - "end": 251, + "start": 245, + "end": 246, "loc": { "start": { - "line": 4, - "column": 104 + "line": 3, + "column": 130 }, "end": { - "line": 4, - "column": 105 + "line": 3, + "column": 131 } } }, @@ -1773,16 +1728,16 @@ "binop": null, "updateContext": null }, - "start": 251, - "end": 252, + "start": 246, + "end": 247, "loc": { "start": { - "line": 4, - "column": 105 + "line": 3, + "column": 131 }, "end": { - "line": 4, - "column": 106 + "line": 3, + "column": 132 } } }, @@ -1801,15 +1756,15 @@ "updateContext": null }, "value": "export", - "start": 253, - "end": 259, + "start": 248, + "end": 254, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 4, "column": 6 } } @@ -1826,15 +1781,15 @@ "postfix": false, "binop": null }, - "start": 260, - "end": 261, + "start": 255, + "end": 256, "loc": { "start": { - "line": 5, + "line": 4, "column": 7 }, "end": { - "line": 5, + "line": 4, "column": 8 } } @@ -1852,15 +1807,15 @@ "binop": null }, "value": "Rest", - "start": 262, - "end": 266, + "start": 257, + "end": 261, "loc": { "start": { - "line": 5, + "line": 4, "column": 9 }, "end": { - "line": 5, + "line": 4, "column": 13 } } @@ -1878,15 +1833,15 @@ "binop": null }, "value": "as", - "start": 267, - "end": 269, + "start": 262, + "end": 264, "loc": { "start": { - "line": 5, + "line": 4, "column": 14 }, "end": { - "line": 5, + "line": 4, "column": 16 } } @@ -1904,15 +1859,15 @@ "binop": null }, "value": "rest", - "start": 270, - "end": 274, + "start": 265, + "end": 269, "loc": { "start": { - "line": 5, + "line": 4, "column": 17 }, "end": { - "line": 5, + "line": 4, "column": 21 } } @@ -1929,15 +1884,15 @@ "postfix": false, "binop": null }, - "start": 275, - "end": 276, + "start": 270, + "end": 271, "loc": { "start": { - "line": 5, + "line": 4, "column": 22 }, "end": { - "line": 5, + "line": 4, "column": 23 } } @@ -1955,15 +1910,15 @@ "binop": null, "updateContext": null }, - "start": 276, - "end": 277, + "start": 271, + "end": 272, "loc": { "start": { - "line": 5, + "line": 4, "column": 23 }, "end": { - "line": 5, + "line": 4, "column": 24 } } @@ -1983,15 +1938,15 @@ "updateContext": null }, "value": "export", - "start": 278, - "end": 284, + "start": 273, + "end": 279, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 6 } } @@ -2011,15 +1966,15 @@ "updateContext": null }, "value": "default", - "start": 285, - "end": 292, + "start": 280, + "end": 287, "loc": { "start": { - "line": 6, + "line": 5, "column": 7 }, "end": { - "line": 6, + "line": 5, "column": 14 } } @@ -2037,15 +1992,15 @@ "binop": null }, "value": "Rest", - "start": 293, - "end": 297, + "start": 288, + "end": 292, "loc": { "start": { - "line": 6, + "line": 5, "column": 15 }, "end": { - "line": 6, + "line": 5, "column": 19 } } @@ -2063,15 +2018,15 @@ "binop": null, "updateContext": null }, - "start": 297, - "end": 298, + "start": 292, + "end": 293, "loc": { "start": { - "line": 6, + "line": 5, "column": 19 }, "end": { - "line": 6, + "line": 5, "column": 20 } } @@ -2089,15 +2044,15 @@ "binop": null, "updateContext": null }, - "start": 299, - "end": 299, + "start": 294, + "end": 294, "loc": { "start": { - "line": 7, + "line": 6, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 0 } } diff --git a/docs/ast/source/shared.js.json b/docs/ast/source/shared.ts.json similarity index 100% rename from docs/ast/source/shared.js.json rename to docs/ast/source/shared.ts.json diff --git a/docs/ast/source/spread.js.json b/docs/ast/source/spread.ts.json similarity index 81% rename from docs/ast/source/spread.js.json rename to docs/ast/source/spread.ts.json index 8f498f4..6090ca2 100644 --- a/docs/ast/source/spread.js.json +++ b/docs/ast/source/spread.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 311, + "end": 304, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 311, + "end": 304, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 32, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 32 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 15, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 15 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "spread" - }, - "name": "spread" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 15, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 15 - }, - "identifierName": "spread" - }, - "name": "spread" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 33, - "end": 95, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 42, - "end": 57, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 59, - "end": 75, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 59, - "end": 75, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 59, - "end": 75, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 83, - "end": 94, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 96, - "end": 147, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 105, - "end": 123, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 105, - "end": 123, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 105, - "end": 123, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 131, - "end": 146, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -337,60 +251,60 @@ }, { "type": "ExportNamedDeclaration", - "start": 148, - "end": 258, + "start": 115, + "end": 251, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 4, - "column": 110 + "line": 3, + "column": 136 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 155, - "end": 258, + "start": 122, + "end": 251, "loc": { "start": { - "line": 4, + "line": 3, "column": 7 }, "end": { - "line": 4, - "column": 110 + "line": 3, + "column": 136 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 161, - "end": 257, + "start": 128, + "end": 250, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, - "column": 109 + "line": 3, + "column": 135 } }, "id": { "type": "Identifier", - "start": 161, - "end": 167, + "start": 128, + "end": 134, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, + "line": 3, "column": 19 }, "identifierName": "Spread" @@ -399,43 +313,43 @@ }, "init": { "type": "CallExpression", - "start": 170, - "end": 257, + "start": 137, + "end": 250, "loc": { "start": { - "line": 4, + "line": 3, "column": 22 }, "end": { - "line": 4, - "column": 109 + "line": 3, + "column": 135 } }, "callee": { "type": "MemberExpression", - "start": 170, - "end": 202, + "start": 137, + "end": 169, "loc": { "start": { - "line": 4, + "line": 3, "column": 22 }, "end": { - "line": 4, + "line": 3, "column": 54 } }, "object": { "type": "Identifier", - "start": 170, - "end": 186, + "start": 137, + "end": 153, "loc": { "start": { - "line": 4, + "line": 3, "column": 22 }, "end": { - "line": 4, + "line": 3, "column": 38 }, "identifierName": "DecoratorFactory" @@ -444,15 +358,15 @@ }, "property": { "type": "Identifier", - "start": 187, - "end": 202, + "start": 154, + "end": 169, "loc": { "start": { - "line": 4, + "line": 3, "column": 39 }, "end": { - "line": 4, + "line": 3, "column": 54 }, "identifierName": "createDecorator" @@ -464,29 +378,29 @@ "arguments": [ { "type": "NewExpression", - "start": 203, - "end": 256, + "start": 170, + "end": 249, "loc": { "start": { - "line": 4, + "line": 3, "column": 55 }, "end": { - "line": 4, - "column": 108 + "line": 3, + "column": 134 } }, "callee": { "type": "Identifier", - "start": 207, - "end": 222, + "start": 174, + "end": 189, "loc": { "start": { - "line": 4, + "line": 3, "column": 59 }, "end": { - "line": 4, + "line": 3, "column": 74 }, "identifierName": "DecoratorConfig" @@ -496,15 +410,15 @@ "arguments": [ { "type": "Identifier", - "start": 223, - "end": 229, + "start": 190, + "end": 196, "loc": { "start": { - "line": 4, + "line": 3, "column": 75 }, "end": { - "line": 4, + "line": 3, "column": 81 }, "identifierName": "spread" @@ -513,29 +427,29 @@ }, { "type": "NewExpression", - "start": 231, - "end": 255, + "start": 198, + "end": 222, "loc": { "start": { - "line": 4, + "line": 3, "column": 83 }, "end": { - "line": 4, + "line": 3, "column": 107 } }, "callee": { "type": "Identifier", - "start": 235, - "end": 253, + "start": 202, + "end": 220, "loc": { "start": { - "line": 4, + "line": 3, "column": 87 }, "end": { - "line": 4, + "line": 3, "column": 105 }, "identifierName": "PreValueApplicator" @@ -543,6 +457,74 @@ "name": "PreValueApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 224, + "end": 248, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 133 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 226, + "end": 246, + "loc": { + "start": { + "line": 3, + "column": 111 + }, + "end": { + "line": 3, + "column": 131 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 226, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 111 + }, + "end": { + "line": 3, + "column": 125 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 242, + "end": 246, + "loc": { + "start": { + "line": 3, + "column": 127 + }, + "end": { + "line": 3, + "column": 131 + } + }, + "value": true + } + } + ] } ] } @@ -557,15 +539,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 259, - "end": 287, + "start": 252, + "end": 280, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 4, "column": 28 } }, @@ -573,29 +555,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 268, - "end": 284, + "start": 261, + "end": 277, "loc": { "start": { - "line": 5, + "line": 4, "column": 9 }, "end": { - "line": 5, + "line": 4, "column": 25 } }, "local": { "type": "Identifier", - "start": 268, - "end": 274, + "start": 261, + "end": 267, "loc": { "start": { - "line": 5, + "line": 4, "column": 9 }, "end": { - "line": 5, + "line": 4, "column": 15 }, "identifierName": "Spread" @@ -604,15 +586,15 @@ }, "exported": { "type": "Identifier", - "start": 278, - "end": 284, + "start": 271, + "end": 277, "loc": { "start": { - "line": 5, + "line": 4, "column": 19 }, "end": { - "line": 5, + "line": 4, "column": 25 }, "identifierName": "spread" @@ -625,29 +607,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 288, - "end": 310, + "start": 281, + "end": 303, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 22 } }, "declaration": { "type": "Identifier", - "start": 303, - "end": 309, + "start": 296, + "end": 302, "loc": { "start": { - "line": 6, + "line": 5, "column": 15 }, "end": { - "line": 6, + "line": 5, "column": 21 }, "identifierName": "Spread" @@ -667,7 +649,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -727,9 +709,9 @@ "postfix": false, "binop": null }, - "value": "spread", + "value": "DecoratorConfig", "start": 9, - "end": 15, + "end": 24, "loc": { "start": { "line": 1, @@ -737,32 +719,33 @@ }, "end": { "line": 1, - "column": 15 + "column": 24 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 16, - "end": 17, + "start": 24, + "end": 25, "loc": { "start": { "line": 1, - "column": 16 + "column": 24 }, "end": { "line": 1, - "column": 17 + "column": 25 } } }, @@ -778,79 +761,76 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 18, - "end": 22, + "value": "DecoratorFactory", + "start": 26, + "end": 42, "loc": { "start": { "line": 1, - "column": 18 + "column": 26 }, "end": { "line": 1, - "column": 22 + "column": 42 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "lodash", - "start": 23, - "end": 31, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 23 + "column": 43 }, "end": { "line": 1, - "column": 31 + "column": 44 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 31, - "end": 32, + "value": "from", + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 31 + "column": 45 }, "end": { "line": 1, - "column": 32 + "column": 49 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -859,48 +839,50 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 33, - "end": 39, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, - "column": 0 + "line": 1, + "column": 50 }, "end": { - "line": 2, - "column": 6 + "line": 1, + "column": 61 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 40, - "end": 41, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, - "column": 7 + "line": 1, + "column": 61 }, "end": { - "line": 2, - "column": 8 + "line": 1, + "column": 62 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -908,45 +890,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 42, - "end": 57, + "value": "import", + "start": 63, + "end": 69, "loc": { "start": { "line": 2, - "column": 9 + "column": 0 }, "end": { "line": 2, - "column": 24 + "column": 6 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 57, - "end": 58, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, - "column": 24 + "column": 7 }, "end": { "line": 2, - "column": 25 + "column": 8 } } }, @@ -962,17 +944,17 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 59, - "end": 75, + "value": "PreValueApplicator", + "start": 72, + "end": 90, "loc": { "start": { "line": 2, - "column": 26 + "column": 9 }, "end": { "line": 2, - "column": 42 + "column": 27 } } }, @@ -988,16 +970,16 @@ "postfix": false, "binop": null }, - "start": 76, - "end": 77, + "start": 91, + "end": 92, "loc": { "start": { "line": 2, - "column": 43 + "column": 28 }, "end": { "line": 2, - "column": 44 + "column": 29 } } }, @@ -1014,16 +996,16 @@ "binop": null }, "value": "from", - "start": 78, - "end": 82, + "start": 93, + "end": 97, "loc": { "start": { "line": 2, - "column": 45 + "column": 30 }, "end": { "line": 2, - "column": 49 + "column": 34 } } }, @@ -1040,17 +1022,17 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 83, - "end": 94, + "value": "./applicators", + "start": 98, + "end": 113, "loc": { "start": { "line": 2, - "column": 50 + "column": 35 }, "end": { "line": 2, - "column": 61 + "column": 50 } } }, @@ -1067,23 +1049,23 @@ "binop": null, "updateContext": null }, - "start": 94, - "end": 95, + "start": 113, + "end": 114, "loc": { "start": { "line": 2, - "column": 61 + "column": 50 }, "end": { "line": 2, - "column": 62 + "column": 51 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1094,9 +1076,9 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 96, - "end": 102, + "value": "export", + "start": 115, + "end": 121, "loc": { "start": { "line": 3, @@ -1110,18 +1092,21 @@ }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 103, - "end": 104, + "value": "const", + "start": 122, + "end": 127, "loc": { "start": { "line": 3, @@ -1129,7 +1114,7 @@ }, "end": { "line": 3, - "column": 8 + "column": 12 } } }, @@ -1145,42 +1130,44 @@ "postfix": false, "binop": null }, - "value": "PreValueApplicator", - "start": 105, - "end": 123, + "value": "Spread", + "start": 128, + "end": 134, "loc": { "start": { "line": 3, - "column": 9 + "column": 13 }, "end": { "line": 3, - "column": 27 + "column": 19 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 124, - "end": 125, + "value": "=", + "start": 135, + "end": 136, "loc": { "start": { "line": 3, - "column": 28 + "column": 20 }, "end": { "line": 3, - "column": 29 + "column": 21 } } }, @@ -1196,25 +1183,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 126, - "end": 130, + "value": "DecoratorFactory", + "start": 137, + "end": 153, "loc": { "start": { "line": 3, - "column": 30 + "column": 22 }, "end": { "line": 3, - "column": 34 + "column": 38 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1223,80 +1210,76 @@ "binop": null, "updateContext": null }, - "value": "./applicators", - "start": 131, - "end": 146, + "start": 153, + "end": 154, "loc": { "start": { "line": 3, - "column": 35 + "column": 38 }, "end": { "line": 3, - "column": 50 + "column": 39 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 146, - "end": 147, + "value": "createDecorator", + "start": 154, + "end": 169, "loc": { "start": { "line": 3, - "column": 50 + "column": 39 }, "end": { "line": 3, - "column": 51 + "column": 54 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 148, - "end": 154, + "start": 169, + "end": 170, "loc": { "start": { - "line": 4, - "column": 0 + "line": 3, + "column": 54 }, "end": { - "line": 4, - "column": 6 + "line": 3, + "column": 55 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1305,17 +1288,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 155, - "end": 160, + "value": "new", + "start": 170, + "end": 173, "loc": { "start": { - "line": 4, - "column": 7 + "line": 3, + "column": 55 }, "end": { - "line": 4, - "column": 12 + "line": 3, + "column": 58 } } }, @@ -1331,44 +1314,42 @@ "postfix": false, "binop": null }, - "value": "Spread", - "start": 161, - "end": 167, + "value": "DecoratorConfig", + "start": 174, + "end": 189, "loc": { "start": { - "line": 4, - "column": 13 + "line": 3, + "column": 59 }, "end": { - "line": 4, - "column": 19 + "line": 3, + "column": 74 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 168, - "end": 169, + "start": 189, + "end": 190, "loc": { "start": { - "line": 4, - "column": 20 + "line": 3, + "column": 74 }, "end": { - "line": 4, - "column": 21 + "line": 3, + "column": 75 } } }, @@ -1384,24 +1365,24 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 170, - "end": 186, + "value": "spread", + "start": 190, + "end": 196, "loc": { "start": { - "line": 4, - "column": 22 + "line": 3, + "column": 75 }, "end": { - "line": 4, - "column": 38 + "line": 3, + "column": 81 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1411,49 +1392,51 @@ "binop": null, "updateContext": null }, - "start": 186, - "end": 187, + "start": 196, + "end": 197, "loc": { "start": { - "line": 4, - "column": 38 + "line": 3, + "column": 81 }, "end": { - "line": 4, - "column": 39 + "line": 3, + "column": 82 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "createDecorator", - "start": 187, - "end": 202, + "value": "new", + "start": 198, + "end": 201, "loc": { "start": { - "line": 4, - "column": 39 + "line": 3, + "column": 83 }, "end": { - "line": 4, - "column": 54 + "line": 3, + "column": 86 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1462,23 +1445,23 @@ "postfix": false, "binop": null }, + "value": "PreValueApplicator", "start": 202, - "end": 203, + "end": 220, "loc": { "start": { - "line": 4, - "column": 54 + "line": 3, + "column": 87 }, "end": { - "line": 4, - "column": 55 + "line": 3, + "column": 105 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1486,28 +1469,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 203, - "end": 206, + "start": 220, + "end": 221, "loc": { "start": { - "line": 4, - "column": 55 + "line": 3, + "column": 105 }, "end": { - "line": 4, - "column": 58 + "line": 3, + "column": 106 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1515,49 +1496,49 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 207, + "start": 221, "end": 222, "loc": { "start": { - "line": 4, - "column": 59 + "line": 3, + "column": 106 }, "end": { - "line": 4, - "column": 74 + "line": 3, + "column": 107 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, "start": 222, "end": 223, "loc": { "start": { - "line": 4, - "column": 74 + "line": 3, + "column": 107 }, "end": { - "line": 4, - "column": 75 + "line": 3, + "column": 108 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1566,52 +1547,50 @@ "postfix": false, "binop": null }, - "value": "spread", - "start": 223, - "end": 229, + "start": 224, + "end": 225, "loc": { "start": { - "line": 4, - "column": 75 + "line": 3, + "column": 109 }, "end": { - "line": 4, - "column": 81 + "line": 3, + "column": 110 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 229, - "end": 230, + "value": "optionalParams", + "start": 226, + "end": 240, "loc": { "start": { - "line": 4, - "column": 81 + "line": 3, + "column": 111 }, "end": { - "line": 4, - "column": 82 + "line": 3, + "column": 125 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1620,23 +1599,23 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 231, - "end": 234, + "start": 240, + "end": 241, "loc": { "start": { - "line": 4, - "column": 83 + "line": 3, + "column": 125 }, "end": { - "line": 4, - "column": 86 + "line": 3, + "column": 126 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1644,50 +1623,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 235, - "end": 253, - "loc": { - "start": { - "line": 4, - "column": 87 - }, - "end": { - "line": 4, - "column": 105 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 253, - "end": 254, + "value": "true", + "start": 242, + "end": 246, "loc": { "start": { - "line": 4, - "column": 105 + "line": 3, + "column": 127 }, "end": { - "line": 4, - "column": 106 + "line": 3, + "column": 131 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1697,16 +1652,16 @@ "postfix": false, "binop": null }, - "start": 254, - "end": 255, + "start": 247, + "end": 248, "loc": { "start": { - "line": 4, - "column": 106 + "line": 3, + "column": 132 }, "end": { - "line": 4, - "column": 107 + "line": 3, + "column": 133 } } }, @@ -1722,16 +1677,16 @@ "postfix": false, "binop": null }, - "start": 255, - "end": 256, + "start": 248, + "end": 249, "loc": { "start": { - "line": 4, - "column": 107 + "line": 3, + "column": 133 }, "end": { - "line": 4, - "column": 108 + "line": 3, + "column": 134 } } }, @@ -1747,16 +1702,16 @@ "postfix": false, "binop": null }, - "start": 256, - "end": 257, + "start": 249, + "end": 250, "loc": { "start": { - "line": 4, - "column": 108 + "line": 3, + "column": 134 }, "end": { - "line": 4, - "column": 109 + "line": 3, + "column": 135 } } }, @@ -1773,16 +1728,16 @@ "binop": null, "updateContext": null }, - "start": 257, - "end": 258, + "start": 250, + "end": 251, "loc": { "start": { - "line": 4, - "column": 109 + "line": 3, + "column": 135 }, "end": { - "line": 4, - "column": 110 + "line": 3, + "column": 136 } } }, @@ -1801,15 +1756,15 @@ "updateContext": null }, "value": "export", - "start": 259, - "end": 265, + "start": 252, + "end": 258, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 4, "column": 6 } } @@ -1826,15 +1781,15 @@ "postfix": false, "binop": null }, - "start": 266, - "end": 267, + "start": 259, + "end": 260, "loc": { "start": { - "line": 5, + "line": 4, "column": 7 }, "end": { - "line": 5, + "line": 4, "column": 8 } } @@ -1852,15 +1807,15 @@ "binop": null }, "value": "Spread", - "start": 268, - "end": 274, + "start": 261, + "end": 267, "loc": { "start": { - "line": 5, + "line": 4, "column": 9 }, "end": { - "line": 5, + "line": 4, "column": 15 } } @@ -1878,15 +1833,15 @@ "binop": null }, "value": "as", - "start": 275, - "end": 277, + "start": 268, + "end": 270, "loc": { "start": { - "line": 5, + "line": 4, "column": 16 }, "end": { - "line": 5, + "line": 4, "column": 18 } } @@ -1904,15 +1859,15 @@ "binop": null }, "value": "spread", - "start": 278, - "end": 284, + "start": 271, + "end": 277, "loc": { "start": { - "line": 5, + "line": 4, "column": 19 }, "end": { - "line": 5, + "line": 4, "column": 25 } } @@ -1929,15 +1884,15 @@ "postfix": false, "binop": null }, - "start": 285, - "end": 286, + "start": 278, + "end": 279, "loc": { "start": { - "line": 5, + "line": 4, "column": 26 }, "end": { - "line": 5, + "line": 4, "column": 27 } } @@ -1955,15 +1910,15 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 287, + "start": 279, + "end": 280, "loc": { "start": { - "line": 5, + "line": 4, "column": 27 }, "end": { - "line": 5, + "line": 4, "column": 28 } } @@ -1983,15 +1938,15 @@ "updateContext": null }, "value": "export", - "start": 288, - "end": 294, + "start": 281, + "end": 287, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 6 } } @@ -2011,15 +1966,15 @@ "updateContext": null }, "value": "default", - "start": 295, - "end": 302, + "start": 288, + "end": 295, "loc": { "start": { - "line": 6, + "line": 5, "column": 7 }, "end": { - "line": 6, + "line": 5, "column": 14 } } @@ -2037,15 +1992,15 @@ "binop": null }, "value": "Spread", - "start": 303, - "end": 309, + "start": 296, + "end": 302, "loc": { "start": { - "line": 6, + "line": 5, "column": 15 }, "end": { - "line": 6, + "line": 5, "column": 21 } } @@ -2063,15 +2018,15 @@ "binop": null, "updateContext": null }, - "start": 309, - "end": 310, + "start": 302, + "end": 303, "loc": { "start": { - "line": 6, + "line": 5, "column": 21 }, "end": { - "line": 6, + "line": 5, "column": 22 } } @@ -2089,15 +2044,15 @@ "binop": null, "updateContext": null }, - "start": 311, - "end": 311, + "start": 304, + "end": 304, "loc": { "start": { - "line": 7, + "line": 6, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 0 } } diff --git a/docs/ast/source/tap.js.json b/docs/ast/source/tap.ts.json similarity index 88% rename from docs/ast/source/tap.js.json rename to docs/ast/source/tap.ts.json index b8ec1bf..b0a0c15 100644 --- a/docs/ast/source/tap.js.json +++ b/docs/ast/source/tap.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 440, + "end": 466, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 440, + "end": 466, "loc": { "start": { "line": 1, @@ -356,7 +356,7 @@ { "type": "ExportNamedDeclaration", "start": 267, - "end": 396, + "end": 422, "loc": { "start": { "line": 8, @@ -364,7 +364,7 @@ }, "end": { "line": 8, - "column": 129 + "column": 155 } }, "specifiers": [], @@ -372,7 +372,7 @@ "declaration": { "type": "VariableDeclaration", "start": 274, - "end": 396, + "end": 422, "loc": { "start": { "line": 8, @@ -380,14 +380,14 @@ }, "end": { "line": 8, - "column": 129 + "column": 155 } }, "declarations": [ { "type": "VariableDeclarator", "start": 280, - "end": 395, + "end": 421, "loc": { "start": { "line": 8, @@ -395,7 +395,7 @@ }, "end": { "line": 8, - "column": 128 + "column": 154 } }, "id": { @@ -419,7 +419,7 @@ "init": { "type": "CallExpression", "start": 286, - "end": 395, + "end": 421, "loc": { "start": { "line": 8, @@ -427,7 +427,7 @@ }, "end": { "line": 8, - "column": 128 + "column": 154 } }, "callee": { @@ -484,7 +484,7 @@ { "type": "NewExpression", "start": 319, - "end": 394, + "end": 420, "loc": { "start": { "line": 8, @@ -492,7 +492,7 @@ }, "end": { "line": 8, - "column": 127 + "column": 153 } }, "callee": { @@ -654,6 +654,74 @@ "name": "PreValueApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 395, + "end": 419, + "loc": { + "start": { + "line": 8, + "column": 128 + }, + "end": { + "line": 8, + "column": 152 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 397, + "end": 417, + "loc": { + "start": { + "line": 8, + "column": 130 + }, + "end": { + "line": 8, + "column": 150 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 397, + "end": 411, + "loc": { + "start": { + "line": 8, + "column": 130 + }, + "end": { + "line": 8, + "column": 144 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 413, + "end": 417, + "loc": { + "start": { + "line": 8, + "column": 146 + }, + "end": { + "line": 8, + "column": 150 + } + }, + "value": true + } + } + ] } ] } @@ -704,8 +772,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 397, - "end": 419, + "start": 423, + "end": 445, "loc": { "start": { "line": 9, @@ -720,8 +788,8 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 406, - "end": 416, + "start": 432, + "end": 442, "loc": { "start": { "line": 9, @@ -734,8 +802,8 @@ }, "local": { "type": "Identifier", - "start": 406, - "end": 409, + "start": 432, + "end": 435, "loc": { "start": { "line": 9, @@ -751,8 +819,8 @@ }, "exported": { "type": "Identifier", - "start": 413, - "end": 416, + "start": 439, + "end": 442, "loc": { "start": { "line": 9, @@ -772,8 +840,8 @@ }, { "type": "ExportDefaultDeclaration", - "start": 420, - "end": 439, + "start": 446, + "end": 465, "loc": { "start": { "line": 10, @@ -786,8 +854,8 @@ }, "declaration": { "type": "Identifier", - "start": 435, - "end": 438, + "start": 461, + "end": 464, "loc": { "start": { "line": 10, @@ -831,7 +899,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1066,7 +1134,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1249,7 +1317,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2123,15 +2191,16 @@ }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, "start": 393, "end": 394, @@ -2146,6 +2215,136 @@ } } }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 395, + "end": 396, + "loc": { + "start": { + "line": 8, + "column": 128 + }, + "end": { + "line": 8, + "column": 129 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionalParams", + "start": 397, + "end": 411, + "loc": { + "start": { + "line": 8, + "column": 130 + }, + "end": { + "line": 8, + "column": 144 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 411, + "end": 412, + "loc": { + "start": { + "line": 8, + "column": 144 + }, + "end": { + "line": 8, + "column": 145 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 413, + "end": 417, + "loc": { + "start": { + "line": 8, + "column": 146 + }, + "end": { + "line": 8, + "column": 150 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 418, + "end": 419, + "loc": { + "start": { + "line": 8, + "column": 151 + }, + "end": { + "line": 8, + "column": 152 + } + } + }, { "type": { "label": ")", @@ -2158,16 +2357,41 @@ "postfix": false, "binop": null }, - "start": 394, - "end": 395, + "start": 419, + "end": 420, "loc": { "start": { "line": 8, - "column": 127 + "column": 152 }, "end": { "line": 8, - "column": 128 + "column": 153 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 420, + "end": 421, + "loc": { + "start": { + "line": 8, + "column": 153 + }, + "end": { + "line": 8, + "column": 154 } } }, @@ -2184,16 +2408,16 @@ "binop": null, "updateContext": null }, - "start": 395, - "end": 396, + "start": 421, + "end": 422, "loc": { "start": { "line": 8, - "column": 128 + "column": 154 }, "end": { "line": 8, - "column": 129 + "column": 155 } } }, @@ -2212,8 +2436,8 @@ "updateContext": null }, "value": "export", - "start": 397, - "end": 403, + "start": 423, + "end": 429, "loc": { "start": { "line": 9, @@ -2237,8 +2461,8 @@ "postfix": false, "binop": null }, - "start": 404, - "end": 405, + "start": 430, + "end": 431, "loc": { "start": { "line": 9, @@ -2263,8 +2487,8 @@ "binop": null }, "value": "Tap", - "start": 406, - "end": 409, + "start": 432, + "end": 435, "loc": { "start": { "line": 9, @@ -2289,8 +2513,8 @@ "binop": null }, "value": "as", - "start": 410, - "end": 412, + "start": 436, + "end": 438, "loc": { "start": { "line": 9, @@ -2315,8 +2539,8 @@ "binop": null }, "value": "tap", - "start": 413, - "end": 416, + "start": 439, + "end": 442, "loc": { "start": { "line": 9, @@ -2340,8 +2564,8 @@ "postfix": false, "binop": null }, - "start": 417, - "end": 418, + "start": 443, + "end": 444, "loc": { "start": { "line": 9, @@ -2366,8 +2590,8 @@ "binop": null, "updateContext": null }, - "start": 418, - "end": 419, + "start": 444, + "end": 445, "loc": { "start": { "line": 9, @@ -2394,8 +2618,8 @@ "updateContext": null }, "value": "export", - "start": 420, - "end": 426, + "start": 446, + "end": 452, "loc": { "start": { "line": 10, @@ -2422,8 +2646,8 @@ "updateContext": null }, "value": "default", - "start": 427, - "end": 434, + "start": 453, + "end": 460, "loc": { "start": { "line": 10, @@ -2448,8 +2672,8 @@ "binop": null }, "value": "Tap", - "start": 435, - "end": 438, + "start": 461, + "end": 464, "loc": { "start": { "line": 10, @@ -2474,8 +2698,8 @@ "binop": null, "updateContext": null }, - "start": 438, - "end": 439, + "start": 464, + "end": 465, "loc": { "start": { "line": 10, @@ -2500,8 +2724,8 @@ "binop": null, "updateContext": null }, - "start": 440, - "end": 440, + "start": 466, + "end": 466, "loc": { "start": { "line": 11, diff --git a/docs/ast/source/throttle.js.json b/docs/ast/source/throttle.ts.json similarity index 81% rename from docs/ast/source/throttle.js.json rename to docs/ast/source/throttle.ts.json index e092cb2..f1bb108 100644 --- a/docs/ast/source/throttle.js.json +++ b/docs/ast/source/throttle.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 747, + "end": 778, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 11, + "line": 10, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 747, + "end": 778, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 11, + "line": 10, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 34, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 34 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 17, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 17 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - }, - "identifierName": "throttle" - }, - "name": "throttle" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 17, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 17 - }, - "identifierName": "throttle" - }, - "name": "throttle" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 35, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 44, - "end": 59, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 61, - "end": 77, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 61, - "end": 77, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 61, - "end": 77, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 85, - "end": 96, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 98, - "end": 149, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 107, - "end": 125, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 107, - "end": 125, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 107, - "end": 125, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 133, - "end": 148, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -337,60 +251,60 @@ }, { "type": "ExportNamedDeclaration", - "start": 150, - "end": 304, + "start": 115, + "end": 291, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 4, - "column": 154 + "line": 3, + "column": 176 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 157, - "end": 304, + "start": 122, + "end": 291, "loc": { "start": { - "line": 4, + "line": 3, "column": 7 }, "end": { - "line": 4, - "column": 154 + "line": 3, + "column": 176 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 163, - "end": 303, + "start": 128, + "end": 290, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, - "column": 153 + "line": 3, + "column": 175 } }, "id": { "type": "Identifier", - "start": 163, - "end": 171, + "start": 128, + "end": 136, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, + "line": 3, "column": 21 }, "identifierName": "Throttle" @@ -399,43 +313,43 @@ }, "init": { "type": "CallExpression", - "start": 174, - "end": 303, + "start": 139, + "end": 290, "loc": { "start": { - "line": 4, + "line": 3, "column": 24 }, "end": { - "line": 4, - "column": 153 + "line": 3, + "column": 175 } }, "callee": { "type": "MemberExpression", - "start": 174, - "end": 214, + "start": 139, + "end": 179, "loc": { "start": { - "line": 4, + "line": 3, "column": 24 }, "end": { - "line": 4, + "line": 3, "column": 64 } }, "object": { "type": "Identifier", - "start": 174, - "end": 190, + "start": 139, + "end": 155, "loc": { "start": { - "line": 4, + "line": 3, "column": 24 }, "end": { - "line": 4, + "line": 3, "column": 40 }, "identifierName": "DecoratorFactory" @@ -444,15 +358,15 @@ }, "property": { "type": "Identifier", - "start": 191, - "end": 214, + "start": 156, + "end": 179, "loc": { "start": { - "line": 4, + "line": 3, "column": 41 }, "end": { - "line": 4, + "line": 3, "column": 64 }, "identifierName": "createInstanceDecorator" @@ -464,29 +378,29 @@ "arguments": [ { "type": "NewExpression", - "start": 215, - "end": 302, + "start": 180, + "end": 289, "loc": { "start": { - "line": 4, + "line": 3, "column": 65 }, "end": { - "line": 4, - "column": 152 + "line": 3, + "column": 174 } }, "callee": { "type": "Identifier", - "start": 219, - "end": 234, + "start": 184, + "end": 199, "loc": { "start": { - "line": 4, + "line": 3, "column": 69 }, "end": { - "line": 4, + "line": 3, "column": 84 }, "identifierName": "DecoratorConfig" @@ -496,15 +410,15 @@ "arguments": [ { "type": "Identifier", - "start": 235, - "end": 243, + "start": 200, + "end": 208, "loc": { "start": { - "line": 4, + "line": 3, "column": 85 }, "end": { - "line": 4, + "line": 3, "column": 93 }, "identifierName": "throttle" @@ -513,29 +427,29 @@ }, { "type": "NewExpression", - "start": 245, - "end": 269, + "start": 210, + "end": 234, "loc": { "start": { - "line": 4, + "line": 3, "column": 95 }, "end": { - "line": 4, + "line": 3, "column": 119 } }, "callee": { "type": "Identifier", - "start": 249, - "end": 267, + "start": 214, + "end": 232, "loc": { "start": { - "line": 4, + "line": 3, "column": 99 }, "end": { - "line": 4, + "line": 3, "column": 117 }, "identifierName": "PreValueApplicator" @@ -546,30 +460,30 @@ }, { "type": "ObjectExpression", - "start": 271, - "end": 301, + "start": 236, + "end": 288, "loc": { "start": { - "line": 4, + "line": 3, "column": 121 }, "end": { - "line": 4, - "column": 151 + "line": 3, + "column": 173 } }, "properties": [ { "type": "ObjectProperty", - "start": 273, - "end": 285, + "start": 238, + "end": 250, "loc": { "start": { - "line": 4, + "line": 3, "column": 123 }, "end": { - "line": 4, + "line": 3, "column": 135 } }, @@ -578,15 +492,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 273, - "end": 279, + "start": 238, + "end": 244, "loc": { "start": { - "line": 4, + "line": 3, "column": 123 }, "end": { - "line": 4, + "line": 3, "column": 129 }, "identifierName": "setter" @@ -595,15 +509,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 281, - "end": 285, + "start": 246, + "end": 250, "loc": { "start": { - "line": 4, + "line": 3, "column": 131 }, "end": { - "line": 4, + "line": 3, "column": 135 } }, @@ -612,15 +526,15 @@ }, { "type": "ObjectProperty", - "start": 287, - "end": 299, + "start": 252, + "end": 264, "loc": { "start": { - "line": 4, + "line": 3, "column": 137 }, "end": { - "line": 4, + "line": 3, "column": 149 } }, @@ -629,15 +543,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 287, - "end": 293, + "start": 252, + "end": 258, "loc": { "start": { - "line": 4, + "line": 3, "column": 137 }, "end": { - "line": 4, + "line": 3, "column": 143 }, "identifierName": "getter" @@ -646,20 +560,71 @@ }, "value": { "type": "BooleanLiteral", - "start": 295, - "end": 299, + "start": 260, + "end": 264, "loc": { "start": { - "line": 4, + "line": 3, "column": 145 }, "end": { - "line": 4, + "line": 3, "column": 149 } }, "value": true } + }, + { + "type": "ObjectProperty", + "start": 266, + "end": 286, + "loc": { + "start": { + "line": 3, + "column": 151 + }, + "end": { + "line": 3, + "column": 171 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 266, + "end": 280, + "loc": { + "start": { + "line": 3, + "column": 151 + }, + "end": { + "line": 3, + "column": 165 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 282, + "end": 286, + "loc": { + "start": { + "line": 3, + "column": 167 + }, + "end": { + "line": 3, + "column": 171 + } + }, + "value": true + } } ] } @@ -676,60 +641,60 @@ }, { "type": "ExportNamedDeclaration", - "start": 305, - "end": 451, + "start": 292, + "end": 460, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, - "column": 146 + "line": 4, + "column": 168 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 312, - "end": 451, + "start": 299, + "end": 460, "loc": { "start": { - "line": 5, + "line": 4, "column": 7 }, "end": { - "line": 5, - "column": 146 + "line": 4, + "column": 168 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 318, - "end": 450, + "start": 305, + "end": 459, "loc": { "start": { - "line": 5, + "line": 4, "column": 13 }, "end": { - "line": 5, - "column": 145 + "line": 4, + "column": 167 } }, "id": { "type": "Identifier", - "start": 318, - "end": 332, + "start": 305, + "end": 319, "loc": { "start": { - "line": 5, + "line": 4, "column": 13 }, "end": { - "line": 5, + "line": 4, "column": 27 }, "identifierName": "ThrottleGetter" @@ -738,43 +703,43 @@ }, "init": { "type": "CallExpression", - "start": 335, - "end": 450, + "start": 322, + "end": 459, "loc": { "start": { - "line": 5, + "line": 4, "column": 30 }, "end": { - "line": 5, - "column": 145 + "line": 4, + "column": 167 } }, "callee": { "type": "MemberExpression", - "start": 335, - "end": 375, + "start": 322, + "end": 362, "loc": { "start": { - "line": 5, + "line": 4, "column": 30 }, "end": { - "line": 5, + "line": 4, "column": 70 } }, "object": { "type": "Identifier", - "start": 335, - "end": 351, + "start": 322, + "end": 338, "loc": { "start": { - "line": 5, + "line": 4, "column": 30 }, "end": { - "line": 5, + "line": 4, "column": 46 }, "identifierName": "DecoratorFactory" @@ -783,15 +748,15 @@ }, "property": { "type": "Identifier", - "start": 352, - "end": 375, + "start": 339, + "end": 362, "loc": { "start": { - "line": 5, + "line": 4, "column": 47 }, "end": { - "line": 5, + "line": 4, "column": 70 }, "identifierName": "createInstanceDecorator" @@ -803,29 +768,29 @@ "arguments": [ { "type": "NewExpression", - "start": 376, - "end": 449, + "start": 363, + "end": 458, "loc": { "start": { - "line": 5, + "line": 4, "column": 71 }, "end": { - "line": 5, - "column": 144 + "line": 4, + "column": 166 } }, "callee": { "type": "Identifier", - "start": 380, - "end": 395, + "start": 367, + "end": 382, "loc": { "start": { - "line": 5, + "line": 4, "column": 75 }, "end": { - "line": 5, + "line": 4, "column": 90 }, "identifierName": "DecoratorConfig" @@ -835,15 +800,15 @@ "arguments": [ { "type": "Identifier", - "start": 396, - "end": 404, + "start": 383, + "end": 391, "loc": { "start": { - "line": 5, + "line": 4, "column": 91 }, "end": { - "line": 5, + "line": 4, "column": 99 }, "identifierName": "throttle" @@ -852,29 +817,29 @@ }, { "type": "NewExpression", - "start": 406, - "end": 430, + "start": 393, + "end": 417, "loc": { "start": { - "line": 5, + "line": 4, "column": 101 }, "end": { - "line": 5, + "line": 4, "column": 125 } }, "callee": { "type": "Identifier", - "start": 410, - "end": 428, + "start": 397, + "end": 415, "loc": { "start": { - "line": 5, + "line": 4, "column": 105 }, "end": { - "line": 5, + "line": 4, "column": 123 }, "identifierName": "PreValueApplicator" @@ -885,30 +850,30 @@ }, { "type": "ObjectExpression", - "start": 432, - "end": 448, + "start": 419, + "end": 457, "loc": { "start": { - "line": 5, + "line": 4, "column": 127 }, "end": { - "line": 5, - "column": 143 + "line": 4, + "column": 165 } }, "properties": [ { "type": "ObjectProperty", - "start": 434, - "end": 446, + "start": 421, + "end": 433, "loc": { "start": { - "line": 5, + "line": 4, "column": 129 }, "end": { - "line": 5, + "line": 4, "column": 141 } }, @@ -917,15 +882,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 434, - "end": 440, + "start": 421, + "end": 427, "loc": { "start": { - "line": 5, + "line": 4, "column": 129 }, "end": { - "line": 5, + "line": 4, "column": 135 }, "identifierName": "getter" @@ -934,20 +899,71 @@ }, "value": { "type": "BooleanLiteral", - "start": 442, - "end": 446, + "start": 429, + "end": 433, "loc": { "start": { - "line": 5, + "line": 4, "column": 137 }, "end": { - "line": 5, + "line": 4, "column": 141 } }, "value": true } + }, + { + "type": "ObjectProperty", + "start": 435, + "end": 455, + "loc": { + "start": { + "line": 4, + "column": 143 + }, + "end": { + "line": 4, + "column": 163 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 435, + "end": 449, + "loc": { + "start": { + "line": 4, + "column": 143 + }, + "end": { + "line": 4, + "column": 157 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 451, + "end": 455, + "loc": { + "start": { + "line": 4, + "column": 159 + }, + "end": { + "line": 4, + "column": 163 + } + }, + "value": true + } } ] } @@ -964,60 +980,60 @@ }, { "type": "ExportNamedDeclaration", - "start": 452, - "end": 598, + "start": 461, + "end": 629, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, - "column": 146 + "line": 5, + "column": 168 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 459, - "end": 598, + "start": 468, + "end": 629, "loc": { "start": { - "line": 6, + "line": 5, "column": 7 }, "end": { - "line": 6, - "column": 146 + "line": 5, + "column": 168 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 465, - "end": 597, + "start": 474, + "end": 628, "loc": { "start": { - "line": 6, + "line": 5, "column": 13 }, "end": { - "line": 6, - "column": 145 + "line": 5, + "column": 167 } }, "id": { "type": "Identifier", - "start": 465, - "end": 479, + "start": 474, + "end": 488, "loc": { "start": { - "line": 6, + "line": 5, "column": 13 }, "end": { - "line": 6, + "line": 5, "column": 27 }, "identifierName": "ThrottleSetter" @@ -1026,43 +1042,43 @@ }, "init": { "type": "CallExpression", - "start": 482, - "end": 597, + "start": 491, + "end": 628, "loc": { "start": { - "line": 6, + "line": 5, "column": 30 }, "end": { - "line": 6, - "column": 145 + "line": 5, + "column": 167 } }, "callee": { "type": "MemberExpression", - "start": 482, - "end": 522, + "start": 491, + "end": 531, "loc": { "start": { - "line": 6, + "line": 5, "column": 30 }, "end": { - "line": 6, + "line": 5, "column": 70 } }, "object": { "type": "Identifier", - "start": 482, - "end": 498, + "start": 491, + "end": 507, "loc": { "start": { - "line": 6, + "line": 5, "column": 30 }, "end": { - "line": 6, + "line": 5, "column": 46 }, "identifierName": "DecoratorFactory" @@ -1071,15 +1087,15 @@ }, "property": { "type": "Identifier", - "start": 499, - "end": 522, + "start": 508, + "end": 531, "loc": { "start": { - "line": 6, + "line": 5, "column": 47 }, "end": { - "line": 6, + "line": 5, "column": 70 }, "identifierName": "createInstanceDecorator" @@ -1091,29 +1107,29 @@ "arguments": [ { "type": "NewExpression", - "start": 523, - "end": 596, + "start": 532, + "end": 627, "loc": { "start": { - "line": 6, + "line": 5, "column": 71 }, "end": { - "line": 6, - "column": 144 + "line": 5, + "column": 166 } }, "callee": { "type": "Identifier", - "start": 527, - "end": 542, + "start": 536, + "end": 551, "loc": { "start": { - "line": 6, + "line": 5, "column": 75 }, "end": { - "line": 6, + "line": 5, "column": 90 }, "identifierName": "DecoratorConfig" @@ -1123,15 +1139,15 @@ "arguments": [ { "type": "Identifier", - "start": 543, - "end": 551, + "start": 552, + "end": 560, "loc": { "start": { - "line": 6, + "line": 5, "column": 91 }, "end": { - "line": 6, + "line": 5, "column": 99 }, "identifierName": "throttle" @@ -1140,29 +1156,29 @@ }, { "type": "NewExpression", - "start": 553, - "end": 577, + "start": 562, + "end": 586, "loc": { "start": { - "line": 6, + "line": 5, "column": 101 }, "end": { - "line": 6, + "line": 5, "column": 125 } }, "callee": { "type": "Identifier", - "start": 557, - "end": 575, + "start": 566, + "end": 584, "loc": { "start": { - "line": 6, + "line": 5, "column": 105 }, "end": { - "line": 6, + "line": 5, "column": 123 }, "identifierName": "PreValueApplicator" @@ -1173,30 +1189,30 @@ }, { "type": "ObjectExpression", - "start": 579, - "end": 595, + "start": 588, + "end": 626, "loc": { "start": { - "line": 6, + "line": 5, "column": 127 }, "end": { - "line": 6, - "column": 143 + "line": 5, + "column": 165 } }, "properties": [ { "type": "ObjectProperty", - "start": 581, - "end": 593, + "start": 590, + "end": 602, "loc": { "start": { - "line": 6, + "line": 5, "column": 129 }, "end": { - "line": 6, + "line": 5, "column": 141 } }, @@ -1205,15 +1221,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 581, - "end": 587, + "start": 590, + "end": 596, "loc": { "start": { - "line": 6, + "line": 5, "column": 129 }, "end": { - "line": 6, + "line": 5, "column": 135 }, "identifierName": "setter" @@ -1222,20 +1238,71 @@ }, "value": { "type": "BooleanLiteral", - "start": 589, - "end": 593, + "start": 598, + "end": 602, "loc": { "start": { - "line": 6, + "line": 5, "column": 137 }, "end": { - "line": 6, + "line": 5, "column": 141 } }, "value": true } + }, + { + "type": "ObjectProperty", + "start": 604, + "end": 624, + "loc": { + "start": { + "line": 5, + "column": 143 + }, + "end": { + "line": 5, + "column": 163 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 604, + "end": 618, + "loc": { + "start": { + "line": 5, + "column": 143 + }, + "end": { + "line": 5, + "column": 157 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 620, + "end": 624, + "loc": { + "start": { + "line": 5, + "column": 159 + }, + "end": { + "line": 5, + "column": 163 + } + }, + "value": true + } } ] } @@ -1252,15 +1319,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 599, - "end": 631, + "start": 630, + "end": 662, "loc": { "start": { - "line": 7, + "line": 6, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 32 } }, @@ -1268,29 +1335,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 608, - "end": 628, + "start": 639, + "end": 659, "loc": { "start": { - "line": 7, + "line": 6, "column": 9 }, "end": { - "line": 7, + "line": 6, "column": 29 } }, "local": { "type": "Identifier", - "start": 608, - "end": 616, + "start": 639, + "end": 647, "loc": { "start": { - "line": 7, + "line": 6, "column": 9 }, "end": { - "line": 7, + "line": 6, "column": 17 }, "identifierName": "Throttle" @@ -1299,15 +1366,15 @@ }, "exported": { "type": "Identifier", - "start": 620, - "end": 628, + "start": 651, + "end": 659, "loc": { "start": { - "line": 7, + "line": 6, "column": 21 }, "end": { - "line": 7, + "line": 6, "column": 29 }, "identifierName": "throttle" @@ -1320,15 +1387,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 632, - "end": 676, + "start": 663, + "end": 707, "loc": { "start": { - "line": 8, + "line": 7, "column": 0 }, "end": { - "line": 8, + "line": 7, "column": 44 } }, @@ -1336,29 +1403,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 641, - "end": 673, + "start": 672, + "end": 704, "loc": { "start": { - "line": 8, + "line": 7, "column": 9 }, "end": { - "line": 8, + "line": 7, "column": 41 } }, "local": { "type": "Identifier", - "start": 641, - "end": 655, + "start": 672, + "end": 686, "loc": { "start": { - "line": 8, + "line": 7, "column": 9 }, "end": { - "line": 8, + "line": 7, "column": 23 }, "identifierName": "ThrottleGetter" @@ -1367,15 +1434,15 @@ }, "exported": { "type": "Identifier", - "start": 659, - "end": 673, + "start": 690, + "end": 704, "loc": { "start": { - "line": 8, + "line": 7, "column": 27 }, "end": { - "line": 8, + "line": 7, "column": 41 }, "identifierName": "throttleGetter" @@ -1388,15 +1455,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 677, - "end": 721, + "start": 708, + "end": 752, "loc": { "start": { - "line": 9, + "line": 8, "column": 0 }, "end": { - "line": 9, + "line": 8, "column": 44 } }, @@ -1404,29 +1471,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 686, - "end": 718, + "start": 717, + "end": 749, "loc": { "start": { - "line": 9, + "line": 8, "column": 9 }, "end": { - "line": 9, + "line": 8, "column": 41 } }, "local": { "type": "Identifier", - "start": 686, - "end": 700, + "start": 717, + "end": 731, "loc": { "start": { - "line": 9, + "line": 8, "column": 9 }, "end": { - "line": 9, + "line": 8, "column": 23 }, "identifierName": "ThrottleSetter" @@ -1435,15 +1502,15 @@ }, "exported": { "type": "Identifier", - "start": 704, - "end": 718, + "start": 735, + "end": 749, "loc": { "start": { - "line": 9, + "line": 8, "column": 27 }, "end": { - "line": 9, + "line": 8, "column": 41 }, "identifierName": "throttleSetter" @@ -1456,29 +1523,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 722, - "end": 746, + "start": 753, + "end": 777, "loc": { "start": { - "line": 10, + "line": 9, "column": 0 }, "end": { - "line": 10, + "line": 9, "column": 24 } }, "declaration": { "type": "Identifier", - "start": 737, - "end": 745, + "start": 768, + "end": 776, "loc": { "start": { - "line": 10, + "line": 9, "column": 15 }, "end": { - "line": 10, + "line": 9, "column": 23 }, "identifierName": "Throttle" @@ -1498,7 +1565,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1558,9 +1625,9 @@ "postfix": false, "binop": null }, - "value": "throttle", + "value": "DecoratorConfig", "start": 9, - "end": 17, + "end": 24, "loc": { "start": { "line": 1, @@ -1568,7 +1635,59 @@ }, "end": { "line": 1, - "column": 17 + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 } } }, @@ -1584,16 +1703,16 @@ "postfix": false, "binop": null }, - "start": 18, - "end": 19, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 18 + "column": 43 }, "end": { "line": 1, - "column": 19 + "column": 44 } } }, @@ -1610,16 +1729,16 @@ "binop": null }, "value": "from", - "start": 20, - "end": 24, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 20 + "column": 45 }, "end": { "line": 1, - "column": 24 + "column": 49 } } }, @@ -1636,17 +1755,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 25, - "end": 33, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 25 + "column": 50 }, "end": { "line": 1, - "column": 33 + "column": 61 } } }, @@ -1663,16 +1782,16 @@ "binop": null, "updateContext": null }, - "start": 33, - "end": 34, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 33 + "column": 61 }, "end": { "line": 1, - "column": 34 + "column": 62 } } }, @@ -1681,7 +1800,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1691,8 +1810,8 @@ "updateContext": null }, "value": "import", - "start": 35, - "end": 41, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -1716,8 +1835,8 @@ "postfix": false, "binop": null }, - "start": 42, - "end": 43, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -1741,9 +1860,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 44, - "end": 59, + "value": "PreValueApplicator", + "start": 72, + "end": 90, "loc": { "start": { "line": 2, @@ -1751,33 +1870,32 @@ }, "end": { "line": 2, - "column": 24 + "column": 27 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 59, - "end": 60, + "start": 91, + "end": 92, "loc": { "start": { "line": 2, - "column": 24 + "column": 28 }, "end": { "line": 2, - "column": 25 + "column": 29 } } }, @@ -1793,68 +1911,17 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 61, - "end": 77, + "value": "from", + "start": 93, + "end": 97, "loc": { "start": { "line": 2, - "column": 26 + "column": 30 }, "end": { "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 + "column": 34 } } }, @@ -1871,17 +1938,17 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 85, - "end": 96, + "value": "./applicators", + "start": 98, + "end": 113, "loc": { "start": { "line": 2, - "column": 50 + "column": 35 }, "end": { "line": 2, - "column": 61 + "column": 50 } } }, @@ -1898,23 +1965,23 @@ "binop": null, "updateContext": null }, - "start": 96, - "end": 97, + "start": 113, + "end": 114, "loc": { "start": { "line": 2, - "column": 61 + "column": 50 }, "end": { "line": 2, - "column": 62 + "column": 51 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1925,9 +1992,9 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 98, - "end": 104, + "value": "export", + "start": 115, + "end": 121, "loc": { "start": { "line": 3, @@ -1941,18 +2008,21 @@ }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 105, - "end": 106, + "value": "const", + "start": 122, + "end": 127, "loc": { "start": { "line": 3, @@ -1960,7 +2030,7 @@ }, "end": { "line": 3, - "column": 8 + "column": 12 } } }, @@ -1976,42 +2046,44 @@ "postfix": false, "binop": null }, - "value": "PreValueApplicator", - "start": 107, - "end": 125, + "value": "Throttle", + "start": 128, + "end": 136, "loc": { "start": { "line": 3, - "column": 9 + "column": 13 }, "end": { "line": 3, - "column": 27 + "column": 21 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 126, - "end": 127, + "value": "=", + "start": 137, + "end": 138, "loc": { "start": { "line": 3, - "column": 28 + "column": 22 }, "end": { "line": 3, - "column": 29 + "column": 23 } } }, @@ -2027,25 +2099,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 128, - "end": 132, + "value": "DecoratorFactory", + "start": 139, + "end": 155, "loc": { "start": { "line": 3, - "column": 30 + "column": 24 }, "end": { "line": 3, - "column": 34 + "column": 40 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2054,80 +2126,76 @@ "binop": null, "updateContext": null }, - "value": "./applicators", - "start": 133, - "end": 148, + "start": 155, + "end": 156, "loc": { "start": { "line": 3, - "column": 35 + "column": 40 }, "end": { "line": 3, - "column": 50 + "column": 41 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 148, - "end": 149, + "value": "createInstanceDecorator", + "start": 156, + "end": 179, "loc": { "start": { "line": 3, - "column": 50 + "column": 41 }, "end": { "line": 3, - "column": 51 + "column": 64 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 150, - "end": 156, + "start": 179, + "end": 180, "loc": { "start": { - "line": 4, - "column": 0 + "line": 3, + "column": 64 }, "end": { - "line": 4, - "column": 6 + "line": 3, + "column": 65 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2136,17 +2204,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 157, - "end": 162, + "value": "new", + "start": 180, + "end": 183, "loc": { "start": { - "line": 4, - "column": 7 + "line": 3, + "column": 65 }, "end": { - "line": 4, - "column": 12 + "line": 3, + "column": 68 } } }, @@ -2162,51 +2230,24 @@ "postfix": false, "binop": null }, - "value": "Throttle", - "start": 163, - "end": 171, + "value": "DecoratorConfig", + "start": 184, + "end": 199, "loc": { "start": { - "line": 4, - "column": 13 + "line": 3, + "column": 69 }, "end": { - "line": 4, - "column": 21 + "line": 3, + "column": 84 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 172, - "end": 173, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2215,43 +2256,16 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 174, - "end": 190, + "start": 199, + "end": 200, "loc": { "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 190, - "end": 191, - "loc": { - "start": { - "line": 4, - "column": 40 + "line": 3, + "column": 84 }, "end": { - "line": 4, - "column": 41 + "line": 3, + "column": 85 } } }, @@ -2267,42 +2281,43 @@ "postfix": false, "binop": null }, - "value": "createInstanceDecorator", - "start": 191, - "end": 214, + "value": "throttle", + "start": 200, + "end": 208, "loc": { "start": { - "line": 4, - "column": 41 + "line": 3, + "column": 85 }, "end": { - "line": 4, - "column": 64 + "line": 3, + "column": 93 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 214, - "end": 215, + "start": 208, + "end": 209, "loc": { "start": { - "line": 4, - "column": 64 + "line": 3, + "column": 93 }, "end": { - "line": 4, - "column": 65 + "line": 3, + "column": 94 } } }, @@ -2321,16 +2336,16 @@ "updateContext": null }, "value": "new", - "start": 215, - "end": 218, + "start": 210, + "end": 213, "loc": { "start": { - "line": 4, - "column": 65 + "line": 3, + "column": 95 }, "end": { - "line": 4, - "column": 68 + "line": 3, + "column": 98 } } }, @@ -2346,17 +2361,17 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 219, - "end": 234, + "value": "PreValueApplicator", + "start": 214, + "end": 232, "loc": { "start": { - "line": 4, - "column": 69 + "line": 3, + "column": 99 }, "end": { - "line": 4, - "column": 84 + "line": 3, + "column": 117 } } }, @@ -2372,24 +2387,24 @@ "postfix": false, "binop": null }, - "start": 234, - "end": 235, + "start": 232, + "end": 233, "loc": { "start": { - "line": 4, - "column": 84 + "line": 3, + "column": 117 }, "end": { - "line": 4, - "column": 85 + "line": 3, + "column": 118 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2397,17 +2412,16 @@ "postfix": false, "binop": null }, - "value": "throttle", - "start": 235, - "end": 243, + "start": 233, + "end": 234, "loc": { "start": { - "line": 4, - "column": 85 + "line": 3, + "column": 118 }, "end": { - "line": 4, - "column": 93 + "line": 3, + "column": 119 } } }, @@ -2424,23 +2438,22 @@ "binop": null, "updateContext": null }, - "start": 243, - "end": 244, + "start": 234, + "end": 235, "loc": { "start": { - "line": 4, - "column": 93 + "line": 3, + "column": 119 }, "end": { - "line": 4, - "column": 94 + "line": 3, + "column": 120 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -2448,20 +2461,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 245, - "end": 248, + "start": 236, + "end": 237, "loc": { "start": { - "line": 4, - "column": 95 + "line": 3, + "column": 121 }, "end": { - "line": 4, - "column": 98 + "line": 3, + "column": 122 } } }, @@ -2477,75 +2488,52 @@ "postfix": false, "binop": null }, - "value": "PreValueApplicator", - "start": 249, - "end": 267, + "value": "setter", + "start": 238, + "end": 244, "loc": { "start": { - "line": 4, - "column": 99 + "line": 3, + "column": 123 }, "end": { - "line": 4, - "column": 117 + "line": 3, + "column": 129 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 267, - "end": 268, - "loc": { - "start": { - "line": 4, - "column": 117 - }, - "end": { - "line": 4, - "column": 118 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 268, - "end": 269, + "start": 244, + "end": 245, "loc": { "start": { - "line": 4, - "column": 118 + "line": 3, + "column": 129 }, "end": { - "line": 4, - "column": 119 + "line": 3, + "column": 130 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2554,41 +2542,43 @@ "binop": null, "updateContext": null }, - "start": 269, - "end": 270, + "value": "true", + "start": 246, + "end": 250, "loc": { "start": { - "line": 4, - "column": 119 + "line": 3, + "column": 131 }, "end": { - "line": 4, - "column": 120 + "line": 3, + "column": 135 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 271, - "end": 272, + "start": 250, + "end": 251, "loc": { "start": { - "line": 4, - "column": 121 + "line": 3, + "column": 135 }, "end": { - "line": 4, - "column": 122 + "line": 3, + "column": 136 } } }, @@ -2604,17 +2594,17 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 273, - "end": 279, + "value": "getter", + "start": 252, + "end": 258, "loc": { "start": { - "line": 4, - "column": 123 + "line": 3, + "column": 137 }, "end": { - "line": 4, - "column": 129 + "line": 3, + "column": 143 } } }, @@ -2631,16 +2621,16 @@ "binop": null, "updateContext": null }, - "start": 279, - "end": 280, + "start": 258, + "end": 259, "loc": { "start": { - "line": 4, - "column": 129 + "line": 3, + "column": 143 }, "end": { - "line": 4, - "column": 130 + "line": 3, + "column": 144 } } }, @@ -2659,16 +2649,16 @@ "updateContext": null }, "value": "true", - "start": 281, - "end": 285, + "start": 260, + "end": 264, "loc": { "start": { - "line": 4, - "column": 131 + "line": 3, + "column": 145 }, "end": { - "line": 4, - "column": 135 + "line": 3, + "column": 149 } } }, @@ -2685,16 +2675,16 @@ "binop": null, "updateContext": null }, - "start": 285, - "end": 286, + "start": 264, + "end": 265, "loc": { "start": { - "line": 4, - "column": 135 + "line": 3, + "column": 149 }, "end": { - "line": 4, - "column": 136 + "line": 3, + "column": 150 } } }, @@ -2710,17 +2700,17 @@ "postfix": false, "binop": null }, - "value": "getter", - "start": 287, - "end": 293, + "value": "optionalParams", + "start": 266, + "end": 280, "loc": { "start": { - "line": 4, - "column": 137 + "line": 3, + "column": 151 }, "end": { - "line": 4, - "column": 143 + "line": 3, + "column": 165 } } }, @@ -2737,16 +2727,16 @@ "binop": null, "updateContext": null }, - "start": 293, - "end": 294, + "start": 280, + "end": 281, "loc": { "start": { - "line": 4, - "column": 143 + "line": 3, + "column": 165 }, "end": { - "line": 4, - "column": 144 + "line": 3, + "column": 166 } } }, @@ -2765,16 +2755,16 @@ "updateContext": null }, "value": "true", - "start": 295, - "end": 299, + "start": 282, + "end": 286, "loc": { "start": { - "line": 4, - "column": 145 + "line": 3, + "column": 167 }, "end": { - "line": 4, - "column": 149 + "line": 3, + "column": 171 } } }, @@ -2790,16 +2780,16 @@ "postfix": false, "binop": null }, - "start": 300, - "end": 301, + "start": 287, + "end": 288, "loc": { "start": { - "line": 4, - "column": 150 + "line": 3, + "column": 172 }, "end": { - "line": 4, - "column": 151 + "line": 3, + "column": 173 } } }, @@ -2815,16 +2805,16 @@ "postfix": false, "binop": null }, - "start": 301, - "end": 302, + "start": 288, + "end": 289, "loc": { "start": { - "line": 4, - "column": 151 + "line": 3, + "column": 173 }, "end": { - "line": 4, - "column": 152 + "line": 3, + "column": 174 } } }, @@ -2840,16 +2830,16 @@ "postfix": false, "binop": null }, - "start": 302, - "end": 303, + "start": 289, + "end": 290, "loc": { "start": { - "line": 4, - "column": 152 + "line": 3, + "column": 174 }, "end": { - "line": 4, - "column": 153 + "line": 3, + "column": 175 } } }, @@ -2866,16 +2856,16 @@ "binop": null, "updateContext": null }, - "start": 303, - "end": 304, + "start": 290, + "end": 291, "loc": { "start": { - "line": 4, - "column": 153 + "line": 3, + "column": 175 }, "end": { - "line": 4, - "column": 154 + "line": 3, + "column": 176 } } }, @@ -2894,15 +2884,15 @@ "updateContext": null }, "value": "export", - "start": 305, - "end": 311, + "start": 292, + "end": 298, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 4, "column": 6 } } @@ -2922,15 +2912,15 @@ "updateContext": null }, "value": "const", - "start": 312, - "end": 317, + "start": 299, + "end": 304, "loc": { "start": { - "line": 5, + "line": 4, "column": 7 }, "end": { - "line": 5, + "line": 4, "column": 12 } } @@ -2948,15 +2938,15 @@ "binop": null }, "value": "ThrottleGetter", - "start": 318, - "end": 332, + "start": 305, + "end": 319, "loc": { "start": { - "line": 5, + "line": 4, "column": 13 }, "end": { - "line": 5, + "line": 4, "column": 27 } } @@ -2975,15 +2965,15 @@ "updateContext": null }, "value": "=", - "start": 333, - "end": 334, + "start": 320, + "end": 321, "loc": { "start": { - "line": 5, + "line": 4, "column": 28 }, "end": { - "line": 5, + "line": 4, "column": 29 } } @@ -3001,15 +2991,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 335, - "end": 351, + "start": 322, + "end": 338, "loc": { "start": { - "line": 5, + "line": 4, "column": 30 }, "end": { - "line": 5, + "line": 4, "column": 46 } } @@ -3027,15 +3017,15 @@ "binop": null, "updateContext": null }, - "start": 351, - "end": 352, + "start": 338, + "end": 339, "loc": { "start": { - "line": 5, + "line": 4, "column": 46 }, "end": { - "line": 5, + "line": 4, "column": 47 } } @@ -3053,15 +3043,15 @@ "binop": null }, "value": "createInstanceDecorator", - "start": 352, - "end": 375, + "start": 339, + "end": 362, "loc": { "start": { - "line": 5, + "line": 4, "column": 47 }, "end": { - "line": 5, + "line": 4, "column": 70 } } @@ -3078,15 +3068,15 @@ "postfix": false, "binop": null }, - "start": 375, - "end": 376, + "start": 362, + "end": 363, "loc": { "start": { - "line": 5, + "line": 4, "column": 70 }, "end": { - "line": 5, + "line": 4, "column": 71 } } @@ -3106,15 +3096,15 @@ "updateContext": null }, "value": "new", - "start": 376, - "end": 379, + "start": 363, + "end": 366, "loc": { "start": { - "line": 5, + "line": 4, "column": 71 }, "end": { - "line": 5, + "line": 4, "column": 74 } } @@ -3132,15 +3122,15 @@ "binop": null }, "value": "DecoratorConfig", - "start": 380, - "end": 395, + "start": 367, + "end": 382, "loc": { "start": { - "line": 5, + "line": 4, "column": 75 }, "end": { - "line": 5, + "line": 4, "column": 90 } } @@ -3157,15 +3147,15 @@ "postfix": false, "binop": null }, - "start": 395, - "end": 396, + "start": 382, + "end": 383, "loc": { "start": { - "line": 5, + "line": 4, "column": 90 }, "end": { - "line": 5, + "line": 4, "column": 91 } } @@ -3183,15 +3173,15 @@ "binop": null }, "value": "throttle", - "start": 396, - "end": 404, + "start": 383, + "end": 391, "loc": { "start": { - "line": 5, + "line": 4, "column": 91 }, "end": { - "line": 5, + "line": 4, "column": 99 } } @@ -3209,15 +3199,15 @@ "binop": null, "updateContext": null }, - "start": 404, - "end": 405, + "start": 391, + "end": 392, "loc": { "start": { - "line": 5, + "line": 4, "column": 99 }, "end": { - "line": 5, + "line": 4, "column": 100 } } @@ -3237,15 +3227,15 @@ "updateContext": null }, "value": "new", - "start": 406, - "end": 409, + "start": 393, + "end": 396, "loc": { "start": { - "line": 5, + "line": 4, "column": 101 }, "end": { - "line": 5, + "line": 4, "column": 104 } } @@ -3263,15 +3253,15 @@ "binop": null }, "value": "PreValueApplicator", - "start": 410, - "end": 428, + "start": 397, + "end": 415, "loc": { "start": { - "line": 5, + "line": 4, "column": 105 }, "end": { - "line": 5, + "line": 4, "column": 123 } } @@ -3288,49 +3278,153 @@ "postfix": false, "binop": null }, - "start": 428, - "end": 429, + "start": 415, + "end": 416, "loc": { "start": { - "line": 5, + "line": 4, "column": 123 }, "end": { - "line": 5, + "line": 4, + "column": 124 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 416, + "end": 417, + "loc": { + "start": { + "line": 4, "column": 124 + }, + "end": { + "line": 4, + "column": 125 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 417, + "end": 418, + "loc": { + "start": { + "line": 4, + "column": 125 + }, + "end": { + "line": 4, + "column": 126 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 419, + "end": 420, + "loc": { + "start": { + "line": 4, + "column": 127 + }, + "end": { + "line": 4, + "column": 128 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getter", + "start": 421, + "end": 427, + "loc": { + "start": { + "line": 4, + "column": 129 + }, + "end": { + "line": 4, + "column": 135 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 429, - "end": 430, + "start": 427, + "end": 428, "loc": { "start": { - "line": 5, - "column": 124 + "line": 4, + "column": 135 }, "end": { - "line": 5, - "column": 125 + "line": 4, + "column": 136 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3339,41 +3433,43 @@ "binop": null, "updateContext": null }, - "start": 430, - "end": 431, + "value": "true", + "start": 429, + "end": 433, "loc": { "start": { - "line": 5, - "column": 125 + "line": 4, + "column": 137 }, "end": { - "line": 5, - "column": 126 + "line": 4, + "column": 141 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 432, - "end": 433, + "start": 433, + "end": 434, "loc": { "start": { - "line": 5, - "column": 127 + "line": 4, + "column": 141 }, "end": { - "line": 5, - "column": 128 + "line": 4, + "column": 142 } } }, @@ -3389,17 +3485,17 @@ "postfix": false, "binop": null }, - "value": "getter", - "start": 434, - "end": 440, + "value": "optionalParams", + "start": 435, + "end": 449, "loc": { "start": { - "line": 5, - "column": 129 + "line": 4, + "column": 143 }, "end": { - "line": 5, - "column": 135 + "line": 4, + "column": 157 } } }, @@ -3416,16 +3512,16 @@ "binop": null, "updateContext": null }, - "start": 440, - "end": 441, + "start": 449, + "end": 450, "loc": { "start": { - "line": 5, - "column": 135 + "line": 4, + "column": 157 }, "end": { - "line": 5, - "column": 136 + "line": 4, + "column": 158 } } }, @@ -3444,16 +3540,16 @@ "updateContext": null }, "value": "true", - "start": 442, - "end": 446, + "start": 451, + "end": 455, "loc": { "start": { - "line": 5, - "column": 137 + "line": 4, + "column": 159 }, "end": { - "line": 5, - "column": 141 + "line": 4, + "column": 163 } } }, @@ -3469,16 +3565,16 @@ "postfix": false, "binop": null }, - "start": 447, - "end": 448, + "start": 456, + "end": 457, "loc": { "start": { - "line": 5, - "column": 142 + "line": 4, + "column": 164 }, "end": { - "line": 5, - "column": 143 + "line": 4, + "column": 165 } } }, @@ -3494,16 +3590,16 @@ "postfix": false, "binop": null }, - "start": 448, - "end": 449, + "start": 457, + "end": 458, "loc": { "start": { - "line": 5, - "column": 143 + "line": 4, + "column": 165 }, "end": { - "line": 5, - "column": 144 + "line": 4, + "column": 166 } } }, @@ -3519,16 +3615,16 @@ "postfix": false, "binop": null }, - "start": 449, - "end": 450, + "start": 458, + "end": 459, "loc": { "start": { - "line": 5, - "column": 144 + "line": 4, + "column": 166 }, "end": { - "line": 5, - "column": 145 + "line": 4, + "column": 167 } } }, @@ -3545,16 +3641,16 @@ "binop": null, "updateContext": null }, - "start": 450, - "end": 451, + "start": 459, + "end": 460, "loc": { "start": { - "line": 5, - "column": 145 + "line": 4, + "column": 167 }, "end": { - "line": 5, - "column": 146 + "line": 4, + "column": 168 } } }, @@ -3573,15 +3669,15 @@ "updateContext": null }, "value": "export", - "start": 452, - "end": 458, + "start": 461, + "end": 467, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 6 } } @@ -3601,15 +3697,15 @@ "updateContext": null }, "value": "const", - "start": 459, - "end": 464, + "start": 468, + "end": 473, "loc": { "start": { - "line": 6, + "line": 5, "column": 7 }, "end": { - "line": 6, + "line": 5, "column": 12 } } @@ -3627,15 +3723,15 @@ "binop": null }, "value": "ThrottleSetter", - "start": 465, - "end": 479, + "start": 474, + "end": 488, "loc": { "start": { - "line": 6, + "line": 5, "column": 13 }, "end": { - "line": 6, + "line": 5, "column": 27 } } @@ -3654,15 +3750,15 @@ "updateContext": null }, "value": "=", - "start": 480, - "end": 481, + "start": 489, + "end": 490, "loc": { "start": { - "line": 6, + "line": 5, "column": 28 }, "end": { - "line": 6, + "line": 5, "column": 29 } } @@ -3680,15 +3776,15 @@ "binop": null }, "value": "DecoratorFactory", - "start": 482, - "end": 498, + "start": 491, + "end": 507, "loc": { "start": { - "line": 6, + "line": 5, "column": 30 }, "end": { - "line": 6, + "line": 5, "column": 46 } } @@ -3706,15 +3802,15 @@ "binop": null, "updateContext": null }, - "start": 498, - "end": 499, + "start": 507, + "end": 508, "loc": { "start": { - "line": 6, + "line": 5, "column": 46 }, "end": { - "line": 6, + "line": 5, "column": 47 } } @@ -3732,15 +3828,15 @@ "binop": null }, "value": "createInstanceDecorator", - "start": 499, - "end": 522, + "start": 508, + "end": 531, "loc": { "start": { - "line": 6, + "line": 5, "column": 47 }, "end": { - "line": 6, + "line": 5, "column": 70 } } @@ -3757,15 +3853,15 @@ "postfix": false, "binop": null }, - "start": 522, - "end": 523, + "start": 531, + "end": 532, "loc": { "start": { - "line": 6, + "line": 5, "column": 70 }, "end": { - "line": 6, + "line": 5, "column": 71 } } @@ -3785,15 +3881,15 @@ "updateContext": null }, "value": "new", - "start": 523, - "end": 526, + "start": 532, + "end": 535, "loc": { "start": { - "line": 6, + "line": 5, "column": 71 }, "end": { - "line": 6, + "line": 5, "column": 74 } } @@ -3811,15 +3907,15 @@ "binop": null }, "value": "DecoratorConfig", - "start": 527, - "end": 542, + "start": 536, + "end": 551, "loc": { "start": { - "line": 6, + "line": 5, "column": 75 }, "end": { - "line": 6, + "line": 5, "column": 90 } } @@ -3836,15 +3932,15 @@ "postfix": false, "binop": null }, - "start": 542, - "end": 543, + "start": 551, + "end": 552, "loc": { "start": { - "line": 6, + "line": 5, "column": 90 }, "end": { - "line": 6, + "line": 5, "column": 91 } } @@ -3862,15 +3958,15 @@ "binop": null }, "value": "throttle", - "start": 543, - "end": 551, + "start": 552, + "end": 560, "loc": { "start": { - "line": 6, + "line": 5, "column": 91 }, "end": { - "line": 6, + "line": 5, "column": 99 } } @@ -3888,25 +3984,128 @@ "binop": null, "updateContext": null }, - "start": 551, - "end": 552, + "start": 560, + "end": 561, "loc": { "start": { - "line": 6, + "line": 5, "column": 99 }, "end": { - "line": 6, - "column": 100 + "line": 5, + "column": 100 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 562, + "end": 565, + "loc": { + "start": { + "line": 5, + "column": 101 + }, + "end": { + "line": 5, + "column": 104 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 566, + "end": 584, + "loc": { + "start": { + "line": 5, + "column": 105 + }, + "end": { + "line": 5, + "column": 123 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 584, + "end": 585, + "loc": { + "start": { + "line": 5, + "column": 123 + }, + "end": { + "line": 5, + "column": 124 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 585, + "end": 586, + "loc": { + "start": { + "line": 5, + "column": 124 + }, + "end": { + "line": 5, + "column": 125 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3915,24 +4114,23 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 553, - "end": 556, + "start": 586, + "end": 587, "loc": { "start": { - "line": 6, - "column": 101 + "line": 5, + "column": 125 }, "end": { - "line": 6, - "column": 104 + "line": 5, + "column": 126 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3941,24 +4139,23 @@ "postfix": false, "binop": null }, - "value": "PreValueApplicator", - "start": 557, - "end": 575, + "start": 588, + "end": 589, "loc": { "start": { - "line": 6, - "column": 105 + "line": 5, + "column": 127 }, "end": { - "line": 6, - "column": 123 + "line": 5, + "column": 128 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3967,49 +4164,52 @@ "postfix": false, "binop": null }, - "start": 575, - "end": 576, + "value": "setter", + "start": 590, + "end": 596, "loc": { "start": { - "line": 6, - "column": 123 + "line": 5, + "column": 129 }, "end": { - "line": 6, - "column": 124 + "line": 5, + "column": 135 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 576, - "end": 577, + "start": 596, + "end": 597, "loc": { "start": { - "line": 6, - "column": 124 + "line": 5, + "column": 135 }, "end": { - "line": 6, - "column": 125 + "line": 5, + "column": 136 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4018,41 +4218,43 @@ "binop": null, "updateContext": null }, - "start": 577, - "end": 578, + "value": "true", + "start": 598, + "end": 602, "loc": { "start": { - "line": 6, - "column": 125 + "line": 5, + "column": 137 }, "end": { - "line": 6, - "column": 126 + "line": 5, + "column": 141 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 579, - "end": 580, + "start": 602, + "end": 603, "loc": { "start": { - "line": 6, - "column": 127 + "line": 5, + "column": 141 }, "end": { - "line": 6, - "column": 128 + "line": 5, + "column": 142 } } }, @@ -4068,17 +4270,17 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 581, - "end": 587, + "value": "optionalParams", + "start": 604, + "end": 618, "loc": { "start": { - "line": 6, - "column": 129 + "line": 5, + "column": 143 }, "end": { - "line": 6, - "column": 135 + "line": 5, + "column": 157 } } }, @@ -4095,16 +4297,16 @@ "binop": null, "updateContext": null }, - "start": 587, - "end": 588, + "start": 618, + "end": 619, "loc": { "start": { - "line": 6, - "column": 135 + "line": 5, + "column": 157 }, "end": { - "line": 6, - "column": 136 + "line": 5, + "column": 158 } } }, @@ -4123,16 +4325,16 @@ "updateContext": null }, "value": "true", - "start": 589, - "end": 593, + "start": 620, + "end": 624, "loc": { "start": { - "line": 6, - "column": 137 + "line": 5, + "column": 159 }, "end": { - "line": 6, - "column": 141 + "line": 5, + "column": 163 } } }, @@ -4148,16 +4350,16 @@ "postfix": false, "binop": null }, - "start": 594, - "end": 595, + "start": 625, + "end": 626, "loc": { "start": { - "line": 6, - "column": 142 + "line": 5, + "column": 164 }, "end": { - "line": 6, - "column": 143 + "line": 5, + "column": 165 } } }, @@ -4173,16 +4375,16 @@ "postfix": false, "binop": null }, - "start": 595, - "end": 596, + "start": 626, + "end": 627, "loc": { "start": { - "line": 6, - "column": 143 + "line": 5, + "column": 165 }, "end": { - "line": 6, - "column": 144 + "line": 5, + "column": 166 } } }, @@ -4198,16 +4400,16 @@ "postfix": false, "binop": null }, - "start": 596, - "end": 597, + "start": 627, + "end": 628, "loc": { "start": { - "line": 6, - "column": 144 + "line": 5, + "column": 166 }, "end": { - "line": 6, - "column": 145 + "line": 5, + "column": 167 } } }, @@ -4224,16 +4426,16 @@ "binop": null, "updateContext": null }, - "start": 597, - "end": 598, + "start": 628, + "end": 629, "loc": { "start": { - "line": 6, - "column": 145 + "line": 5, + "column": 167 }, "end": { - "line": 6, - "column": 146 + "line": 5, + "column": 168 } } }, @@ -4252,15 +4454,15 @@ "updateContext": null }, "value": "export", - "start": 599, - "end": 605, + "start": 630, + "end": 636, "loc": { "start": { - "line": 7, + "line": 6, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 6 } } @@ -4277,15 +4479,15 @@ "postfix": false, "binop": null }, - "start": 606, - "end": 607, + "start": 637, + "end": 638, "loc": { "start": { - "line": 7, + "line": 6, "column": 7 }, "end": { - "line": 7, + "line": 6, "column": 8 } } @@ -4303,15 +4505,15 @@ "binop": null }, "value": "Throttle", - "start": 608, - "end": 616, + "start": 639, + "end": 647, "loc": { "start": { - "line": 7, + "line": 6, "column": 9 }, "end": { - "line": 7, + "line": 6, "column": 17 } } @@ -4329,15 +4531,15 @@ "binop": null }, "value": "as", - "start": 617, - "end": 619, + "start": 648, + "end": 650, "loc": { "start": { - "line": 7, + "line": 6, "column": 18 }, "end": { - "line": 7, + "line": 6, "column": 20 } } @@ -4355,15 +4557,15 @@ "binop": null }, "value": "throttle", - "start": 620, - "end": 628, + "start": 651, + "end": 659, "loc": { "start": { - "line": 7, + "line": 6, "column": 21 }, "end": { - "line": 7, + "line": 6, "column": 29 } } @@ -4380,15 +4582,15 @@ "postfix": false, "binop": null }, - "start": 629, - "end": 630, + "start": 660, + "end": 661, "loc": { "start": { - "line": 7, + "line": 6, "column": 30 }, "end": { - "line": 7, + "line": 6, "column": 31 } } @@ -4406,15 +4608,15 @@ "binop": null, "updateContext": null }, - "start": 630, - "end": 631, + "start": 661, + "end": 662, "loc": { "start": { - "line": 7, + "line": 6, "column": 31 }, "end": { - "line": 7, + "line": 6, "column": 32 } } @@ -4434,15 +4636,15 @@ "updateContext": null }, "value": "export", - "start": 632, - "end": 638, + "start": 663, + "end": 669, "loc": { "start": { - "line": 8, + "line": 7, "column": 0 }, "end": { - "line": 8, + "line": 7, "column": 6 } } @@ -4459,15 +4661,15 @@ "postfix": false, "binop": null }, - "start": 639, - "end": 640, + "start": 670, + "end": 671, "loc": { "start": { - "line": 8, + "line": 7, "column": 7 }, "end": { - "line": 8, + "line": 7, "column": 8 } } @@ -4485,15 +4687,15 @@ "binop": null }, "value": "ThrottleGetter", - "start": 641, - "end": 655, + "start": 672, + "end": 686, "loc": { "start": { - "line": 8, + "line": 7, "column": 9 }, "end": { - "line": 8, + "line": 7, "column": 23 } } @@ -4511,15 +4713,15 @@ "binop": null }, "value": "as", - "start": 656, - "end": 658, + "start": 687, + "end": 689, "loc": { "start": { - "line": 8, + "line": 7, "column": 24 }, "end": { - "line": 8, + "line": 7, "column": 26 } } @@ -4537,15 +4739,15 @@ "binop": null }, "value": "throttleGetter", - "start": 659, - "end": 673, + "start": 690, + "end": 704, "loc": { "start": { - "line": 8, + "line": 7, "column": 27 }, "end": { - "line": 8, + "line": 7, "column": 41 } } @@ -4562,15 +4764,15 @@ "postfix": false, "binop": null }, - "start": 674, - "end": 675, + "start": 705, + "end": 706, "loc": { "start": { - "line": 8, + "line": 7, "column": 42 }, "end": { - "line": 8, + "line": 7, "column": 43 } } @@ -4588,15 +4790,15 @@ "binop": null, "updateContext": null }, - "start": 675, - "end": 676, + "start": 706, + "end": 707, "loc": { "start": { - "line": 8, + "line": 7, "column": 43 }, "end": { - "line": 8, + "line": 7, "column": 44 } } @@ -4616,15 +4818,15 @@ "updateContext": null }, "value": "export", - "start": 677, - "end": 683, + "start": 708, + "end": 714, "loc": { "start": { - "line": 9, + "line": 8, "column": 0 }, "end": { - "line": 9, + "line": 8, "column": 6 } } @@ -4641,15 +4843,15 @@ "postfix": false, "binop": null }, - "start": 684, - "end": 685, + "start": 715, + "end": 716, "loc": { "start": { - "line": 9, + "line": 8, "column": 7 }, "end": { - "line": 9, + "line": 8, "column": 8 } } @@ -4667,15 +4869,15 @@ "binop": null }, "value": "ThrottleSetter", - "start": 686, - "end": 700, + "start": 717, + "end": 731, "loc": { "start": { - "line": 9, + "line": 8, "column": 9 }, "end": { - "line": 9, + "line": 8, "column": 23 } } @@ -4693,15 +4895,15 @@ "binop": null }, "value": "as", - "start": 701, - "end": 703, + "start": 732, + "end": 734, "loc": { "start": { - "line": 9, + "line": 8, "column": 24 }, "end": { - "line": 9, + "line": 8, "column": 26 } } @@ -4719,15 +4921,15 @@ "binop": null }, "value": "throttleSetter", - "start": 704, - "end": 718, + "start": 735, + "end": 749, "loc": { "start": { - "line": 9, + "line": 8, "column": 27 }, "end": { - "line": 9, + "line": 8, "column": 41 } } @@ -4744,15 +4946,15 @@ "postfix": false, "binop": null }, - "start": 719, - "end": 720, + "start": 750, + "end": 751, "loc": { "start": { - "line": 9, + "line": 8, "column": 42 }, "end": { - "line": 9, + "line": 8, "column": 43 } } @@ -4770,15 +4972,15 @@ "binop": null, "updateContext": null }, - "start": 720, - "end": 721, + "start": 751, + "end": 752, "loc": { "start": { - "line": 9, + "line": 8, "column": 43 }, "end": { - "line": 9, + "line": 8, "column": 44 } } @@ -4798,15 +5000,15 @@ "updateContext": null }, "value": "export", - "start": 722, - "end": 728, + "start": 753, + "end": 759, "loc": { "start": { - "line": 10, + "line": 9, "column": 0 }, "end": { - "line": 10, + "line": 9, "column": 6 } } @@ -4826,15 +5028,15 @@ "updateContext": null }, "value": "default", - "start": 729, - "end": 736, + "start": 760, + "end": 767, "loc": { "start": { - "line": 10, + "line": 9, "column": 7 }, "end": { - "line": 10, + "line": 9, "column": 14 } } @@ -4852,15 +5054,15 @@ "binop": null }, "value": "Throttle", - "start": 737, - "end": 745, + "start": 768, + "end": 776, "loc": { "start": { - "line": 10, + "line": 9, "column": 15 }, "end": { - "line": 10, + "line": 9, "column": 23 } } @@ -4878,15 +5080,15 @@ "binop": null, "updateContext": null }, - "start": 745, - "end": 746, + "start": 776, + "end": 777, "loc": { "start": { - "line": 10, + "line": 9, "column": 23 }, "end": { - "line": 10, + "line": 9, "column": 24 } } @@ -4904,15 +5106,15 @@ "binop": null, "updateContext": null }, - "start": 747, - "end": 747, + "start": 778, + "end": 778, "loc": { "start": { - "line": 11, + "line": 10, "column": 0 }, "end": { - "line": 11, + "line": 10, "column": 0 } } diff --git a/docs/ast/source/throttleAll.js.json b/docs/ast/source/throttleAll.js.json deleted file mode 100644 index 168a382..0000000 --- a/docs/ast/source/throttleAll.js.json +++ /dev/null @@ -1,2330 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 353, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 353, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - }, - "identifierName": "throttle" - }, - "name": "throttle" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - }, - "identifierName": "throttle" - }, - "name": "throttle" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 35, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "local": { - "type": "Identifier", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - }, - "extra": { - "rawValue": "./factory", - "raw": "'./factory'" - }, - "value": "./factory" - } - }, - { - "type": "ImportDeclaration", - "start": 98, - "end": 149, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 51 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "imported": { - "type": "Identifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "local": { - "type": "Identifier", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 133, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" - }, - "value": "./applicators" - } - }, - { - "type": "ExportNamedDeclaration", - "start": 150, - "end": 285, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 135 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "VariableDeclaration", - "start": 157, - "end": 285, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 135 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 163, - "end": 284, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 134 - } - }, - "id": { - "type": "Identifier", - "start": 163, - "end": 174, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 24 - }, - "identifierName": "ThrottleAll" - }, - "name": "ThrottleAll" - }, - "init": { - "type": "CallExpression", - "start": 177, - "end": 284, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 134 - } - }, - "callee": { - "type": "MemberExpression", - "start": 177, - "end": 209, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 59 - } - }, - "object": { - "type": "Identifier", - "start": 177, - "end": 193, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 43 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "property": { - "type": "Identifier", - "start": 194, - "end": 209, - "loc": { - "start": { - "line": 4, - "column": 44 - }, - "end": { - "line": 4, - "column": 59 - }, - "identifierName": "createDecorator" - }, - "name": "createDecorator" - }, - "computed": false - }, - "arguments": [ - { - "type": "NewExpression", - "start": 210, - "end": 283, - "loc": { - "start": { - "line": 4, - "column": 60 - }, - "end": { - "line": 4, - "column": 133 - } - }, - "callee": { - "type": "Identifier", - "start": 214, - "end": 229, - "loc": { - "start": { - "line": 4, - "column": 64 - }, - "end": { - "line": 4, - "column": 79 - }, - "identifierName": "DecoratorConfig" - }, - "name": "DecoratorConfig" - }, - "arguments": [ - { - "type": "Identifier", - "start": 230, - "end": 238, - "loc": { - "start": { - "line": 4, - "column": 80 - }, - "end": { - "line": 4, - "column": 88 - }, - "identifierName": "throttle" - }, - "name": "throttle" - }, - { - "type": "NewExpression", - "start": 240, - "end": 264, - "loc": { - "start": { - "line": 4, - "column": 90 - }, - "end": { - "line": 4, - "column": 114 - } - }, - "callee": { - "type": "Identifier", - "start": 244, - "end": 262, - "loc": { - "start": { - "line": 4, - "column": 94 - }, - "end": { - "line": 4, - "column": 112 - }, - "identifierName": "PreValueApplicator" - }, - "name": "PreValueApplicator" - }, - "arguments": [] - }, - { - "type": "ObjectExpression", - "start": 266, - "end": 282, - "loc": { - "start": { - "line": 4, - "column": 116 - }, - "end": { - "line": 4, - "column": 132 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 268, - "end": 280, - "loc": { - "start": { - "line": 4, - "column": 118 - }, - "end": { - "line": 4, - "column": 130 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 268, - "end": 274, - "loc": { - "start": { - "line": 4, - "column": 118 - }, - "end": { - "line": 4, - "column": 124 - }, - "identifierName": "setter" - }, - "name": "setter" - }, - "value": { - "type": "BooleanLiteral", - "start": 276, - "end": 280, - "loc": { - "start": { - "line": 4, - "column": 126 - }, - "end": { - "line": 4, - "column": 130 - } - }, - "value": true - } - } - ] - } - ] - } - ] - } - } - ], - "kind": "const", - "leadingComments": [], - "trailingComments": [] - } - }, - { - "type": "ExportNamedDeclaration", - "start": 286, - "end": 324, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 38 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 295, - "end": 321, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 35 - } - }, - "local": { - "type": "Identifier", - "start": 295, - "end": 306, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 20 - }, - "identifierName": "ThrottleAll" - }, - "name": "ThrottleAll" - }, - "exported": { - "type": "Identifier", - "start": 310, - "end": 321, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 35 - }, - "identifierName": "throttleAll" - }, - "name": "throttleAll" - } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 325, - "end": 352, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 27 - } - }, - "declaration": { - "type": "Identifier", - "start": 340, - "end": 351, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 26 - }, - "identifierName": "ThrottleAll" - }, - "name": "ThrottleAll", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "throttle", - "start": 9, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 33, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 34 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 35, - "end": 41, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 42, - "end": 43, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 44, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 59, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 61, - "end": 77, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 2, - "column": 43 - }, - "end": { - "line": 2, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory", - "start": 85, - "end": 96, - "loc": { - "start": { - "line": 2, - "column": 50 - }, - "end": { - "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 96, - "end": 97, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 98, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 105, - "end": 106, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 107, - "end": 125, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 128, - "end": 132, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./applicators", - "start": 133, - "end": 148, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 148, - "end": 149, - "loc": { - "start": { - "line": 3, - "column": 50 - }, - "end": { - "line": 3, - "column": 51 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 150, - "end": 156, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 157, - "end": 162, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ThrottleAll", - "start": 163, - "end": 174, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 175, - "end": 176, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorFactory", - "start": 177, - "end": 193, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 193, - "end": 194, - "loc": { - "start": { - "line": 4, - "column": 43 - }, - "end": { - "line": 4, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createDecorator", - "start": 194, - "end": 209, - "loc": { - "start": { - "line": 4, - "column": 44 - }, - "end": { - "line": 4, - "column": 59 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 209, - "end": 210, - "loc": { - "start": { - "line": 4, - "column": 59 - }, - "end": { - "line": 4, - "column": 60 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 210, - "end": 213, - "loc": { - "start": { - "line": 4, - "column": 60 - }, - "end": { - "line": 4, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DecoratorConfig", - "start": 214, - "end": 229, - "loc": { - "start": { - "line": 4, - "column": 64 - }, - "end": { - "line": 4, - "column": 79 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 229, - "end": 230, - "loc": { - "start": { - "line": 4, - "column": 79 - }, - "end": { - "line": 4, - "column": 80 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "throttle", - "start": 230, - "end": 238, - "loc": { - "start": { - "line": 4, - "column": 80 - }, - "end": { - "line": 4, - "column": 88 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 238, - "end": 239, - "loc": { - "start": { - "line": 4, - "column": 88 - }, - "end": { - "line": 4, - "column": 89 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 240, - "end": 243, - "loc": { - "start": { - "line": 4, - "column": 90 - }, - "end": { - "line": 4, - "column": 93 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 244, - "end": 262, - "loc": { - "start": { - "line": 4, - "column": 94 - }, - "end": { - "line": 4, - "column": 112 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 262, - "end": 263, - "loc": { - "start": { - "line": 4, - "column": 112 - }, - "end": { - "line": 4, - "column": 113 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 263, - "end": 264, - "loc": { - "start": { - "line": 4, - "column": 113 - }, - "end": { - "line": 4, - "column": 114 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 264, - "end": 265, - "loc": { - "start": { - "line": 4, - "column": 114 - }, - "end": { - "line": 4, - "column": 115 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 266, - "end": 267, - "loc": { - "start": { - "line": 4, - "column": 116 - }, - "end": { - "line": 4, - "column": 117 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setter", - "start": 268, - "end": 274, - "loc": { - "start": { - "line": 4, - "column": 118 - }, - "end": { - "line": 4, - "column": 124 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 274, - "end": 275, - "loc": { - "start": { - "line": 4, - "column": 124 - }, - "end": { - "line": 4, - "column": 125 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 276, - "end": 280, - "loc": { - "start": { - "line": 4, - "column": 126 - }, - "end": { - "line": 4, - "column": 130 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 4, - "column": 131 - }, - "end": { - "line": 4, - "column": 132 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 282, - "end": 283, - "loc": { - "start": { - "line": 4, - "column": 132 - }, - "end": { - "line": 4, - "column": 133 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 283, - "end": 284, - "loc": { - "start": { - "line": 4, - "column": 133 - }, - "end": { - "line": 4, - "column": 134 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 284, - "end": 285, - "loc": { - "start": { - "line": 4, - "column": 134 - }, - "end": { - "line": 4, - "column": 135 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 286, - "end": 292, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 293, - "end": 294, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ThrottleAll", - "start": 295, - "end": 306, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 307, - "end": 309, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "throttleAll", - "start": 310, - "end": 321, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 322, - "end": 323, - "loc": { - "start": { - "line": 5, - "column": 36 - }, - "end": { - "line": 5, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 323, - "end": 324, - "loc": { - "start": { - "line": 5, - "column": 37 - }, - "end": { - "line": 5, - "column": 38 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 325, - "end": 331, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 332, - "end": 339, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ThrottleAll", - "start": 340, - "end": 351, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 351, - "end": 352, - "loc": { - "start": { - "line": 6, - "column": 26 - }, - "end": { - "line": 6, - "column": 27 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 353, - "end": 353, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/throttleAll.ts.json b/docs/ast/source/throttleAll.ts.json new file mode 100644 index 0000000..72bb857 --- /dev/null +++ b/docs/ast/source/throttleAll.ts.json @@ -0,0 +1,3048 @@ +{ + "type": "File", + "start": 0, + "end": 536, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 21, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 536, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 21, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 62 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + }, + "extra": { + "rawValue": "./factory", + "raw": "'./factory'" + }, + "value": "./factory" + } + }, + { + "type": "ImportDeclaration", + "start": 63, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 51 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + }, + "imported": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "local": { + "type": "Identifier", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + }, + "extra": { + "rawValue": "./applicators", + "raw": "'./applicators'" + }, + "value": "./applicators" + } + }, + { + "type": "Identifier", + "start": 115, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 126 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 186, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 79 + }, + "identifierName": "throttle" + }, + "name": "throttle" + }, + { + "type": "NewExpression", + "start": 196, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 105 + } + }, + "callee": { + "type": "Identifier", + "start": 200, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 103 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 222, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 224, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 224, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 115 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 232, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 387, + "end": 470, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 18, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 394, + "end": 470, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 18, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 403, + "end": 414, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 27 + }, + "identifierName": "ThrottleAll" + }, + "name": "ThrottleAll", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 415, + "end": 419, + "loc": { + "start": { + "line": 16, + "column": 28 + }, + "end": { + "line": 16, + "column": 32 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "Identifier", + "start": 421, + "end": 428, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 41 + }, + "identifierName": "options" + }, + "name": "options" + } + ], + "body": { + "type": "BlockStatement", + "start": 430, + "end": 470, + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 18, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 436, + "end": 468, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 36 + } + }, + "argument": { + "type": "CallExpression", + "start": 443, + "end": 467, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 443, + "end": 452, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 453, + "end": 457, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 25 + }, + "identifierName": "wait" + }, + "name": "wait" + }, + { + "type": "Identifier", + "start": 459, + "end": 466, + "loc": { + "start": { + "line": 17, + "column": 27 + }, + "end": { + "line": 17, + "column": 34 + }, + "identifierName": "options" + }, + "name": "options" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {number} wait\n * @param\n * {ThrottleOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 386, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {number} wait\n * @param\n * {ThrottleOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 386, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 471, + "end": 509, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 38 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 480, + "end": 506, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 35 + } + }, + "local": { + "type": "Identifier", + "start": 480, + "end": 491, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 20 + }, + "identifierName": "ThrottleAll" + }, + "name": "ThrottleAll" + }, + "exported": { + "type": "Identifier", + "start": 495, + "end": 506, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 35 + }, + "identifierName": "throttleAll" + }, + "name": "throttleAll" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 510, + "end": 535, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 525, + "end": 534, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 510, + "end": 535, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 25 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 115, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 126 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 121, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "id": { + "type": "Identifier", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "init": { + "type": "CallExpression", + "start": 133, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 125 + } + }, + "callee": { + "type": "MemberExpression", + "start": 133, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "property": { + "type": "Identifier", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 166, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 124 + } + }, + "callee": { + "type": "Identifier", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 186, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 79 + }, + "identifierName": "throttle" + }, + "name": "throttle" + }, + { + "type": "NewExpression", + "start": 196, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 105 + } + }, + "callee": { + "type": "Identifier", + "start": 200, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 103 + }, + "identifierName": "PreValueApplicator" + }, + "name": "PreValueApplicator" + }, + "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 222, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 123 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 224, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 224, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 115 + }, + "identifierName": "setter" + }, + "name": "setter" + }, + "value": { + "type": "BooleanLiteral", + "start": 232, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 121 + } + }, + "value": true + } + } + ] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {number} wait\n * @param\n * {ThrottleOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 386, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "leadingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {number} wait\n * @param\n * {ThrottleOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 386, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 9, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 1, + "column": 43 + }, + "end": { + "line": 1, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 45, + "end": 49, + "loc": { + "start": { + "line": 1, + "column": 45 + }, + "end": { + "line": 1, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./factory", + "start": 50, + "end": 61, + "loc": { + "start": { + "line": 1, + "column": 50 + }, + "end": { + "line": 1, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 1, + "column": 61 + }, + "end": { + "line": 1, + "column": 62 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 72, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 2, + "column": 28 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 93, + "end": 97, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./applicators", + "start": 98, + "end": 113, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 113, + "end": 114, + "loc": { + "start": { + "line": 2, + "column": 50 + }, + "end": { + "line": 2, + "column": 51 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 115, + "end": 120, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 121, + "end": 130, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 131, + "end": 132, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 133, + "end": 149, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 149, + "end": 150, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createDecorator", + "start": 150, + "end": 165, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 165, + "end": 166, + "loc": { + "start": { + "line": 3, + "column": 50 + }, + "end": { + "line": 3, + "column": 51 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 166, + "end": 169, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorConfig", + "start": 170, + "end": 185, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 185, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 70 + }, + "end": { + "line": 3, + "column": 71 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "throttle", + "start": 186, + "end": 194, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 79 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 194, + "end": 195, + "loc": { + "start": { + "line": 3, + "column": 79 + }, + "end": { + "line": 3, + "column": 80 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 196, + "end": 199, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 84 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PreValueApplicator", + "start": 200, + "end": 218, + "loc": { + "start": { + "line": 3, + "column": 85 + }, + "end": { + "line": 3, + "column": 103 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 218, + "end": 219, + "loc": { + "start": { + "line": 3, + "column": 103 + }, + "end": { + "line": 3, + "column": 104 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 219, + "end": 220, + "loc": { + "start": { + "line": 3, + "column": 104 + }, + "end": { + "line": 3, + "column": 105 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 220, + "end": 221, + "loc": { + "start": { + "line": 3, + "column": 105 + }, + "end": { + "line": 3, + "column": 106 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 108 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setter", + "start": 224, + "end": 230, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 115 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 230, + "end": 231, + "loc": { + "start": { + "line": 3, + "column": 115 + }, + "end": { + "line": 3, + "column": 116 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 232, + "end": 236, + "loc": { + "start": { + "line": 3, + "column": 117 + }, + "end": { + "line": 3, + "column": 121 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 122 + }, + "end": { + "line": 3, + "column": 123 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 238, + "end": 239, + "loc": { + "start": { + "line": 3, + "column": 123 + }, + "end": { + "line": 3, + "column": 124 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 239, + "end": 240, + "loc": { + "start": { + "line": 3, + "column": 124 + }, + "end": { + "line": 3, + "column": 125 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 240, + "end": 241, + "loc": { + "start": { + "line": 3, + "column": 125 + }, + "end": { + "line": 3, + "column": 126 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 10\n * @param\n * {number} wait\n * @param\n * {ThrottleOptions} options\n * @return\n * {LodashMethodDecorator}\n ", + "start": 242, + "end": 386, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 387, + "end": 393, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 394, + "end": 402, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ThrottleAll", + "start": 403, + "end": 414, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 414, + "end": 415, + "loc": { + "start": { + "line": 16, + "column": 27 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wait", + "start": 415, + "end": 419, + "loc": { + "start": { + "line": 16, + "column": 28 + }, + "end": { + "line": 16, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 419, + "end": 420, + "loc": { + "start": { + "line": 16, + "column": 32 + }, + "end": { + "line": 16, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 421, + "end": 428, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 428, + "end": 429, + "loc": { + "start": { + "line": 16, + "column": 41 + }, + "end": { + "line": 16, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 430, + "end": 431, + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 436, + "end": 442, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 443, + "end": 452, + "loc": { + "start": { + "line": 17, + "column": 11 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 452, + "end": 453, + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wait", + "start": 453, + "end": 457, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 457, + "end": 458, + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 459, + "end": 466, + "loc": { + "start": { + "line": 17, + "column": 27 + }, + "end": { + "line": 17, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 466, + "end": 467, + "loc": { + "start": { + "line": 17, + "column": 34 + }, + "end": { + "line": 17, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 467, + "end": 468, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 17, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 469, + "end": 470, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 1 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 471, + "end": 477, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 478, + "end": 479, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ThrottleAll", + "start": 480, + "end": 491, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 492, + "end": 494, + "loc": { + "start": { + "line": 19, + "column": 21 + }, + "end": { + "line": 19, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "throttleAll", + "start": 495, + "end": 506, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 507, + "end": 508, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 508, + "end": 509, + "loc": { + "start": { + "line": 19, + "column": 37 + }, + "end": { + "line": 19, + "column": 38 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 510, + "end": 516, + "loc": { + "start": { + "line": 20, + "column": 0 + }, + "end": { + "line": 20, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 517, + "end": 524, + "loc": { + "start": { + "line": 20, + "column": 7 + }, + "end": { + "line": 20, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "decorator", + "start": 525, + "end": 534, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 534, + "end": 535, + "loc": { + "start": { + "line": 20, + "column": 24 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 536, + "end": 536, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/unary.js.json b/docs/ast/source/unary.ts.json similarity index 80% rename from docs/ast/source/unary.js.json rename to docs/ast/source/unary.ts.json index dba8cfb..442fe2d 100644 --- a/docs/ast/source/unary.js.json +++ b/docs/ast/source/unary.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 305, + "end": 299, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 305, + "end": 299, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 31, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 31 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - }, - "identifierName": "unary" - }, - "name": "unary" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -85,75 +68,6 @@ }, "end": { "line": 1, - "column": 14 - }, - "identifierName": "unary" - }, - "name": "unary" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 22, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 32, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 62 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 24 - } - }, - "imported": { - "type": "Identifier", - "start": 41, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 24 }, "identifierName": "DecoratorConfig" @@ -162,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 41, - "end": 56, + "start": 9, + "end": 24, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 24 }, "identifierName": "DecoratorConfig" @@ -180,29 +94,29 @@ }, { "type": "ImportSpecifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 } }, "imported": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -211,15 +125,15 @@ }, "local": { "type": "Identifier", - "start": 58, - "end": 74, + "start": 26, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 26 }, "end": { - "line": 2, + "line": 1, "column": 42 }, "identifierName": "DecoratorFactory" @@ -230,15 +144,15 @@ ], "source": { "type": "StringLiteral", - "start": 82, - "end": 93, + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, + "line": 1, "column": 50 }, "end": { - "line": 2, + "line": 1, "column": 61 } }, @@ -251,44 +165,44 @@ }, { "type": "ImportDeclaration", - "start": 95, - "end": 146, + "start": 63, + "end": 114, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 3, + "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 } }, "imported": { "type": "Identifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -297,15 +211,15 @@ }, "local": { "type": "Identifier", - "start": 104, - "end": 122, + "start": 72, + "end": 90, "loc": { "start": { - "line": 3, + "line": 2, "column": 9 }, "end": { - "line": 3, + "line": 2, "column": 27 }, "identifierName": "PreValueApplicator" @@ -316,15 +230,15 @@ ], "source": { "type": "StringLiteral", - "start": 130, - "end": 145, + "start": 98, + "end": 113, "loc": { "start": { - "line": 3, + "line": 2, "column": 35 }, "end": { - "line": 3, + "line": 2, "column": 50 } }, @@ -337,60 +251,60 @@ }, { "type": "ExportNamedDeclaration", - "start": 147, - "end": 255, + "start": 115, + "end": 249, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 4, - "column": 108 + "line": 3, + "column": 134 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 154, - "end": 255, + "start": 122, + "end": 249, "loc": { "start": { - "line": 4, + "line": 3, "column": 7 }, "end": { - "line": 4, - "column": 108 + "line": 3, + "column": 134 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 160, - "end": 254, + "start": 128, + "end": 248, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, - "column": 107 + "line": 3, + "column": 133 } }, "id": { "type": "Identifier", - "start": 160, - "end": 165, + "start": 128, + "end": 133, "loc": { "start": { - "line": 4, + "line": 3, "column": 13 }, "end": { - "line": 4, + "line": 3, "column": 18 }, "identifierName": "Unary" @@ -399,43 +313,43 @@ }, "init": { "type": "CallExpression", - "start": 168, - "end": 254, + "start": 136, + "end": 248, "loc": { "start": { - "line": 4, + "line": 3, "column": 21 }, "end": { - "line": 4, - "column": 107 + "line": 3, + "column": 133 } }, "callee": { "type": "MemberExpression", - "start": 168, - "end": 200, + "start": 136, + "end": 168, "loc": { "start": { - "line": 4, + "line": 3, "column": 21 }, "end": { - "line": 4, + "line": 3, "column": 53 } }, "object": { "type": "Identifier", - "start": 168, - "end": 184, + "start": 136, + "end": 152, "loc": { "start": { - "line": 4, + "line": 3, "column": 21 }, "end": { - "line": 4, + "line": 3, "column": 37 }, "identifierName": "DecoratorFactory" @@ -444,15 +358,15 @@ }, "property": { "type": "Identifier", - "start": 185, - "end": 200, + "start": 153, + "end": 168, "loc": { "start": { - "line": 4, + "line": 3, "column": 38 }, "end": { - "line": 4, + "line": 3, "column": 53 }, "identifierName": "createDecorator" @@ -464,29 +378,29 @@ "arguments": [ { "type": "NewExpression", - "start": 201, - "end": 253, + "start": 169, + "end": 247, "loc": { "start": { - "line": 4, + "line": 3, "column": 54 }, "end": { - "line": 4, - "column": 106 + "line": 3, + "column": 132 } }, "callee": { "type": "Identifier", - "start": 205, - "end": 220, + "start": 173, + "end": 188, "loc": { "start": { - "line": 4, + "line": 3, "column": 58 }, "end": { - "line": 4, + "line": 3, "column": 73 }, "identifierName": "DecoratorConfig" @@ -496,15 +410,15 @@ "arguments": [ { "type": "Identifier", - "start": 221, - "end": 226, + "start": 189, + "end": 194, "loc": { "start": { - "line": 4, + "line": 3, "column": 74 }, "end": { - "line": 4, + "line": 3, "column": 79 }, "identifierName": "unary" @@ -513,29 +427,29 @@ }, { "type": "NewExpression", - "start": 228, - "end": 252, + "start": 196, + "end": 220, "loc": { "start": { - "line": 4, + "line": 3, "column": 81 }, "end": { - "line": 4, + "line": 3, "column": 105 } }, "callee": { "type": "Identifier", - "start": 232, - "end": 250, + "start": 200, + "end": 218, "loc": { "start": { - "line": 4, + "line": 3, "column": 85 }, "end": { - "line": 4, + "line": 3, "column": 103 }, "identifierName": "PreValueApplicator" @@ -543,6 +457,74 @@ "name": "PreValueApplicator" }, "arguments": [] + }, + { + "type": "ObjectExpression", + "start": 222, + "end": 246, + "loc": { + "start": { + "line": 3, + "column": 107 + }, + "end": { + "line": 3, + "column": 131 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 224, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 224, + "end": 238, + "loc": { + "start": { + "line": 3, + "column": 109 + }, + "end": { + "line": 3, + "column": 123 + }, + "identifierName": "optionalParams" + }, + "name": "optionalParams" + }, + "value": { + "type": "BooleanLiteral", + "start": 240, + "end": 244, + "loc": { + "start": { + "line": 3, + "column": 125 + }, + "end": { + "line": 3, + "column": 129 + } + }, + "value": true + } + } + ] } ] } @@ -557,15 +539,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 256, - "end": 282, + "start": 250, + "end": 276, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 4, "column": 26 } }, @@ -573,29 +555,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 265, - "end": 279, + "start": 259, + "end": 273, "loc": { "start": { - "line": 5, + "line": 4, "column": 9 }, "end": { - "line": 5, + "line": 4, "column": 23 } }, "local": { "type": "Identifier", - "start": 265, - "end": 270, + "start": 259, + "end": 264, "loc": { "start": { - "line": 5, + "line": 4, "column": 9 }, "end": { - "line": 5, + "line": 4, "column": 14 }, "identifierName": "Unary" @@ -604,15 +586,15 @@ }, "exported": { "type": "Identifier", - "start": 274, - "end": 279, + "start": 268, + "end": 273, "loc": { "start": { - "line": 5, + "line": 4, "column": 18 }, "end": { - "line": 5, + "line": 4, "column": 23 }, "identifierName": "unary" @@ -625,29 +607,29 @@ }, { "type": "ExportDefaultDeclaration", - "start": 283, - "end": 304, + "start": 277, + "end": 298, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 21 } }, "declaration": { "type": "Identifier", - "start": 298, - "end": 303, + "start": 292, + "end": 297, "loc": { "start": { - "line": 6, + "line": 5, "column": 15 }, "end": { - "line": 6, + "line": 5, "column": 20 }, "identifierName": "Unary" @@ -667,7 +649,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -727,9 +709,9 @@ "postfix": false, "binop": null }, - "value": "unary", + "value": "DecoratorConfig", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -737,7 +719,59 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DecoratorFactory", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 } } }, @@ -753,16 +787,16 @@ "postfix": false, "binop": null }, - "start": 15, - "end": 16, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 15 + "column": 43 }, "end": { "line": 1, - "column": 16 + "column": 44 } } }, @@ -779,16 +813,16 @@ "binop": null }, "value": "from", - "start": 17, - "end": 21, + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 17 + "column": 45 }, "end": { "line": 1, - "column": 21 + "column": 49 } } }, @@ -805,17 +839,17 @@ "binop": null, "updateContext": null }, - "value": "lodash", - "start": 22, - "end": 30, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 22 + "column": 50 }, "end": { "line": 1, - "column": 30 + "column": 61 } } }, @@ -832,16 +866,16 @@ "binop": null, "updateContext": null }, - "start": 30, - "end": 31, + "start": 61, + "end": 62, "loc": { "start": { "line": 1, - "column": 30 + "column": 61 }, "end": { "line": 1, - "column": 31 + "column": 62 } } }, @@ -850,7 +884,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -860,8 +894,8 @@ "updateContext": null }, "value": "import", - "start": 32, - "end": 38, + "start": 63, + "end": 69, "loc": { "start": { "line": 2, @@ -885,8 +919,8 @@ "postfix": false, "binop": null }, - "start": 39, - "end": 40, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, @@ -910,9 +944,9 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 41, - "end": 56, + "value": "PreValueApplicator", + "start": 72, + "end": 90, "loc": { "start": { "line": 2, @@ -920,33 +954,32 @@ }, "end": { "line": 2, - "column": 24 + "column": 27 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 56, - "end": 57, + "start": 91, + "end": 92, "loc": { "start": { "line": 2, - "column": 24 + "column": 28 }, "end": { "line": 2, - "column": 25 + "column": 29 } } }, @@ -962,76 +995,52 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 58, - "end": 74, + "value": "from", + "start": 93, + "end": 97, "loc": { "start": { "line": 2, - "column": 26 + "column": 30 }, "end": { "line": 2, - "column": 42 + "column": 34 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 75, - "end": 76, + "value": "./applicators", + "start": 98, + "end": 113, "loc": { "start": { "line": 2, - "column": 43 + "column": 35 }, "end": { "line": 2, - "column": 44 + "column": 50 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 77, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 49 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1040,9 +1049,8 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 82, - "end": 93, + "start": 113, + "end": 114, "loc": { "start": { "line": 2, @@ -1050,40 +1058,14 @@ }, "end": { "line": 2, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 93, - "end": 94, - "loc": { - "start": { - "line": 2, - "column": 61 - }, - "end": { - "line": 2, - "column": 62 + "column": 51 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1094,9 +1076,9 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 95, - "end": 101, + "value": "export", + "start": 115, + "end": 121, "loc": { "start": { "line": 3, @@ -1110,18 +1092,21 @@ }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 102, - "end": 103, + "value": "const", + "start": 122, + "end": 127, "loc": { "start": { "line": 3, @@ -1129,7 +1114,7 @@ }, "end": { "line": 3, - "column": 8 + "column": 12 } } }, @@ -1145,42 +1130,44 @@ "postfix": false, "binop": null }, - "value": "PreValueApplicator", - "start": 104, - "end": 122, + "value": "Unary", + "start": 128, + "end": 133, "loc": { "start": { "line": 3, - "column": 9 + "column": 13 }, "end": { "line": 3, - "column": 27 + "column": 18 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 123, - "end": 124, + "value": "=", + "start": 134, + "end": 135, "loc": { "start": { "line": 3, - "column": 28 + "column": 19 }, "end": { "line": 3, - "column": 29 + "column": 20 } } }, @@ -1196,25 +1183,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 125, - "end": 129, + "value": "DecoratorFactory", + "start": 136, + "end": 152, "loc": { "start": { "line": 3, - "column": 30 + "column": 21 }, "end": { "line": 3, - "column": 34 + "column": 37 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1223,80 +1210,76 @@ "binop": null, "updateContext": null }, - "value": "./applicators", - "start": 130, - "end": 145, + "start": 152, + "end": 153, "loc": { "start": { "line": 3, - "column": 35 + "column": 37 }, "end": { "line": 3, - "column": 50 + "column": 38 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 145, - "end": 146, + "value": "createDecorator", + "start": 153, + "end": 168, "loc": { "start": { "line": 3, - "column": 50 + "column": 38 }, "end": { "line": 3, - "column": 51 + "column": 53 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 147, - "end": 153, + "start": 168, + "end": 169, "loc": { "start": { - "line": 4, - "column": 0 + "line": 3, + "column": 53 }, "end": { - "line": 4, - "column": 6 + "line": 3, + "column": 54 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1305,17 +1288,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 154, - "end": 159, + "value": "new", + "start": 169, + "end": 172, "loc": { "start": { - "line": 4, - "column": 7 + "line": 3, + "column": 54 }, "end": { - "line": 4, - "column": 12 + "line": 3, + "column": 57 } } }, @@ -1331,44 +1314,42 @@ "postfix": false, "binop": null }, - "value": "Unary", - "start": 160, - "end": 165, + "value": "DecoratorConfig", + "start": 173, + "end": 188, "loc": { "start": { - "line": 4, - "column": 13 + "line": 3, + "column": 58 }, "end": { - "line": 4, - "column": 18 + "line": 3, + "column": 73 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 166, - "end": 167, + "start": 188, + "end": 189, "loc": { "start": { - "line": 4, - "column": 19 + "line": 3, + "column": 73 }, "end": { - "line": 4, - "column": 20 + "line": 3, + "column": 74 } } }, @@ -1384,24 +1365,24 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 168, - "end": 184, + "value": "unary", + "start": 189, + "end": 194, "loc": { "start": { - "line": 4, - "column": 21 + "line": 3, + "column": 74 }, "end": { - "line": 4, - "column": 37 + "line": 3, + "column": 79 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1411,49 +1392,51 @@ "binop": null, "updateContext": null }, - "start": 184, - "end": 185, + "start": 194, + "end": 195, "loc": { "start": { - "line": 4, - "column": 37 + "line": 3, + "column": 79 }, "end": { - "line": 4, - "column": 38 + "line": 3, + "column": 80 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "createDecorator", - "start": 185, - "end": 200, + "value": "new", + "start": 196, + "end": 199, "loc": { "start": { - "line": 4, - "column": 38 + "line": 3, + "column": 81 }, "end": { - "line": 4, - "column": 53 + "line": 3, + "column": 84 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1462,23 +1445,23 @@ "postfix": false, "binop": null }, + "value": "PreValueApplicator", "start": 200, - "end": 201, + "end": 218, "loc": { "start": { - "line": 4, - "column": 53 + "line": 3, + "column": 85 }, "end": { - "line": 4, - "column": 54 + "line": 3, + "column": 103 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1486,28 +1469,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 201, - "end": 204, + "start": 218, + "end": 219, "loc": { "start": { - "line": 4, - "column": 54 + "line": 3, + "column": 103 }, "end": { - "line": 4, - "column": 57 + "line": 3, + "column": 104 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1515,49 +1496,49 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 205, + "start": 219, "end": 220, "loc": { "start": { - "line": 4, - "column": 58 + "line": 3, + "column": 104 }, "end": { - "line": 4, - "column": 73 + "line": 3, + "column": 105 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, "start": 220, "end": 221, "loc": { "start": { - "line": 4, - "column": 73 + "line": 3, + "column": 105 }, "end": { - "line": 4, - "column": 74 + "line": 3, + "column": 106 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1566,52 +1547,50 @@ "postfix": false, "binop": null }, - "value": "unary", - "start": 221, - "end": 226, + "start": 222, + "end": 223, "loc": { "start": { - "line": 4, - "column": 74 + "line": 3, + "column": 107 }, "end": { - "line": 4, - "column": 79 + "line": 3, + "column": 108 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 226, - "end": 227, + "value": "optionalParams", + "start": 224, + "end": 238, "loc": { "start": { - "line": 4, - "column": 79 + "line": 3, + "column": 109 }, "end": { - "line": 4, - "column": 80 + "line": 3, + "column": 123 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1620,23 +1599,23 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 228, - "end": 231, + "start": 238, + "end": 239, "loc": { "start": { - "line": 4, - "column": 81 + "line": 3, + "column": 123 }, "end": { - "line": 4, - "column": 84 + "line": 3, + "column": 124 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1644,50 +1623,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "PreValueApplicator", - "start": 232, - "end": 250, - "loc": { - "start": { - "line": 4, - "column": 85 - }, - "end": { - "line": 4, - "column": 103 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 250, - "end": 251, + "value": "true", + "start": 240, + "end": 244, "loc": { "start": { - "line": 4, - "column": 103 + "line": 3, + "column": 125 }, "end": { - "line": 4, - "column": 104 + "line": 3, + "column": 129 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1697,16 +1652,16 @@ "postfix": false, "binop": null }, - "start": 251, - "end": 252, + "start": 245, + "end": 246, "loc": { "start": { - "line": 4, - "column": 104 + "line": 3, + "column": 130 }, "end": { - "line": 4, - "column": 105 + "line": 3, + "column": 131 } } }, @@ -1722,16 +1677,16 @@ "postfix": false, "binop": null }, - "start": 252, - "end": 253, + "start": 246, + "end": 247, "loc": { "start": { - "line": 4, - "column": 105 + "line": 3, + "column": 131 }, "end": { - "line": 4, - "column": 106 + "line": 3, + "column": 132 } } }, @@ -1747,16 +1702,16 @@ "postfix": false, "binop": null }, - "start": 253, - "end": 254, + "start": 247, + "end": 248, "loc": { "start": { - "line": 4, - "column": 106 + "line": 3, + "column": 132 }, "end": { - "line": 4, - "column": 107 + "line": 3, + "column": 133 } } }, @@ -1773,16 +1728,16 @@ "binop": null, "updateContext": null }, - "start": 254, - "end": 255, + "start": 248, + "end": 249, "loc": { "start": { - "line": 4, - "column": 107 + "line": 3, + "column": 133 }, "end": { - "line": 4, - "column": 108 + "line": 3, + "column": 134 } } }, @@ -1801,15 +1756,15 @@ "updateContext": null }, "value": "export", - "start": 256, - "end": 262, + "start": 250, + "end": 256, "loc": { "start": { - "line": 5, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 4, "column": 6 } } @@ -1826,15 +1781,15 @@ "postfix": false, "binop": null }, - "start": 263, - "end": 264, + "start": 257, + "end": 258, "loc": { "start": { - "line": 5, + "line": 4, "column": 7 }, "end": { - "line": 5, + "line": 4, "column": 8 } } @@ -1852,15 +1807,15 @@ "binop": null }, "value": "Unary", - "start": 265, - "end": 270, + "start": 259, + "end": 264, "loc": { "start": { - "line": 5, + "line": 4, "column": 9 }, "end": { - "line": 5, + "line": 4, "column": 14 } } @@ -1878,15 +1833,15 @@ "binop": null }, "value": "as", - "start": 271, - "end": 273, + "start": 265, + "end": 267, "loc": { "start": { - "line": 5, + "line": 4, "column": 15 }, "end": { - "line": 5, + "line": 4, "column": 17 } } @@ -1904,15 +1859,15 @@ "binop": null }, "value": "unary", - "start": 274, - "end": 279, + "start": 268, + "end": 273, "loc": { "start": { - "line": 5, + "line": 4, "column": 18 }, "end": { - "line": 5, + "line": 4, "column": 23 } } @@ -1929,15 +1884,15 @@ "postfix": false, "binop": null }, - "start": 280, - "end": 281, + "start": 274, + "end": 275, "loc": { "start": { - "line": 5, + "line": 4, "column": 24 }, "end": { - "line": 5, + "line": 4, "column": 25 } } @@ -1955,15 +1910,15 @@ "binop": null, "updateContext": null }, - "start": 281, - "end": 282, + "start": 275, + "end": 276, "loc": { "start": { - "line": 5, + "line": 4, "column": 25 }, "end": { - "line": 5, + "line": 4, "column": 26 } } @@ -1983,15 +1938,15 @@ "updateContext": null }, "value": "export", - "start": 283, - "end": 289, + "start": 277, + "end": 283, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, + "line": 5, "column": 6 } } @@ -2011,15 +1966,15 @@ "updateContext": null }, "value": "default", - "start": 290, - "end": 297, + "start": 284, + "end": 291, "loc": { "start": { - "line": 6, + "line": 5, "column": 7 }, "end": { - "line": 6, + "line": 5, "column": 14 } } @@ -2037,15 +1992,15 @@ "binop": null }, "value": "Unary", - "start": 298, - "end": 303, + "start": 292, + "end": 297, "loc": { "start": { - "line": 6, + "line": 5, "column": 15 }, "end": { - "line": 6, + "line": 5, "column": 20 } } @@ -2063,15 +2018,15 @@ "binop": null, "updateContext": null }, - "start": 303, - "end": 304, + "start": 297, + "end": 298, "loc": { "start": { - "line": 6, + "line": 5, "column": 20 }, "end": { - "line": 6, + "line": 5, "column": 21 } } @@ -2089,15 +2044,15 @@ "binop": null, "updateContext": null }, - "start": 305, - "end": 305, + "start": 299, + "end": 299, "loc": { "start": { - "line": 7, + "line": 6, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 0 } } diff --git a/docs/ast/source/applicators/index.js.json b/docs/ast/source/utils.ts.json similarity index 86% rename from docs/ast/source/applicators/index.js.json rename to docs/ast/source/utils.ts.json index c46fb90..1894230 100644 --- a/docs/ast/source/applicators/index.js.json +++ b/docs/ast/source/utils.ts.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 361, + "end": 382, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 361, + "end": 382, "loc": { "start": { "line": 1, @@ -31,7 +31,7 @@ { "type": "ExportAllDeclaration", "start": 0, - "end": 29, + "end": 28, "loc": { "start": { "line": 1, @@ -39,13 +39,13 @@ }, "end": { "line": 1, - "column": 29 + "column": 28 } }, "source": { "type": "StringLiteral", "start": 14, - "end": 28, + "end": 27, "loc": { "start": { "line": 1, @@ -53,20 +53,20 @@ }, "end": { "line": 1, - "column": 28 + "column": 27 } }, "extra": { - "rawValue": "./Applicator", - "raw": "'./Applicator'" + "rawValue": "./utils/log", + "raw": "'./utils/log'" }, - "value": "./Applicator" + "value": "./utils/log" } }, { "type": "ExportAllDeclaration", - "start": 30, - "end": 66, + "start": 29, + "end": 69, "loc": { "start": { "line": 2, @@ -74,13 +74,13 @@ }, "end": { "line": 2, - "column": 36 + "column": 40 } }, "source": { "type": "StringLiteral", - "start": 44, - "end": 65, + "start": 43, + "end": 68, "loc": { "start": { "line": 2, @@ -88,20 +88,20 @@ }, "end": { "line": 2, - "column": 35 + "column": 39 } }, "extra": { - "rawValue": "./ComposeApplicator", - "raw": "'./ComposeApplicator'" + "rawValue": "./utils/resolveFunction", + "raw": "'./utils/resolveFunction'" }, - "value": "./ComposeApplicator" + "value": "./utils/resolveFunction" } }, { "type": "ExportAllDeclaration", - "start": 67, - "end": 103, + "start": 70, + "end": 114, "loc": { "start": { "line": 3, @@ -109,13 +109,13 @@ }, "end": { "line": 3, - "column": 36 + "column": 44 } }, "source": { "type": "StringLiteral", - "start": 81, - "end": 102, + "start": 84, + "end": 113, "loc": { "start": { "line": 3, @@ -123,20 +123,20 @@ }, "end": { "line": 3, - "column": 35 + "column": 43 } }, "extra": { - "rawValue": "./PartialApplicator", - "raw": "'./PartialApplicator'" + "rawValue": "./utils/CompositeKeyWeakMap", + "raw": "'./utils/CompositeKeyWeakMap'" }, - "value": "./PartialApplicator" + "value": "./utils/CompositeKeyWeakMap" } }, { "type": "ExportAllDeclaration", - "start": 104, - "end": 142, + "start": 115, + "end": 153, "loc": { "start": { "line": 4, @@ -149,8 +149,8 @@ }, "source": { "type": "StringLiteral", - "start": 118, - "end": 141, + "start": 129, + "end": 152, "loc": { "start": { "line": 4, @@ -162,16 +162,16 @@ } }, "extra": { - "rawValue": "./PartialedApplicator", - "raw": "'./PartialedApplicator'" + "rawValue": "./utils/returnAtIndex", + "raw": "'./utils/returnAtIndex'" }, - "value": "./PartialedApplicator" + "value": "./utils/returnAtIndex" } }, { "type": "ExportAllDeclaration", - "start": 143, - "end": 181, + "start": 154, + "end": 191, "loc": { "start": { "line": 5, @@ -179,13 +179,13 @@ }, "end": { "line": 5, - "column": 38 + "column": 37 } }, "source": { "type": "StringLiteral", - "start": 157, - "end": 180, + "start": 168, + "end": 190, "loc": { "start": { "line": 5, @@ -193,20 +193,20 @@ }, "end": { "line": 5, - "column": 37 + "column": 36 } }, "extra": { - "rawValue": "./PostValueApplicator", - "raw": "'./PostValueApplicator'" + "rawValue": "./utils/copyMetaData", + "raw": "'./utils/copyMetaData'" }, - "value": "./PostValueApplicator" + "value": "./utils/copyMetaData" } }, { "type": "ExportAllDeclaration", - "start": 182, - "end": 219, + "start": 192, + "end": 221, "loc": { "start": { "line": 6, @@ -214,13 +214,13 @@ }, "end": { "line": 6, - "column": 37 + "column": 29 } }, "source": { "type": "StringLiteral", - "start": 196, - "end": 218, + "start": 206, + "end": 220, "loc": { "start": { "line": 6, @@ -228,20 +228,20 @@ }, "end": { "line": 6, - "column": 36 + "column": 28 } }, "extra": { - "rawValue": "./PreValueApplicator", - "raw": "'./PreValueApplicator'" + "rawValue": "./utils/bind", + "raw": "'./utils/bind'" }, - "value": "./PreValueApplicator" + "value": "./utils/bind" } }, { "type": "ExportAllDeclaration", - "start": 220, - "end": 253, + "start": 222, + "end": 262, "loc": { "start": { "line": 7, @@ -249,13 +249,13 @@ }, "end": { "line": 7, - "column": 33 + "column": 40 } }, "source": { "type": "StringLiteral", - "start": 234, - "end": 252, + "start": 236, + "end": 261, "loc": { "start": { "line": 7, @@ -263,20 +263,20 @@ }, "end": { "line": 7, - "column": 32 + "column": 39 } }, "extra": { - "rawValue": "./WrapApplicator", - "raw": "'./WrapApplicator'" + "rawValue": "./utils/wrapConstructor", + "raw": "'./utils/wrapConstructor'" }, - "value": "./WrapApplicator" + "value": "./utils/wrapConstructor" } }, { "type": "ExportAllDeclaration", - "start": 254, - "end": 287, + "start": 263, + "end": 297, "loc": { "start": { "line": 8, @@ -284,13 +284,13 @@ }, "end": { "line": 8, - "column": 33 + "column": 34 } }, "source": { "type": "StringLiteral", - "start": 268, - "end": 286, + "start": 277, + "end": 296, "loc": { "start": { "line": 8, @@ -298,20 +298,20 @@ }, "end": { "line": 8, - "column": 32 + "column": 33 } }, "extra": { - "rawValue": "./BindApplicator", - "raw": "'./BindApplicator'" + "rawValue": "./utils/assignAll", + "raw": "'./utils/assignAll'" }, - "value": "./BindApplicator" + "value": "./utils/assignAll" } }, { "type": "ExportAllDeclaration", - "start": 288, - "end": 323, + "start": 298, + "end": 338, "loc": { "start": { "line": 9, @@ -319,13 +319,13 @@ }, "end": { "line": 9, - "column": 35 + "column": 40 } }, "source": { "type": "StringLiteral", - "start": 302, - "end": 322, + "start": 312, + "end": 337, "loc": { "start": { "line": 9, @@ -333,20 +333,20 @@ }, "end": { "line": 9, - "column": 34 + "column": 39 } }, "extra": { - "rawValue": "./InvokeApplicator", - "raw": "'./InvokeApplicator'" + "rawValue": "./utils/isDecoratorArgs", + "raw": "'./utils/isDecoratorArgs'" }, - "value": "./InvokeApplicator" + "value": "./utils/isDecoratorArgs" } }, { "type": "ExportAllDeclaration", - "start": 324, - "end": 360, + "start": 339, + "end": 381, "loc": { "start": { "line": 10, @@ -354,13 +354,13 @@ }, "end": { "line": 10, - "column": 36 + "column": 42 } }, "source": { "type": "StringLiteral", - "start": 338, - "end": 359, + "start": 353, + "end": 380, "loc": { "start": { "line": 10, @@ -368,14 +368,14 @@ }, "end": { "line": 10, - "column": 35 + "column": 41 } }, "extra": { - "rawValue": "./MemoizeApplicator", - "raw": "'./MemoizeApplicator'" + "rawValue": "./utils/isPrototypeAccess", + "raw": "'./utils/isPrototypeAccess'" }, - "value": "./MemoizeApplicator" + "value": "./utils/isPrototypeAccess" } } ], @@ -477,9 +477,9 @@ "binop": null, "updateContext": null }, - "value": "./Applicator", + "value": "./utils/log", "start": 14, - "end": 28, + "end": 27, "loc": { "start": { "line": 1, @@ -487,7 +487,7 @@ }, "end": { "line": 1, - "column": 28 + "column": 27 } } }, @@ -504,16 +504,16 @@ "binop": null, "updateContext": null }, - "start": 28, - "end": 29, + "start": 27, + "end": 28, "loc": { "start": { "line": 1, - "column": 28 + "column": 27 }, "end": { "line": 1, - "column": 29 + "column": 28 } } }, @@ -532,8 +532,8 @@ "updateContext": null }, "value": "export", - "start": 30, - "end": 36, + "start": 29, + "end": 35, "loc": { "start": { "line": 2, @@ -559,8 +559,8 @@ "updateContext": null }, "value": "*", - "start": 37, - "end": 38, + "start": 36, + "end": 37, "loc": { "start": { "line": 2, @@ -585,8 +585,8 @@ "binop": null }, "value": "from", - "start": 39, - "end": 43, + "start": 38, + "end": 42, "loc": { "start": { "line": 2, @@ -611,9 +611,9 @@ "binop": null, "updateContext": null }, - "value": "./ComposeApplicator", - "start": 44, - "end": 65, + "value": "./utils/resolveFunction", + "start": 43, + "end": 68, "loc": { "start": { "line": 2, @@ -621,7 +621,7 @@ }, "end": { "line": 2, - "column": 35 + "column": 39 } } }, @@ -638,16 +638,16 @@ "binop": null, "updateContext": null }, - "start": 65, - "end": 66, + "start": 68, + "end": 69, "loc": { "start": { "line": 2, - "column": 35 + "column": 39 }, "end": { "line": 2, - "column": 36 + "column": 40 } } }, @@ -666,8 +666,8 @@ "updateContext": null }, "value": "export", - "start": 67, - "end": 73, + "start": 70, + "end": 76, "loc": { "start": { "line": 3, @@ -693,8 +693,8 @@ "updateContext": null }, "value": "*", - "start": 74, - "end": 75, + "start": 77, + "end": 78, "loc": { "start": { "line": 3, @@ -719,8 +719,8 @@ "binop": null }, "value": "from", - "start": 76, - "end": 80, + "start": 79, + "end": 83, "loc": { "start": { "line": 3, @@ -745,9 +745,9 @@ "binop": null, "updateContext": null }, - "value": "./PartialApplicator", - "start": 81, - "end": 102, + "value": "./utils/CompositeKeyWeakMap", + "start": 84, + "end": 113, "loc": { "start": { "line": 3, @@ -755,7 +755,7 @@ }, "end": { "line": 3, - "column": 35 + "column": 43 } } }, @@ -772,16 +772,16 @@ "binop": null, "updateContext": null }, - "start": 102, - "end": 103, + "start": 113, + "end": 114, "loc": { "start": { "line": 3, - "column": 35 + "column": 43 }, "end": { "line": 3, - "column": 36 + "column": 44 } } }, @@ -800,8 +800,8 @@ "updateContext": null }, "value": "export", - "start": 104, - "end": 110, + "start": 115, + "end": 121, "loc": { "start": { "line": 4, @@ -827,8 +827,8 @@ "updateContext": null }, "value": "*", - "start": 111, - "end": 112, + "start": 122, + "end": 123, "loc": { "start": { "line": 4, @@ -853,8 +853,8 @@ "binop": null }, "value": "from", - "start": 113, - "end": 117, + "start": 124, + "end": 128, "loc": { "start": { "line": 4, @@ -879,9 +879,9 @@ "binop": null, "updateContext": null }, - "value": "./PartialedApplicator", - "start": 118, - "end": 141, + "value": "./utils/returnAtIndex", + "start": 129, + "end": 152, "loc": { "start": { "line": 4, @@ -906,8 +906,8 @@ "binop": null, "updateContext": null }, - "start": 141, - "end": 142, + "start": 152, + "end": 153, "loc": { "start": { "line": 4, @@ -934,8 +934,8 @@ "updateContext": null }, "value": "export", - "start": 143, - "end": 149, + "start": 154, + "end": 160, "loc": { "start": { "line": 5, @@ -961,8 +961,8 @@ "updateContext": null }, "value": "*", - "start": 150, - "end": 151, + "start": 161, + "end": 162, "loc": { "start": { "line": 5, @@ -987,8 +987,8 @@ "binop": null }, "value": "from", - "start": 152, - "end": 156, + "start": 163, + "end": 167, "loc": { "start": { "line": 5, @@ -1013,9 +1013,9 @@ "binop": null, "updateContext": null }, - "value": "./PostValueApplicator", - "start": 157, - "end": 180, + "value": "./utils/copyMetaData", + "start": 168, + "end": 190, "loc": { "start": { "line": 5, @@ -1023,7 +1023,7 @@ }, "end": { "line": 5, - "column": 37 + "column": 36 } } }, @@ -1040,16 +1040,16 @@ "binop": null, "updateContext": null }, - "start": 180, - "end": 181, + "start": 190, + "end": 191, "loc": { "start": { "line": 5, - "column": 37 + "column": 36 }, "end": { "line": 5, - "column": 38 + "column": 37 } } }, @@ -1068,8 +1068,8 @@ "updateContext": null }, "value": "export", - "start": 182, - "end": 188, + "start": 192, + "end": 198, "loc": { "start": { "line": 6, @@ -1095,8 +1095,8 @@ "updateContext": null }, "value": "*", - "start": 189, - "end": 190, + "start": 199, + "end": 200, "loc": { "start": { "line": 6, @@ -1121,8 +1121,8 @@ "binop": null }, "value": "from", - "start": 191, - "end": 195, + "start": 201, + "end": 205, "loc": { "start": { "line": 6, @@ -1147,9 +1147,9 @@ "binop": null, "updateContext": null }, - "value": "./PreValueApplicator", - "start": 196, - "end": 218, + "value": "./utils/bind", + "start": 206, + "end": 220, "loc": { "start": { "line": 6, @@ -1157,7 +1157,7 @@ }, "end": { "line": 6, - "column": 36 + "column": 28 } } }, @@ -1174,16 +1174,16 @@ "binop": null, "updateContext": null }, - "start": 218, - "end": 219, + "start": 220, + "end": 221, "loc": { "start": { "line": 6, - "column": 36 + "column": 28 }, "end": { "line": 6, - "column": 37 + "column": 29 } } }, @@ -1202,8 +1202,8 @@ "updateContext": null }, "value": "export", - "start": 220, - "end": 226, + "start": 222, + "end": 228, "loc": { "start": { "line": 7, @@ -1229,8 +1229,8 @@ "updateContext": null }, "value": "*", - "start": 227, - "end": 228, + "start": 229, + "end": 230, "loc": { "start": { "line": 7, @@ -1255,8 +1255,8 @@ "binop": null }, "value": "from", - "start": 229, - "end": 233, + "start": 231, + "end": 235, "loc": { "start": { "line": 7, @@ -1281,9 +1281,9 @@ "binop": null, "updateContext": null }, - "value": "./WrapApplicator", - "start": 234, - "end": 252, + "value": "./utils/wrapConstructor", + "start": 236, + "end": 261, "loc": { "start": { "line": 7, @@ -1291,7 +1291,7 @@ }, "end": { "line": 7, - "column": 32 + "column": 39 } } }, @@ -1308,16 +1308,16 @@ "binop": null, "updateContext": null }, - "start": 252, - "end": 253, + "start": 261, + "end": 262, "loc": { "start": { "line": 7, - "column": 32 + "column": 39 }, "end": { "line": 7, - "column": 33 + "column": 40 } } }, @@ -1336,8 +1336,8 @@ "updateContext": null }, "value": "export", - "start": 254, - "end": 260, + "start": 263, + "end": 269, "loc": { "start": { "line": 8, @@ -1363,8 +1363,8 @@ "updateContext": null }, "value": "*", - "start": 261, - "end": 262, + "start": 270, + "end": 271, "loc": { "start": { "line": 8, @@ -1389,8 +1389,8 @@ "binop": null }, "value": "from", - "start": 263, - "end": 267, + "start": 272, + "end": 276, "loc": { "start": { "line": 8, @@ -1415,9 +1415,9 @@ "binop": null, "updateContext": null }, - "value": "./BindApplicator", - "start": 268, - "end": 286, + "value": "./utils/assignAll", + "start": 277, + "end": 296, "loc": { "start": { "line": 8, @@ -1425,7 +1425,7 @@ }, "end": { "line": 8, - "column": 32 + "column": 33 } } }, @@ -1442,16 +1442,16 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 287, + "start": 296, + "end": 297, "loc": { "start": { "line": 8, - "column": 32 + "column": 33 }, "end": { "line": 8, - "column": 33 + "column": 34 } } }, @@ -1470,8 +1470,8 @@ "updateContext": null }, "value": "export", - "start": 288, - "end": 294, + "start": 298, + "end": 304, "loc": { "start": { "line": 9, @@ -1497,8 +1497,8 @@ "updateContext": null }, "value": "*", - "start": 295, - "end": 296, + "start": 305, + "end": 306, "loc": { "start": { "line": 9, @@ -1523,8 +1523,8 @@ "binop": null }, "value": "from", - "start": 297, - "end": 301, + "start": 307, + "end": 311, "loc": { "start": { "line": 9, @@ -1549,9 +1549,9 @@ "binop": null, "updateContext": null }, - "value": "./InvokeApplicator", - "start": 302, - "end": 322, + "value": "./utils/isDecoratorArgs", + "start": 312, + "end": 337, "loc": { "start": { "line": 9, @@ -1559,7 +1559,7 @@ }, "end": { "line": 9, - "column": 34 + "column": 39 } } }, @@ -1576,16 +1576,16 @@ "binop": null, "updateContext": null }, - "start": 322, - "end": 323, + "start": 337, + "end": 338, "loc": { "start": { "line": 9, - "column": 34 + "column": 39 }, "end": { "line": 9, - "column": 35 + "column": 40 } } }, @@ -1604,8 +1604,8 @@ "updateContext": null }, "value": "export", - "start": 324, - "end": 330, + "start": 339, + "end": 345, "loc": { "start": { "line": 10, @@ -1631,8 +1631,8 @@ "updateContext": null }, "value": "*", - "start": 331, - "end": 332, + "start": 346, + "end": 347, "loc": { "start": { "line": 10, @@ -1657,8 +1657,8 @@ "binop": null }, "value": "from", - "start": 333, - "end": 337, + "start": 348, + "end": 352, "loc": { "start": { "line": 10, @@ -1683,9 +1683,9 @@ "binop": null, "updateContext": null }, - "value": "./MemoizeApplicator", - "start": 338, - "end": 359, + "value": "./utils/isPrototypeAccess", + "start": 353, + "end": 380, "loc": { "start": { "line": 10, @@ -1693,7 +1693,7 @@ }, "end": { "line": 10, - "column": 35 + "column": 41 } } }, @@ -1710,16 +1710,16 @@ "binop": null, "updateContext": null }, - "start": 359, - "end": 360, + "start": 380, + "end": 381, "loc": { "start": { "line": 10, - "column": 35 + "column": 41 }, "end": { "line": 10, - "column": 36 + "column": 42 } } }, @@ -1736,8 +1736,8 @@ "binop": null, "updateContext": null }, - "start": 361, - "end": 361, + "start": 382, + "end": 382, "loc": { "start": { "line": 11, diff --git a/docs/ast/source/utils/CompositeKeyWeakMap.js.json b/docs/ast/source/utils/CompositeKeyWeakMap.ts.json similarity index 79% rename from docs/ast/source/utils/CompositeKeyWeakMap.js.json rename to docs/ast/source/utils/CompositeKeyWeakMap.ts.json index 863d45e..2276e35 100644 --- a/docs/ast/source/utils/CompositeKeyWeakMap.js.json +++ b/docs/ast/source/utils/CompositeKeyWeakMap.ts.json @@ -1,148 +1,44 @@ { "type": "File", "start": 0, - "end": 973, + "end": 1384, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 40, + "line": 74, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 973, + "end": 1384, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 40, + "line": 74, "column": 0 } }, "sourceType": "module", "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 20 - }, - "identifierName": "isUndefined" - }, - "name": "isUndefined" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 20 - }, - "identifierName": "isUndefined" - }, - "name": "isUndefined" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 28, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * A map for weakly holding nested references.\n * @private\n * @export\n * @class CompositeKeyWeakMap\n * @template T\n ", - "start": 38, - "end": 160, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 8, - "column": 3 - } - } - } - ] - }, { "type": "ExportNamedDeclaration", - "start": 161, - "end": 972, + "start": 85, + "end": 1383, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 39, + "line": 73, "column": 1 } }, @@ -150,29 +46,29 @@ "source": null, "declaration": { "type": "ClassDeclaration", - "start": 168, - "end": 972, + "start": 92, + "end": 1383, "loc": { "start": { - "line": 9, + "line": 7, "column": 7 }, "end": { - "line": 39, + "line": 73, "column": 1 } }, "id": { "type": "Identifier", - "start": 174, - "end": 193, + "start": 98, + "end": 117, "loc": { "start": { - "line": 9, + "line": 7, "column": 13 }, "end": { - "line": 9, + "line": 7, "column": 32 }, "identifierName": "CompositeKeyWeakMap" @@ -183,52 +79,52 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 194, - "end": 972, + "start": 118, + "end": 1383, "loc": { "start": { - "line": 9, + "line": 7, "column": 33 }, "end": { - "line": 39, + "line": 73, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 200, - "end": 260, + "start": 124, + "end": 273, "loc": { "start": { - "line": 10, + "line": 8, "column": 4 }, "end": { - "line": 12, + "line": 16, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 200, - "end": 211, + "start": 124, + "end": 135, "loc": { "start": { - "line": 10, + "line": 8, "column": 4 }, "end": { - "line": 10, + "line": 8, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, - "static": false, "kind": "constructor", "id": null, "generator": false, @@ -237,121 +133,123 @@ "params": [], "body": { "type": "BlockStatement", - "start": 214, - "end": 260, + "start": 138, + "end": 273, "loc": { "start": { - "line": 10, + "line": 8, "column": 18 }, "end": { - "line": 12, + "line": 16, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 224, - "end": 254, + "start": 237, + "end": 267, "loc": { "start": { - "line": 11, + "line": 15, "column": 8 }, "end": { - "line": 11, + "line": 15, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 224, - "end": 253, + "start": 237, + "end": 266, "loc": { "start": { - "line": 11, + "line": 15, "column": 8 }, "end": { - "line": 11, + "line": 15, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 224, - "end": 237, + "start": 237, + "end": 250, "loc": { "start": { - "line": 11, + "line": 15, "column": 8 }, "end": { - "line": 11, + "line": 15, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 224, - "end": 228, + "start": 237, + "end": 241, "loc": { "start": { - "line": 11, + "line": 15, "column": 8 }, "end": { - "line": 11, + "line": 15, "column": 12 } - } + }, + "leadingComments": null }, "property": { "type": "Identifier", - "start": 229, - "end": 237, + "start": 242, + "end": 250, "loc": { "start": { - "line": 11, + "line": 15, "column": 13 }, "end": { - "line": 11, + "line": 15, "column": 21 }, "identifierName": "_weakMap" }, "name": "_weakMap" }, - "computed": false + "computed": false, + "leadingComments": null }, "right": { "type": "NewExpression", - "start": 240, - "end": 253, + "start": 253, + "end": 266, "loc": { "start": { - "line": 11, + "line": 15, "column": 24 }, "end": { - "line": 11, + "line": 15, "column": 37 } }, "callee": { "type": "Identifier", - "start": 244, - "end": 251, + "start": 257, + "end": 264, "loc": { "start": { - "line": 11, + "line": 15, "column": 28 }, "end": { - "line": 11, + "line": 15, "column": 35 }, "identifierName": "WeakMap" @@ -359,46 +257,85 @@ "name": "WeakMap" }, "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 12\n ", + "start": 148, + "end": 228, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 14, + "column": 11 + } + } } - } + ] } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 14\n * @param\n * {undefined} keys\n * @param\n * {T} value\n ", + "start": 278, + "end": 407, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 26, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 265, - "end": 645, + "start": 412, + "end": 792, "loc": { "start": { - "line": 13, + "line": 27, "column": 4 }, "end": { - "line": 25, + "line": 39, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 265, - "end": 268, + "start": 412, + "end": 415, "loc": { "start": { - "line": 13, + "line": 27, "column": 4 }, "end": { - "line": 13, + "line": 27, "column": 7 }, "identifierName": "set" }, - "name": "set" + "name": "set", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -407,15 +344,15 @@ "params": [ { "type": "Identifier", - "start": 269, - "end": 273, + "start": 416, + "end": 420, "loc": { "start": { - "line": 13, + "line": 27, "column": 8 }, "end": { - "line": 13, + "line": 27, "column": 12 }, "identifierName": "keys" @@ -424,15 +361,15 @@ }, { "type": "Identifier", - "start": 275, - "end": 280, + "start": 422, + "end": 427, "loc": { "start": { - "line": 13, + "line": 27, "column": 14 }, "end": { - "line": 13, + "line": 27, "column": 19 }, "identifierName": "value" @@ -442,59 +379,59 @@ ], "body": { "type": "BlockStatement", - "start": 282, - "end": 645, + "start": 429, + "end": 792, "loc": { "start": { - "line": 13, + "line": 27, "column": 21 }, "end": { - "line": 25, + "line": 39, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 292, - "end": 316, + "start": 439, + "end": 463, "loc": { "start": { - "line": 14, + "line": 28, "column": 8 }, "end": { - "line": 14, + "line": 28, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 296, - "end": 315, + "start": 443, + "end": 462, "loc": { "start": { - "line": 14, + "line": 28, "column": 12 }, "end": { - "line": 14, + "line": 28, "column": 31 } }, "id": { "type": "Identifier", - "start": 296, - "end": 299, + "start": 443, + "end": 446, "loc": { "start": { - "line": 14, + "line": 28, "column": 12 }, "end": { - "line": 14, + "line": 28, "column": 15 }, "identifierName": "map" @@ -503,44 +440,44 @@ }, "init": { "type": "MemberExpression", - "start": 302, - "end": 315, + "start": 449, + "end": 462, "loc": { "start": { - "line": 14, + "line": 28, "column": 18 }, "end": { - "line": 14, + "line": 28, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 302, - "end": 306, + "start": 449, + "end": 453, "loc": { "start": { - "line": 14, + "line": 28, "column": 18 }, "end": { - "line": 14, + "line": 28, "column": 22 } } }, "property": { "type": "Identifier", - "start": 307, - "end": 315, + "start": 454, + "end": 462, "loc": { "start": { - "line": 14, + "line": 28, "column": 23 }, "end": { - "line": 14, + "line": 28, "column": 31 }, "identifierName": "_weakMap" @@ -555,58 +492,58 @@ }, { "type": "ForStatement", - "start": 325, - "end": 592, + "start": 472, + "end": 739, "loc": { "start": { - "line": 15, + "line": 29, "column": 8 }, "end": { - "line": 23, + "line": 37, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 330, - "end": 362, + "start": 477, + "end": 509, "loc": { "start": { - "line": 15, + "line": 29, "column": 13 }, "end": { - "line": 15, + "line": 29, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 334, - "end": 339, + "start": 481, + "end": 486, "loc": { "start": { - "line": 15, + "line": 29, "column": 17 }, "end": { - "line": 15, + "line": 29, "column": 22 } }, "id": { "type": "Identifier", - "start": 334, - "end": 335, + "start": 481, + "end": 482, "loc": { "start": { - "line": 15, + "line": 29, "column": 17 }, "end": { - "line": 15, + "line": 29, "column": 18 }, "identifierName": "i" @@ -615,15 +552,15 @@ }, "init": { "type": "NumericLiteral", - "start": 338, - "end": 339, + "start": 485, + "end": 486, "loc": { "start": { - "line": 15, + "line": 29, "column": 21 }, "end": { - "line": 15, + "line": 29, "column": 22 } }, @@ -636,29 +573,29 @@ }, { "type": "VariableDeclarator", - "start": 341, - "end": 362, + "start": 488, + "end": 509, "loc": { "start": { - "line": 15, + "line": 29, "column": 24 }, "end": { - "line": 15, + "line": 29, "column": 45 } }, "id": { "type": "Identifier", - "start": 341, - "end": 344, + "start": 488, + "end": 491, "loc": { "start": { - "line": 15, + "line": 29, "column": 24 }, "end": { - "line": 15, + "line": 29, "column": 27 }, "identifierName": "len" @@ -667,43 +604,43 @@ }, "init": { "type": "BinaryExpression", - "start": 347, - "end": 362, + "start": 494, + "end": 509, "loc": { "start": { - "line": 15, + "line": 29, "column": 30 }, "end": { - "line": 15, + "line": 29, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 347, - "end": 358, + "start": 494, + "end": 505, "loc": { "start": { - "line": 15, + "line": 29, "column": 30 }, "end": { - "line": 15, + "line": 29, "column": 41 } }, "object": { "type": "Identifier", - "start": 347, - "end": 351, + "start": 494, + "end": 498, "loc": { "start": { - "line": 15, + "line": 29, "column": 30 }, "end": { - "line": 15, + "line": 29, "column": 34 }, "identifierName": "keys" @@ -712,15 +649,15 @@ }, "property": { "type": "Identifier", - "start": 352, - "end": 358, + "start": 499, + "end": 505, "loc": { "start": { - "line": 15, + "line": 29, "column": 35 }, "end": { - "line": 15, + "line": 29, "column": 41 }, "identifierName": "length" @@ -732,15 +669,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 361, - "end": 362, + "start": 508, + "end": 509, "loc": { "start": { - "line": 15, + "line": 29, "column": 44 }, "end": { - "line": 15, + "line": 29, "column": 45 } }, @@ -757,29 +694,29 @@ }, "test": { "type": "BinaryExpression", - "start": 364, - "end": 371, + "start": 511, + "end": 518, "loc": { "start": { - "line": 15, + "line": 29, "column": 47 }, "end": { - "line": 15, + "line": 29, "column": 54 } }, "left": { "type": "Identifier", - "start": 364, - "end": 365, + "start": 511, + "end": 512, "loc": { "start": { - "line": 15, + "line": 29, "column": 47 }, "end": { - "line": 15, + "line": 29, "column": 48 }, "identifierName": "i" @@ -789,15 +726,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 368, - "end": 371, + "start": 515, + "end": 518, "loc": { "start": { - "line": 15, + "line": 29, "column": 51 }, "end": { - "line": 15, + "line": 29, "column": 54 }, "identifierName": "len" @@ -807,15 +744,15 @@ }, "update": { "type": "UpdateExpression", - "start": 373, - "end": 376, + "start": 520, + "end": 523, "loc": { "start": { - "line": 15, + "line": 29, "column": 56 }, "end": { - "line": 15, + "line": 29, "column": 59 } }, @@ -823,15 +760,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 373, - "end": 374, + "start": 520, + "end": 521, "loc": { "start": { - "line": 15, + "line": 29, "column": 56 }, "end": { - "line": 15, + "line": 29, "column": 57 }, "identifierName": "i" @@ -841,59 +778,59 @@ }, "body": { "type": "BlockStatement", - "start": 378, - "end": 592, + "start": 525, + "end": 739, "loc": { "start": { - "line": 15, + "line": 29, "column": 61 }, "end": { - "line": 23, + "line": 37, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 392, - "end": 412, + "start": 539, + "end": 559, "loc": { "start": { - "line": 16, + "line": 30, "column": 12 }, "end": { - "line": 16, + "line": 30, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 398, - "end": 411, + "start": 545, + "end": 558, "loc": { "start": { - "line": 16, + "line": 30, "column": 18 }, "end": { - "line": 16, + "line": 30, "column": 31 } }, "id": { "type": "Identifier", - "start": 398, - "end": 401, + "start": 545, + "end": 548, "loc": { "start": { - "line": 16, + "line": 30, "column": 18 }, "end": { - "line": 16, + "line": 30, "column": 21 }, "identifierName": "key" @@ -902,29 +839,29 @@ }, "init": { "type": "MemberExpression", - "start": 404, - "end": 411, + "start": 551, + "end": 558, "loc": { "start": { - "line": 16, + "line": 30, "column": 24 }, "end": { - "line": 16, + "line": 30, "column": 31 } }, "object": { "type": "Identifier", - "start": 404, - "end": 408, + "start": 551, + "end": 555, "loc": { "start": { - "line": 16, + "line": 30, "column": 24 }, "end": { - "line": 16, + "line": 30, "column": 28 }, "identifierName": "keys" @@ -933,15 +870,15 @@ }, "property": { "type": "Identifier", - "start": 409, - "end": 410, + "start": 556, + "end": 557, "loc": { "start": { - "line": 16, + "line": 30, "column": 29 }, "end": { - "line": 16, + "line": 30, "column": 30 }, "identifierName": "i" @@ -956,44 +893,44 @@ }, { "type": "VariableDeclaration", - "start": 425, - "end": 449, + "start": 572, + "end": 596, "loc": { "start": { - "line": 17, + "line": 31, "column": 12 }, "end": { - "line": 17, + "line": 31, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 429, - "end": 448, + "start": 576, + "end": 595, "loc": { "start": { - "line": 17, + "line": 31, "column": 16 }, "end": { - "line": 17, + "line": 31, "column": 35 } }, "id": { "type": "Identifier", - "start": 429, - "end": 433, + "start": 576, + "end": 580, "loc": { "start": { - "line": 17, + "line": 31, "column": 16 }, "end": { - "line": 17, + "line": 31, "column": 20 }, "identifierName": "next" @@ -1002,43 +939,43 @@ }, "init": { "type": "CallExpression", - "start": 436, - "end": 448, + "start": 583, + "end": 595, "loc": { "start": { - "line": 17, + "line": 31, "column": 23 }, "end": { - "line": 17, + "line": 31, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 436, - "end": 443, + "start": 583, + "end": 590, "loc": { "start": { - "line": 17, + "line": 31, "column": 23 }, "end": { - "line": 17, + "line": 31, "column": 30 } }, "object": { "type": "Identifier", - "start": 436, - "end": 439, + "start": 583, + "end": 586, "loc": { "start": { - "line": 17, + "line": 31, "column": 23 }, "end": { - "line": 17, + "line": 31, "column": 26 }, "identifierName": "map" @@ -1047,15 +984,15 @@ }, "property": { "type": "Identifier", - "start": 440, - "end": 443, + "start": 587, + "end": 590, "loc": { "start": { - "line": 17, + "line": 31, "column": 27 }, "end": { - "line": 17, + "line": 31, "column": 30 }, "identifierName": "get" @@ -1067,15 +1004,15 @@ "arguments": [ { "type": "Identifier", - "start": 444, - "end": 447, + "start": 591, + "end": 594, "loc": { "start": { - "line": 17, + "line": 31, "column": 31 }, "end": { - "line": 17, + "line": 31, "column": 34 }, "identifierName": "key" @@ -1090,29 +1027,29 @@ }, { "type": "IfStatement", - "start": 462, - "end": 558, + "start": 609, + "end": 705, "loc": { "start": { - "line": 18, + "line": 32, "column": 12 }, "end": { - "line": 21, + "line": 35, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 466, - "end": 471, + "start": 613, + "end": 618, "loc": { "start": { - "line": 18, + "line": 32, "column": 16 }, "end": { - "line": 18, + "line": 32, "column": 21 } }, @@ -1120,15 +1057,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 467, - "end": 471, + "start": 614, + "end": 618, "loc": { "start": { - "line": 18, + "line": 32, "column": 17 }, "end": { - "line": 18, + "line": 32, "column": 21 }, "identifierName": "next" @@ -1141,59 +1078,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 473, - "end": 558, + "start": 620, + "end": 705, "loc": { "start": { - "line": 18, + "line": 32, "column": 23 }, "end": { - "line": 21, + "line": 35, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 491, - "end": 508, + "start": 638, + "end": 655, "loc": { "start": { - "line": 19, + "line": 33, "column": 16 }, "end": { - "line": 19, + "line": 33, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 491, - "end": 507, + "start": 638, + "end": 654, "loc": { "start": { - "line": 19, + "line": 33, "column": 16 }, "end": { - "line": 19, + "line": 33, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", - "start": 491, - "end": 495, + "start": 638, + "end": 642, "loc": { "start": { - "line": 19, + "line": 33, "column": 16 }, "end": { - "line": 19, + "line": 33, "column": 20 }, "identifierName": "next" @@ -1202,29 +1139,29 @@ }, "right": { "type": "NewExpression", - "start": 498, - "end": 507, + "start": 645, + "end": 654, "loc": { "start": { - "line": 19, + "line": 33, "column": 23 }, "end": { - "line": 19, + "line": 33, "column": 32 } }, "callee": { "type": "Identifier", - "start": 502, - "end": 505, + "start": 649, + "end": 652, "loc": { "start": { - "line": 19, + "line": 33, "column": 27 }, "end": { - "line": 19, + "line": 33, "column": 30 }, "identifierName": "Map" @@ -1237,57 +1174,57 @@ }, { "type": "ExpressionStatement", - "start": 525, - "end": 544, + "start": 672, + "end": 691, "loc": { "start": { - "line": 20, + "line": 34, "column": 16 }, "end": { - "line": 20, + "line": 34, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 525, - "end": 543, + "start": 672, + "end": 690, "loc": { "start": { - "line": 20, + "line": 34, "column": 16 }, "end": { - "line": 20, + "line": 34, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 525, - "end": 532, + "start": 672, + "end": 679, "loc": { "start": { - "line": 20, + "line": 34, "column": 16 }, "end": { - "line": 20, + "line": 34, "column": 23 } }, "object": { "type": "Identifier", - "start": 525, - "end": 528, + "start": 672, + "end": 675, "loc": { "start": { - "line": 20, + "line": 34, "column": 16 }, "end": { - "line": 20, + "line": 34, "column": 19 }, "identifierName": "map" @@ -1296,15 +1233,15 @@ }, "property": { "type": "Identifier", - "start": 529, - "end": 532, + "start": 676, + "end": 679, "loc": { "start": { - "line": 20, + "line": 34, "column": 20 }, "end": { - "line": 20, + "line": 34, "column": 23 }, "identifierName": "set" @@ -1316,15 +1253,15 @@ "arguments": [ { "type": "Identifier", - "start": 533, - "end": 536, + "start": 680, + "end": 683, "loc": { "start": { - "line": 20, + "line": 34, "column": 24 }, "end": { - "line": 20, + "line": 34, "column": 27 }, "identifierName": "key" @@ -1333,15 +1270,15 @@ }, { "type": "Identifier", - "start": 538, - "end": 542, + "start": 685, + "end": 689, "loc": { "start": { - "line": 20, + "line": 34, "column": 29 }, "end": { - "line": 20, + "line": 34, "column": 33 }, "identifierName": "next" @@ -1358,44 +1295,44 @@ }, { "type": "ExpressionStatement", - "start": 571, - "end": 582, + "start": 718, + "end": 729, "loc": { "start": { - "line": 22, + "line": 36, "column": 12 }, "end": { - "line": 22, + "line": 36, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 571, - "end": 581, + "start": 718, + "end": 728, "loc": { "start": { - "line": 22, + "line": 36, "column": 12 }, "end": { - "line": 22, + "line": 36, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 571, - "end": 574, + "start": 718, + "end": 721, "loc": { "start": { - "line": 22, + "line": 36, "column": 12 }, "end": { - "line": 22, + "line": 36, "column": 15 }, "identifierName": "map" @@ -1404,15 +1341,15 @@ }, "right": { "type": "Identifier", - "start": 577, - "end": 581, + "start": 724, + "end": 728, "loc": { "start": { - "line": 22, + "line": 36, "column": 18 }, "end": { - "line": 22, + "line": 36, "column": 22 }, "identifierName": "next" @@ -1427,57 +1364,57 @@ }, { "type": "ExpressionStatement", - "start": 601, - "end": 639, + "start": 748, + "end": 786, "loc": { "start": { - "line": 24, + "line": 38, "column": 8 }, "end": { - "line": 24, + "line": 38, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 601, - "end": 638, + "start": 748, + "end": 785, "loc": { "start": { - "line": 24, + "line": 38, "column": 8 }, "end": { - "line": 24, + "line": 38, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 601, - "end": 608, + "start": 748, + "end": 755, "loc": { "start": { - "line": 24, + "line": 38, "column": 8 }, "end": { - "line": 24, + "line": 38, "column": 15 } }, "object": { "type": "Identifier", - "start": 601, - "end": 604, + "start": 748, + "end": 751, "loc": { "start": { - "line": 24, + "line": 38, "column": 8 }, "end": { - "line": 24, + "line": 38, "column": 11 }, "identifierName": "map" @@ -1486,15 +1423,15 @@ }, "property": { "type": "Identifier", - "start": 605, - "end": 608, + "start": 752, + "end": 755, "loc": { "start": { - "line": 24, + "line": 38, "column": 12 }, "end": { - "line": 24, + "line": 38, "column": 15 }, "identifierName": "set" @@ -1506,29 +1443,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 609, - "end": 630, + "start": 756, + "end": 777, "loc": { "start": { - "line": 24, + "line": 38, "column": 16 }, "end": { - "line": 24, + "line": 38, "column": 37 } }, "object": { "type": "Identifier", - "start": 609, - "end": 613, + "start": 756, + "end": 760, "loc": { "start": { - "line": 24, + "line": 38, "column": 16 }, "end": { - "line": 24, + "line": 38, "column": 20 }, "identifierName": "keys" @@ -1537,43 +1474,43 @@ }, "property": { "type": "BinaryExpression", - "start": 614, - "end": 629, + "start": 761, + "end": 776, "loc": { "start": { - "line": 24, + "line": 38, "column": 21 }, "end": { - "line": 24, + "line": 38, "column": 36 } }, "left": { "type": "MemberExpression", - "start": 614, - "end": 625, + "start": 761, + "end": 772, "loc": { "start": { - "line": 24, + "line": 38, "column": 21 }, "end": { - "line": 24, + "line": 38, "column": 32 } }, "object": { "type": "Identifier", - "start": 614, - "end": 618, + "start": 761, + "end": 765, "loc": { "start": { - "line": 24, + "line": 38, "column": 21 }, "end": { - "line": 24, + "line": 38, "column": 25 }, "identifierName": "keys" @@ -1582,15 +1519,15 @@ }, "property": { "type": "Identifier", - "start": 619, - "end": 625, + "start": 766, + "end": 772, "loc": { "start": { - "line": 24, + "line": 38, "column": 26 }, "end": { - "line": 24, + "line": 38, "column": 32 }, "identifierName": "length" @@ -1602,15 +1539,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 628, - "end": 629, + "start": 775, + "end": 776, "loc": { "start": { - "line": 24, + "line": 38, "column": 35 }, "end": { - "line": 24, + "line": 38, "column": 36 } }, @@ -1625,15 +1562,15 @@ }, { "type": "Identifier", - "start": 632, - "end": 637, + "start": 779, + "end": 784, "loc": { "start": { - "line": 24, + "line": 38, "column": 39 }, "end": { - "line": 24, + "line": 38, "column": 44 }, "identifierName": "value" @@ -1644,42 +1581,80 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 14\n * @param\n * {undefined} keys\n * @param\n * {T} value\n ", + "start": 278, + "end": 407, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 26, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 32\n * @param\n * {undefined} keys\n * @return\n * {T}\n ", + "start": 797, + "end": 921, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 49, + "column": 7 + } + } + } + ] }, { "type": "ClassMethod", - "start": 650, - "end": 903, + "start": 926, + "end": 1179, "loc": { "start": { - "line": 26, + "line": 50, "column": 4 }, "end": { - "line": 35, + "line": 59, "column": 5 } }, + "static": false, "computed": false, "key": { "type": "Identifier", - "start": 650, - "end": 653, + "start": 926, + "end": 929, "loc": { "start": { - "line": 26, + "line": 50, "column": 4 }, "end": { - "line": 26, + "line": 50, "column": 7 }, "identifierName": "get" }, - "name": "get" + "name": "get", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -1688,15 +1663,15 @@ "params": [ { "type": "Identifier", - "start": 654, - "end": 658, + "start": 930, + "end": 934, "loc": { "start": { - "line": 26, + "line": 50, "column": 8 }, "end": { - "line": 26, + "line": 50, "column": 12 }, "identifierName": "keys" @@ -1706,59 +1681,59 @@ ], "body": { "type": "BlockStatement", - "start": 660, - "end": 903, + "start": 936, + "end": 1179, "loc": { "start": { - "line": 26, + "line": 50, "column": 14 }, "end": { - "line": 35, + "line": 59, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 670, - "end": 695, + "start": 946, + "end": 971, "loc": { "start": { - "line": 27, + "line": 51, "column": 8 }, "end": { - "line": 27, + "line": 51, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 674, - "end": 694, + "start": 950, + "end": 970, "loc": { "start": { - "line": 27, + "line": 51, "column": 12 }, "end": { - "line": 27, + "line": 51, "column": 32 } }, "id": { "type": "Identifier", - "start": 674, - "end": 678, + "start": 950, + "end": 954, "loc": { "start": { - "line": 27, + "line": 51, "column": 12 }, "end": { - "line": 27, + "line": 51, "column": 16 }, "identifierName": "next" @@ -1767,44 +1742,44 @@ }, "init": { "type": "MemberExpression", - "start": 681, - "end": 694, + "start": 957, + "end": 970, "loc": { "start": { - "line": 27, + "line": 51, "column": 19 }, "end": { - "line": 27, + "line": 51, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 681, - "end": 685, + "start": 957, + "end": 961, "loc": { "start": { - "line": 27, + "line": 51, "column": 19 }, "end": { - "line": 27, + "line": 51, "column": 23 } } }, "property": { "type": "Identifier", - "start": 686, - "end": 694, + "start": 962, + "end": 970, "loc": { "start": { - "line": 27, + "line": 51, "column": 24 }, "end": { - "line": 27, + "line": 51, "column": 32 }, "identifierName": "_weakMap" @@ -1819,58 +1794,58 @@ }, { "type": "ForStatement", - "start": 704, - "end": 876, + "start": 980, + "end": 1152, "loc": { "start": { - "line": 28, + "line": 52, "column": 8 }, "end": { - "line": 33, + "line": 57, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 709, - "end": 737, + "start": 985, + "end": 1013, "loc": { "start": { - "line": 28, + "line": 52, "column": 13 }, "end": { - "line": 28, + "line": 52, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 713, - "end": 718, + "start": 989, + "end": 994, "loc": { "start": { - "line": 28, + "line": 52, "column": 17 }, "end": { - "line": 28, + "line": 52, "column": 22 } }, "id": { "type": "Identifier", - "start": 713, - "end": 714, + "start": 989, + "end": 990, "loc": { "start": { - "line": 28, + "line": 52, "column": 17 }, "end": { - "line": 28, + "line": 52, "column": 18 }, "identifierName": "i" @@ -1879,15 +1854,15 @@ }, "init": { "type": "NumericLiteral", - "start": 717, - "end": 718, + "start": 993, + "end": 994, "loc": { "start": { - "line": 28, + "line": 52, "column": 21 }, "end": { - "line": 28, + "line": 52, "column": 22 } }, @@ -1900,29 +1875,29 @@ }, { "type": "VariableDeclarator", - "start": 720, - "end": 737, + "start": 996, + "end": 1013, "loc": { "start": { - "line": 28, + "line": 52, "column": 24 }, "end": { - "line": 28, + "line": 52, "column": 41 } }, "id": { "type": "Identifier", - "start": 720, - "end": 723, + "start": 996, + "end": 999, "loc": { "start": { - "line": 28, + "line": 52, "column": 24 }, "end": { - "line": 28, + "line": 52, "column": 27 }, "identifierName": "len" @@ -1931,29 +1906,29 @@ }, "init": { "type": "MemberExpression", - "start": 726, - "end": 737, + "start": 1002, + "end": 1013, "loc": { "start": { - "line": 28, + "line": 52, "column": 30 }, "end": { - "line": 28, + "line": 52, "column": 41 } }, "object": { "type": "Identifier", - "start": 726, - "end": 730, + "start": 1002, + "end": 1006, "loc": { "start": { - "line": 28, + "line": 52, "column": 30 }, "end": { - "line": 28, + "line": 52, "column": 34 }, "identifierName": "keys" @@ -1962,15 +1937,15 @@ }, "property": { "type": "Identifier", - "start": 731, - "end": 737, + "start": 1007, + "end": 1013, "loc": { "start": { - "line": 28, + "line": 52, "column": 35 }, "end": { - "line": 28, + "line": 52, "column": 41 }, "identifierName": "length" @@ -1985,29 +1960,29 @@ }, "test": { "type": "BinaryExpression", - "start": 739, - "end": 746, + "start": 1015, + "end": 1022, "loc": { "start": { - "line": 28, + "line": 52, "column": 43 }, "end": { - "line": 28, + "line": 52, "column": 50 } }, "left": { "type": "Identifier", - "start": 739, - "end": 740, + "start": 1015, + "end": 1016, "loc": { "start": { - "line": 28, + "line": 52, "column": 43 }, "end": { - "line": 28, + "line": 52, "column": 44 }, "identifierName": "i" @@ -2017,15 +1992,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 743, - "end": 746, + "start": 1019, + "end": 1022, "loc": { "start": { - "line": 28, + "line": 52, "column": 47 }, "end": { - "line": 28, + "line": 52, "column": 50 }, "identifierName": "len" @@ -2035,15 +2010,15 @@ }, "update": { "type": "UpdateExpression", - "start": 748, - "end": 751, + "start": 1024, + "end": 1027, "loc": { "start": { - "line": 28, + "line": 52, "column": 52 }, "end": { - "line": 28, + "line": 52, "column": 55 } }, @@ -2051,15 +2026,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 748, - "end": 749, + "start": 1024, + "end": 1025, "loc": { "start": { - "line": 28, + "line": 52, "column": 52 }, "end": { - "line": 28, + "line": 52, "column": 53 }, "identifierName": "i" @@ -2069,59 +2044,59 @@ }, "body": { "type": "BlockStatement", - "start": 753, - "end": 876, + "start": 1029, + "end": 1152, "loc": { "start": { - "line": 28, + "line": 52, "column": 57 }, "end": { - "line": 33, + "line": 57, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 767, - "end": 792, + "start": 1043, + "end": 1068, "loc": { "start": { - "line": 29, + "line": 53, "column": 12 }, "end": { - "line": 29, + "line": 53, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 767, - "end": 791, + "start": 1043, + "end": 1067, "loc": { "start": { - "line": 29, + "line": 53, "column": 12 }, "end": { - "line": 29, + "line": 53, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 767, - "end": 771, + "start": 1043, + "end": 1047, "loc": { "start": { - "line": 29, + "line": 53, "column": 12 }, "end": { - "line": 29, + "line": 53, "column": 16 }, "identifierName": "next" @@ -2130,43 +2105,43 @@ }, "right": { "type": "CallExpression", - "start": 774, - "end": 791, + "start": 1050, + "end": 1067, "loc": { "start": { - "line": 29, + "line": 53, "column": 19 }, "end": { - "line": 29, + "line": 53, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 774, - "end": 782, + "start": 1050, + "end": 1058, "loc": { "start": { - "line": 29, + "line": 53, "column": 19 }, "end": { - "line": 29, + "line": 53, "column": 27 } }, "object": { "type": "Identifier", - "start": 774, - "end": 778, + "start": 1050, + "end": 1054, "loc": { "start": { - "line": 29, + "line": 53, "column": 19 }, "end": { - "line": 29, + "line": 53, "column": 23 }, "identifierName": "next" @@ -2175,15 +2150,15 @@ }, "property": { "type": "Identifier", - "start": 779, - "end": 782, + "start": 1055, + "end": 1058, "loc": { "start": { - "line": 29, + "line": 53, "column": 24 }, "end": { - "line": 29, + "line": 53, "column": 27 }, "identifierName": "get" @@ -2195,29 +2170,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 783, - "end": 790, + "start": 1059, + "end": 1066, "loc": { "start": { - "line": 29, + "line": 53, "column": 28 }, "end": { - "line": 29, + "line": 53, "column": 35 } }, "object": { "type": "Identifier", - "start": 783, - "end": 787, + "start": 1059, + "end": 1063, "loc": { "start": { - "line": 29, + "line": 53, "column": 28 }, "end": { - "line": 29, + "line": 53, "column": 32 }, "identifierName": "keys" @@ -2226,15 +2201,15 @@ }, "property": { "type": "Identifier", - "start": 788, - "end": 789, + "start": 1064, + "end": 1065, "loc": { "start": { - "line": 29, + "line": 53, "column": 33 }, "end": { - "line": 29, + "line": 53, "column": 34 }, "identifierName": "i" @@ -2249,43 +2224,43 @@ }, { "type": "IfStatement", - "start": 805, - "end": 866, + "start": 1081, + "end": 1142, "loc": { "start": { - "line": 30, + "line": 54, "column": 12 }, "end": { - "line": 32, + "line": 56, "column": 13 } }, "test": { "type": "CallExpression", - "start": 809, - "end": 826, + "start": 1085, + "end": 1102, "loc": { "start": { - "line": 30, + "line": 54, "column": 16 }, "end": { - "line": 30, + "line": 54, "column": 33 } }, "callee": { "type": "Identifier", - "start": 809, - "end": 820, + "start": 1085, + "end": 1096, "loc": { "start": { - "line": 30, + "line": 54, "column": 16 }, "end": { - "line": 30, + "line": 54, "column": 27 }, "identifierName": "isUndefined" @@ -2295,15 +2270,15 @@ "arguments": [ { "type": "Identifier", - "start": 821, - "end": 825, + "start": 1097, + "end": 1101, "loc": { "start": { - "line": 30, + "line": 54, "column": 28 }, "end": { - "line": 30, + "line": 54, "column": 32 }, "identifierName": "next" @@ -2314,30 +2289,30 @@ }, "consequent": { "type": "BlockStatement", - "start": 828, - "end": 866, + "start": 1104, + "end": 1142, "loc": { "start": { - "line": 30, + "line": 54, "column": 35 }, "end": { - "line": 32, + "line": 56, "column": 13 } }, "body": [ { "type": "BreakStatement", - "start": 846, - "end": 852, + "start": 1122, + "end": 1128, "loc": { "start": { - "line": 31, + "line": 55, "column": 16 }, "end": { - "line": 31, + "line": 55, "column": 22 } }, @@ -2354,29 +2329,29 @@ }, { "type": "ReturnStatement", - "start": 885, - "end": 897, + "start": 1161, + "end": 1173, "loc": { "start": { - "line": 34, + "line": 58, "column": 8 }, "end": { - "line": 34, + "line": 58, "column": 20 } }, "argument": { "type": "Identifier", - "start": 892, - "end": 896, + "start": 1168, + "end": 1172, "loc": { "start": { - "line": 34, + "line": 58, "column": 15 }, "end": { - "line": 34, + "line": 58, "column": 19 }, "identifierName": "next" @@ -2385,42 +2360,80 @@ } } ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 908, - "end": 970, - "loc": { - "start": { - "line": 36, - "column": 4 - }, - "end": { - "line": 38, - "column": 5 - } + "directives": [], + "trailingComments": null }, - "computed": false, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 32\n * @param\n * {undefined} keys\n * @return\n * {T}\n ", + "start": 797, + "end": 921, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 49, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 46\n * @param\n * {undefined} keys\n * @return\n * {boolean}\n ", + "start": 1184, + "end": 1314, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 69, + "column": 7 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1319, + "end": 1381, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 72, + "column": 5 + } + }, + "static": false, + "computed": false, "key": { "type": "Identifier", - "start": 908, - "end": 911, + "start": 1319, + "end": 1322, "loc": { "start": { - "line": 36, + "line": 70, "column": 4 }, "end": { - "line": 36, + "line": 70, "column": 7 }, "identifierName": "has" }, - "name": "has" + "name": "has", + "leadingComments": null }, - "static": false, "kind": "method", "id": null, "generator": false, @@ -2429,15 +2442,15 @@ "params": [ { "type": "Identifier", - "start": 912, - "end": 916, + "start": 1323, + "end": 1327, "loc": { "start": { - "line": 36, + "line": 70, "column": 8 }, "end": { - "line": 36, + "line": 70, "column": 12 }, "identifierName": "keys" @@ -2447,44 +2460,44 @@ ], "body": { "type": "BlockStatement", - "start": 918, - "end": 970, + "start": 1329, + "end": 1381, "loc": { "start": { - "line": 36, + "line": 70, "column": 14 }, "end": { - "line": 38, + "line": 72, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 928, - "end": 964, + "start": 1339, + "end": 1375, "loc": { "start": { - "line": 37, + "line": 71, "column": 8 }, "end": { - "line": 37, + "line": 71, "column": 44 } }, "argument": { "type": "UnaryExpression", - "start": 935, - "end": 963, + "start": 1346, + "end": 1374, "loc": { "start": { - "line": 37, + "line": 71, "column": 15 }, "end": { - "line": 37, + "line": 71, "column": 43 } }, @@ -2492,29 +2505,29 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 936, - "end": 963, + "start": 1347, + "end": 1374, "loc": { "start": { - "line": 37, + "line": 71, "column": 16 }, "end": { - "line": 37, + "line": 71, "column": 43 } }, "callee": { "type": "Identifier", - "start": 936, - "end": 947, + "start": 1347, + "end": 1358, "loc": { "start": { - "line": 37, + "line": 71, "column": 16 }, "end": { - "line": 37, + "line": 71, "column": 27 }, "identifierName": "isUndefined" @@ -2524,58 +2537,58 @@ "arguments": [ { "type": "CallExpression", - "start": 948, - "end": 962, + "start": 1359, + "end": 1373, "loc": { "start": { - "line": 37, + "line": 71, "column": 28 }, "end": { - "line": 37, + "line": 71, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 948, - "end": 956, + "start": 1359, + "end": 1367, "loc": { "start": { - "line": 37, + "line": 71, "column": 28 }, "end": { - "line": 37, + "line": 71, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 948, - "end": 952, + "start": 1359, + "end": 1363, "loc": { "start": { - "line": 37, + "line": 71, "column": 28 }, "end": { - "line": 37, + "line": 71, "column": 32 } } }, "property": { "type": "Identifier", - "start": 953, - "end": 956, + "start": 1364, + "end": 1367, "loc": { "start": { - "line": 37, + "line": 71, "column": 33 }, "end": { - "line": 37, + "line": 71, "column": 36 }, "identifierName": "get" @@ -2587,15 +2600,15 @@ "arguments": [ { "type": "Identifier", - "start": 957, - "end": 961, + "start": 1368, + "end": 1372, "loc": { "start": { - "line": 37, + "line": 71, "column": 37 }, "end": { - "line": 37, + "line": 71, "column": 41 }, "identifierName": "keys" @@ -2613,23 +2626,41 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 46\n * @param\n * {undefined} keys\n * @return\n * {boolean}\n ", + "start": 1184, + "end": 1314, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 69, + "column": 7 + } + } + } + ] } ] }, "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * A map for weakly holding nested references.\n * @private\n * @export\n * @class CompositeKeyWeakMap\n * @template T\n ", - "start": 38, - "end": 160, + "value": "*\n * @desc\n * A map for weakly holding nested references.\n * @lineNumber\n * 11\n ", + "start": 0, + "end": 84, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 6, "column": 3 } } @@ -2640,16 +2671,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * A map for weakly holding nested references.\n * @private\n * @export\n * @class CompositeKeyWeakMap\n * @template T\n ", - "start": 38, - "end": 160, + "value": "*\n * @desc\n * A map for weakly holding nested references.\n * @lineNumber\n * 11\n ", + "start": 0, + "end": 84, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 6, "column": 3 } } @@ -2662,217 +2693,98 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * A map for weakly holding nested references.\n * @private\n * @export\n * @class CompositeKeyWeakMap\n * @template T\n ", - "start": 38, - "end": 160, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 8, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", + "value": "*\n * @desc\n * A map for weakly holding nested references.\n * @lineNumber\n * 11\n ", "start": 0, - "end": 6, + "end": 84, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 1, - "column": 6 + "line": 6, + "column": 3 } } }, { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 12\n ", + "start": 148, + "end": 228, "loc": { "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, + "line": 9, "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isUndefined", - "start": 9, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 21 }, "end": { - "line": 1, - "column": 22 + "line": 14, + "column": 11 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 23, - "end": 27, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 14\n * @param\n * {undefined} keys\n * @param\n * {T} value\n ", + "start": 278, + "end": 407, "loc": { "start": { - "line": 1, - "column": 23 + "line": 17, + "column": 4 }, "end": { - "line": 1, - "column": 27 + "line": 26, + "column": 7 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 28, - "end": 36, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 32\n * @param\n * {undefined} keys\n * @return\n * {T}\n ", + "start": 797, + "end": 921, "loc": { "start": { - "line": 1, - "column": 28 + "line": 40, + "column": 4 }, "end": { - "line": 1, - "column": 36 + "line": 49, + "column": 7 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 36, - "end": 37, + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 46\n * @param\n * {undefined} keys\n * @return\n * {boolean}\n ", + "start": 1184, + "end": 1314, "loc": { "start": { - "line": 1, - "column": 36 + "line": 60, + "column": 4 }, "end": { - "line": 1, - "column": 37 + "line": 69, + "column": 7 } } - }, + } + ], + "tokens": [ { "type": "CommentBlock", - "value": "*\n * A map for weakly holding nested references.\n * @private\n * @export\n * @class CompositeKeyWeakMap\n * @template T\n ", - "start": 38, - "end": 160, + "value": "*\n * @desc\n * A map for weakly holding nested references.\n * @lineNumber\n * 11\n ", + "start": 0, + "end": 84, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 8, + "line": 6, "column": 3 } } @@ -2892,15 +2804,15 @@ "updateContext": null }, "value": "export", - "start": 161, - "end": 167, + "start": 85, + "end": 91, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 9, + "line": 7, "column": 6 } } @@ -2920,15 +2832,15 @@ "updateContext": null }, "value": "class", - "start": 168, - "end": 173, + "start": 92, + "end": 97, "loc": { "start": { - "line": 9, + "line": 7, "column": 7 }, "end": { - "line": 9, + "line": 7, "column": 12 } } @@ -2946,15 +2858,15 @@ "binop": null }, "value": "CompositeKeyWeakMap", - "start": 174, - "end": 193, + "start": 98, + "end": 117, "loc": { "start": { - "line": 9, + "line": 7, "column": 13 }, "end": { - "line": 9, + "line": 7, "column": 32 } } @@ -2971,15 +2883,15 @@ "postfix": false, "binop": null }, - "start": 194, - "end": 195, + "start": 118, + "end": 119, "loc": { "start": { - "line": 9, + "line": 7, "column": 33 }, "end": { - "line": 9, + "line": 7, "column": 34 } } @@ -2997,15 +2909,15 @@ "binop": null }, "value": "constructor", - "start": 200, - "end": 211, + "start": 124, + "end": 135, "loc": { "start": { - "line": 10, + "line": 8, "column": 4 }, "end": { - "line": 10, + "line": 8, "column": 15 } } @@ -3022,15 +2934,15 @@ "postfix": false, "binop": null }, - "start": 211, - "end": 212, + "start": 135, + "end": 136, "loc": { "start": { - "line": 10, + "line": 8, "column": 15 }, "end": { - "line": 10, + "line": 8, "column": 16 } } @@ -3047,15 +2959,15 @@ "postfix": false, "binop": null }, - "start": 212, - "end": 213, + "start": 136, + "end": 137, "loc": { "start": { - "line": 10, + "line": 8, "column": 16 }, "end": { - "line": 10, + "line": 8, "column": 17 } } @@ -3072,19 +2984,35 @@ "postfix": false, "binop": null }, - "start": 214, - "end": 215, + "start": 138, + "end": 139, "loc": { "start": { - "line": 10, + "line": 8, "column": 18 }, "end": { - "line": 10, + "line": 8, "column": 19 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 12\n ", + "start": 148, + "end": 228, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 14, + "column": 11 + } + } + }, { "type": { "label": "this", @@ -3100,15 +3028,15 @@ "updateContext": null }, "value": "this", - "start": 224, - "end": 228, + "start": 237, + "end": 241, "loc": { "start": { - "line": 11, + "line": 15, "column": 8 }, "end": { - "line": 11, + "line": 15, "column": 12 } } @@ -3126,15 +3054,15 @@ "binop": null, "updateContext": null }, - "start": 228, - "end": 229, + "start": 241, + "end": 242, "loc": { "start": { - "line": 11, + "line": 15, "column": 12 }, "end": { - "line": 11, + "line": 15, "column": 13 } } @@ -3152,15 +3080,15 @@ "binop": null }, "value": "_weakMap", - "start": 229, - "end": 237, + "start": 242, + "end": 250, "loc": { "start": { - "line": 11, + "line": 15, "column": 13 }, "end": { - "line": 11, + "line": 15, "column": 21 } } @@ -3179,15 +3107,15 @@ "updateContext": null }, "value": "=", - "start": 238, - "end": 239, + "start": 251, + "end": 252, "loc": { "start": { - "line": 11, + "line": 15, "column": 22 }, "end": { - "line": 11, + "line": 15, "column": 23 } } @@ -3207,15 +3135,15 @@ "updateContext": null }, "value": "new", - "start": 240, - "end": 243, + "start": 253, + "end": 256, "loc": { "start": { - "line": 11, + "line": 15, "column": 24 }, "end": { - "line": 11, + "line": 15, "column": 27 } } @@ -3233,15 +3161,15 @@ "binop": null }, "value": "WeakMap", - "start": 244, - "end": 251, + "start": 257, + "end": 264, "loc": { "start": { - "line": 11, + "line": 15, "column": 28 }, "end": { - "line": 11, + "line": 15, "column": 35 } } @@ -3258,15 +3186,15 @@ "postfix": false, "binop": null }, - "start": 251, - "end": 252, + "start": 264, + "end": 265, "loc": { "start": { - "line": 11, + "line": 15, "column": 35 }, "end": { - "line": 11, + "line": 15, "column": 36 } } @@ -3283,15 +3211,15 @@ "postfix": false, "binop": null }, - "start": 252, - "end": 253, + "start": 265, + "end": 266, "loc": { "start": { - "line": 11, + "line": 15, "column": 36 }, "end": { - "line": 11, + "line": 15, "column": 37 } } @@ -3309,15 +3237,15 @@ "binop": null, "updateContext": null }, - "start": 253, - "end": 254, + "start": 266, + "end": 267, "loc": { "start": { - "line": 11, + "line": 15, "column": 37 }, "end": { - "line": 11, + "line": 15, "column": 38 } } @@ -3334,19 +3262,35 @@ "postfix": false, "binop": null }, - "start": 259, - "end": 260, + "start": 272, + "end": 273, "loc": { "start": { - "line": 12, + "line": 16, "column": 4 }, "end": { - "line": 12, + "line": 16, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 14\n * @param\n * {undefined} keys\n * @param\n * {T} value\n ", + "start": 278, + "end": 407, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 26, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -3360,15 +3304,15 @@ "binop": null }, "value": "set", - "start": 265, - "end": 268, + "start": 412, + "end": 415, "loc": { "start": { - "line": 13, + "line": 27, "column": 4 }, "end": { - "line": 13, + "line": 27, "column": 7 } } @@ -3385,15 +3329,15 @@ "postfix": false, "binop": null }, - "start": 268, - "end": 269, + "start": 415, + "end": 416, "loc": { "start": { - "line": 13, + "line": 27, "column": 7 }, "end": { - "line": 13, + "line": 27, "column": 8 } } @@ -3411,15 +3355,15 @@ "binop": null }, "value": "keys", - "start": 269, - "end": 273, + "start": 416, + "end": 420, "loc": { "start": { - "line": 13, + "line": 27, "column": 8 }, "end": { - "line": 13, + "line": 27, "column": 12 } } @@ -3437,15 +3381,15 @@ "binop": null, "updateContext": null }, - "start": 273, - "end": 274, + "start": 420, + "end": 421, "loc": { "start": { - "line": 13, + "line": 27, "column": 12 }, "end": { - "line": 13, + "line": 27, "column": 13 } } @@ -3463,15 +3407,15 @@ "binop": null }, "value": "value", - "start": 275, - "end": 280, + "start": 422, + "end": 427, "loc": { "start": { - "line": 13, + "line": 27, "column": 14 }, "end": { - "line": 13, + "line": 27, "column": 19 } } @@ -3488,15 +3432,15 @@ "postfix": false, "binop": null }, - "start": 280, - "end": 281, + "start": 427, + "end": 428, "loc": { "start": { - "line": 13, + "line": 27, "column": 19 }, "end": { - "line": 13, + "line": 27, "column": 20 } } @@ -3513,15 +3457,15 @@ "postfix": false, "binop": null }, - "start": 282, - "end": 283, + "start": 429, + "end": 430, "loc": { "start": { - "line": 13, + "line": 27, "column": 21 }, "end": { - "line": 13, + "line": 27, "column": 22 } } @@ -3541,15 +3485,15 @@ "updateContext": null }, "value": "let", - "start": 292, - "end": 295, + "start": 439, + "end": 442, "loc": { "start": { - "line": 14, + "line": 28, "column": 8 }, "end": { - "line": 14, + "line": 28, "column": 11 } } @@ -3567,15 +3511,15 @@ "binop": null }, "value": "map", - "start": 296, - "end": 299, + "start": 443, + "end": 446, "loc": { "start": { - "line": 14, + "line": 28, "column": 12 }, "end": { - "line": 14, + "line": 28, "column": 15 } } @@ -3594,15 +3538,15 @@ "updateContext": null }, "value": "=", - "start": 300, - "end": 301, + "start": 447, + "end": 448, "loc": { "start": { - "line": 14, + "line": 28, "column": 16 }, "end": { - "line": 14, + "line": 28, "column": 17 } } @@ -3622,15 +3566,15 @@ "updateContext": null }, "value": "this", - "start": 302, - "end": 306, + "start": 449, + "end": 453, "loc": { "start": { - "line": 14, + "line": 28, "column": 18 }, "end": { - "line": 14, + "line": 28, "column": 22 } } @@ -3648,15 +3592,15 @@ "binop": null, "updateContext": null }, - "start": 306, - "end": 307, + "start": 453, + "end": 454, "loc": { "start": { - "line": 14, + "line": 28, "column": 22 }, "end": { - "line": 14, + "line": 28, "column": 23 } } @@ -3674,15 +3618,15 @@ "binop": null }, "value": "_weakMap", - "start": 307, - "end": 315, + "start": 454, + "end": 462, "loc": { "start": { - "line": 14, + "line": 28, "column": 23 }, "end": { - "line": 14, + "line": 28, "column": 31 } } @@ -3700,15 +3644,15 @@ "binop": null, "updateContext": null }, - "start": 315, - "end": 316, + "start": 462, + "end": 463, "loc": { "start": { - "line": 14, + "line": 28, "column": 31 }, "end": { - "line": 14, + "line": 28, "column": 32 } } @@ -3728,15 +3672,15 @@ "updateContext": null }, "value": "for", - "start": 325, - "end": 328, + "start": 472, + "end": 475, "loc": { "start": { - "line": 15, + "line": 29, "column": 8 }, "end": { - "line": 15, + "line": 29, "column": 11 } } @@ -3753,15 +3697,15 @@ "postfix": false, "binop": null }, - "start": 329, - "end": 330, + "start": 476, + "end": 477, "loc": { "start": { - "line": 15, + "line": 29, "column": 12 }, "end": { - "line": 15, + "line": 29, "column": 13 } } @@ -3781,15 +3725,15 @@ "updateContext": null }, "value": "let", - "start": 330, - "end": 333, + "start": 477, + "end": 480, "loc": { "start": { - "line": 15, + "line": 29, "column": 13 }, "end": { - "line": 15, + "line": 29, "column": 16 } } @@ -3807,15 +3751,15 @@ "binop": null }, "value": "i", - "start": 334, - "end": 335, + "start": 481, + "end": 482, "loc": { "start": { - "line": 15, + "line": 29, "column": 17 }, "end": { - "line": 15, + "line": 29, "column": 18 } } @@ -3834,15 +3778,15 @@ "updateContext": null }, "value": "=", - "start": 336, - "end": 337, + "start": 483, + "end": 484, "loc": { "start": { - "line": 15, + "line": 29, "column": 19 }, "end": { - "line": 15, + "line": 29, "column": 20 } } @@ -3861,15 +3805,15 @@ "updateContext": null }, "value": 0, - "start": 338, - "end": 339, + "start": 485, + "end": 486, "loc": { "start": { - "line": 15, + "line": 29, "column": 21 }, "end": { - "line": 15, + "line": 29, "column": 22 } } @@ -3887,15 +3831,15 @@ "binop": null, "updateContext": null }, - "start": 339, - "end": 340, + "start": 486, + "end": 487, "loc": { "start": { - "line": 15, + "line": 29, "column": 22 }, "end": { - "line": 15, + "line": 29, "column": 23 } } @@ -3913,15 +3857,15 @@ "binop": null }, "value": "len", - "start": 341, - "end": 344, + "start": 488, + "end": 491, "loc": { "start": { - "line": 15, + "line": 29, "column": 24 }, "end": { - "line": 15, + "line": 29, "column": 27 } } @@ -3940,15 +3884,15 @@ "updateContext": null }, "value": "=", - "start": 345, - "end": 346, + "start": 492, + "end": 493, "loc": { "start": { - "line": 15, + "line": 29, "column": 28 }, "end": { - "line": 15, + "line": 29, "column": 29 } } @@ -3966,15 +3910,15 @@ "binop": null }, "value": "keys", - "start": 347, - "end": 351, + "start": 494, + "end": 498, "loc": { "start": { - "line": 15, + "line": 29, "column": 30 }, "end": { - "line": 15, + "line": 29, "column": 34 } } @@ -3992,15 +3936,15 @@ "binop": null, "updateContext": null }, - "start": 351, - "end": 352, + "start": 498, + "end": 499, "loc": { "start": { - "line": 15, + "line": 29, "column": 34 }, "end": { - "line": 15, + "line": 29, "column": 35 } } @@ -4018,15 +3962,15 @@ "binop": null }, "value": "length", - "start": 352, - "end": 358, + "start": 499, + "end": 505, "loc": { "start": { - "line": 15, + "line": 29, "column": 35 }, "end": { - "line": 15, + "line": 29, "column": 41 } } @@ -4045,15 +3989,15 @@ "updateContext": null }, "value": "-", - "start": 359, - "end": 360, + "start": 506, + "end": 507, "loc": { "start": { - "line": 15, + "line": 29, "column": 42 }, "end": { - "line": 15, + "line": 29, "column": 43 } } @@ -4072,15 +4016,15 @@ "updateContext": null }, "value": 1, - "start": 361, - "end": 362, + "start": 508, + "end": 509, "loc": { "start": { - "line": 15, + "line": 29, "column": 44 }, "end": { - "line": 15, + "line": 29, "column": 45 } } @@ -4098,15 +4042,15 @@ "binop": null, "updateContext": null }, - "start": 362, - "end": 363, + "start": 509, + "end": 510, "loc": { "start": { - "line": 15, + "line": 29, "column": 45 }, "end": { - "line": 15, + "line": 29, "column": 46 } } @@ -4124,15 +4068,15 @@ "binop": null }, "value": "i", - "start": 364, - "end": 365, + "start": 511, + "end": 512, "loc": { "start": { - "line": 15, + "line": 29, "column": 47 }, "end": { - "line": 15, + "line": 29, "column": 48 } } @@ -4151,15 +4095,15 @@ "updateContext": null }, "value": "<", - "start": 366, - "end": 367, + "start": 513, + "end": 514, "loc": { "start": { - "line": 15, + "line": 29, "column": 49 }, "end": { - "line": 15, + "line": 29, "column": 50 } } @@ -4177,15 +4121,15 @@ "binop": null }, "value": "len", - "start": 368, - "end": 371, + "start": 515, + "end": 518, "loc": { "start": { - "line": 15, + "line": 29, "column": 51 }, "end": { - "line": 15, + "line": 29, "column": 54 } } @@ -4203,15 +4147,15 @@ "binop": null, "updateContext": null }, - "start": 371, - "end": 372, + "start": 518, + "end": 519, "loc": { "start": { - "line": 15, + "line": 29, "column": 54 }, "end": { - "line": 15, + "line": 29, "column": 55 } } @@ -4229,15 +4173,15 @@ "binop": null }, "value": "i", - "start": 373, - "end": 374, + "start": 520, + "end": 521, "loc": { "start": { - "line": 15, + "line": 29, "column": 56 }, "end": { - "line": 15, + "line": 29, "column": 57 } } @@ -4255,15 +4199,15 @@ "binop": null }, "value": "++", - "start": 374, - "end": 376, + "start": 521, + "end": 523, "loc": { "start": { - "line": 15, + "line": 29, "column": 57 }, "end": { - "line": 15, + "line": 29, "column": 59 } } @@ -4280,15 +4224,15 @@ "postfix": false, "binop": null }, - "start": 376, - "end": 377, + "start": 523, + "end": 524, "loc": { "start": { - "line": 15, + "line": 29, "column": 59 }, "end": { - "line": 15, + "line": 29, "column": 60 } } @@ -4305,15 +4249,15 @@ "postfix": false, "binop": null }, - "start": 378, - "end": 379, + "start": 525, + "end": 526, "loc": { "start": { - "line": 15, + "line": 29, "column": 61 }, "end": { - "line": 15, + "line": 29, "column": 62 } } @@ -4333,15 +4277,15 @@ "updateContext": null }, "value": "const", - "start": 392, - "end": 397, + "start": 539, + "end": 544, "loc": { "start": { - "line": 16, + "line": 30, "column": 12 }, "end": { - "line": 16, + "line": 30, "column": 17 } } @@ -4359,15 +4303,15 @@ "binop": null }, "value": "key", - "start": 398, - "end": 401, + "start": 545, + "end": 548, "loc": { "start": { - "line": 16, + "line": 30, "column": 18 }, "end": { - "line": 16, + "line": 30, "column": 21 } } @@ -4386,15 +4330,15 @@ "updateContext": null }, "value": "=", - "start": 402, - "end": 403, + "start": 549, + "end": 550, "loc": { "start": { - "line": 16, + "line": 30, "column": 22 }, "end": { - "line": 16, + "line": 30, "column": 23 } } @@ -4412,15 +4356,15 @@ "binop": null }, "value": "keys", - "start": 404, - "end": 408, + "start": 551, + "end": 555, "loc": { "start": { - "line": 16, + "line": 30, "column": 24 }, "end": { - "line": 16, + "line": 30, "column": 28 } } @@ -4438,15 +4382,15 @@ "binop": null, "updateContext": null }, - "start": 408, - "end": 409, + "start": 555, + "end": 556, "loc": { "start": { - "line": 16, + "line": 30, "column": 28 }, "end": { - "line": 16, + "line": 30, "column": 29 } } @@ -4464,15 +4408,15 @@ "binop": null }, "value": "i", - "start": 409, - "end": 410, + "start": 556, + "end": 557, "loc": { "start": { - "line": 16, + "line": 30, "column": 29 }, "end": { - "line": 16, + "line": 30, "column": 30 } } @@ -4490,15 +4434,15 @@ "binop": null, "updateContext": null }, - "start": 410, - "end": 411, + "start": 557, + "end": 558, "loc": { "start": { - "line": 16, + "line": 30, "column": 30 }, "end": { - "line": 16, + "line": 30, "column": 31 } } @@ -4516,15 +4460,15 @@ "binop": null, "updateContext": null }, - "start": 411, - "end": 412, + "start": 558, + "end": 559, "loc": { "start": { - "line": 16, + "line": 30, "column": 31 }, "end": { - "line": 16, + "line": 30, "column": 32 } } @@ -4544,15 +4488,15 @@ "updateContext": null }, "value": "let", - "start": 425, - "end": 428, + "start": 572, + "end": 575, "loc": { "start": { - "line": 17, + "line": 31, "column": 12 }, "end": { - "line": 17, + "line": 31, "column": 15 } } @@ -4570,15 +4514,15 @@ "binop": null }, "value": "next", - "start": 429, - "end": 433, + "start": 576, + "end": 580, "loc": { "start": { - "line": 17, + "line": 31, "column": 16 }, "end": { - "line": 17, + "line": 31, "column": 20 } } @@ -4597,15 +4541,15 @@ "updateContext": null }, "value": "=", - "start": 434, - "end": 435, + "start": 581, + "end": 582, "loc": { "start": { - "line": 17, + "line": 31, "column": 21 }, "end": { - "line": 17, + "line": 31, "column": 22 } } @@ -4623,15 +4567,15 @@ "binop": null }, "value": "map", - "start": 436, - "end": 439, + "start": 583, + "end": 586, "loc": { "start": { - "line": 17, + "line": 31, "column": 23 }, "end": { - "line": 17, + "line": 31, "column": 26 } } @@ -4649,15 +4593,15 @@ "binop": null, "updateContext": null }, - "start": 439, - "end": 440, + "start": 586, + "end": 587, "loc": { "start": { - "line": 17, + "line": 31, "column": 26 }, "end": { - "line": 17, + "line": 31, "column": 27 } } @@ -4675,15 +4619,15 @@ "binop": null }, "value": "get", - "start": 440, - "end": 443, + "start": 587, + "end": 590, "loc": { "start": { - "line": 17, + "line": 31, "column": 27 }, "end": { - "line": 17, + "line": 31, "column": 30 } } @@ -4700,15 +4644,15 @@ "postfix": false, "binop": null }, - "start": 443, - "end": 444, + "start": 590, + "end": 591, "loc": { "start": { - "line": 17, + "line": 31, "column": 30 }, "end": { - "line": 17, + "line": 31, "column": 31 } } @@ -4726,15 +4670,15 @@ "binop": null }, "value": "key", - "start": 444, - "end": 447, + "start": 591, + "end": 594, "loc": { "start": { - "line": 17, + "line": 31, "column": 31 }, "end": { - "line": 17, + "line": 31, "column": 34 } } @@ -4751,15 +4695,15 @@ "postfix": false, "binop": null }, - "start": 447, - "end": 448, + "start": 594, + "end": 595, "loc": { "start": { - "line": 17, + "line": 31, "column": 34 }, "end": { - "line": 17, + "line": 31, "column": 35 } } @@ -4777,15 +4721,15 @@ "binop": null, "updateContext": null }, - "start": 448, - "end": 449, + "start": 595, + "end": 596, "loc": { "start": { - "line": 17, + "line": 31, "column": 35 }, "end": { - "line": 17, + "line": 31, "column": 36 } } @@ -4805,15 +4749,15 @@ "updateContext": null }, "value": "if", - "start": 462, - "end": 464, + "start": 609, + "end": 611, "loc": { "start": { - "line": 18, + "line": 32, "column": 12 }, "end": { - "line": 18, + "line": 32, "column": 14 } } @@ -4830,15 +4774,15 @@ "postfix": false, "binop": null }, - "start": 465, - "end": 466, + "start": 612, + "end": 613, "loc": { "start": { - "line": 18, + "line": 32, "column": 15 }, "end": { - "line": 18, + "line": 32, "column": 16 } } @@ -4857,15 +4801,15 @@ "updateContext": null }, "value": "!", - "start": 466, - "end": 467, + "start": 613, + "end": 614, "loc": { "start": { - "line": 18, + "line": 32, "column": 16 }, "end": { - "line": 18, + "line": 32, "column": 17 } } @@ -4883,15 +4827,15 @@ "binop": null }, "value": "next", - "start": 467, - "end": 471, + "start": 614, + "end": 618, "loc": { "start": { - "line": 18, + "line": 32, "column": 17 }, "end": { - "line": 18, + "line": 32, "column": 21 } } @@ -4908,15 +4852,15 @@ "postfix": false, "binop": null }, - "start": 471, - "end": 472, + "start": 618, + "end": 619, "loc": { "start": { - "line": 18, + "line": 32, "column": 21 }, "end": { - "line": 18, + "line": 32, "column": 22 } } @@ -4933,15 +4877,15 @@ "postfix": false, "binop": null }, - "start": 473, - "end": 474, + "start": 620, + "end": 621, "loc": { "start": { - "line": 18, + "line": 32, "column": 23 }, "end": { - "line": 18, + "line": 32, "column": 24 } } @@ -4959,15 +4903,15 @@ "binop": null }, "value": "next", - "start": 491, - "end": 495, + "start": 638, + "end": 642, "loc": { "start": { - "line": 19, + "line": 33, "column": 16 }, "end": { - "line": 19, + "line": 33, "column": 20 } } @@ -4986,15 +4930,15 @@ "updateContext": null }, "value": "=", - "start": 496, - "end": 497, + "start": 643, + "end": 644, "loc": { "start": { - "line": 19, + "line": 33, "column": 21 }, "end": { - "line": 19, + "line": 33, "column": 22 } } @@ -5014,15 +4958,15 @@ "updateContext": null }, "value": "new", - "start": 498, - "end": 501, + "start": 645, + "end": 648, "loc": { "start": { - "line": 19, + "line": 33, "column": 23 }, "end": { - "line": 19, + "line": 33, "column": 26 } } @@ -5040,15 +4984,15 @@ "binop": null }, "value": "Map", - "start": 502, - "end": 505, + "start": 649, + "end": 652, "loc": { "start": { - "line": 19, + "line": 33, "column": 27 }, "end": { - "line": 19, + "line": 33, "column": 30 } } @@ -5065,15 +5009,15 @@ "postfix": false, "binop": null }, - "start": 505, - "end": 506, + "start": 652, + "end": 653, "loc": { "start": { - "line": 19, + "line": 33, "column": 30 }, "end": { - "line": 19, + "line": 33, "column": 31 } } @@ -5090,15 +5034,15 @@ "postfix": false, "binop": null }, - "start": 506, - "end": 507, + "start": 653, + "end": 654, "loc": { "start": { - "line": 19, + "line": 33, "column": 31 }, "end": { - "line": 19, + "line": 33, "column": 32 } } @@ -5116,15 +5060,15 @@ "binop": null, "updateContext": null }, - "start": 507, - "end": 508, + "start": 654, + "end": 655, "loc": { "start": { - "line": 19, + "line": 33, "column": 32 }, "end": { - "line": 19, + "line": 33, "column": 33 } } @@ -5142,15 +5086,15 @@ "binop": null }, "value": "map", - "start": 525, - "end": 528, + "start": 672, + "end": 675, "loc": { "start": { - "line": 20, + "line": 34, "column": 16 }, "end": { - "line": 20, + "line": 34, "column": 19 } } @@ -5168,15 +5112,15 @@ "binop": null, "updateContext": null }, - "start": 528, - "end": 529, + "start": 675, + "end": 676, "loc": { "start": { - "line": 20, + "line": 34, "column": 19 }, "end": { - "line": 20, + "line": 34, "column": 20 } } @@ -5194,15 +5138,15 @@ "binop": null }, "value": "set", - "start": 529, - "end": 532, + "start": 676, + "end": 679, "loc": { "start": { - "line": 20, + "line": 34, "column": 20 }, "end": { - "line": 20, + "line": 34, "column": 23 } } @@ -5219,15 +5163,15 @@ "postfix": false, "binop": null }, - "start": 532, - "end": 533, + "start": 679, + "end": 680, "loc": { "start": { - "line": 20, + "line": 34, "column": 23 }, "end": { - "line": 20, + "line": 34, "column": 24 } } @@ -5245,15 +5189,15 @@ "binop": null }, "value": "key", - "start": 533, - "end": 536, + "start": 680, + "end": 683, "loc": { "start": { - "line": 20, + "line": 34, "column": 24 }, "end": { - "line": 20, + "line": 34, "column": 27 } } @@ -5271,15 +5215,15 @@ "binop": null, "updateContext": null }, - "start": 536, - "end": 537, + "start": 683, + "end": 684, "loc": { "start": { - "line": 20, + "line": 34, "column": 27 }, "end": { - "line": 20, + "line": 34, "column": 28 } } @@ -5297,15 +5241,15 @@ "binop": null }, "value": "next", - "start": 538, - "end": 542, + "start": 685, + "end": 689, "loc": { "start": { - "line": 20, + "line": 34, "column": 29 }, "end": { - "line": 20, + "line": 34, "column": 33 } } @@ -5322,15 +5266,15 @@ "postfix": false, "binop": null }, - "start": 542, - "end": 543, + "start": 689, + "end": 690, "loc": { "start": { - "line": 20, + "line": 34, "column": 33 }, "end": { - "line": 20, + "line": 34, "column": 34 } } @@ -5348,15 +5292,15 @@ "binop": null, "updateContext": null }, - "start": 543, - "end": 544, + "start": 690, + "end": 691, "loc": { "start": { - "line": 20, + "line": 34, "column": 34 }, "end": { - "line": 20, + "line": 34, "column": 35 } } @@ -5373,15 +5317,15 @@ "postfix": false, "binop": null }, - "start": 557, - "end": 558, + "start": 704, + "end": 705, "loc": { "start": { - "line": 21, + "line": 35, "column": 12 }, "end": { - "line": 21, + "line": 35, "column": 13 } } @@ -5399,15 +5343,15 @@ "binop": null }, "value": "map", - "start": 571, - "end": 574, + "start": 718, + "end": 721, "loc": { "start": { - "line": 22, + "line": 36, "column": 12 }, "end": { - "line": 22, + "line": 36, "column": 15 } } @@ -5426,15 +5370,15 @@ "updateContext": null }, "value": "=", - "start": 575, - "end": 576, + "start": 722, + "end": 723, "loc": { "start": { - "line": 22, + "line": 36, "column": 16 }, "end": { - "line": 22, + "line": 36, "column": 17 } } @@ -5452,15 +5396,15 @@ "binop": null }, "value": "next", - "start": 577, - "end": 581, + "start": 724, + "end": 728, "loc": { "start": { - "line": 22, + "line": 36, "column": 18 }, "end": { - "line": 22, + "line": 36, "column": 22 } } @@ -5478,15 +5422,15 @@ "binop": null, "updateContext": null }, - "start": 581, - "end": 582, + "start": 728, + "end": 729, "loc": { "start": { - "line": 22, + "line": 36, "column": 22 }, "end": { - "line": 22, + "line": 36, "column": 23 } } @@ -5503,15 +5447,15 @@ "postfix": false, "binop": null }, - "start": 591, - "end": 592, + "start": 738, + "end": 739, "loc": { "start": { - "line": 23, + "line": 37, "column": 8 }, "end": { - "line": 23, + "line": 37, "column": 9 } } @@ -5529,15 +5473,15 @@ "binop": null }, "value": "map", - "start": 601, - "end": 604, + "start": 748, + "end": 751, "loc": { "start": { - "line": 24, + "line": 38, "column": 8 }, "end": { - "line": 24, + "line": 38, "column": 11 } } @@ -5555,15 +5499,15 @@ "binop": null, "updateContext": null }, - "start": 604, - "end": 605, + "start": 751, + "end": 752, "loc": { "start": { - "line": 24, + "line": 38, "column": 11 }, "end": { - "line": 24, + "line": 38, "column": 12 } } @@ -5581,15 +5525,15 @@ "binop": null }, "value": "set", - "start": 605, - "end": 608, + "start": 752, + "end": 755, "loc": { "start": { - "line": 24, + "line": 38, "column": 12 }, "end": { - "line": 24, + "line": 38, "column": 15 } } @@ -5606,15 +5550,15 @@ "postfix": false, "binop": null }, - "start": 608, - "end": 609, + "start": 755, + "end": 756, "loc": { "start": { - "line": 24, + "line": 38, "column": 15 }, "end": { - "line": 24, + "line": 38, "column": 16 } } @@ -5632,15 +5576,15 @@ "binop": null }, "value": "keys", - "start": 609, - "end": 613, + "start": 756, + "end": 760, "loc": { "start": { - "line": 24, + "line": 38, "column": 16 }, "end": { - "line": 24, + "line": 38, "column": 20 } } @@ -5657,16 +5601,16 @@ "postfix": false, "binop": null, "updateContext": null - }, - "start": 613, - "end": 614, + }, + "start": 760, + "end": 761, "loc": { "start": { - "line": 24, + "line": 38, "column": 20 }, "end": { - "line": 24, + "line": 38, "column": 21 } } @@ -5684,15 +5628,15 @@ "binop": null }, "value": "keys", - "start": 614, - "end": 618, + "start": 761, + "end": 765, "loc": { "start": { - "line": 24, + "line": 38, "column": 21 }, "end": { - "line": 24, + "line": 38, "column": 25 } } @@ -5710,15 +5654,15 @@ "binop": null, "updateContext": null }, - "start": 618, - "end": 619, + "start": 765, + "end": 766, "loc": { "start": { - "line": 24, + "line": 38, "column": 25 }, "end": { - "line": 24, + "line": 38, "column": 26 } } @@ -5736,15 +5680,15 @@ "binop": null }, "value": "length", - "start": 619, - "end": 625, + "start": 766, + "end": 772, "loc": { "start": { - "line": 24, + "line": 38, "column": 26 }, "end": { - "line": 24, + "line": 38, "column": 32 } } @@ -5763,15 +5707,15 @@ "updateContext": null }, "value": "-", - "start": 626, - "end": 627, + "start": 773, + "end": 774, "loc": { "start": { - "line": 24, + "line": 38, "column": 33 }, "end": { - "line": 24, + "line": 38, "column": 34 } } @@ -5790,15 +5734,15 @@ "updateContext": null }, "value": 1, - "start": 628, - "end": 629, + "start": 775, + "end": 776, "loc": { "start": { - "line": 24, + "line": 38, "column": 35 }, "end": { - "line": 24, + "line": 38, "column": 36 } } @@ -5816,15 +5760,15 @@ "binop": null, "updateContext": null }, - "start": 629, - "end": 630, + "start": 776, + "end": 777, "loc": { "start": { - "line": 24, + "line": 38, "column": 36 }, "end": { - "line": 24, + "line": 38, "column": 37 } } @@ -5842,15 +5786,15 @@ "binop": null, "updateContext": null }, - "start": 630, - "end": 631, + "start": 777, + "end": 778, "loc": { "start": { - "line": 24, + "line": 38, "column": 37 }, "end": { - "line": 24, + "line": 38, "column": 38 } } @@ -5868,15 +5812,15 @@ "binop": null }, "value": "value", - "start": 632, - "end": 637, + "start": 779, + "end": 784, "loc": { "start": { - "line": 24, + "line": 38, "column": 39 }, "end": { - "line": 24, + "line": 38, "column": 44 } } @@ -5893,15 +5837,15 @@ "postfix": false, "binop": null }, - "start": 637, - "end": 638, + "start": 784, + "end": 785, "loc": { "start": { - "line": 24, + "line": 38, "column": 44 }, "end": { - "line": 24, + "line": 38, "column": 45 } } @@ -5919,15 +5863,15 @@ "binop": null, "updateContext": null }, - "start": 638, - "end": 639, + "start": 785, + "end": 786, "loc": { "start": { - "line": 24, + "line": 38, "column": 45 }, "end": { - "line": 24, + "line": 38, "column": 46 } } @@ -5944,19 +5888,35 @@ "postfix": false, "binop": null }, - "start": 644, - "end": 645, + "start": 791, + "end": 792, "loc": { "start": { - "line": 25, + "line": 39, "column": 4 }, "end": { - "line": 25, + "line": 39, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 32\n * @param\n * {undefined} keys\n * @return\n * {T}\n ", + "start": 797, + "end": 921, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 49, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -5970,15 +5930,15 @@ "binop": null }, "value": "get", - "start": 650, - "end": 653, + "start": 926, + "end": 929, "loc": { "start": { - "line": 26, + "line": 50, "column": 4 }, "end": { - "line": 26, + "line": 50, "column": 7 } } @@ -5995,15 +5955,15 @@ "postfix": false, "binop": null }, - "start": 653, - "end": 654, + "start": 929, + "end": 930, "loc": { "start": { - "line": 26, + "line": 50, "column": 7 }, "end": { - "line": 26, + "line": 50, "column": 8 } } @@ -6021,15 +5981,15 @@ "binop": null }, "value": "keys", - "start": 654, - "end": 658, + "start": 930, + "end": 934, "loc": { "start": { - "line": 26, + "line": 50, "column": 8 }, "end": { - "line": 26, + "line": 50, "column": 12 } } @@ -6046,15 +6006,15 @@ "postfix": false, "binop": null }, - "start": 658, - "end": 659, + "start": 934, + "end": 935, "loc": { "start": { - "line": 26, + "line": 50, "column": 12 }, "end": { - "line": 26, + "line": 50, "column": 13 } } @@ -6071,15 +6031,15 @@ "postfix": false, "binop": null }, - "start": 660, - "end": 661, + "start": 936, + "end": 937, "loc": { "start": { - "line": 26, + "line": 50, "column": 14 }, "end": { - "line": 26, + "line": 50, "column": 15 } } @@ -6099,15 +6059,15 @@ "updateContext": null }, "value": "let", - "start": 670, - "end": 673, + "start": 946, + "end": 949, "loc": { "start": { - "line": 27, + "line": 51, "column": 8 }, "end": { - "line": 27, + "line": 51, "column": 11 } } @@ -6125,15 +6085,15 @@ "binop": null }, "value": "next", - "start": 674, - "end": 678, + "start": 950, + "end": 954, "loc": { "start": { - "line": 27, + "line": 51, "column": 12 }, "end": { - "line": 27, + "line": 51, "column": 16 } } @@ -6152,15 +6112,15 @@ "updateContext": null }, "value": "=", - "start": 679, - "end": 680, + "start": 955, + "end": 956, "loc": { "start": { - "line": 27, + "line": 51, "column": 17 }, "end": { - "line": 27, + "line": 51, "column": 18 } } @@ -6180,15 +6140,15 @@ "updateContext": null }, "value": "this", - "start": 681, - "end": 685, + "start": 957, + "end": 961, "loc": { "start": { - "line": 27, + "line": 51, "column": 19 }, "end": { - "line": 27, + "line": 51, "column": 23 } } @@ -6206,15 +6166,15 @@ "binop": null, "updateContext": null }, - "start": 685, - "end": 686, + "start": 961, + "end": 962, "loc": { "start": { - "line": 27, + "line": 51, "column": 23 }, "end": { - "line": 27, + "line": 51, "column": 24 } } @@ -6232,15 +6192,15 @@ "binop": null }, "value": "_weakMap", - "start": 686, - "end": 694, + "start": 962, + "end": 970, "loc": { "start": { - "line": 27, + "line": 51, "column": 24 }, "end": { - "line": 27, + "line": 51, "column": 32 } } @@ -6258,15 +6218,15 @@ "binop": null, "updateContext": null }, - "start": 694, - "end": 695, + "start": 970, + "end": 971, "loc": { "start": { - "line": 27, + "line": 51, "column": 32 }, "end": { - "line": 27, + "line": 51, "column": 33 } } @@ -6286,15 +6246,15 @@ "updateContext": null }, "value": "for", - "start": 704, - "end": 707, + "start": 980, + "end": 983, "loc": { "start": { - "line": 28, + "line": 52, "column": 8 }, "end": { - "line": 28, + "line": 52, "column": 11 } } @@ -6311,15 +6271,15 @@ "postfix": false, "binop": null }, - "start": 708, - "end": 709, + "start": 984, + "end": 985, "loc": { "start": { - "line": 28, + "line": 52, "column": 12 }, "end": { - "line": 28, + "line": 52, "column": 13 } } @@ -6339,15 +6299,15 @@ "updateContext": null }, "value": "let", - "start": 709, - "end": 712, + "start": 985, + "end": 988, "loc": { "start": { - "line": 28, + "line": 52, "column": 13 }, "end": { - "line": 28, + "line": 52, "column": 16 } } @@ -6365,15 +6325,15 @@ "binop": null }, "value": "i", - "start": 713, - "end": 714, + "start": 989, + "end": 990, "loc": { "start": { - "line": 28, + "line": 52, "column": 17 }, "end": { - "line": 28, + "line": 52, "column": 18 } } @@ -6392,15 +6352,15 @@ "updateContext": null }, "value": "=", - "start": 715, - "end": 716, + "start": 991, + "end": 992, "loc": { "start": { - "line": 28, + "line": 52, "column": 19 }, "end": { - "line": 28, + "line": 52, "column": 20 } } @@ -6419,15 +6379,15 @@ "updateContext": null }, "value": 0, - "start": 717, - "end": 718, + "start": 993, + "end": 994, "loc": { "start": { - "line": 28, + "line": 52, "column": 21 }, "end": { - "line": 28, + "line": 52, "column": 22 } } @@ -6445,15 +6405,15 @@ "binop": null, "updateContext": null }, - "start": 718, - "end": 719, + "start": 994, + "end": 995, "loc": { "start": { - "line": 28, + "line": 52, "column": 22 }, "end": { - "line": 28, + "line": 52, "column": 23 } } @@ -6471,15 +6431,15 @@ "binop": null }, "value": "len", - "start": 720, - "end": 723, + "start": 996, + "end": 999, "loc": { "start": { - "line": 28, + "line": 52, "column": 24 }, "end": { - "line": 28, + "line": 52, "column": 27 } } @@ -6498,15 +6458,15 @@ "updateContext": null }, "value": "=", - "start": 724, - "end": 725, + "start": 1000, + "end": 1001, "loc": { "start": { - "line": 28, + "line": 52, "column": 28 }, "end": { - "line": 28, + "line": 52, "column": 29 } } @@ -6524,15 +6484,15 @@ "binop": null }, "value": "keys", - "start": 726, - "end": 730, + "start": 1002, + "end": 1006, "loc": { "start": { - "line": 28, + "line": 52, "column": 30 }, "end": { - "line": 28, + "line": 52, "column": 34 } } @@ -6550,15 +6510,15 @@ "binop": null, "updateContext": null }, - "start": 730, - "end": 731, + "start": 1006, + "end": 1007, "loc": { "start": { - "line": 28, + "line": 52, "column": 34 }, "end": { - "line": 28, + "line": 52, "column": 35 } } @@ -6576,15 +6536,15 @@ "binop": null }, "value": "length", - "start": 731, - "end": 737, + "start": 1007, + "end": 1013, "loc": { "start": { - "line": 28, + "line": 52, "column": 35 }, "end": { - "line": 28, + "line": 52, "column": 41 } } @@ -6602,15 +6562,15 @@ "binop": null, "updateContext": null }, - "start": 737, - "end": 738, + "start": 1013, + "end": 1014, "loc": { "start": { - "line": 28, + "line": 52, "column": 41 }, "end": { - "line": 28, + "line": 52, "column": 42 } } @@ -6628,15 +6588,15 @@ "binop": null }, "value": "i", - "start": 739, - "end": 740, + "start": 1015, + "end": 1016, "loc": { "start": { - "line": 28, + "line": 52, "column": 43 }, "end": { - "line": 28, + "line": 52, "column": 44 } } @@ -6655,15 +6615,15 @@ "updateContext": null }, "value": "<", - "start": 741, - "end": 742, + "start": 1017, + "end": 1018, "loc": { "start": { - "line": 28, + "line": 52, "column": 45 }, "end": { - "line": 28, + "line": 52, "column": 46 } } @@ -6681,15 +6641,15 @@ "binop": null }, "value": "len", - "start": 743, - "end": 746, + "start": 1019, + "end": 1022, "loc": { "start": { - "line": 28, + "line": 52, "column": 47 }, "end": { - "line": 28, + "line": 52, "column": 50 } } @@ -6707,15 +6667,15 @@ "binop": null, "updateContext": null }, - "start": 746, - "end": 747, + "start": 1022, + "end": 1023, "loc": { "start": { - "line": 28, + "line": 52, "column": 50 }, "end": { - "line": 28, + "line": 52, "column": 51 } } @@ -6733,15 +6693,15 @@ "binop": null }, "value": "i", - "start": 748, - "end": 749, + "start": 1024, + "end": 1025, "loc": { "start": { - "line": 28, + "line": 52, "column": 52 }, "end": { - "line": 28, + "line": 52, "column": 53 } } @@ -6759,15 +6719,15 @@ "binop": null }, "value": "++", - "start": 749, - "end": 751, + "start": 1025, + "end": 1027, "loc": { "start": { - "line": 28, + "line": 52, "column": 53 }, "end": { - "line": 28, + "line": 52, "column": 55 } } @@ -6784,15 +6744,15 @@ "postfix": false, "binop": null }, - "start": 751, - "end": 752, + "start": 1027, + "end": 1028, "loc": { "start": { - "line": 28, + "line": 52, "column": 55 }, "end": { - "line": 28, + "line": 52, "column": 56 } } @@ -6809,15 +6769,15 @@ "postfix": false, "binop": null }, - "start": 753, - "end": 754, + "start": 1029, + "end": 1030, "loc": { "start": { - "line": 28, + "line": 52, "column": 57 }, "end": { - "line": 28, + "line": 52, "column": 58 } } @@ -6835,15 +6795,15 @@ "binop": null }, "value": "next", - "start": 767, - "end": 771, + "start": 1043, + "end": 1047, "loc": { "start": { - "line": 29, + "line": 53, "column": 12 }, "end": { - "line": 29, + "line": 53, "column": 16 } } @@ -6862,15 +6822,15 @@ "updateContext": null }, "value": "=", - "start": 772, - "end": 773, + "start": 1048, + "end": 1049, "loc": { "start": { - "line": 29, + "line": 53, "column": 17 }, "end": { - "line": 29, + "line": 53, "column": 18 } } @@ -6888,15 +6848,15 @@ "binop": null }, "value": "next", - "start": 774, - "end": 778, + "start": 1050, + "end": 1054, "loc": { "start": { - "line": 29, + "line": 53, "column": 19 }, "end": { - "line": 29, + "line": 53, "column": 23 } } @@ -6914,15 +6874,15 @@ "binop": null, "updateContext": null }, - "start": 778, - "end": 779, + "start": 1054, + "end": 1055, "loc": { "start": { - "line": 29, + "line": 53, "column": 23 }, "end": { - "line": 29, + "line": 53, "column": 24 } } @@ -6940,15 +6900,15 @@ "binop": null }, "value": "get", - "start": 779, - "end": 782, + "start": 1055, + "end": 1058, "loc": { "start": { - "line": 29, + "line": 53, "column": 24 }, "end": { - "line": 29, + "line": 53, "column": 27 } } @@ -6965,15 +6925,15 @@ "postfix": false, "binop": null }, - "start": 782, - "end": 783, + "start": 1058, + "end": 1059, "loc": { "start": { - "line": 29, + "line": 53, "column": 27 }, "end": { - "line": 29, + "line": 53, "column": 28 } } @@ -6991,15 +6951,15 @@ "binop": null }, "value": "keys", - "start": 783, - "end": 787, + "start": 1059, + "end": 1063, "loc": { "start": { - "line": 29, + "line": 53, "column": 28 }, "end": { - "line": 29, + "line": 53, "column": 32 } } @@ -7017,15 +6977,15 @@ "binop": null, "updateContext": null }, - "start": 787, - "end": 788, + "start": 1063, + "end": 1064, "loc": { "start": { - "line": 29, + "line": 53, "column": 32 }, "end": { - "line": 29, + "line": 53, "column": 33 } } @@ -7043,15 +7003,15 @@ "binop": null }, "value": "i", - "start": 788, - "end": 789, + "start": 1064, + "end": 1065, "loc": { "start": { - "line": 29, + "line": 53, "column": 33 }, "end": { - "line": 29, + "line": 53, "column": 34 } } @@ -7069,15 +7029,15 @@ "binop": null, "updateContext": null }, - "start": 789, - "end": 790, + "start": 1065, + "end": 1066, "loc": { "start": { - "line": 29, + "line": 53, "column": 34 }, "end": { - "line": 29, + "line": 53, "column": 35 } } @@ -7094,15 +7054,15 @@ "postfix": false, "binop": null }, - "start": 790, - "end": 791, + "start": 1066, + "end": 1067, "loc": { "start": { - "line": 29, + "line": 53, "column": 35 }, "end": { - "line": 29, + "line": 53, "column": 36 } } @@ -7120,15 +7080,15 @@ "binop": null, "updateContext": null }, - "start": 791, - "end": 792, + "start": 1067, + "end": 1068, "loc": { "start": { - "line": 29, + "line": 53, "column": 36 }, "end": { - "line": 29, + "line": 53, "column": 37 } } @@ -7148,15 +7108,15 @@ "updateContext": null }, "value": "if", - "start": 805, - "end": 807, + "start": 1081, + "end": 1083, "loc": { "start": { - "line": 30, + "line": 54, "column": 12 }, "end": { - "line": 30, + "line": 54, "column": 14 } } @@ -7173,15 +7133,15 @@ "postfix": false, "binop": null }, - "start": 808, - "end": 809, + "start": 1084, + "end": 1085, "loc": { "start": { - "line": 30, + "line": 54, "column": 15 }, "end": { - "line": 30, + "line": 54, "column": 16 } } @@ -7199,15 +7159,15 @@ "binop": null }, "value": "isUndefined", - "start": 809, - "end": 820, + "start": 1085, + "end": 1096, "loc": { "start": { - "line": 30, + "line": 54, "column": 16 }, "end": { - "line": 30, + "line": 54, "column": 27 } } @@ -7224,15 +7184,15 @@ "postfix": false, "binop": null }, - "start": 820, - "end": 821, + "start": 1096, + "end": 1097, "loc": { "start": { - "line": 30, + "line": 54, "column": 27 }, "end": { - "line": 30, + "line": 54, "column": 28 } } @@ -7250,15 +7210,15 @@ "binop": null }, "value": "next", - "start": 821, - "end": 825, + "start": 1097, + "end": 1101, "loc": { "start": { - "line": 30, + "line": 54, "column": 28 }, "end": { - "line": 30, + "line": 54, "column": 32 } } @@ -7275,15 +7235,15 @@ "postfix": false, "binop": null }, - "start": 825, - "end": 826, + "start": 1101, + "end": 1102, "loc": { "start": { - "line": 30, + "line": 54, "column": 32 }, "end": { - "line": 30, + "line": 54, "column": 33 } } @@ -7300,15 +7260,15 @@ "postfix": false, "binop": null }, - "start": 826, - "end": 827, + "start": 1102, + "end": 1103, "loc": { "start": { - "line": 30, + "line": 54, "column": 33 }, "end": { - "line": 30, + "line": 54, "column": 34 } } @@ -7325,15 +7285,15 @@ "postfix": false, "binop": null }, - "start": 828, - "end": 829, + "start": 1104, + "end": 1105, "loc": { "start": { - "line": 30, + "line": 54, "column": 35 }, "end": { - "line": 30, + "line": 54, "column": 36 } } @@ -7353,15 +7313,15 @@ "updateContext": null }, "value": "break", - "start": 846, - "end": 851, + "start": 1122, + "end": 1127, "loc": { "start": { - "line": 31, + "line": 55, "column": 16 }, "end": { - "line": 31, + "line": 55, "column": 21 } } @@ -7379,15 +7339,15 @@ "binop": null, "updateContext": null }, - "start": 851, - "end": 852, + "start": 1127, + "end": 1128, "loc": { "start": { - "line": 31, + "line": 55, "column": 21 }, "end": { - "line": 31, + "line": 55, "column": 22 } } @@ -7404,15 +7364,15 @@ "postfix": false, "binop": null }, - "start": 865, - "end": 866, + "start": 1141, + "end": 1142, "loc": { "start": { - "line": 32, + "line": 56, "column": 12 }, "end": { - "line": 32, + "line": 56, "column": 13 } } @@ -7429,15 +7389,15 @@ "postfix": false, "binop": null }, - "start": 875, - "end": 876, + "start": 1151, + "end": 1152, "loc": { "start": { - "line": 33, + "line": 57, "column": 8 }, "end": { - "line": 33, + "line": 57, "column": 9 } } @@ -7457,15 +7417,15 @@ "updateContext": null }, "value": "return", - "start": 885, - "end": 891, + "start": 1161, + "end": 1167, "loc": { "start": { - "line": 34, + "line": 58, "column": 8 }, "end": { - "line": 34, + "line": 58, "column": 14 } } @@ -7483,15 +7443,15 @@ "binop": null }, "value": "next", - "start": 892, - "end": 896, + "start": 1168, + "end": 1172, "loc": { "start": { - "line": 34, + "line": 58, "column": 15 }, "end": { - "line": 34, + "line": 58, "column": 19 } } @@ -7509,15 +7469,15 @@ "binop": null, "updateContext": null }, - "start": 896, - "end": 897, + "start": 1172, + "end": 1173, "loc": { "start": { - "line": 34, + "line": 58, "column": 19 }, "end": { - "line": 34, + "line": 58, "column": 20 } } @@ -7534,19 +7494,35 @@ "postfix": false, "binop": null }, - "start": 902, - "end": 903, + "start": 1178, + "end": 1179, "loc": { "start": { - "line": 35, + "line": 59, "column": 4 }, "end": { - "line": 35, + "line": 59, "column": 5 } } }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 46\n * @param\n * {undefined} keys\n * @return\n * {boolean}\n ", + "start": 1184, + "end": 1314, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 69, + "column": 7 + } + } + }, { "type": { "label": "name", @@ -7560,15 +7536,15 @@ "binop": null }, "value": "has", - "start": 908, - "end": 911, + "start": 1319, + "end": 1322, "loc": { "start": { - "line": 36, + "line": 70, "column": 4 }, "end": { - "line": 36, + "line": 70, "column": 7 } } @@ -7585,15 +7561,15 @@ "postfix": false, "binop": null }, - "start": 911, - "end": 912, + "start": 1322, + "end": 1323, "loc": { "start": { - "line": 36, + "line": 70, "column": 7 }, "end": { - "line": 36, + "line": 70, "column": 8 } } @@ -7611,15 +7587,15 @@ "binop": null }, "value": "keys", - "start": 912, - "end": 916, + "start": 1323, + "end": 1327, "loc": { "start": { - "line": 36, + "line": 70, "column": 8 }, "end": { - "line": 36, + "line": 70, "column": 12 } } @@ -7636,15 +7612,15 @@ "postfix": false, "binop": null }, - "start": 916, - "end": 917, + "start": 1327, + "end": 1328, "loc": { "start": { - "line": 36, + "line": 70, "column": 12 }, "end": { - "line": 36, + "line": 70, "column": 13 } } @@ -7661,15 +7637,15 @@ "postfix": false, "binop": null }, - "start": 918, - "end": 919, + "start": 1329, + "end": 1330, "loc": { "start": { - "line": 36, + "line": 70, "column": 14 }, "end": { - "line": 36, + "line": 70, "column": 15 } } @@ -7689,15 +7665,15 @@ "updateContext": null }, "value": "return", - "start": 928, - "end": 934, + "start": 1339, + "end": 1345, "loc": { "start": { - "line": 37, + "line": 71, "column": 8 }, "end": { - "line": 37, + "line": 71, "column": 14 } } @@ -7716,15 +7692,15 @@ "updateContext": null }, "value": "!", - "start": 935, - "end": 936, + "start": 1346, + "end": 1347, "loc": { "start": { - "line": 37, + "line": 71, "column": 15 }, "end": { - "line": 37, + "line": 71, "column": 16 } } @@ -7742,15 +7718,15 @@ "binop": null }, "value": "isUndefined", - "start": 936, - "end": 947, + "start": 1347, + "end": 1358, "loc": { "start": { - "line": 37, + "line": 71, "column": 16 }, "end": { - "line": 37, + "line": 71, "column": 27 } } @@ -7767,15 +7743,15 @@ "postfix": false, "binop": null }, - "start": 947, - "end": 948, + "start": 1358, + "end": 1359, "loc": { "start": { - "line": 37, + "line": 71, "column": 27 }, "end": { - "line": 37, + "line": 71, "column": 28 } } @@ -7795,15 +7771,15 @@ "updateContext": null }, "value": "this", - "start": 948, - "end": 952, + "start": 1359, + "end": 1363, "loc": { "start": { - "line": 37, + "line": 71, "column": 28 }, "end": { - "line": 37, + "line": 71, "column": 32 } } @@ -7821,15 +7797,15 @@ "binop": null, "updateContext": null }, - "start": 952, - "end": 953, + "start": 1363, + "end": 1364, "loc": { "start": { - "line": 37, + "line": 71, "column": 32 }, "end": { - "line": 37, + "line": 71, "column": 33 } } @@ -7847,15 +7823,15 @@ "binop": null }, "value": "get", - "start": 953, - "end": 956, + "start": 1364, + "end": 1367, "loc": { "start": { - "line": 37, + "line": 71, "column": 33 }, "end": { - "line": 37, + "line": 71, "column": 36 } } @@ -7872,15 +7848,15 @@ "postfix": false, "binop": null }, - "start": 956, - "end": 957, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 37, + "line": 71, "column": 36 }, "end": { - "line": 37, + "line": 71, "column": 37 } } @@ -7898,15 +7874,15 @@ "binop": null }, "value": "keys", - "start": 957, - "end": 961, + "start": 1368, + "end": 1372, "loc": { "start": { - "line": 37, + "line": 71, "column": 37 }, "end": { - "line": 37, + "line": 71, "column": 41 } } @@ -7923,15 +7899,15 @@ "postfix": false, "binop": null }, - "start": 961, - "end": 962, + "start": 1372, + "end": 1373, "loc": { "start": { - "line": 37, + "line": 71, "column": 41 }, "end": { - "line": 37, + "line": 71, "column": 42 } } @@ -7948,15 +7924,15 @@ "postfix": false, "binop": null }, - "start": 962, - "end": 963, + "start": 1373, + "end": 1374, "loc": { "start": { - "line": 37, + "line": 71, "column": 42 }, "end": { - "line": 37, + "line": 71, "column": 43 } } @@ -7974,15 +7950,15 @@ "binop": null, "updateContext": null }, - "start": 963, - "end": 964, + "start": 1374, + "end": 1375, "loc": { "start": { - "line": 37, + "line": 71, "column": 43 }, "end": { - "line": 37, + "line": 71, "column": 44 } } @@ -7999,15 +7975,15 @@ "postfix": false, "binop": null }, - "start": 969, - "end": 970, + "start": 1380, + "end": 1381, "loc": { "start": { - "line": 38, + "line": 72, "column": 4 }, "end": { - "line": 38, + "line": 72, "column": 5 } } @@ -8024,15 +8000,15 @@ "postfix": false, "binop": null }, - "start": 971, - "end": 972, + "start": 1382, + "end": 1383, "loc": { "start": { - "line": 39, + "line": 73, "column": 0 }, "end": { - "line": 39, + "line": 73, "column": 1 } } @@ -8050,15 +8026,15 @@ "binop": null, "updateContext": null }, - "start": 973, - "end": 973, + "start": 1384, + "end": 1384, "loc": { "start": { - "line": 40, + "line": 74, "column": 0 }, "end": { - "line": 40, + "line": 74, "column": 0 } } diff --git a/docs/ast/source/utils/assignAll.ts.json b/docs/ast/source/utils/assignAll.ts.json new file mode 100644 index 0000000..35744a6 --- /dev/null +++ b/docs/ast/source/utils/assignAll.ts.json @@ -0,0 +1,5251 @@ +{ + "type": "File", + "start": 0, + "end": 1084, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 47, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1084, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 47, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ExportNamedDeclaration", + "start": 231, + "end": 471, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 238, + "end": 471, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 247, + "end": 256, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 25 + }, + "identifierName": "assignAll" + }, + "name": "assignAll", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 257, + "end": 259, + "loc": { + "start": { + "line": 16, + "column": 26 + }, + "end": { + "line": 16, + "column": 28 + }, + "identifierName": "to" + }, + "name": "to" + }, + { + "type": "Identifier", + "start": 261, + "end": 265, + "loc": { + "start": { + "line": 16, + "column": 30 + }, + "end": { + "line": 16, + "column": 34 + }, + "identifierName": "from" + }, + "name": "from" + }, + { + "type": "AssignmentPattern", + "start": 267, + "end": 280, + "loc": { + "start": { + "line": 16, + "column": 36 + }, + "end": { + "line": 16, + "column": 49 + } + }, + "left": { + "type": "Identifier", + "start": 267, + "end": 275, + "loc": { + "start": { + "line": 16, + "column": 36 + }, + "end": { + "line": 16, + "column": 44 + }, + "identifierName": "excludes" + }, + "name": "excludes" + }, + "right": { + "type": "ArrayExpression", + "start": 278, + "end": 280, + "loc": { + "start": { + "line": 16, + "column": 47 + }, + "end": { + "line": 16, + "column": 49 + } + }, + "elements": [] + } + } + ], + "body": { + "type": "BlockStatement", + "start": 282, + "end": 471, + "loc": { + "start": { + "line": 16, + "column": 51 + }, + "end": { + "line": 22, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 288, + "end": 362, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 78 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 294, + "end": 361, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 77 + } + }, + "id": { + "type": "Identifier", + "start": 294, + "end": 304, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 20 + }, + "identifierName": "properties" + }, + "name": "properties" + }, + "init": { + "type": "CallExpression", + "start": 307, + "end": 361, + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 77 + } + }, + "callee": { + "type": "Identifier", + "start": 307, + "end": 314, + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 30 + }, + "identifierName": "without" + }, + "name": "without" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 315, + "end": 347, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 315, + "end": 341, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 315, + "end": 321, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 37 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 322, + "end": 341, + "loc": { + "start": { + "line": 17, + "column": 38 + }, + "end": { + "line": 17, + "column": 57 + }, + "identifierName": "getOwnPropertyNames" + }, + "name": "getOwnPropertyNames" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 342, + "end": 346, + "loc": { + "start": { + "line": 17, + "column": 58 + }, + "end": { + "line": 17, + "column": 62 + }, + "identifierName": "from" + }, + "name": "from" + } + ] + }, + { + "type": "SpreadElement", + "start": 349, + "end": 360, + "loc": { + "start": { + "line": 17, + "column": 65 + }, + "end": { + "line": 17, + "column": 76 + } + }, + "argument": { + "type": "Identifier", + "start": 352, + "end": 360, + "loc": { + "start": { + "line": 17, + "column": 68 + }, + "end": { + "line": 17, + "column": 76 + }, + "identifierName": "excludes" + }, + "name": "excludes" + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ForOfStatement", + "start": 367, + "end": 454, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 20, + "column": 5 + } + }, + "left": { + "type": "VariableDeclaration", + "start": 372, + "end": 382, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 19 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 378, + "end": 382, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 378, + "end": 382, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 19 + }, + "identifierName": "prop" + }, + "name": "prop" + }, + "init": null + } + ], + "kind": "const" + }, + "right": { + "type": "Identifier", + "start": 386, + "end": 396, + "loc": { + "start": { + "line": 18, + "column": 23 + }, + "end": { + "line": 18, + "column": 33 + }, + "identifierName": "properties" + }, + "name": "properties" + }, + "body": { + "type": "BlockStatement", + "start": 398, + "end": 454, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 20, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 408, + "end": 448, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 408, + "end": 447, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 408, + "end": 415, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 15 + }, + "identifierName": "attempt" + }, + "name": "attempt" + }, + "arguments": [ + { + "type": "Identifier", + "start": 416, + "end": 430, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 30 + }, + "identifierName": "assignProperty" + }, + "name": "assignProperty" + }, + { + "type": "Identifier", + "start": 432, + "end": 434, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 34 + }, + "identifierName": "to" + }, + "name": "to" + }, + { + "type": "Identifier", + "start": 436, + "end": 440, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 40 + }, + "identifierName": "from" + }, + "name": "from" + }, + { + "type": "Identifier", + "start": 442, + "end": 446, + "loc": { + "start": { + "line": 19, + "column": 42 + }, + "end": { + "line": 19, + "column": 46 + }, + "identifierName": "prop" + }, + "name": "prop" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 459, + "end": 469, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 14 + } + }, + "argument": { + "type": "Identifier", + "start": 466, + "end": 468, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 13 + }, + "identifierName": "to" + }, + "name": "to" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns all properties from an object to another object including non enumerable\n * properties.\n * @lineNumber\n * 17\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {undefined} excludes\n * @return\n * {T}\n ", + "start": 0, + "end": 230, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns a property from one object to another while retaining descriptor properties.\n * @lineNumber\n * 37\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {string} prop\n ", + "start": 472, + "end": 666, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns all properties from an object to another object including non enumerable\n * properties.\n * @lineNumber\n * 17\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {undefined} excludes\n * @return\n * {T}\n ", + "start": 0, + "end": 230, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns a property from one object to another while retaining descriptor properties.\n * @lineNumber\n * 37\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {string} prop\n ", + "start": 472, + "end": 666, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 667, + "end": 1083, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 46, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 674, + "end": 1083, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 46, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 683, + "end": 697, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 30 + }, + "identifierName": "assignProperty" + }, + "name": "assignProperty", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 698, + "end": 700, + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 33 + }, + "identifierName": "to" + }, + "name": "to" + }, + { + "type": "Identifier", + "start": 702, + "end": 706, + "loc": { + "start": { + "line": 35, + "column": 35 + }, + "end": { + "line": 35, + "column": 39 + }, + "identifierName": "from" + }, + "name": "from" + }, + { + "type": "Identifier", + "start": 708, + "end": 712, + "loc": { + "start": { + "line": 35, + "column": 41 + }, + "end": { + "line": 35, + "column": 45 + }, + "identifierName": "prop" + }, + "name": "prop" + } + ], + "body": { + "type": "BlockStatement", + "start": 714, + "end": 1083, + "loc": { + "start": { + "line": 35, + "column": 47 + }, + "end": { + "line": 46, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 720, + "end": 781, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 65 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 726, + "end": 780, + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 64 + } + }, + "id": { + "type": "Identifier", + "start": 726, + "end": 736, + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 20 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + }, + "init": { + "type": "CallExpression", + "start": 739, + "end": 780, + "loc": { + "start": { + "line": 36, + "column": 23 + }, + "end": { + "line": 36, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 739, + "end": 770, + "loc": { + "start": { + "line": 36, + "column": 23 + }, + "end": { + "line": 36, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 739, + "end": 745, + "loc": { + "start": { + "line": 36, + "column": 23 + }, + "end": { + "line": 36, + "column": 29 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 746, + "end": 770, + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 54 + }, + "identifierName": "getOwnPropertyDescriptor" + }, + "name": "getOwnPropertyDescriptor" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 771, + "end": 773, + "loc": { + "start": { + "line": 36, + "column": 55 + }, + "end": { + "line": 36, + "column": 57 + }, + "identifierName": "to" + }, + "name": "to" + }, + { + "type": "Identifier", + "start": 775, + "end": 779, + "loc": { + "start": { + "line": 36, + "column": 59 + }, + "end": { + "line": 36, + "column": 63 + }, + "identifierName": "prop" + }, + "name": "prop" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 786, + "end": 1081, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 45, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 790, + "end": 828, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 46 + } + }, + "left": { + "type": "UnaryExpression", + "start": 790, + "end": 801, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 19 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 791, + "end": 801, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 19 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 805, + "end": 828, + "loc": { + "start": { + "line": 37, + "column": 23 + }, + "end": { + "line": 37, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 805, + "end": 815, + "loc": { + "start": { + "line": 37, + "column": 23 + }, + "end": { + "line": 37, + "column": 33 + }, + "identifierName": "descriptor" + }, + "name": "descriptor" + }, + "property": { + "type": "Identifier", + "start": 816, + "end": 828, + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 46 + }, + "identifierName": "configurable" + }, + "name": "configurable" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 830, + "end": 1081, + "loc": { + "start": { + "line": 37, + "column": 48 + }, + "end": { + "line": 45, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 840, + "end": 906, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 74 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 846, + "end": 905, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 73 + } + }, + "id": { + "type": "Identifier", + "start": 846, + "end": 859, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 27 + }, + "identifierName": "srcDescriptor" + }, + "name": "srcDescriptor" + }, + "init": { + "type": "CallExpression", + "start": 862, + "end": 905, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 862, + "end": 893, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 61 + } + }, + "object": { + "type": "Identifier", + "start": 862, + "end": 868, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 36 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 869, + "end": 893, + "loc": { + "start": { + "line": 38, + "column": 37 + }, + "end": { + "line": 38, + "column": 61 + }, + "identifierName": "getOwnPropertyDescriptor" + }, + "name": "getOwnPropertyDescriptor" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 894, + "end": 898, + "loc": { + "start": { + "line": 38, + "column": 62 + }, + "end": { + "line": 38, + "column": 66 + }, + "identifierName": "from" + }, + "name": "from" + }, + { + "type": "Identifier", + "start": 900, + "end": 904, + "loc": { + "start": { + "line": 38, + "column": 68 + }, + "end": { + "line": 38, + "column": 72 + }, + "identifierName": "prop" + }, + "name": "prop" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 915, + "end": 1075, + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 44, + "column": 9 + } + }, + "test": { + "type": "CallExpression", + "start": 919, + "end": 942, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 919, + "end": 927, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 20 + }, + "identifierName": "isObject" + }, + "name": "isObject" + }, + "arguments": [ + { + "type": "Identifier", + "start": 928, + "end": 941, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 34 + }, + "identifierName": "srcDescriptor" + }, + "name": "srcDescriptor" + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 944, + "end": 1015, + "loc": { + "start": { + "line": 39, + "column": 37 + }, + "end": { + "line": 41, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 958, + "end": 1005, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 59 + } + }, + "expression": { + "type": "CallExpression", + "start": 958, + "end": 1004, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 958, + "end": 979, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 958, + "end": 964, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 18 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 965, + "end": 979, + "loc": { + "start": { + "line": 40, + "column": 19 + }, + "end": { + "line": 40, + "column": 33 + }, + "identifierName": "defineProperty" + }, + "name": "defineProperty" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 980, + "end": 982, + "loc": { + "start": { + "line": 40, + "column": 34 + }, + "end": { + "line": 40, + "column": 36 + }, + "identifierName": "to" + }, + "name": "to" + }, + { + "type": "Identifier", + "start": 984, + "end": 988, + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 42 + }, + "identifierName": "prop" + }, + "name": "prop" + }, + { + "type": "Identifier", + "start": 990, + "end": 1003, + "loc": { + "start": { + "line": 40, + "column": 44 + }, + "end": { + "line": 40, + "column": 57 + }, + "identifierName": "srcDescriptor" + }, + "name": "srcDescriptor" + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 1029, + "end": 1075, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 44, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1043, + "end": 1065, + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1043, + "end": 1064, + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1043, + "end": 1051, + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 1043, + "end": 1045, + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 14 + }, + "identifierName": "to" + }, + "name": "to" + }, + "property": { + "type": "Identifier", + "start": 1046, + "end": 1050, + "loc": { + "start": { + "line": 43, + "column": 15 + }, + "end": { + "line": 43, + "column": 19 + }, + "identifierName": "prop" + }, + "name": "prop" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 1054, + "end": 1064, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 1054, + "end": 1058, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 27 + }, + "identifierName": "from" + }, + "name": "from" + }, + "property": { + "type": "Identifier", + "start": 1059, + "end": 1063, + "loc": { + "start": { + "line": 43, + "column": 28 + }, + "end": { + "line": 43, + "column": 32 + }, + "identifierName": "prop" + }, + "name": "prop" + }, + "computed": true + } + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns a property from one object to another while retaining descriptor properties.\n * @lineNumber\n * 37\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {string} prop\n ", + "start": 472, + "end": 666, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns a property from one object to another while retaining descriptor properties.\n * @lineNumber\n * 37\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {string} prop\n ", + "start": 472, + "end": 666, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns all properties from an object to another object including non enumerable\n * properties.\n * @lineNumber\n * 17\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {undefined} excludes\n * @return\n * {T}\n ", + "start": 0, + "end": 230, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns a property from one object to another while retaining descriptor properties.\n * @lineNumber\n * 37\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {string} prop\n ", + "start": 472, + "end": 666, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns all properties from an object to another object including non enumerable\n * properties.\n * @lineNumber\n * 17\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {undefined} excludes\n * @return\n * {T}\n ", + "start": 0, + "end": 230, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 231, + "end": 237, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 238, + "end": 246, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "assignAll", + "start": 247, + "end": 256, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 256, + "end": 257, + "loc": { + "start": { + "line": 16, + "column": 25 + }, + "end": { + "line": 16, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 257, + "end": 259, + "loc": { + "start": { + "line": 16, + "column": 26 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 259, + "end": 260, + "loc": { + "start": { + "line": 16, + "column": 28 + }, + "end": { + "line": 16, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 261, + "end": 265, + "loc": { + "start": { + "line": 16, + "column": 30 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 265, + "end": 266, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "excludes", + "start": 267, + "end": 275, + "loc": { + "start": { + "line": 16, + "column": 36 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 276, + "end": 277, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 46 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 278, + "end": 279, + "loc": { + "start": { + "line": 16, + "column": 47 + }, + "end": { + "line": 16, + "column": 48 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 279, + "end": 280, + "loc": { + "start": { + "line": 16, + "column": 48 + }, + "end": { + "line": 16, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 280, + "end": 281, + "loc": { + "start": { + "line": 16, + "column": 49 + }, + "end": { + "line": 16, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 282, + "end": 283, + "loc": { + "start": { + "line": 16, + "column": 51 + }, + "end": { + "line": 16, + "column": 52 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 288, + "end": 293, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "properties", + "start": 294, + "end": 304, + "loc": { + "start": { + "line": 17, + "column": 10 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 305, + "end": 306, + "loc": { + "start": { + "line": 17, + "column": 21 + }, + "end": { + "line": 17, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "without", + "start": 307, + "end": 314, + "loc": { + "start": { + "line": 17, + "column": 23 + }, + "end": { + "line": 17, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 314, + "end": 315, + "loc": { + "start": { + "line": 17, + "column": 30 + }, + "end": { + "line": 17, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 315, + "end": 321, + "loc": { + "start": { + "line": 17, + "column": 31 + }, + "end": { + "line": 17, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 321, + "end": 322, + "loc": { + "start": { + "line": 17, + "column": 37 + }, + "end": { + "line": 17, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getOwnPropertyNames", + "start": 322, + "end": 341, + "loc": { + "start": { + "line": 17, + "column": 38 + }, + "end": { + "line": 17, + "column": 57 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 341, + "end": 342, + "loc": { + "start": { + "line": 17, + "column": 57 + }, + "end": { + "line": 17, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 342, + "end": 346, + "loc": { + "start": { + "line": 17, + "column": 58 + }, + "end": { + "line": 17, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 346, + "end": 347, + "loc": { + "start": { + "line": 17, + "column": 62 + }, + "end": { + "line": 17, + "column": 63 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 347, + "end": 348, + "loc": { + "start": { + "line": 17, + "column": 63 + }, + "end": { + "line": 17, + "column": 64 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 349, + "end": 352, + "loc": { + "start": { + "line": 17, + "column": 65 + }, + "end": { + "line": 17, + "column": 68 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "excludes", + "start": 352, + "end": 360, + "loc": { + "start": { + "line": 17, + "column": 68 + }, + "end": { + "line": 17, + "column": 76 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 360, + "end": 361, + "loc": { + "start": { + "line": 17, + "column": 76 + }, + "end": { + "line": 17, + "column": 77 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 361, + "end": 362, + "loc": { + "start": { + "line": 17, + "column": 77 + }, + "end": { + "line": 17, + "column": 78 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 367, + "end": 370, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 371, + "end": 372, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 372, + "end": 377, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 378, + "end": 382, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "of", + "start": 383, + "end": 385, + "loc": { + "start": { + "line": 18, + "column": 20 + }, + "end": { + "line": 18, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "properties", + "start": 386, + "end": 396, + "loc": { + "start": { + "line": 18, + "column": 23 + }, + "end": { + "line": 18, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 396, + "end": 397, + "loc": { + "start": { + "line": 18, + "column": 33 + }, + "end": { + "line": 18, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 398, + "end": 399, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "attempt", + "start": 408, + "end": 415, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 415, + "end": 416, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "assignProperty", + "start": 416, + "end": 430, + "loc": { + "start": { + "line": 19, + "column": 16 + }, + "end": { + "line": 19, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 430, + "end": 431, + "loc": { + "start": { + "line": 19, + "column": 30 + }, + "end": { + "line": 19, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 432, + "end": 434, + "loc": { + "start": { + "line": 19, + "column": 32 + }, + "end": { + "line": 19, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 434, + "end": 435, + "loc": { + "start": { + "line": 19, + "column": 34 + }, + "end": { + "line": 19, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 436, + "end": 440, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 440, + "end": 441, + "loc": { + "start": { + "line": 19, + "column": 40 + }, + "end": { + "line": 19, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 442, + "end": 446, + "loc": { + "start": { + "line": 19, + "column": 42 + }, + "end": { + "line": 19, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 446, + "end": 447, + "loc": { + "start": { + "line": 19, + "column": 46 + }, + "end": { + "line": 19, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 447, + "end": 448, + "loc": { + "start": { + "line": 19, + "column": 47 + }, + "end": { + "line": 19, + "column": 48 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 453, + "end": 454, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 459, + "end": 465, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 466, + "end": 468, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 468, + "end": 469, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 470, + "end": 471, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Assigns a property from one object to another while retaining descriptor properties.\n * @lineNumber\n * 37\n * @param\n * {T} to\n * @param\n * {U} from\n * @param\n * {string} prop\n ", + "start": 472, + "end": 666, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 667, + "end": 673, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 674, + "end": 682, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "assignProperty", + "start": 683, + "end": 697, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 697, + "end": 698, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 698, + "end": 700, + "loc": { + "start": { + "line": 35, + "column": 31 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 700, + "end": 701, + "loc": { + "start": { + "line": 35, + "column": 33 + }, + "end": { + "line": 35, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 702, + "end": 706, + "loc": { + "start": { + "line": 35, + "column": 35 + }, + "end": { + "line": 35, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 706, + "end": 707, + "loc": { + "start": { + "line": 35, + "column": 39 + }, + "end": { + "line": 35, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 708, + "end": 712, + "loc": { + "start": { + "line": 35, + "column": 41 + }, + "end": { + "line": 35, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 712, + "end": 713, + "loc": { + "start": { + "line": 35, + "column": 45 + }, + "end": { + "line": 35, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 714, + "end": 715, + "loc": { + "start": { + "line": 35, + "column": 47 + }, + "end": { + "line": 35, + "column": 48 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 720, + "end": 725, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "descriptor", + "start": 726, + "end": 736, + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 737, + "end": 738, + "loc": { + "start": { + "line": 36, + "column": 21 + }, + "end": { + "line": 36, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 739, + "end": 745, + "loc": { + "start": { + "line": 36, + "column": 23 + }, + "end": { + "line": 36, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 745, + "end": 746, + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getOwnPropertyDescriptor", + "start": 746, + "end": 770, + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 54 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 770, + "end": 771, + "loc": { + "start": { + "line": 36, + "column": 54 + }, + "end": { + "line": 36, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 771, + "end": 773, + "loc": { + "start": { + "line": 36, + "column": 55 + }, + "end": { + "line": 36, + "column": 57 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 773, + "end": 774, + "loc": { + "start": { + "line": 36, + "column": 57 + }, + "end": { + "line": 36, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 775, + "end": 779, + "loc": { + "start": { + "line": 36, + "column": 59 + }, + "end": { + "line": 36, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 779, + "end": 780, + "loc": { + "start": { + "line": 36, + "column": 63 + }, + "end": { + "line": 36, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 780, + "end": 781, + "loc": { + "start": { + "line": 36, + "column": 64 + }, + "end": { + "line": 36, + "column": 65 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 786, + "end": 788, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 789, + "end": 790, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 790, + "end": 791, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "descriptor", + "start": 791, + "end": 801, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 19 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 802, + "end": 804, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "descriptor", + "start": 805, + "end": 815, + "loc": { + "start": { + "line": 37, + "column": 23 + }, + "end": { + "line": 37, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 815, + "end": 816, + "loc": { + "start": { + "line": 37, + "column": 33 + }, + "end": { + "line": 37, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "configurable", + "start": 816, + "end": 828, + "loc": { + "start": { + "line": 37, + "column": 34 + }, + "end": { + "line": 37, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 828, + "end": 829, + "loc": { + "start": { + "line": 37, + "column": 46 + }, + "end": { + "line": 37, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 830, + "end": 831, + "loc": { + "start": { + "line": 37, + "column": 48 + }, + "end": { + "line": 37, + "column": 49 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 840, + "end": 845, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "srcDescriptor", + "start": 846, + "end": 859, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 860, + "end": 861, + "loc": { + "start": { + "line": 38, + "column": 28 + }, + "end": { + "line": 38, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 862, + "end": 868, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 868, + "end": 869, + "loc": { + "start": { + "line": 38, + "column": 36 + }, + "end": { + "line": 38, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getOwnPropertyDescriptor", + "start": 869, + "end": 893, + "loc": { + "start": { + "line": 38, + "column": 37 + }, + "end": { + "line": 38, + "column": 61 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 893, + "end": 894, + "loc": { + "start": { + "line": 38, + "column": 61 + }, + "end": { + "line": 38, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 894, + "end": 898, + "loc": { + "start": { + "line": 38, + "column": 62 + }, + "end": { + "line": 38, + "column": 66 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 898, + "end": 899, + "loc": { + "start": { + "line": 38, + "column": 66 + }, + "end": { + "line": 38, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 900, + "end": 904, + "loc": { + "start": { + "line": 38, + "column": 68 + }, + "end": { + "line": 38, + "column": 72 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 904, + "end": 905, + "loc": { + "start": { + "line": 38, + "column": 72 + }, + "end": { + "line": 38, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 905, + "end": 906, + "loc": { + "start": { + "line": 38, + "column": 73 + }, + "end": { + "line": 38, + "column": 74 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 915, + "end": 917, + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 39, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 918, + "end": 919, + "loc": { + "start": { + "line": 39, + "column": 11 + }, + "end": { + "line": 39, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isObject", + "start": 919, + "end": 927, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 927, + "end": 928, + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "srcDescriptor", + "start": 928, + "end": 941, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 941, + "end": 942, + "loc": { + "start": { + "line": 39, + "column": 34 + }, + "end": { + "line": 39, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 942, + "end": 943, + "loc": { + "start": { + "line": 39, + "column": 35 + }, + "end": { + "line": 39, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 944, + "end": 945, + "loc": { + "start": { + "line": 39, + "column": 37 + }, + "end": { + "line": 39, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 958, + "end": 964, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 964, + "end": 965, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defineProperty", + "start": 965, + "end": 979, + "loc": { + "start": { + "line": 40, + "column": 19 + }, + "end": { + "line": 40, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 979, + "end": 980, + "loc": { + "start": { + "line": 40, + "column": 33 + }, + "end": { + "line": 40, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 980, + "end": 982, + "loc": { + "start": { + "line": 40, + "column": 34 + }, + "end": { + "line": 40, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 982, + "end": 983, + "loc": { + "start": { + "line": 40, + "column": 36 + }, + "end": { + "line": 40, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 984, + "end": 988, + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 988, + "end": 989, + "loc": { + "start": { + "line": 40, + "column": 42 + }, + "end": { + "line": 40, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "srcDescriptor", + "start": 990, + "end": 1003, + "loc": { + "start": { + "line": 40, + "column": 44 + }, + "end": { + "line": 40, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1003, + "end": 1004, + "loc": { + "start": { + "line": 40, + "column": 57 + }, + "end": { + "line": 40, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1004, + "end": 1005, + "loc": { + "start": { + "line": 40, + "column": 58 + }, + "end": { + "line": 40, + "column": 59 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1014, + "end": 1015, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 9 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 1024, + "end": 1028, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1029, + "end": 1030, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "to", + "start": 1043, + "end": 1045, + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 14 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1045, + "end": 1046, + "loc": { + "start": { + "line": 43, + "column": 14 + }, + "end": { + "line": 43, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 1046, + "end": 1050, + "loc": { + "start": { + "line": 43, + "column": 15 + }, + "end": { + "line": 43, + "column": 19 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1050, + "end": 1051, + "loc": { + "start": { + "line": 43, + "column": 19 + }, + "end": { + "line": 43, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1052, + "end": 1053, + "loc": { + "start": { + "line": 43, + "column": 21 + }, + "end": { + "line": 43, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 1054, + "end": 1058, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 27 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1058, + "end": 1059, + "loc": { + "start": { + "line": 43, + "column": 27 + }, + "end": { + "line": 43, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prop", + "start": 1059, + "end": 1063, + "loc": { + "start": { + "line": 43, + "column": 28 + }, + "end": { + "line": 43, + "column": 32 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1063, + "end": 1064, + "loc": { + "start": { + "line": 43, + "column": 32 + }, + "end": { + "line": 43, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1064, + "end": 1065, + "loc": { + "start": { + "line": 43, + "column": 33 + }, + "end": { + "line": 43, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1074, + "end": 1075, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1080, + "end": 1081, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1082, + "end": 1083, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 46, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1084, + "end": 1084, + "loc": { + "start": { + "line": 47, + "column": 0 + }, + "end": { + "line": 47, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/utils/bind.js.json b/docs/ast/source/utils/bind.ts.json similarity index 82% rename from docs/ast/source/utils/bind.js.json rename to docs/ast/source/utils/bind.ts.json index c68e6e3..0a296d1 100644 --- a/docs/ast/source/utils/bind.js.json +++ b/docs/ast/source/utils/bind.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 273, + "end": 296, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 17, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 273, + "end": 296, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 17, "column": 0 } }, @@ -116,16 +116,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Binds a function and copies metadata.\n * @private\n * @export\n * @param {Function} fn\n * @param {*} context\n * @returns {Function}\n ", + "value": "*\n * @desc\n * Binds a function and copies metadata.\n * @lineNumber\n * 12\n * @param\n * {Function} fn\n * @param\n * {undefined} context\n * @return\n * {Function}\n ", "start": 47, - "end": 187, + "end": 210, "loc": { "start": { "line": 2, "column": 0 }, "end": { - "line": 9, + "line": 13, "column": 3 } } @@ -134,15 +134,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 188, - "end": 272, + "start": 211, + "end": 295, "loc": { "start": { - "line": 10, + "line": 14, "column": 0 }, "end": { - "line": 12, + "line": 16, "column": 1 } }, @@ -150,29 +150,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 195, - "end": 272, + "start": 218, + "end": 295, "loc": { "start": { - "line": 10, + "line": 14, "column": 7 }, "end": { - "line": 12, + "line": 16, "column": 1 } }, "id": { "type": "Identifier", - "start": 204, - "end": 208, + "start": 227, + "end": 231, "loc": { "start": { - "line": 10, + "line": 14, "column": 16 }, "end": { - "line": 10, + "line": 14, "column": 20 }, "identifierName": "bind" @@ -186,15 +186,15 @@ "params": [ { "type": "Identifier", - "start": 209, - "end": 211, + "start": 232, + "end": 234, "loc": { "start": { - "line": 10, + "line": 14, "column": 21 }, "end": { - "line": 10, + "line": 14, "column": 23 }, "identifierName": "fn" @@ -203,15 +203,15 @@ }, { "type": "Identifier", - "start": 213, - "end": 220, + "start": 236, + "end": 243, "loc": { "start": { - "line": 10, + "line": 14, "column": 25 }, "end": { - "line": 10, + "line": 14, "column": 32 }, "identifierName": "context" @@ -221,58 +221,58 @@ ], "body": { "type": "BlockStatement", - "start": 222, - "end": 272, + "start": 245, + "end": 295, "loc": { "start": { - "line": 10, + "line": 14, "column": 34 }, "end": { - "line": 12, + "line": 16, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 228, - "end": 270, + "start": 251, + "end": 293, "loc": { "start": { - "line": 11, + "line": 15, "column": 4 }, "end": { - "line": 11, + "line": 15, "column": 46 } }, "argument": { "type": "CallExpression", - "start": 235, - "end": 269, + "start": 258, + "end": 292, "loc": { "start": { - "line": 11, + "line": 15, "column": 11 }, "end": { - "line": 11, + "line": 15, "column": 45 } }, "callee": { "type": "Identifier", - "start": 235, - "end": 247, + "start": 258, + "end": 270, "loc": { "start": { - "line": 11, + "line": 15, "column": 11 }, "end": { - "line": 11, + "line": 15, "column": 23 }, "identifierName": "copyMetadata" @@ -282,43 +282,43 @@ "arguments": [ { "type": "CallExpression", - "start": 248, - "end": 264, + "start": 271, + "end": 287, "loc": { "start": { - "line": 11, + "line": 15, "column": 24 }, "end": { - "line": 11, + "line": 15, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 248, - "end": 255, + "start": 271, + "end": 278, "loc": { "start": { - "line": 11, + "line": 15, "column": 24 }, "end": { - "line": 11, + "line": 15, "column": 31 } }, "object": { "type": "Identifier", - "start": 248, - "end": 250, + "start": 271, + "end": 273, "loc": { "start": { - "line": 11, + "line": 15, "column": 24 }, "end": { - "line": 11, + "line": 15, "column": 26 }, "identifierName": "fn" @@ -327,15 +327,15 @@ }, "property": { "type": "Identifier", - "start": 251, - "end": 255, + "start": 274, + "end": 278, "loc": { "start": { - "line": 11, + "line": 15, "column": 27 }, "end": { - "line": 11, + "line": 15, "column": 31 }, "identifierName": "bind" @@ -347,15 +347,15 @@ "arguments": [ { "type": "Identifier", - "start": 256, - "end": 263, + "start": 279, + "end": 286, "loc": { "start": { - "line": 11, + "line": 15, "column": 32 }, "end": { - "line": 11, + "line": 15, "column": 39 }, "identifierName": "context" @@ -366,15 +366,15 @@ }, { "type": "Identifier", - "start": 266, - "end": 268, + "start": 289, + "end": 291, "loc": { "start": { - "line": 11, + "line": 15, "column": 42 }, "end": { - "line": 11, + "line": 15, "column": 44 }, "identifierName": "fn" @@ -390,16 +390,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Binds a function and copies metadata.\n * @private\n * @export\n * @param {Function} fn\n * @param {*} context\n * @returns {Function}\n ", + "value": "*\n * @desc\n * Binds a function and copies metadata.\n * @lineNumber\n * 12\n * @param\n * {Function} fn\n * @param\n * {undefined} context\n * @return\n * {Function}\n ", "start": 47, - "end": 187, + "end": 210, "loc": { "start": { "line": 2, "column": 0 }, "end": { - "line": 9, + "line": 13, "column": 3 } } @@ -410,16 +410,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Binds a function and copies metadata.\n * @private\n * @export\n * @param {Function} fn\n * @param {*} context\n * @returns {Function}\n ", + "value": "*\n * @desc\n * Binds a function and copies metadata.\n * @lineNumber\n * 12\n * @param\n * {Function} fn\n * @param\n * {undefined} context\n * @return\n * {Function}\n ", "start": 47, - "end": 187, + "end": 210, "loc": { "start": { "line": 2, "column": 0 }, "end": { - "line": 9, + "line": 13, "column": 3 } } @@ -432,16 +432,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Binds a function and copies metadata.\n * @private\n * @export\n * @param {Function} fn\n * @param {*} context\n * @returns {Function}\n ", + "value": "*\n * @desc\n * Binds a function and copies metadata.\n * @lineNumber\n * 12\n * @param\n * {Function} fn\n * @param\n * {undefined} context\n * @return\n * {Function}\n ", "start": 47, - "end": 187, + "end": 210, "loc": { "start": { "line": 2, "column": 0 }, "end": { - "line": 9, + "line": 13, "column": 3 } } @@ -453,7 +453,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -633,16 +633,16 @@ }, { "type": "CommentBlock", - "value": "*\n * Binds a function and copies metadata.\n * @private\n * @export\n * @param {Function} fn\n * @param {*} context\n * @returns {Function}\n ", + "value": "*\n * @desc\n * Binds a function and copies metadata.\n * @lineNumber\n * 12\n * @param\n * {Function} fn\n * @param\n * {undefined} context\n * @return\n * {Function}\n ", "start": 47, - "end": 187, + "end": 210, "loc": { "start": { "line": 2, "column": 0 }, "end": { - "line": 9, + "line": 13, "column": 3 } } @@ -662,15 +662,15 @@ "updateContext": null }, "value": "export", - "start": 188, - "end": 194, + "start": 211, + "end": 217, "loc": { "start": { - "line": 10, + "line": 14, "column": 0 }, "end": { - "line": 10, + "line": 14, "column": 6 } } @@ -689,15 +689,15 @@ "binop": null }, "value": "function", - "start": 195, - "end": 203, + "start": 218, + "end": 226, "loc": { "start": { - "line": 10, + "line": 14, "column": 7 }, "end": { - "line": 10, + "line": 14, "column": 15 } } @@ -715,15 +715,15 @@ "binop": null }, "value": "bind", - "start": 204, - "end": 208, + "start": 227, + "end": 231, "loc": { "start": { - "line": 10, + "line": 14, "column": 16 }, "end": { - "line": 10, + "line": 14, "column": 20 } } @@ -740,15 +740,15 @@ "postfix": false, "binop": null }, - "start": 208, - "end": 209, + "start": 231, + "end": 232, "loc": { "start": { - "line": 10, + "line": 14, "column": 20 }, "end": { - "line": 10, + "line": 14, "column": 21 } } @@ -766,15 +766,15 @@ "binop": null }, "value": "fn", - "start": 209, - "end": 211, + "start": 232, + "end": 234, "loc": { "start": { - "line": 10, + "line": 14, "column": 21 }, "end": { - "line": 10, + "line": 14, "column": 23 } } @@ -792,15 +792,15 @@ "binop": null, "updateContext": null }, - "start": 211, - "end": 212, + "start": 234, + "end": 235, "loc": { "start": { - "line": 10, + "line": 14, "column": 23 }, "end": { - "line": 10, + "line": 14, "column": 24 } } @@ -818,15 +818,15 @@ "binop": null }, "value": "context", - "start": 213, - "end": 220, + "start": 236, + "end": 243, "loc": { "start": { - "line": 10, + "line": 14, "column": 25 }, "end": { - "line": 10, + "line": 14, "column": 32 } } @@ -843,15 +843,15 @@ "postfix": false, "binop": null }, - "start": 220, - "end": 221, + "start": 243, + "end": 244, "loc": { "start": { - "line": 10, + "line": 14, "column": 32 }, "end": { - "line": 10, + "line": 14, "column": 33 } } @@ -868,15 +868,15 @@ "postfix": false, "binop": null }, - "start": 222, - "end": 223, + "start": 245, + "end": 246, "loc": { "start": { - "line": 10, + "line": 14, "column": 34 }, "end": { - "line": 10, + "line": 14, "column": 35 } } @@ -896,15 +896,15 @@ "updateContext": null }, "value": "return", - "start": 228, - "end": 234, + "start": 251, + "end": 257, "loc": { "start": { - "line": 11, + "line": 15, "column": 4 }, "end": { - "line": 11, + "line": 15, "column": 10 } } @@ -922,15 +922,15 @@ "binop": null }, "value": "copyMetadata", - "start": 235, - "end": 247, + "start": 258, + "end": 270, "loc": { "start": { - "line": 11, + "line": 15, "column": 11 }, "end": { - "line": 11, + "line": 15, "column": 23 } } @@ -947,15 +947,15 @@ "postfix": false, "binop": null }, - "start": 247, - "end": 248, + "start": 270, + "end": 271, "loc": { "start": { - "line": 11, + "line": 15, "column": 23 }, "end": { - "line": 11, + "line": 15, "column": 24 } } @@ -973,15 +973,15 @@ "binop": null }, "value": "fn", - "start": 248, - "end": 250, + "start": 271, + "end": 273, "loc": { "start": { - "line": 11, + "line": 15, "column": 24 }, "end": { - "line": 11, + "line": 15, "column": 26 } } @@ -999,15 +999,15 @@ "binop": null, "updateContext": null }, - "start": 250, - "end": 251, + "start": 273, + "end": 274, "loc": { "start": { - "line": 11, + "line": 15, "column": 26 }, "end": { - "line": 11, + "line": 15, "column": 27 } } @@ -1025,15 +1025,15 @@ "binop": null }, "value": "bind", - "start": 251, - "end": 255, + "start": 274, + "end": 278, "loc": { "start": { - "line": 11, + "line": 15, "column": 27 }, "end": { - "line": 11, + "line": 15, "column": 31 } } @@ -1050,15 +1050,15 @@ "postfix": false, "binop": null }, - "start": 255, - "end": 256, + "start": 278, + "end": 279, "loc": { "start": { - "line": 11, + "line": 15, "column": 31 }, "end": { - "line": 11, + "line": 15, "column": 32 } } @@ -1076,15 +1076,15 @@ "binop": null }, "value": "context", - "start": 256, - "end": 263, + "start": 279, + "end": 286, "loc": { "start": { - "line": 11, + "line": 15, "column": 32 }, "end": { - "line": 11, + "line": 15, "column": 39 } } @@ -1101,15 +1101,15 @@ "postfix": false, "binop": null }, - "start": 263, - "end": 264, + "start": 286, + "end": 287, "loc": { "start": { - "line": 11, + "line": 15, "column": 39 }, "end": { - "line": 11, + "line": 15, "column": 40 } } @@ -1127,15 +1127,15 @@ "binop": null, "updateContext": null }, - "start": 264, - "end": 265, + "start": 287, + "end": 288, "loc": { "start": { - "line": 11, + "line": 15, "column": 40 }, "end": { - "line": 11, + "line": 15, "column": 41 } } @@ -1153,15 +1153,15 @@ "binop": null }, "value": "fn", - "start": 266, - "end": 268, + "start": 289, + "end": 291, "loc": { "start": { - "line": 11, + "line": 15, "column": 42 }, "end": { - "line": 11, + "line": 15, "column": 44 } } @@ -1178,15 +1178,15 @@ "postfix": false, "binop": null }, - "start": 268, - "end": 269, + "start": 291, + "end": 292, "loc": { "start": { - "line": 11, + "line": 15, "column": 44 }, "end": { - "line": 11, + "line": 15, "column": 45 } } @@ -1204,15 +1204,15 @@ "binop": null, "updateContext": null }, - "start": 269, - "end": 270, + "start": 292, + "end": 293, "loc": { "start": { - "line": 11, + "line": 15, "column": 45 }, "end": { - "line": 11, + "line": 15, "column": 46 } } @@ -1229,15 +1229,15 @@ "postfix": false, "binop": null }, - "start": 271, - "end": 272, + "start": 294, + "end": 295, "loc": { "start": { - "line": 12, + "line": 16, "column": 0 }, "end": { - "line": 12, + "line": 16, "column": 1 } } @@ -1255,15 +1255,15 @@ "binop": null, "updateContext": null }, - "start": 273, - "end": 273, + "start": 296, + "end": 296, "loc": { "start": { - "line": 13, + "line": 17, "column": 0 }, "end": { - "line": 13, + "line": 17, "column": 0 } } diff --git a/docs/ast/source/utils/copyMetaData.js.json b/docs/ast/source/utils/copyMetaData.ts.json similarity index 65% rename from docs/ast/source/utils/copyMetaData.js.json rename to docs/ast/source/utils/copyMetaData.ts.json index eb9d558..905736c 100644 --- a/docs/ast/source/utils/copyMetaData.js.json +++ b/docs/ast/source/utils/copyMetaData.ts.json @@ -1,148 +1,44 @@ { "type": "File", "start": 0, - "end": 337, + "end": 380, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 12, + "line": 17, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 337, + "end": 380, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 12, + "line": 17, "column": 0 } }, "sourceType": "module", "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "forOwn" - }, - "name": "forOwn" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "forOwn" - }, - "name": "forOwn" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @private\n ", - "start": 33, - "end": 227, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - } - ] - }, { "type": "ExportNamedDeclaration", - "start": 228, - "end": 336, + "start": 271, + "end": 379, "loc": { "start": { - "line": 8, + "line": 13, "column": 0 }, "end": { - "line": 11, + "line": 16, "column": 1 } }, @@ -150,29 +46,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 235, - "end": 336, + "start": 278, + "end": 379, "loc": { "start": { - "line": 8, + "line": 13, "column": 7 }, "end": { - "line": 11, + "line": 16, "column": 1 } }, "id": { "type": "Identifier", - "start": 244, - "end": 256, + "start": 287, + "end": 299, "loc": { "start": { - "line": 8, + "line": 13, "column": 16 }, "end": { - "line": 8, + "line": 13, "column": 28 }, "identifierName": "copyMetadata" @@ -186,15 +82,15 @@ "params": [ { "type": "Identifier", - "start": 257, - "end": 259, + "start": 300, + "end": 302, "loc": { "start": { - "line": 8, + "line": 13, "column": 29 }, "end": { - "line": 8, + "line": 13, "column": 31 }, "identifierName": "to" @@ -203,15 +99,15 @@ }, { "type": "Identifier", - "start": 261, - "end": 265, + "start": 304, + "end": 308, "loc": { "start": { - "line": 8, + "line": 13, "column": 33 }, "end": { - "line": 8, + "line": 13, "column": 37 }, "identifierName": "from" @@ -221,58 +117,58 @@ ], "body": { "type": "BlockStatement", - "start": 267, - "end": 336, + "start": 310, + "end": 379, "loc": { "start": { - "line": 8, + "line": 13, "column": 39 }, "end": { - "line": 11, + "line": 16, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 273, - "end": 319, + "start": 316, + "end": 362, "loc": { "start": { - "line": 9, + "line": 14, "column": 4 }, "end": { - "line": 9, + "line": 14, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 273, - "end": 318, + "start": 316, + "end": 361, "loc": { "start": { - "line": 9, + "line": 14, "column": 4 }, "end": { - "line": 9, + "line": 14, "column": 49 } }, "callee": { "type": "Identifier", - "start": 273, - "end": 279, + "start": 316, + "end": 322, "loc": { "start": { - "line": 9, + "line": 14, "column": 4 }, "end": { - "line": 9, + "line": 14, "column": 10 }, "identifierName": "forOwn" @@ -282,15 +178,15 @@ "arguments": [ { "type": "Identifier", - "start": 280, - "end": 284, + "start": 323, + "end": 327, "loc": { "start": { - "line": 9, + "line": 14, "column": 11 }, "end": { - "line": 9, + "line": 14, "column": 15 }, "identifierName": "from" @@ -299,15 +195,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 286, - "end": 317, + "start": 329, + "end": 360, "loc": { "start": { - "line": 9, + "line": 14, "column": 17 }, "end": { - "line": 9, + "line": 14, "column": 48 } }, @@ -318,15 +214,15 @@ "params": [ { "type": "Identifier", - "start": 287, - "end": 292, + "start": 330, + "end": 335, "loc": { "start": { - "line": 9, + "line": 14, "column": 18 }, "end": { - "line": 9, + "line": 14, "column": 23 }, "identifierName": "value" @@ -335,15 +231,15 @@ }, { "type": "Identifier", - "start": 294, - "end": 297, + "start": 337, + "end": 340, "loc": { "start": { - "line": 9, + "line": 14, "column": 25 }, "end": { - "line": 9, + "line": 14, "column": 28 }, "identifierName": "key" @@ -353,44 +249,44 @@ ], "body": { "type": "AssignmentExpression", - "start": 302, - "end": 317, + "start": 345, + "end": 360, "loc": { "start": { - "line": 9, + "line": 14, "column": 33 }, "end": { - "line": 9, + "line": 14, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 302, - "end": 309, + "start": 345, + "end": 352, "loc": { "start": { - "line": 9, + "line": 14, "column": 33 }, "end": { - "line": 9, + "line": 14, "column": 40 } }, "object": { "type": "Identifier", - "start": 302, - "end": 304, + "start": 345, + "end": 347, "loc": { "start": { - "line": 9, + "line": 14, "column": 33 }, "end": { - "line": 9, + "line": 14, "column": 35 }, "identifierName": "to" @@ -399,15 +295,15 @@ }, "property": { "type": "Identifier", - "start": 305, - "end": 308, + "start": 348, + "end": 351, "loc": { "start": { - "line": 9, + "line": 14, "column": 36 }, "end": { - "line": 9, + "line": 14, "column": 39 }, "identifierName": "key" @@ -418,15 +314,15 @@ }, "right": { "type": "Identifier", - "start": 312, - "end": 317, + "start": 355, + "end": 360, "loc": { "start": { - "line": 9, + "line": 14, "column": 43 }, "end": { - "line": 9, + "line": 14, "column": 48 }, "identifierName": "value" @@ -440,29 +336,29 @@ }, { "type": "ReturnStatement", - "start": 324, - "end": 334, + "start": 367, + "end": 377, "loc": { "start": { - "line": 10, + "line": 15, "column": 4 }, "end": { - "line": 10, + "line": 15, "column": 14 } }, "argument": { "type": "Identifier", - "start": 331, - "end": 333, + "start": 374, + "end": 376, "loc": { "start": { - "line": 10, + "line": 15, "column": 11 }, "end": { - "line": 10, + "line": 15, "column": 13 }, "identifierName": "to" @@ -476,16 +372,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @private\n ", - "start": 33, - "end": 227, + "value": "*\n * @desc\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @lineNumber\n * 10\n * @param\n * {undefined} to\n * @param\n * {undefined} from\n ", + "start": 0, + "end": 270, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 12, "column": 3 } } @@ -496,16 +392,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @private\n ", - "start": 33, - "end": 227, + "value": "*\n * @desc\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @lineNumber\n * 10\n * @param\n * {undefined} to\n * @param\n * {undefined} from\n ", + "start": 0, + "end": 270, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 12, "column": 3 } } @@ -518,16 +414,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @private\n ", - "start": 33, - "end": 227, + "value": "*\n * @desc\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @lineNumber\n * 10\n * @param\n * {undefined} to\n * @param\n * {undefined} from\n ", + "start": 0, + "end": 270, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 7, + "line": 12, "column": 3 } } @@ -535,200 +431,17 @@ ], "tokens": [ { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", + "type": "CommentBlock", + "value": "*\n * @desc\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @lineNumber\n * 10\n * @param\n * {undefined} to\n * @param\n * {undefined} from\n ", "start": 0, - "end": 6, + "end": 270, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forOwn", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 18, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @private\n ", - "start": 33, - "end": 227, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 7, + "line": 12, "column": 3 } } @@ -748,15 +461,15 @@ "updateContext": null }, "value": "export", - "start": 228, - "end": 234, + "start": 271, + "end": 277, "loc": { "start": { - "line": 8, + "line": 13, "column": 0 }, "end": { - "line": 8, + "line": 13, "column": 6 } } @@ -775,15 +488,15 @@ "binop": null }, "value": "function", - "start": 235, - "end": 243, + "start": 278, + "end": 286, "loc": { "start": { - "line": 8, + "line": 13, "column": 7 }, "end": { - "line": 8, + "line": 13, "column": 15 } } @@ -801,15 +514,15 @@ "binop": null }, "value": "copyMetadata", - "start": 244, - "end": 256, + "start": 287, + "end": 299, "loc": { "start": { - "line": 8, + "line": 13, "column": 16 }, "end": { - "line": 8, + "line": 13, "column": 28 } } @@ -826,15 +539,15 @@ "postfix": false, "binop": null }, - "start": 256, - "end": 257, + "start": 299, + "end": 300, "loc": { "start": { - "line": 8, + "line": 13, "column": 28 }, "end": { - "line": 8, + "line": 13, "column": 29 } } @@ -852,15 +565,15 @@ "binop": null }, "value": "to", - "start": 257, - "end": 259, + "start": 300, + "end": 302, "loc": { "start": { - "line": 8, + "line": 13, "column": 29 }, "end": { - "line": 8, + "line": 13, "column": 31 } } @@ -878,15 +591,15 @@ "binop": null, "updateContext": null }, - "start": 259, - "end": 260, + "start": 302, + "end": 303, "loc": { "start": { - "line": 8, + "line": 13, "column": 31 }, "end": { - "line": 8, + "line": 13, "column": 32 } } @@ -904,15 +617,15 @@ "binop": null }, "value": "from", - "start": 261, - "end": 265, + "start": 304, + "end": 308, "loc": { "start": { - "line": 8, + "line": 13, "column": 33 }, "end": { - "line": 8, + "line": 13, "column": 37 } } @@ -929,15 +642,15 @@ "postfix": false, "binop": null }, - "start": 265, - "end": 266, + "start": 308, + "end": 309, "loc": { "start": { - "line": 8, + "line": 13, "column": 37 }, "end": { - "line": 8, + "line": 13, "column": 38 } } @@ -954,15 +667,15 @@ "postfix": false, "binop": null }, - "start": 267, - "end": 268, + "start": 310, + "end": 311, "loc": { "start": { - "line": 8, + "line": 13, "column": 39 }, "end": { - "line": 8, + "line": 13, "column": 40 } } @@ -980,15 +693,15 @@ "binop": null }, "value": "forOwn", - "start": 273, - "end": 279, + "start": 316, + "end": 322, "loc": { "start": { - "line": 9, + "line": 14, "column": 4 }, "end": { - "line": 9, + "line": 14, "column": 10 } } @@ -1005,15 +718,15 @@ "postfix": false, "binop": null }, - "start": 279, - "end": 280, + "start": 322, + "end": 323, "loc": { "start": { - "line": 9, + "line": 14, "column": 10 }, "end": { - "line": 9, + "line": 14, "column": 11 } } @@ -1031,15 +744,15 @@ "binop": null }, "value": "from", - "start": 280, - "end": 284, + "start": 323, + "end": 327, "loc": { "start": { - "line": 9, + "line": 14, "column": 11 }, "end": { - "line": 9, + "line": 14, "column": 15 } } @@ -1057,15 +770,15 @@ "binop": null, "updateContext": null }, - "start": 284, - "end": 285, + "start": 327, + "end": 328, "loc": { "start": { - "line": 9, + "line": 14, "column": 15 }, "end": { - "line": 9, + "line": 14, "column": 16 } } @@ -1082,15 +795,15 @@ "postfix": false, "binop": null }, - "start": 286, - "end": 287, + "start": 329, + "end": 330, "loc": { "start": { - "line": 9, + "line": 14, "column": 17 }, "end": { - "line": 9, + "line": 14, "column": 18 } } @@ -1108,15 +821,15 @@ "binop": null }, "value": "value", - "start": 287, - "end": 292, + "start": 330, + "end": 335, "loc": { "start": { - "line": 9, + "line": 14, "column": 18 }, "end": { - "line": 9, + "line": 14, "column": 23 } } @@ -1134,15 +847,15 @@ "binop": null, "updateContext": null }, - "start": 292, - "end": 293, + "start": 335, + "end": 336, "loc": { "start": { - "line": 9, + "line": 14, "column": 23 }, "end": { - "line": 9, + "line": 14, "column": 24 } } @@ -1160,15 +873,15 @@ "binop": null }, "value": "key", - "start": 294, - "end": 297, + "start": 337, + "end": 340, "loc": { "start": { - "line": 9, + "line": 14, "column": 25 }, "end": { - "line": 9, + "line": 14, "column": 28 } } @@ -1185,15 +898,15 @@ "postfix": false, "binop": null }, - "start": 297, - "end": 298, + "start": 340, + "end": 341, "loc": { "start": { - "line": 9, + "line": 14, "column": 28 }, "end": { - "line": 9, + "line": 14, "column": 29 } } @@ -1211,15 +924,15 @@ "binop": null, "updateContext": null }, - "start": 299, - "end": 301, + "start": 342, + "end": 344, "loc": { "start": { - "line": 9, + "line": 14, "column": 30 }, "end": { - "line": 9, + "line": 14, "column": 32 } } @@ -1237,15 +950,15 @@ "binop": null }, "value": "to", - "start": 302, - "end": 304, + "start": 345, + "end": 347, "loc": { "start": { - "line": 9, + "line": 14, "column": 33 }, "end": { - "line": 9, + "line": 14, "column": 35 } } @@ -1263,15 +976,15 @@ "binop": null, "updateContext": null }, - "start": 304, - "end": 305, + "start": 347, + "end": 348, "loc": { "start": { - "line": 9, + "line": 14, "column": 35 }, "end": { - "line": 9, + "line": 14, "column": 36 } } @@ -1289,15 +1002,15 @@ "binop": null }, "value": "key", - "start": 305, - "end": 308, + "start": 348, + "end": 351, "loc": { "start": { - "line": 9, + "line": 14, "column": 36 }, "end": { - "line": 9, + "line": 14, "column": 39 } } @@ -1315,15 +1028,15 @@ "binop": null, "updateContext": null }, - "start": 308, - "end": 309, + "start": 351, + "end": 352, "loc": { "start": { - "line": 9, + "line": 14, "column": 39 }, "end": { - "line": 9, + "line": 14, "column": 40 } } @@ -1342,15 +1055,15 @@ "updateContext": null }, "value": "=", - "start": 310, - "end": 311, + "start": 353, + "end": 354, "loc": { "start": { - "line": 9, + "line": 14, "column": 41 }, "end": { - "line": 9, + "line": 14, "column": 42 } } @@ -1368,15 +1081,15 @@ "binop": null }, "value": "value", - "start": 312, - "end": 317, + "start": 355, + "end": 360, "loc": { "start": { - "line": 9, + "line": 14, "column": 43 }, "end": { - "line": 9, + "line": 14, "column": 48 } } @@ -1393,15 +1106,15 @@ "postfix": false, "binop": null }, - "start": 317, - "end": 318, + "start": 360, + "end": 361, "loc": { "start": { - "line": 9, + "line": 14, "column": 48 }, "end": { - "line": 9, + "line": 14, "column": 49 } } @@ -1419,15 +1132,15 @@ "binop": null, "updateContext": null }, - "start": 318, - "end": 319, + "start": 361, + "end": 362, "loc": { "start": { - "line": 9, + "line": 14, "column": 49 }, "end": { - "line": 9, + "line": 14, "column": 50 } } @@ -1447,15 +1160,15 @@ "updateContext": null }, "value": "return", - "start": 324, - "end": 330, + "start": 367, + "end": 373, "loc": { "start": { - "line": 10, + "line": 15, "column": 4 }, "end": { - "line": 10, + "line": 15, "column": 10 } } @@ -1473,15 +1186,15 @@ "binop": null }, "value": "to", - "start": 331, - "end": 333, + "start": 374, + "end": 376, "loc": { "start": { - "line": 10, + "line": 15, "column": 11 }, "end": { - "line": 10, + "line": 15, "column": 13 } } @@ -1499,15 +1212,15 @@ "binop": null, "updateContext": null }, - "start": 333, - "end": 334, + "start": 376, + "end": 377, "loc": { "start": { - "line": 10, + "line": 15, "column": 13 }, "end": { - "line": 10, + "line": 15, "column": 14 } } @@ -1524,15 +1237,15 @@ "postfix": false, "binop": null }, - "start": 335, - "end": 336, + "start": 378, + "end": 379, "loc": { "start": { - "line": 11, + "line": 16, "column": 0 }, "end": { - "line": 11, + "line": 16, "column": 1 } } @@ -1550,15 +1263,15 @@ "binop": null, "updateContext": null }, - "start": 337, - "end": 337, + "start": 380, + "end": 380, "loc": { "start": { - "line": 12, + "line": 17, "column": 0 }, "end": { - "line": 12, + "line": 17, "column": 0 } } diff --git a/docs/ast/source/utils/index.js.json b/docs/ast/source/utils/index.js.json deleted file mode 100644 index 5f01ed5..0000000 --- a/docs/ast/source/utils/index.js.json +++ /dev/null @@ -1,1077 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 186, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 186, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ExportAllDeclaration", - "start": 0, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "source": { - "type": "StringLiteral", - "start": 14, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "extra": { - "rawValue": "./log", - "raw": "'./log'" - }, - "value": "./log" - } - }, - { - "type": "ExportAllDeclaration", - "start": 23, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 34 - } - }, - "source": { - "type": "StringLiteral", - "start": 37, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 33 - } - }, - "extra": { - "rawValue": "./resolveFunction", - "raw": "'./resolveFunction'" - }, - "value": "./resolveFunction" - } - }, - { - "type": "ExportAllDeclaration", - "start": 58, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 38 - } - }, - "source": { - "type": "StringLiteral", - "start": 72, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 37 - } - }, - "extra": { - "rawValue": "./CompositeKeyWeakMap", - "raw": "'./CompositeKeyWeakMap'" - }, - "value": "./CompositeKeyWeakMap" - } - }, - { - "type": "ExportAllDeclaration", - "start": 97, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 32 - } - }, - "source": { - "type": "StringLiteral", - "start": 111, - "end": 128, - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 31 - } - }, - "extra": { - "rawValue": "./returnAtIndex", - "raw": "'./returnAtIndex'" - }, - "value": "./returnAtIndex" - } - }, - { - "type": "ExportAllDeclaration", - "start": 130, - "end": 161, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 31 - } - }, - "source": { - "type": "StringLiteral", - "start": 144, - "end": 160, - "loc": { - "start": { - "line": 5, - "column": 14 - }, - "end": { - "line": 5, - "column": 30 - } - }, - "extra": { - "rawValue": "./copyMetaData", - "raw": "'./copyMetaData'" - }, - "value": "./copyMetaData" - } - }, - { - "type": "ExportAllDeclaration", - "start": 162, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 23 - } - }, - "source": { - "type": "StringLiteral", - "start": 176, - "end": 184, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 22 - } - }, - "extra": { - "rawValue": "./bind", - "raw": "'./bind'" - }, - "value": "./bind" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./log", - "start": 14, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 21, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 23, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 32, - "end": 36, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./resolveFunction", - "start": 37, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 56, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 33 - }, - "end": { - "line": 2, - "column": 34 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 58, - "end": 64, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 65, - "end": 66, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 67, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./CompositeKeyWeakMap", - "start": 72, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 95, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 37 - }, - "end": { - "line": 3, - "column": 38 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 97, - "end": 103, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 104, - "end": 105, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 106, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./returnAtIndex", - "start": 111, - "end": 128, - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 128, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 4, - "column": 32 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 130, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 137, - "end": 138, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 139, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./copyMetaData", - "start": 144, - "end": 160, - "loc": { - "start": { - "line": 5, - "column": 14 - }, - "end": { - "line": 5, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 160, - "end": 161, - "loc": { - "start": { - "line": 5, - "column": 30 - }, - "end": { - "line": 5, - "column": 31 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 162, - "end": 168, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 169, - "end": 170, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 171, - "end": 175, - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./bind", - "start": 176, - "end": 184, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 184, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 186, - "end": 186, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/utils/isDecoratorArgs.ts.json b/docs/ast/source/utils/isDecoratorArgs.ts.json new file mode 100644 index 0000000..f2e542f --- /dev/null +++ b/docs/ast/source/utils/isDecoratorArgs.ts.json @@ -0,0 +1,2348 @@ +{ + "type": "File", + "start": 0, + "end": 338, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 18, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 338, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 18, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ExportNamedDeclaration", + "start": 94, + "end": 337, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 101, + "end": 337, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 110, + "end": 141, + "loc": { + "start": { + "line": 11, + "column": 16 + }, + "end": { + "line": 11, + "column": 47 + }, + "identifierName": "isMethodOrPropertyDecoratorArgs" + }, + "name": "isMethodOrPropertyDecoratorArgs", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 142, + "end": 149, + "loc": { + "start": { + "line": 11, + "column": 48 + }, + "end": { + "line": 11, + "column": 55 + } + }, + "argument": { + "type": "Identifier", + "start": 145, + "end": 149, + "loc": { + "start": { + "line": 11, + "column": 51 + }, + "end": { + "line": 11, + "column": 55 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 151, + "end": 337, + "loc": { + "start": { + "line": 11, + "column": 57 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 157, + "end": 335, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 16, + "column": 53 + } + }, + "argument": { + "type": "LogicalExpression", + "start": 164, + "end": 334, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 16, + "column": 52 + } + }, + "left": { + "type": "LogicalExpression", + "start": 164, + "end": 281, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 15, + "column": 42 + } + }, + "left": { + "type": "LogicalExpression", + "start": 164, + "end": 238, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 14, + "column": 28 + } + }, + "left": { + "type": "LogicalExpression", + "start": 164, + "end": 209, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 13, + "column": 28 + } + }, + "left": { + "type": "BinaryExpression", + "start": 164, + "end": 180, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 27 + } + }, + "left": { + "type": "MemberExpression", + "start": 164, + "end": 175, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 164, + "end": 168, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 15 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "Identifier", + "start": 169, + "end": 175, + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 22 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": ">=", + "right": { + "type": "NumericLiteral", + "start": 179, + "end": 180, + "loc": { + "start": { + "line": 12, + "column": 26 + }, + "end": { + "line": 12, + "column": 27 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 192, + "end": 209, + "loc": { + "start": { + "line": 13, + "column": 11 + }, + "end": { + "line": 13, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 192, + "end": 200, + "loc": { + "start": { + "line": 13, + "column": 11 + }, + "end": { + "line": 13, + "column": 19 + }, + "identifierName": "isObject" + }, + "name": "isObject" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 201, + "end": 208, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 201, + "end": 205, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 24 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 206, + "end": 207, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + } + ] + } + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 221, + "end": 238, + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 14, + "column": 28 + } + }, + "callee": { + "type": "Identifier", + "start": 221, + "end": 229, + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 14, + "column": 19 + }, + "identifierName": "isString" + }, + "name": "isString" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 230, + "end": 237, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 230, + "end": 234, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 24 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 235, + "end": 236, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 26 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + } + ] + } + }, + "operator": "&&", + "right": { + "type": "CallExpression", + "start": 250, + "end": 281, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 42 + } + }, + "callee": { + "type": "Identifier", + "start": 250, + "end": 260, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 21 + }, + "identifierName": "isFunction" + }, + "name": "isFunction" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 261, + "end": 280, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 261, + "end": 268, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 261, + "end": 265, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 26 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 266, + "end": 267, + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 28 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 269, + "end": 280, + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 41 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + } + ] + } + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 293, + "end": 334, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 52 + } + }, + "left": { + "type": "MemberExpression", + "start": 293, + "end": 322, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 293, + "end": 312, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 293, + "end": 300, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 293, + "end": 297, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 15 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 298, + "end": 299, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 17 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 301, + "end": 312, + "loc": { + "start": { + "line": 16, + "column": 19 + }, + "end": { + "line": 16, + "column": 30 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 313, + "end": 322, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 40 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "MemberExpression", + "start": 327, + "end": 334, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 327, + "end": 331, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 49 + }, + "identifierName": "args" + }, + "name": "args" + }, + "property": { + "type": "NumericLiteral", + "start": 332, + "end": 333, + "loc": { + "start": { + "line": 16, + "column": 50 + }, + "end": { + "line": 16, + "column": 51 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + } + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {undefined} args\n * @return\n * {boolean}\n ", + "start": 0, + "end": 93, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {undefined} args\n * @return\n * {boolean}\n ", + "start": 0, + "end": 93, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {undefined} args\n * @return\n * {boolean}\n ", + "start": 0, + "end": 93, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 5\n * @param\n * {undefined} args\n * @return\n * {boolean}\n ", + "start": 0, + "end": 93, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 94, + "end": 100, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 101, + "end": 109, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isMethodOrPropertyDecoratorArgs", + "start": 110, + "end": 141, + "loc": { + "start": { + "line": 11, + "column": 16 + }, + "end": { + "line": 11, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 141, + "end": 142, + "loc": { + "start": { + "line": 11, + "column": 47 + }, + "end": { + "line": 11, + "column": 48 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 142, + "end": 145, + "loc": { + "start": { + "line": 11, + "column": 48 + }, + "end": { + "line": 11, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 145, + "end": 149, + "loc": { + "start": { + "line": 11, + "column": 51 + }, + "end": { + "line": 11, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 149, + "end": 150, + "loc": { + "start": { + "line": 11, + "column": 55 + }, + "end": { + "line": 11, + "column": 56 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 151, + "end": 152, + "loc": { + "start": { + "line": 11, + "column": 57 + }, + "end": { + "line": 11, + "column": 58 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 157, + "end": 163, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 164, + "end": 168, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 168, + "end": 169, + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 169, + "end": 175, + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 22 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">=", + "start": 176, + "end": 178, + "loc": { + "start": { + "line": 12, + "column": 23 + }, + "end": { + "line": 12, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 179, + "end": 180, + "loc": { + "start": { + "line": 12, + "column": 26 + }, + "end": { + "line": 12, + "column": 27 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 189, + "end": 191, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isObject", + "start": 192, + "end": 200, + "loc": { + "start": { + "line": 13, + "column": 11 + }, + "end": { + "line": 13, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 200, + "end": 201, + "loc": { + "start": { + "line": 13, + "column": 19 + }, + "end": { + "line": 13, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 201, + "end": 205, + "loc": { + "start": { + "line": 13, + "column": 20 + }, + "end": { + "line": 13, + "column": 24 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 205, + "end": 206, + "loc": { + "start": { + "line": 13, + "column": 24 + }, + "end": { + "line": 13, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 206, + "end": 207, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 207, + "end": 208, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 13, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 208, + "end": 209, + "loc": { + "start": { + "line": 13, + "column": 27 + }, + "end": { + "line": 13, + "column": 28 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 218, + "end": 220, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isString", + "start": 221, + "end": 229, + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 14, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 229, + "end": 230, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 230, + "end": 234, + "loc": { + "start": { + "line": 14, + "column": 20 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 234, + "end": 235, + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 25 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 235, + "end": 236, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 26 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 236, + "end": 237, + "loc": { + "start": { + "line": 14, + "column": 26 + }, + "end": { + "line": 14, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 14, + "column": 27 + }, + "end": { + "line": 14, + "column": 28 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 247, + "end": 249, + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isFunction", + "start": 250, + "end": 260, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 260, + "end": 261, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 261, + "end": 265, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 26 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 265, + "end": 266, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 27 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 266, + "end": 267, + "loc": { + "start": { + "line": 15, + "column": 27 + }, + "end": { + "line": 15, + "column": 28 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 267, + "end": 268, + "loc": { + "start": { + "line": 15, + "column": 28 + }, + "end": { + "line": 15, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 268, + "end": 269, + "loc": { + "start": { + "line": 15, + "column": 29 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 269, + "end": 280, + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 280, + "end": 281, + "loc": { + "start": { + "line": 15, + "column": 41 + }, + "end": { + "line": 15, + "column": 42 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 290, + "end": 292, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 293, + "end": 297, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 297, + "end": 298, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 298, + "end": 299, + "loc": { + "start": { + "line": 16, + "column": 16 + }, + "end": { + "line": 16, + "column": 17 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 299, + "end": 300, + "loc": { + "start": { + "line": 16, + "column": 17 + }, + "end": { + "line": 16, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 300, + "end": 301, + "loc": { + "start": { + "line": 16, + "column": 18 + }, + "end": { + "line": 16, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 301, + "end": 312, + "loc": { + "start": { + "line": 16, + "column": 19 + }, + "end": { + "line": 16, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 312, + "end": 313, + "loc": { + "start": { + "line": 16, + "column": 30 + }, + "end": { + "line": 16, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prototype", + "start": 313, + "end": 322, + "loc": { + "start": { + "line": 16, + "column": 31 + }, + "end": { + "line": 16, + "column": 40 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 323, + "end": 326, + "loc": { + "start": { + "line": 16, + "column": 41 + }, + "end": { + "line": 16, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 327, + "end": 331, + "loc": { + "start": { + "line": 16, + "column": 45 + }, + "end": { + "line": 16, + "column": 49 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 331, + "end": 332, + "loc": { + "start": { + "line": 16, + "column": 49 + }, + "end": { + "line": 16, + "column": 50 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 332, + "end": 333, + "loc": { + "start": { + "line": 16, + "column": 50 + }, + "end": { + "line": 16, + "column": 51 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 333, + "end": 334, + "loc": { + "start": { + "line": 16, + "column": 51 + }, + "end": { + "line": 16, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 334, + "end": 335, + "loc": { + "start": { + "line": 16, + "column": 52 + }, + "end": { + "line": 16, + "column": 53 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 336, + "end": 337, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 338, + "end": 338, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/utils/isPrototypeAccess.ts.json b/docs/ast/source/utils/isPrototypeAccess.ts.json new file mode 100644 index 0000000..c059f1d --- /dev/null +++ b/docs/ast/source/utils/isPrototypeAccess.ts.json @@ -0,0 +1,1630 @@ +{ + "type": "File", + "start": 0, + "end": 349, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 18, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 349, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 18, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ExportNamedDeclaration", + "start": 129, + "end": 348, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 136, + "end": 348, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 145, + "end": 162, + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 33 + }, + "identifierName": "isPrototypeAccess" + }, + "name": "isPrototypeAccess", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 163, + "end": 170, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 41 + }, + "identifierName": "context" + }, + "name": "context" + }, + { + "type": "Identifier", + "start": 172, + "end": 178, + "loc": { + "start": { + "line": 13, + "column": 43 + }, + "end": { + "line": 13, + "column": 49 + }, + "identifierName": "target" + }, + "name": "target" + } + ], + "body": { + "type": "BlockStatement", + "start": 180, + "end": 348, + "loc": { + "start": { + "line": 13, + "column": 51 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 186, + "end": 346, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 79 + } + }, + "argument": { + "type": "LogicalExpression", + "start": 193, + "end": 345, + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 16, + "column": 78 + } + }, + "left": { + "type": "BinaryExpression", + "start": 193, + "end": 211, + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 14, + "column": 29 + } + }, + "left": { + "type": "Identifier", + "start": 193, + "end": 200, + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 14, + "column": 18 + }, + "identifierName": "context" + }, + "name": "context" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 205, + "end": 211, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 14, + "column": 29 + }, + "identifierName": "target" + }, + "name": "target" + } + }, + "operator": "||", + "right": { + "type": "LogicalExpression", + "start": 224, + "end": 344, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 16, + "column": 77 + } + }, + "left": { + "type": "BinaryExpression", + "start": 224, + "end": 266, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 54 + } + }, + "left": { + "type": "MemberExpression", + "start": 224, + "end": 243, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 224, + "end": 231, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 19 + }, + "identifierName": "context" + }, + "name": "context" + }, + "property": { + "type": "Identifier", + "start": 232, + "end": 243, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 31 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "operator": "!==", + "right": { + "type": "MemberExpression", + "start": 248, + "end": 266, + "loc": { + "start": { + "line": 15, + "column": 36 + }, + "end": { + "line": 15, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 248, + "end": 254, + "loc": { + "start": { + "line": 15, + "column": 36 + }, + "end": { + "line": 15, + "column": 42 + }, + "identifierName": "target" + }, + "name": "target" + }, + "property": { + "type": "Identifier", + "start": 255, + "end": 266, + "loc": { + "start": { + "line": 15, + "column": 43 + }, + "end": { + "line": 15, + "column": 54 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + } + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 282, + "end": 344, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 77 + } + }, + "left": { + "type": "MemberExpression", + "start": 282, + "end": 321, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 54 + } + }, + "object": { + "type": "CallExpression", + "start": 282, + "end": 309, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 282, + "end": 303, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 282, + "end": 288, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 21 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 289, + "end": 303, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 36 + }, + "identifierName": "getPrototypeOf" + }, + "name": "getPrototypeOf" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 304, + "end": 308, + "loc": { + "start": { + "line": 16, + "column": 37 + }, + "end": { + "line": 16, + "column": 41 + } + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 310, + "end": 321, + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 54 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "MemberExpression", + "start": 326, + "end": 344, + "loc": { + "start": { + "line": 16, + "column": 59 + }, + "end": { + "line": 16, + "column": 77 + } + }, + "object": { + "type": "Identifier", + "start": 326, + "end": 332, + "loc": { + "start": { + "line": 16, + "column": 59 + }, + "end": { + "line": 16, + "column": 65 + }, + "identifierName": "target" + }, + "name": "target" + }, + "property": { + "type": "Identifier", + "start": 333, + "end": 344, + "loc": { + "start": { + "line": 16, + "column": 66 + }, + "end": { + "line": 16, + "column": 77 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + } + }, + "extra": { + "parenthesized": true, + "parenStart": 223 + } + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 1\n * @param\n * {undefined} context\n * @param\n * {undefined} target\n * @return\n * {boolean}\n ", + "start": 0, + "end": 128, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 1\n * @param\n * {undefined} context\n * @param\n * {undefined} target\n * @return\n * {boolean}\n ", + "start": 0, + "end": 128, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 1\n * @param\n * {undefined} context\n * @param\n * {undefined} target\n * @return\n * {boolean}\n ", + "start": 0, + "end": 128, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 1\n * @param\n * {undefined} context\n * @param\n * {undefined} target\n * @return\n * {boolean}\n ", + "start": 0, + "end": 128, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 129, + "end": 135, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 136, + "end": 144, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isPrototypeAccess", + "start": 145, + "end": 162, + "loc": { + "start": { + "line": 13, + "column": 16 + }, + "end": { + "line": 13, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 162, + "end": 163, + "loc": { + "start": { + "line": 13, + "column": 33 + }, + "end": { + "line": 13, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 163, + "end": 170, + "loc": { + "start": { + "line": 13, + "column": 34 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 170, + "end": 171, + "loc": { + "start": { + "line": 13, + "column": 41 + }, + "end": { + "line": 13, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 172, + "end": 178, + "loc": { + "start": { + "line": 13, + "column": 43 + }, + "end": { + "line": 13, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 178, + "end": 179, + "loc": { + "start": { + "line": 13, + "column": 49 + }, + "end": { + "line": 13, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 180, + "end": 181, + "loc": { + "start": { + "line": 13, + "column": 51 + }, + "end": { + "line": 13, + "column": 52 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 186, + "end": 192, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 193, + "end": 200, + "loc": { + "start": { + "line": 14, + "column": 11 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 201, + "end": 204, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 205, + "end": 211, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 14, + "column": 29 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 220, + "end": 222, + "loc": { + "start": { + "line": 15, + "column": 8 + }, + "end": { + "line": 15, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 223, + "end": 224, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "context", + "start": 224, + "end": 231, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 15, + "column": 19 + }, + "end": { + "line": 15, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 232, + "end": 243, + "loc": { + "start": { + "line": 15, + "column": 20 + }, + "end": { + "line": 15, + "column": 31 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 244, + "end": 247, + "loc": { + "start": { + "line": 15, + "column": 32 + }, + "end": { + "line": 15, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 248, + "end": 254, + "loc": { + "start": { + "line": 15, + "column": 36 + }, + "end": { + "line": 15, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 254, + "end": 255, + "loc": { + "start": { + "line": 15, + "column": 42 + }, + "end": { + "line": 15, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 255, + "end": 266, + "loc": { + "start": { + "line": 15, + "column": 43 + }, + "end": { + "line": 15, + "column": 54 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 279, + "end": 281, + "loc": { + "start": { + "line": 16, + "column": 12 + }, + "end": { + "line": 16, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 282, + "end": 288, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 288, + "end": 289, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getPrototypeOf", + "start": 289, + "end": 303, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 303, + "end": 304, + "loc": { + "start": { + "line": 16, + "column": 36 + }, + "end": { + "line": 16, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 304, + "end": 308, + "loc": { + "start": { + "line": 16, + "column": 37 + }, + "end": { + "line": 16, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 308, + "end": 309, + "loc": { + "start": { + "line": 16, + "column": 41 + }, + "end": { + "line": 16, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 309, + "end": 310, + "loc": { + "start": { + "line": 16, + "column": 42 + }, + "end": { + "line": 16, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 310, + "end": 321, + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 54 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 322, + "end": 325, + "loc": { + "start": { + "line": 16, + "column": 55 + }, + "end": { + "line": 16, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 326, + "end": 332, + "loc": { + "start": { + "line": 16, + "column": 59 + }, + "end": { + "line": 16, + "column": 65 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 332, + "end": 333, + "loc": { + "start": { + "line": 16, + "column": 65 + }, + "end": { + "line": 16, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 333, + "end": 344, + "loc": { + "start": { + "line": 16, + "column": 66 + }, + "end": { + "line": 16, + "column": 77 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 344, + "end": 345, + "loc": { + "start": { + "line": 16, + "column": 77 + }, + "end": { + "line": 16, + "column": 78 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 345, + "end": 346, + "loc": { + "start": { + "line": 16, + "column": 78 + }, + "end": { + "line": 16, + "column": 79 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 347, + "end": 348, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 349, + "end": 349, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/utils/log.js.json b/docs/ast/source/utils/log.ts.json similarity index 69% rename from docs/ast/source/utils/log.js.json rename to docs/ast/source/utils/log.ts.json index 93c2800..9ed1357 100644 --- a/docs/ast/source/utils/log.js.json +++ b/docs/ast/source/utils/log.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 304, + "end": 203, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 17, + "line": 14, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 304, + "end": 203, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 17, + "line": 14, "column": 0 } }, @@ -30,15 +30,15 @@ "body": [ { "type": "ExportNamedDeclaration", - "start": 220, - "end": 303, + "start": 119, + "end": 202, "loc": { "start": { - "line": 14, - "column": 4 + "line": 11, + "column": 0 }, "end": { - "line": 16, + "line": 13, "column": 1 } }, @@ -46,30 +46,30 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 227, - "end": 303, + "start": 126, + "end": 202, "loc": { "start": { - "line": 14, - "column": 11 + "line": 11, + "column": 7 }, "end": { - "line": 16, + "line": 13, "column": 1 } }, "id": { "type": "Identifier", - "start": 236, - "end": 239, + "start": 135, + "end": 138, "loc": { "start": { - "line": 14, - "column": 20 + "line": 11, + "column": 16 }, "end": { - "line": 14, - "column": 23 + "line": 11, + "column": 19 }, "identifierName": "log" }, @@ -82,30 +82,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 240, - "end": 252, + "start": 139, + "end": 151, "loc": { "start": { - "line": 14, - "column": 24 + "line": 11, + "column": 20 }, "end": { - "line": 14, - "column": 36 + "line": 11, + "column": 32 } }, "left": { "type": "Identifier", - "start": 240, - "end": 247, + "start": 139, + "end": 146, "loc": { "start": { - "line": 14, - "column": 24 + "line": 11, + "column": 20 }, "end": { - "line": 14, - "column": 31 + "line": 11, + "column": 27 }, "identifierName": "message" }, @@ -113,16 +113,16 @@ }, "right": { "type": "StringLiteral", - "start": 250, - "end": 252, + "start": 149, + "end": 151, "loc": { "start": { - "line": 14, - "column": 34 + "line": 11, + "column": 30 }, "end": { - "line": 14, - "column": 36 + "line": 11, + "column": 32 } }, "extra": { @@ -135,59 +135,59 @@ ], "body": { "type": "BlockStatement", - "start": 254, - "end": 303, + "start": 153, + "end": 202, "loc": { "start": { - "line": 14, - "column": 38 + "line": 11, + "column": 34 }, "end": { - "line": 16, + "line": 13, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 260, - "end": 301, + "start": 159, + "end": 200, "loc": { "start": { - "line": 15, + "line": 12, "column": 4 }, "end": { - "line": 15, + "line": 12, "column": 45 } }, "argument": { "type": "TemplateLiteral", - "start": 267, - "end": 300, + "start": 166, + "end": 199, "loc": { "start": { - "line": 15, + "line": 12, "column": 11 }, "end": { - "line": 15, + "line": 12, "column": 44 } }, "expressions": [ { "type": "Identifier", - "start": 291, - "end": 298, + "start": 190, + "end": 197, "loc": { "start": { - "line": 15, + "line": 12, "column": 35 }, "end": { - "line": 15, + "line": 12, "column": 42 }, "identifierName": "message" @@ -198,15 +198,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 268, - "end": 289, + "start": 167, + "end": 188, "loc": { "start": { - "line": 15, + "line": 12, "column": 12 }, "end": { - "line": 15, + "line": 12, "column": 33 } }, @@ -218,15 +218,15 @@ }, { "type": "TemplateElement", - "start": 299, - "end": 299, + "start": 198, + "end": 198, "loc": { "start": { - "line": 15, + "line": 12, "column": 43 }, "end": { - "line": 15, + "line": 12, "column": 43 } }, @@ -245,32 +245,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n ", + "value": "*\n * @desc\n * Creates a log message.\n * @lineNumber\n * 9\n * @param\n * {undefined} message\n * @return\n * {string}\n ", "start": 0, - "end": 109, + "end": 118, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n ", - "start": 110, - "end": 219, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 14, + "line": 10, "column": 3 } } @@ -281,32 +265,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n ", + "value": "*\n * @desc\n * Creates a log message.\n * @lineNumber\n * 9\n * @param\n * {undefined} message\n * @return\n * {string}\n ", "start": 0, - "end": 109, + "end": 118, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n ", - "start": 110, - "end": 219, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 14, + "line": 10, "column": 3 } } @@ -319,32 +287,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n ", + "value": "*\n * @desc\n * Creates a log message.\n * @lineNumber\n * 9\n * @param\n * {undefined} message\n * @return\n * {string}\n ", "start": 0, - "end": 109, + "end": 118, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n ", - "start": 110, - "end": 219, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 14, + "line": 10, "column": 3 } } @@ -353,32 +305,16 @@ "tokens": [ { "type": "CommentBlock", - "value": "*\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n ", + "value": "*\n * @desc\n * Creates a log message.\n * @lineNumber\n * 9\n * @param\n * {undefined} message\n * @return\n * {string}\n ", "start": 0, - "end": 109, + "end": 118, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n ", - "start": 110, - "end": 219, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 14, + "line": 10, "column": 3 } } @@ -398,16 +334,16 @@ "updateContext": null }, "value": "export", - "start": 220, - "end": 226, + "start": 119, + "end": 125, "loc": { "start": { - "line": 14, - "column": 4 + "line": 11, + "column": 0 }, "end": { - "line": 14, - "column": 10 + "line": 11, + "column": 6 } } }, @@ -425,16 +361,16 @@ "binop": null }, "value": "function", - "start": 227, - "end": 235, + "start": 126, + "end": 134, "loc": { "start": { - "line": 14, - "column": 11 + "line": 11, + "column": 7 }, "end": { - "line": 14, - "column": 19 + "line": 11, + "column": 15 } } }, @@ -451,16 +387,16 @@ "binop": null }, "value": "log", - "start": 236, - "end": 239, + "start": 135, + "end": 138, "loc": { "start": { - "line": 14, - "column": 20 + "line": 11, + "column": 16 }, "end": { - "line": 14, - "column": 23 + "line": 11, + "column": 19 } } }, @@ -476,16 +412,16 @@ "postfix": false, "binop": null }, - "start": 239, - "end": 240, + "start": 138, + "end": 139, "loc": { "start": { - "line": 14, - "column": 23 + "line": 11, + "column": 19 }, "end": { - "line": 14, - "column": 24 + "line": 11, + "column": 20 } } }, @@ -502,16 +438,16 @@ "binop": null }, "value": "message", - "start": 240, - "end": 247, + "start": 139, + "end": 146, "loc": { "start": { - "line": 14, - "column": 24 + "line": 11, + "column": 20 }, "end": { - "line": 14, - "column": 31 + "line": 11, + "column": 27 } } }, @@ -529,16 +465,16 @@ "updateContext": null }, "value": "=", - "start": 248, - "end": 249, + "start": 147, + "end": 148, "loc": { "start": { - "line": 14, - "column": 32 + "line": 11, + "column": 28 }, "end": { - "line": 14, - "column": 33 + "line": 11, + "column": 29 } } }, @@ -556,16 +492,16 @@ "updateContext": null }, "value": "", - "start": 250, - "end": 252, + "start": 149, + "end": 151, "loc": { "start": { - "line": 14, - "column": 34 + "line": 11, + "column": 30 }, "end": { - "line": 14, - "column": 36 + "line": 11, + "column": 32 } } }, @@ -581,16 +517,16 @@ "postfix": false, "binop": null }, - "start": 252, - "end": 253, + "start": 151, + "end": 152, "loc": { "start": { - "line": 14, - "column": 36 + "line": 11, + "column": 32 }, "end": { - "line": 14, - "column": 37 + "line": 11, + "column": 33 } } }, @@ -606,16 +542,16 @@ "postfix": false, "binop": null }, - "start": 254, - "end": 255, + "start": 153, + "end": 154, "loc": { "start": { - "line": 14, - "column": 38 + "line": 11, + "column": 34 }, "end": { - "line": 14, - "column": 39 + "line": 11, + "column": 35 } } }, @@ -634,15 +570,15 @@ "updateContext": null }, "value": "return", - "start": 260, - "end": 266, + "start": 159, + "end": 165, "loc": { "start": { - "line": 15, + "line": 12, "column": 4 }, "end": { - "line": 15, + "line": 12, "column": 10 } } @@ -659,15 +595,15 @@ "postfix": false, "binop": null }, - "start": 267, - "end": 268, + "start": 166, + "end": 167, "loc": { "start": { - "line": 15, + "line": 12, "column": 11 }, "end": { - "line": 15, + "line": 12, "column": 12 } } @@ -686,15 +622,15 @@ "updateContext": null }, "value": "lodash-decorators -> ", - "start": 268, - "end": 289, + "start": 167, + "end": 188, "loc": { "start": { - "line": 15, + "line": 12, "column": 12 }, "end": { - "line": 15, + "line": 12, "column": 33 } } @@ -711,15 +647,15 @@ "postfix": false, "binop": null }, - "start": 289, - "end": 291, + "start": 188, + "end": 190, "loc": { "start": { - "line": 15, + "line": 12, "column": 33 }, "end": { - "line": 15, + "line": 12, "column": 35 } } @@ -737,15 +673,15 @@ "binop": null }, "value": "message", - "start": 291, - "end": 298, + "start": 190, + "end": 197, "loc": { "start": { - "line": 15, + "line": 12, "column": 35 }, "end": { - "line": 15, + "line": 12, "column": 42 } } @@ -762,15 +698,15 @@ "postfix": false, "binop": null }, - "start": 298, - "end": 299, + "start": 197, + "end": 198, "loc": { "start": { - "line": 15, + "line": 12, "column": 42 }, "end": { - "line": 15, + "line": 12, "column": 43 } } @@ -789,15 +725,15 @@ "updateContext": null }, "value": "", - "start": 299, - "end": 299, + "start": 198, + "end": 198, "loc": { "start": { - "line": 15, + "line": 12, "column": 43 }, "end": { - "line": 15, + "line": 12, "column": 43 } } @@ -814,15 +750,15 @@ "postfix": false, "binop": null }, - "start": 299, - "end": 300, + "start": 198, + "end": 199, "loc": { "start": { - "line": 15, + "line": 12, "column": 43 }, "end": { - "line": 15, + "line": 12, "column": 44 } } @@ -840,15 +776,15 @@ "binop": null, "updateContext": null }, - "start": 300, - "end": 301, + "start": 199, + "end": 200, "loc": { "start": { - "line": 15, + "line": 12, "column": 44 }, "end": { - "line": 15, + "line": 12, "column": 45 } } @@ -865,15 +801,15 @@ "postfix": false, "binop": null }, - "start": 302, - "end": 303, + "start": 201, + "end": 202, "loc": { "start": { - "line": 16, + "line": 13, "column": 0 }, "end": { - "line": 16, + "line": 13, "column": 1 } } @@ -891,15 +827,15 @@ "binop": null, "updateContext": null }, - "start": 304, - "end": 304, + "start": 203, + "end": 203, "loc": { "start": { - "line": 17, + "line": 14, "column": 0 }, "end": { - "line": 17, + "line": 14, "column": 0 } } diff --git a/docs/ast/source/utils/resolveFunction.js.json b/docs/ast/source/utils/resolveFunction.ts.json similarity index 76% rename from docs/ast/source/utils/resolveFunction.js.json rename to docs/ast/source/utils/resolveFunction.ts.json index 244dd48..56cb111 100644 --- a/docs/ast/source/utils/resolveFunction.js.json +++ b/docs/ast/source/utils/resolveFunction.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1052, + "end": 914, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 29, + "line": 34, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1052, + "end": 914, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 29, + "line": 34, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 46, + "end": 28, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 46 + "column": 28 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 19, + "end": 12, "loc": { "start": { "line": 1, @@ -54,30 +54,13 @@ }, "end": { "line": 1, - "column": 19 + "column": 12 } }, "imported": { "type": "Identifier", "start": 9, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "isFunction" - }, - "name": "isFunction" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 19, + "end": 12, "loc": { "start": { "line": 1, @@ -85,124 +68,6 @@ }, "end": { "line": 1, - "column": 19 - }, - "identifierName": "isFunction" - }, - "name": "isFunction" - } - }, - { - "type": "ImportSpecifier", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "imported": { - "type": "Identifier", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - }, - "identifierName": "isString" - }, - "name": "isString" - }, - "local": { - "type": "Identifier", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - }, - "identifierName": "isString" - }, - "name": "isString" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 37, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "extra": { - "rawValue": "lodash", - "raw": "'lodash'" - }, - "value": "lodash" - } - }, - { - "type": "ImportDeclaration", - "start": 47, - "end": 75, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 28 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 56, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 56, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 12 }, "identifierName": "log" @@ -211,15 +76,15 @@ }, "local": { "type": "Identifier", - "start": 56, - "end": 59, + "start": 9, + "end": 12, "loc": { "start": { - "line": 2, + "line": 1, "column": 9 }, "end": { - "line": 2, + "line": 1, "column": 12 }, "identifierName": "log" @@ -230,15 +95,15 @@ ], "source": { "type": "StringLiteral", - "start": 67, - "end": 74, + "start": 20, + "end": 27, "loc": { "start": { - "line": 2, + "line": 1, "column": 20 }, "end": { - "line": 2, + "line": 1, "column": 27 } }, @@ -251,17 +116,17 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @private\n * @param {Function|string} method The method or method name.\n * @param {Object} [context] The context object to resolve from.\n * @param {Object} [target] The target object to resolve from.\n * @returns {Function} The resolved function.\n ", - "start": 76, - "end": 540, + "value": "*\n * @desc\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @lineNumber\n * 16\n * @param\n * {undefined} method\n * @param\n * {undefined} context\n * @param\n * {undefined} target\n * @param\n * {undefined} throwNotFound\n ", + "start": 29, + "end": 402, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 12, - "column": 4 + "line": 17, + "column": 3 } } } @@ -269,15 +134,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 541, - "end": 1051, + "start": 403, + "end": 913, "loc": { "start": { - "line": 13, + "line": 18, "column": 0 }, "end": { - "line": 28, + "line": 33, "column": 1 } }, @@ -285,29 +150,29 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 548, - "end": 1051, + "start": 410, + "end": 913, "loc": { "start": { - "line": 13, + "line": 18, "column": 7 }, "end": { - "line": 28, + "line": 33, "column": 1 } }, "id": { "type": "Identifier", - "start": 557, - "end": 572, + "start": 419, + "end": 434, "loc": { "start": { - "line": 13, + "line": 18, "column": 16 }, "end": { - "line": 13, + "line": 18, "column": 31 }, "identifierName": "resolveFunction" @@ -321,15 +186,15 @@ "params": [ { "type": "Identifier", - "start": 573, - "end": 579, + "start": 435, + "end": 441, "loc": { "start": { - "line": 13, + "line": 18, "column": 32 }, "end": { - "line": 13, + "line": 18, "column": 38 }, "identifierName": "method" @@ -338,15 +203,15 @@ }, { "type": "Identifier", - "start": 581, - "end": 588, + "start": 443, + "end": 450, "loc": { "start": { - "line": 13, + "line": 18, "column": 40 }, "end": { - "line": 13, + "line": 18, "column": 47 }, "identifierName": "context" @@ -355,15 +220,15 @@ }, { "type": "Identifier", - "start": 590, - "end": 596, + "start": 452, + "end": 458, "loc": { "start": { - "line": 13, + "line": 18, "column": 49 }, "end": { - "line": 13, + "line": 18, "column": 55 }, "identifierName": "target" @@ -372,29 +237,29 @@ }, { "type": "AssignmentPattern", - "start": 598, - "end": 618, + "start": 460, + "end": 480, "loc": { "start": { - "line": 13, + "line": 18, "column": 57 }, "end": { - "line": 13, + "line": 18, "column": 77 } }, "left": { "type": "Identifier", - "start": 598, - "end": 611, + "start": 460, + "end": 473, "loc": { "start": { - "line": 13, + "line": 18, "column": 57 }, "end": { - "line": 13, + "line": 18, "column": 70 }, "identifierName": "throwNotFound" @@ -403,15 +268,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 614, - "end": 618, + "start": 476, + "end": 480, "loc": { "start": { - "line": 13, + "line": 18, "column": 73 }, "end": { - "line": 13, + "line": 18, "column": 77 } }, @@ -421,58 +286,58 @@ ], "body": { "type": "BlockStatement", - "start": 620, - "end": 1051, + "start": 482, + "end": 913, "loc": { "start": { - "line": 13, + "line": 18, "column": 79 }, "end": { - "line": 28, + "line": 33, "column": 1 } }, "body": [ { "type": "IfStatement", - "start": 626, - "end": 921, + "start": 488, + "end": 783, "loc": { "start": { - "line": 14, + "line": 19, "column": 4 }, "end": { - "line": 24, + "line": 29, "column": 5 } }, "test": { "type": "CallExpression", - "start": 630, - "end": 648, + "start": 492, + "end": 510, "loc": { "start": { - "line": 14, + "line": 19, "column": 8 }, "end": { - "line": 14, + "line": 19, "column": 26 } }, "callee": { "type": "Identifier", - "start": 630, - "end": 640, + "start": 492, + "end": 502, "loc": { "start": { - "line": 14, + "line": 19, "column": 8 }, "end": { - "line": 14, + "line": 19, "column": 18 }, "identifierName": "isFunction" @@ -482,15 +347,15 @@ "arguments": [ { "type": "Identifier", - "start": 641, - "end": 647, + "start": 503, + "end": 509, "loc": { "start": { - "line": 14, + "line": 19, "column": 19 }, "end": { - "line": 14, + "line": 19, "column": 25 }, "identifierName": "method" @@ -501,44 +366,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 650, - "end": 680, + "start": 512, + "end": 542, "loc": { "start": { - "line": 14, + "line": 19, "column": 28 }, "end": { - "line": 16, + "line": 21, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 660, - "end": 674, + "start": 522, + "end": 536, "loc": { "start": { - "line": 15, + "line": 20, "column": 8 }, "end": { - "line": 15, + "line": 20, "column": 22 } }, "argument": { "type": "Identifier", - "start": 667, - "end": 673, + "start": 529, + "end": 535, "loc": { "start": { - "line": 15, + "line": 20, "column": 15 }, "end": { - "line": 15, + "line": 20, "column": 21 }, "identifierName": "method" @@ -551,43 +416,43 @@ }, "alternate": { "type": "IfStatement", - "start": 690, - "end": 921, + "start": 552, + "end": 783, "loc": { "start": { - "line": 17, + "line": 22, "column": 9 }, "end": { - "line": 24, + "line": 29, "column": 5 } }, "test": { "type": "CallExpression", - "start": 694, - "end": 710, + "start": 556, + "end": 572, "loc": { "start": { - "line": 17, + "line": 22, "column": 13 }, "end": { - "line": 17, + "line": 22, "column": 29 } }, "callee": { "type": "Identifier", - "start": 694, - "end": 702, + "start": 556, + "end": 564, "loc": { "start": { - "line": 17, + "line": 22, "column": 13 }, "end": { - "line": 17, + "line": 22, "column": 21 }, "identifierName": "isString" @@ -597,15 +462,15 @@ "arguments": [ { "type": "Identifier", - "start": 703, - "end": 709, + "start": 565, + "end": 571, "loc": { "start": { - "line": 17, + "line": 22, "column": 22 }, "end": { - "line": 17, + "line": 22, "column": 28 }, "identifierName": "method" @@ -616,58 +481,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 712, - "end": 921, + "start": 574, + "end": 783, "loc": { "start": { - "line": 17, + "line": 22, "column": 31 }, "end": { - "line": 24, + "line": 29, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 722, - "end": 915, + "start": 584, + "end": 777, "loc": { "start": { - "line": 18, + "line": 23, "column": 8 }, "end": { - "line": 23, + "line": 28, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 726, - "end": 764, + "start": 588, + "end": 626, "loc": { "start": { - "line": 18, + "line": 23, "column": 12 }, "end": { - "line": 18, + "line": 23, "column": 50 } }, "left": { "type": "Identifier", - "start": 726, - "end": 733, + "start": 588, + "end": 595, "loc": { "start": { - "line": 18, + "line": 23, "column": 12 }, "end": { - "line": 18, + "line": 23, "column": 19 }, "identifierName": "context" @@ -677,29 +542,29 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 737, - "end": 764, + "start": 599, + "end": 626, "loc": { "start": { - "line": 18, + "line": 23, "column": 23 }, "end": { - "line": 18, + "line": 23, "column": 50 } }, "callee": { "type": "Identifier", - "start": 737, - "end": 747, + "start": 599, + "end": 609, "loc": { "start": { - "line": 18, + "line": 23, "column": 23 }, "end": { - "line": 18, + "line": 23, "column": 33 }, "identifierName": "isFunction" @@ -709,29 +574,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 748, - "end": 763, + "start": 610, + "end": 625, "loc": { "start": { - "line": 18, + "line": 23, "column": 34 }, "end": { - "line": 18, + "line": 23, "column": 49 } }, "object": { "type": "Identifier", - "start": 748, - "end": 755, + "start": 610, + "end": 617, "loc": { "start": { - "line": 18, + "line": 23, "column": 34 }, "end": { - "line": 18, + "line": 23, "column": 41 }, "identifierName": "context" @@ -740,15 +605,15 @@ }, "property": { "type": "Identifier", - "start": 756, - "end": 762, + "start": 618, + "end": 624, "loc": { "start": { - "line": 18, + "line": 23, "column": 42 }, "end": { - "line": 18, + "line": 23, "column": 48 }, "identifierName": "method" @@ -762,58 +627,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 766, - "end": 813, + "start": 628, + "end": 675, "loc": { "start": { - "line": 18, + "line": 23, "column": 52 }, "end": { - "line": 20, + "line": 25, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 780, - "end": 803, + "start": 642, + "end": 665, "loc": { "start": { - "line": 19, + "line": 24, "column": 12 }, "end": { - "line": 19, + "line": 24, "column": 35 } }, "argument": { "type": "MemberExpression", - "start": 787, - "end": 802, + "start": 649, + "end": 664, "loc": { "start": { - "line": 19, + "line": 24, "column": 19 }, "end": { - "line": 19, + "line": 24, "column": 34 } }, "object": { "type": "Identifier", - "start": 787, - "end": 794, + "start": 649, + "end": 656, "loc": { "start": { - "line": 19, + "line": 24, "column": 19 }, "end": { - "line": 19, + "line": 24, "column": 26 }, "identifierName": "context" @@ -822,15 +687,15 @@ }, "property": { "type": "Identifier", - "start": 795, - "end": 801, + "start": 657, + "end": 663, "loc": { "start": { - "line": 19, + "line": 24, "column": 27 }, "end": { - "line": 19, + "line": 24, "column": 33 }, "identifierName": "method" @@ -845,43 +710,43 @@ }, "alternate": { "type": "IfStatement", - "start": 827, - "end": 915, + "start": 689, + "end": 777, "loc": { "start": { - "line": 21, + "line": 26, "column": 13 }, "end": { - "line": 23, + "line": 28, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 831, - "end": 867, + "start": 693, + "end": 729, "loc": { "start": { - "line": 21, + "line": 26, "column": 17 }, "end": { - "line": 21, + "line": 26, "column": 53 } }, "left": { "type": "Identifier", - "start": 831, - "end": 837, + "start": 693, + "end": 699, "loc": { "start": { - "line": 21, + "line": 26, "column": 17 }, "end": { - "line": 21, + "line": 26, "column": 23 }, "identifierName": "target" @@ -891,29 +756,29 @@ "operator": "&&", "right": { "type": "CallExpression", - "start": 841, - "end": 867, + "start": 703, + "end": 729, "loc": { "start": { - "line": 21, + "line": 26, "column": 27 }, "end": { - "line": 21, + "line": 26, "column": 53 } }, "callee": { "type": "Identifier", - "start": 841, - "end": 851, + "start": 703, + "end": 713, "loc": { "start": { - "line": 21, + "line": 26, "column": 27 }, "end": { - "line": 21, + "line": 26, "column": 37 }, "identifierName": "isFunction" @@ -923,29 +788,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 852, - "end": 866, + "start": 714, + "end": 728, "loc": { "start": { - "line": 21, + "line": 26, "column": 38 }, "end": { - "line": 21, + "line": 26, "column": 52 } }, "object": { "type": "Identifier", - "start": 852, - "end": 858, + "start": 714, + "end": 720, "loc": { "start": { - "line": 21, + "line": 26, "column": 38 }, "end": { - "line": 21, + "line": 26, "column": 44 }, "identifierName": "target" @@ -954,15 +819,15 @@ }, "property": { "type": "Identifier", - "start": 859, - "end": 865, + "start": 721, + "end": 727, "loc": { "start": { - "line": 21, + "line": 26, "column": 45 }, "end": { - "line": 21, + "line": 26, "column": 51 }, "identifierName": "method" @@ -976,58 +841,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 869, - "end": 915, + "start": 731, + "end": 777, "loc": { "start": { - "line": 21, + "line": 26, "column": 55 }, "end": { - "line": 23, + "line": 28, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 883, - "end": 905, + "start": 745, + "end": 767, "loc": { "start": { - "line": 22, + "line": 27, "column": 12 }, "end": { - "line": 22, + "line": 27, "column": 34 } }, "argument": { "type": "MemberExpression", - "start": 890, - "end": 904, + "start": 752, + "end": 766, "loc": { "start": { - "line": 22, + "line": 27, "column": 19 }, "end": { - "line": 22, + "line": 27, "column": 33 } }, "object": { "type": "Identifier", - "start": 890, - "end": 896, + "start": 752, + "end": 758, "loc": { "start": { - "line": 22, + "line": 27, "column": 19 }, "end": { - "line": 22, + "line": 27, "column": 25 }, "identifierName": "target" @@ -1036,15 +901,15 @@ }, "property": { "type": "Identifier", - "start": 897, - "end": 903, + "start": 759, + "end": 765, "loc": { "start": { - "line": 22, + "line": 27, "column": 26 }, "end": { - "line": 22, + "line": 27, "column": 32 }, "identifierName": "method" @@ -1068,29 +933,29 @@ }, { "type": "IfStatement", - "start": 926, - "end": 1049, + "start": 788, + "end": 911, "loc": { "start": { - "line": 25, + "line": 30, "column": 4 }, "end": { - "line": 27, + "line": 32, "column": 5 } }, "test": { "type": "Identifier", - "start": 930, - "end": 943, + "start": 792, + "end": 805, "loc": { "start": { - "line": 25, + "line": 30, "column": 8 }, "end": { - "line": 25, + "line": 30, "column": 21 }, "identifierName": "throwNotFound" @@ -1099,58 +964,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 945, - "end": 1049, + "start": 807, + "end": 911, "loc": { "start": { - "line": 25, + "line": 30, "column": 23 }, "end": { - "line": 27, + "line": 32, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 955, - "end": 1043, + "start": 817, + "end": 905, "loc": { "start": { - "line": 26, + "line": 31, "column": 8 }, "end": { - "line": 26, + "line": 31, "column": 96 } }, "argument": { "type": "NewExpression", - "start": 961, - "end": 1042, + "start": 823, + "end": 904, "loc": { "start": { - "line": 26, + "line": 31, "column": 14 }, "end": { - "line": 26, + "line": 31, "column": 95 } }, "callee": { "type": "Identifier", - "start": 965, - "end": 979, + "start": 827, + "end": 841, "loc": { "start": { - "line": 26, + "line": 31, "column": 18 }, "end": { - "line": 26, + "line": 31, "column": 32 }, "identifierName": "ReferenceError" @@ -1160,29 +1025,29 @@ "arguments": [ { "type": "CallExpression", - "start": 980, - "end": 1041, + "start": 842, + "end": 903, "loc": { "start": { - "line": 26, + "line": 31, "column": 33 }, "end": { - "line": 26, + "line": 31, "column": 94 } }, "callee": { "type": "Identifier", - "start": 980, - "end": 983, + "start": 842, + "end": 845, "loc": { "start": { - "line": 26, + "line": 31, "column": 33 }, "end": { - "line": 26, + "line": 31, "column": 36 }, "identifierName": "log" @@ -1192,30 +1057,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 984, - "end": 1040, + "start": 846, + "end": 902, "loc": { "start": { - "line": 26, + "line": 31, "column": 37 }, "end": { - "line": 26, + "line": 31, "column": 93 } }, "expressions": [ { "type": "Identifier", - "start": 1010, - "end": 1016, + "start": 872, + "end": 878, "loc": { "start": { - "line": 26, + "line": 31, "column": 63 }, "end": { - "line": 26, + "line": 31, "column": 69 }, "identifierName": "method" @@ -1226,15 +1091,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 985, - "end": 1008, + "start": 847, + "end": 870, "loc": { "start": { - "line": 26, + "line": 31, "column": 38 }, "end": { - "line": 26, + "line": 31, "column": 61 } }, @@ -1246,15 +1111,15 @@ }, { "type": "TemplateElement", - "start": 1017, - "end": 1039, + "start": 879, + "end": 901, "loc": { "start": { - "line": 26, + "line": 31, "column": 70 }, "end": { - "line": 26, + "line": 31, "column": 92 } }, @@ -1282,17 +1147,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @private\n * @param {Function|string} method The method or method name.\n * @param {Object} [context] The context object to resolve from.\n * @param {Object} [target] The target object to resolve from.\n * @returns {Function} The resolved function.\n ", - "start": 76, - "end": 540, + "value": "*\n * @desc\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @lineNumber\n * 16\n * @param\n * {undefined} method\n * @param\n * {undefined} context\n * @param\n * {undefined} target\n * @param\n * {undefined} throwNotFound\n ", + "start": 29, + "end": 402, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 12, - "column": 4 + "line": 17, + "column": 3 } } } @@ -1302,17 +1167,17 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @private\n * @param {Function|string} method The method or method name.\n * @param {Object} [context] The context object to resolve from.\n * @param {Object} [target] The target object to resolve from.\n * @returns {Function} The resolved function.\n ", - "start": 76, - "end": 540, + "value": "*\n * @desc\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @lineNumber\n * 16\n * @param\n * {undefined} method\n * @param\n * {undefined} context\n * @param\n * {undefined} target\n * @param\n * {undefined} throwNotFound\n ", + "start": 29, + "end": 402, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 12, - "column": 4 + "line": 17, + "column": 3 } } } @@ -1324,17 +1189,17 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @private\n * @param {Function|string} method The method or method name.\n * @param {Object} [context] The context object to resolve from.\n * @param {Object} [target] The target object to resolve from.\n * @returns {Function} The resolved function.\n ", - "start": 76, - "end": 540, + "value": "*\n * @desc\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @lineNumber\n * 16\n * @param\n * {undefined} method\n * @param\n * {undefined} context\n * @param\n * {undefined} target\n * @param\n * {undefined} throwNotFound\n ", + "start": 29, + "end": 402, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 12, - "column": 4 + "line": 17, + "column": 3 } } } @@ -1345,7 +1210,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1405,9 +1270,9 @@ "postfix": false, "binop": null }, - "value": "isFunction", + "value": "log", "start": 9, - "end": 19, + "end": 12, "loc": { "start": { "line": 1, @@ -1415,241 +1280,6 @@ }, "end": { "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isString", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 29 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 32, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "lodash", - "start": 37, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 45, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 45 - }, - "end": { - "line": 1, - "column": 46 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 47, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 54, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 56, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, "column": 12 } } @@ -1666,15 +1296,15 @@ "postfix": false, "binop": null }, - "start": 60, - "end": 61, + "start": 13, + "end": 14, "loc": { "start": { - "line": 2, + "line": 1, "column": 13 }, "end": { - "line": 2, + "line": 1, "column": 14 } } @@ -1692,15 +1322,15 @@ "binop": null }, "value": "from", - "start": 62, - "end": 66, + "start": 15, + "end": 19, "loc": { "start": { - "line": 2, + "line": 1, "column": 15 }, "end": { - "line": 2, + "line": 1, "column": 19 } } @@ -1719,15 +1349,15 @@ "updateContext": null }, "value": "./log", - "start": 67, - "end": 74, + "start": 20, + "end": 27, "loc": { "start": { - "line": 2, + "line": 1, "column": 20 }, "end": { - "line": 2, + "line": 1, "column": 27 } } @@ -1745,32 +1375,32 @@ "binop": null, "updateContext": null }, - "start": 74, - "end": 75, + "start": 27, + "end": 28, "loc": { "start": { - "line": 2, + "line": 1, "column": 27 }, "end": { - "line": 2, + "line": 1, "column": 28 } } }, { "type": "CommentBlock", - "value": "*\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @private\n * @param {Function|string} method The method or method name.\n * @param {Object} [context] The context object to resolve from.\n * @param {Object} [target] The target object to resolve from.\n * @returns {Function} The resolved function.\n ", - "start": 76, - "end": 540, + "value": "*\n * @desc\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @lineNumber\n * 16\n * @param\n * {undefined} method\n * @param\n * {undefined} context\n * @param\n * {undefined} target\n * @param\n * {undefined} throwNotFound\n ", + "start": 29, + "end": 402, "loc": { "start": { - "line": 3, + "line": 2, "column": 0 }, "end": { - "line": 12, - "column": 4 + "line": 17, + "column": 3 } } }, @@ -1789,15 +1419,15 @@ "updateContext": null }, "value": "export", - "start": 541, - "end": 547, + "start": 403, + "end": 409, "loc": { "start": { - "line": 13, + "line": 18, "column": 0 }, "end": { - "line": 13, + "line": 18, "column": 6 } } @@ -1816,15 +1446,15 @@ "binop": null }, "value": "function", - "start": 548, - "end": 556, + "start": 410, + "end": 418, "loc": { "start": { - "line": 13, + "line": 18, "column": 7 }, "end": { - "line": 13, + "line": 18, "column": 15 } } @@ -1842,15 +1472,15 @@ "binop": null }, "value": "resolveFunction", - "start": 557, - "end": 572, + "start": 419, + "end": 434, "loc": { "start": { - "line": 13, + "line": 18, "column": 16 }, "end": { - "line": 13, + "line": 18, "column": 31 } } @@ -1867,15 +1497,15 @@ "postfix": false, "binop": null }, - "start": 572, - "end": 573, + "start": 434, + "end": 435, "loc": { "start": { - "line": 13, + "line": 18, "column": 31 }, "end": { - "line": 13, + "line": 18, "column": 32 } } @@ -1893,15 +1523,15 @@ "binop": null }, "value": "method", - "start": 573, - "end": 579, + "start": 435, + "end": 441, "loc": { "start": { - "line": 13, + "line": 18, "column": 32 }, "end": { - "line": 13, + "line": 18, "column": 38 } } @@ -1919,15 +1549,15 @@ "binop": null, "updateContext": null }, - "start": 579, - "end": 580, + "start": 441, + "end": 442, "loc": { "start": { - "line": 13, + "line": 18, "column": 38 }, "end": { - "line": 13, + "line": 18, "column": 39 } } @@ -1945,15 +1575,15 @@ "binop": null }, "value": "context", - "start": 581, - "end": 588, + "start": 443, + "end": 450, "loc": { "start": { - "line": 13, + "line": 18, "column": 40 }, "end": { - "line": 13, + "line": 18, "column": 47 } } @@ -1971,15 +1601,15 @@ "binop": null, "updateContext": null }, - "start": 588, - "end": 589, + "start": 450, + "end": 451, "loc": { "start": { - "line": 13, + "line": 18, "column": 47 }, "end": { - "line": 13, + "line": 18, "column": 48 } } @@ -1997,15 +1627,15 @@ "binop": null }, "value": "target", - "start": 590, - "end": 596, + "start": 452, + "end": 458, "loc": { "start": { - "line": 13, + "line": 18, "column": 49 }, "end": { - "line": 13, + "line": 18, "column": 55 } } @@ -2023,15 +1653,15 @@ "binop": null, "updateContext": null }, - "start": 596, - "end": 597, + "start": 458, + "end": 459, "loc": { "start": { - "line": 13, + "line": 18, "column": 55 }, "end": { - "line": 13, + "line": 18, "column": 56 } } @@ -2049,15 +1679,15 @@ "binop": null }, "value": "throwNotFound", - "start": 598, - "end": 611, + "start": 460, + "end": 473, "loc": { "start": { - "line": 13, + "line": 18, "column": 57 }, "end": { - "line": 13, + "line": 18, "column": 70 } } @@ -2076,15 +1706,15 @@ "updateContext": null }, "value": "=", - "start": 612, - "end": 613, + "start": 474, + "end": 475, "loc": { "start": { - "line": 13, + "line": 18, "column": 71 }, "end": { - "line": 13, + "line": 18, "column": 72 } } @@ -2104,15 +1734,15 @@ "updateContext": null }, "value": "true", - "start": 614, - "end": 618, + "start": 476, + "end": 480, "loc": { "start": { - "line": 13, + "line": 18, "column": 73 }, "end": { - "line": 13, + "line": 18, "column": 77 } } @@ -2129,15 +1759,15 @@ "postfix": false, "binop": null }, - "start": 618, - "end": 619, + "start": 480, + "end": 481, "loc": { "start": { - "line": 13, + "line": 18, "column": 77 }, "end": { - "line": 13, + "line": 18, "column": 78 } } @@ -2154,15 +1784,15 @@ "postfix": false, "binop": null }, - "start": 620, - "end": 621, + "start": 482, + "end": 483, "loc": { "start": { - "line": 13, + "line": 18, "column": 79 }, "end": { - "line": 13, + "line": 18, "column": 80 } } @@ -2182,15 +1812,15 @@ "updateContext": null }, "value": "if", - "start": 626, - "end": 628, + "start": 488, + "end": 490, "loc": { "start": { - "line": 14, + "line": 19, "column": 4 }, "end": { - "line": 14, + "line": 19, "column": 6 } } @@ -2207,15 +1837,15 @@ "postfix": false, "binop": null }, - "start": 629, - "end": 630, + "start": 491, + "end": 492, "loc": { "start": { - "line": 14, + "line": 19, "column": 7 }, "end": { - "line": 14, + "line": 19, "column": 8 } } @@ -2233,15 +1863,15 @@ "binop": null }, "value": "isFunction", - "start": 630, - "end": 640, + "start": 492, + "end": 502, "loc": { "start": { - "line": 14, + "line": 19, "column": 8 }, "end": { - "line": 14, + "line": 19, "column": 18 } } @@ -2258,15 +1888,15 @@ "postfix": false, "binop": null }, - "start": 640, - "end": 641, + "start": 502, + "end": 503, "loc": { "start": { - "line": 14, + "line": 19, "column": 18 }, "end": { - "line": 14, + "line": 19, "column": 19 } } @@ -2284,15 +1914,15 @@ "binop": null }, "value": "method", - "start": 641, - "end": 647, + "start": 503, + "end": 509, "loc": { "start": { - "line": 14, + "line": 19, "column": 19 }, "end": { - "line": 14, + "line": 19, "column": 25 } } @@ -2309,15 +1939,15 @@ "postfix": false, "binop": null }, - "start": 647, - "end": 648, + "start": 509, + "end": 510, "loc": { "start": { - "line": 14, + "line": 19, "column": 25 }, "end": { - "line": 14, + "line": 19, "column": 26 } } @@ -2334,15 +1964,15 @@ "postfix": false, "binop": null }, - "start": 648, - "end": 649, + "start": 510, + "end": 511, "loc": { "start": { - "line": 14, + "line": 19, "column": 26 }, "end": { - "line": 14, + "line": 19, "column": 27 } } @@ -2359,15 +1989,15 @@ "postfix": false, "binop": null }, - "start": 650, - "end": 651, + "start": 512, + "end": 513, "loc": { "start": { - "line": 14, + "line": 19, "column": 28 }, "end": { - "line": 14, + "line": 19, "column": 29 } } @@ -2387,15 +2017,15 @@ "updateContext": null }, "value": "return", - "start": 660, - "end": 666, + "start": 522, + "end": 528, "loc": { "start": { - "line": 15, + "line": 20, "column": 8 }, "end": { - "line": 15, + "line": 20, "column": 14 } } @@ -2413,15 +2043,15 @@ "binop": null }, "value": "method", - "start": 667, - "end": 673, + "start": 529, + "end": 535, "loc": { "start": { - "line": 15, + "line": 20, "column": 15 }, "end": { - "line": 15, + "line": 20, "column": 21 } } @@ -2439,15 +2069,15 @@ "binop": null, "updateContext": null }, - "start": 673, - "end": 674, + "start": 535, + "end": 536, "loc": { "start": { - "line": 15, + "line": 20, "column": 21 }, "end": { - "line": 15, + "line": 20, "column": 22 } } @@ -2464,15 +2094,15 @@ "postfix": false, "binop": null }, - "start": 679, - "end": 680, + "start": 541, + "end": 542, "loc": { "start": { - "line": 16, + "line": 21, "column": 4 }, "end": { - "line": 16, + "line": 21, "column": 5 } } @@ -2492,15 +2122,15 @@ "updateContext": null }, "value": "else", - "start": 685, - "end": 689, + "start": 547, + "end": 551, "loc": { "start": { - "line": 17, + "line": 22, "column": 4 }, "end": { - "line": 17, + "line": 22, "column": 8 } } @@ -2520,15 +2150,15 @@ "updateContext": null }, "value": "if", - "start": 690, - "end": 692, + "start": 552, + "end": 554, "loc": { "start": { - "line": 17, + "line": 22, "column": 9 }, "end": { - "line": 17, + "line": 22, "column": 11 } } @@ -2545,15 +2175,15 @@ "postfix": false, "binop": null }, - "start": 693, - "end": 694, + "start": 555, + "end": 556, "loc": { "start": { - "line": 17, + "line": 22, "column": 12 }, "end": { - "line": 17, + "line": 22, "column": 13 } } @@ -2571,15 +2201,15 @@ "binop": null }, "value": "isString", - "start": 694, - "end": 702, + "start": 556, + "end": 564, "loc": { "start": { - "line": 17, + "line": 22, "column": 13 }, "end": { - "line": 17, + "line": 22, "column": 21 } } @@ -2596,15 +2226,15 @@ "postfix": false, "binop": null }, - "start": 702, - "end": 703, + "start": 564, + "end": 565, "loc": { "start": { - "line": 17, + "line": 22, "column": 21 }, "end": { - "line": 17, + "line": 22, "column": 22 } } @@ -2622,15 +2252,15 @@ "binop": null }, "value": "method", - "start": 703, - "end": 709, + "start": 565, + "end": 571, "loc": { "start": { - "line": 17, + "line": 22, "column": 22 }, "end": { - "line": 17, + "line": 22, "column": 28 } } @@ -2647,15 +2277,15 @@ "postfix": false, "binop": null }, - "start": 709, - "end": 710, + "start": 571, + "end": 572, "loc": { "start": { - "line": 17, + "line": 22, "column": 28 }, "end": { - "line": 17, + "line": 22, "column": 29 } } @@ -2672,15 +2302,15 @@ "postfix": false, "binop": null }, - "start": 710, - "end": 711, + "start": 572, + "end": 573, "loc": { "start": { - "line": 17, + "line": 22, "column": 29 }, "end": { - "line": 17, + "line": 22, "column": 30 } } @@ -2697,15 +2327,15 @@ "postfix": false, "binop": null }, - "start": 712, - "end": 713, + "start": 574, + "end": 575, "loc": { "start": { - "line": 17, + "line": 22, "column": 31 }, "end": { - "line": 17, + "line": 22, "column": 32 } } @@ -2725,15 +2355,15 @@ "updateContext": null }, "value": "if", - "start": 722, - "end": 724, + "start": 584, + "end": 586, "loc": { "start": { - "line": 18, + "line": 23, "column": 8 }, "end": { - "line": 18, + "line": 23, "column": 10 } } @@ -2750,15 +2380,15 @@ "postfix": false, "binop": null }, - "start": 725, - "end": 726, + "start": 587, + "end": 588, "loc": { "start": { - "line": 18, + "line": 23, "column": 11 }, "end": { - "line": 18, + "line": 23, "column": 12 } } @@ -2776,15 +2406,15 @@ "binop": null }, "value": "context", - "start": 726, - "end": 733, + "start": 588, + "end": 595, "loc": { "start": { - "line": 18, + "line": 23, "column": 12 }, "end": { - "line": 18, + "line": 23, "column": 19 } } @@ -2803,15 +2433,15 @@ "updateContext": null }, "value": "&&", - "start": 734, - "end": 736, + "start": 596, + "end": 598, "loc": { "start": { - "line": 18, + "line": 23, "column": 20 }, "end": { - "line": 18, + "line": 23, "column": 22 } } @@ -2829,15 +2459,15 @@ "binop": null }, "value": "isFunction", - "start": 737, - "end": 747, + "start": 599, + "end": 609, "loc": { "start": { - "line": 18, + "line": 23, "column": 23 }, "end": { - "line": 18, + "line": 23, "column": 33 } } @@ -2854,15 +2484,15 @@ "postfix": false, "binop": null }, - "start": 747, - "end": 748, + "start": 609, + "end": 610, "loc": { "start": { - "line": 18, + "line": 23, "column": 33 }, "end": { - "line": 18, + "line": 23, "column": 34 } } @@ -2880,15 +2510,15 @@ "binop": null }, "value": "context", - "start": 748, - "end": 755, + "start": 610, + "end": 617, "loc": { "start": { - "line": 18, + "line": 23, "column": 34 }, "end": { - "line": 18, + "line": 23, "column": 41 } } @@ -2906,15 +2536,15 @@ "binop": null, "updateContext": null }, - "start": 755, - "end": 756, + "start": 617, + "end": 618, "loc": { "start": { - "line": 18, + "line": 23, "column": 41 }, "end": { - "line": 18, + "line": 23, "column": 42 } } @@ -2932,15 +2562,15 @@ "binop": null }, "value": "method", - "start": 756, - "end": 762, + "start": 618, + "end": 624, "loc": { "start": { - "line": 18, + "line": 23, "column": 42 }, "end": { - "line": 18, + "line": 23, "column": 48 } } @@ -2958,15 +2588,15 @@ "binop": null, "updateContext": null }, - "start": 762, - "end": 763, + "start": 624, + "end": 625, "loc": { "start": { - "line": 18, + "line": 23, "column": 48 }, "end": { - "line": 18, + "line": 23, "column": 49 } } @@ -2983,15 +2613,15 @@ "postfix": false, "binop": null }, - "start": 763, - "end": 764, + "start": 625, + "end": 626, "loc": { "start": { - "line": 18, + "line": 23, "column": 49 }, "end": { - "line": 18, + "line": 23, "column": 50 } } @@ -3008,15 +2638,15 @@ "postfix": false, "binop": null }, - "start": 764, - "end": 765, + "start": 626, + "end": 627, "loc": { "start": { - "line": 18, + "line": 23, "column": 50 }, "end": { - "line": 18, + "line": 23, "column": 51 } } @@ -3033,15 +2663,15 @@ "postfix": false, "binop": null }, - "start": 766, - "end": 767, + "start": 628, + "end": 629, "loc": { "start": { - "line": 18, + "line": 23, "column": 52 }, "end": { - "line": 18, + "line": 23, "column": 53 } } @@ -3061,15 +2691,15 @@ "updateContext": null }, "value": "return", - "start": 780, - "end": 786, + "start": 642, + "end": 648, "loc": { "start": { - "line": 19, + "line": 24, "column": 12 }, "end": { - "line": 19, + "line": 24, "column": 18 } } @@ -3087,15 +2717,15 @@ "binop": null }, "value": "context", - "start": 787, - "end": 794, + "start": 649, + "end": 656, "loc": { "start": { - "line": 19, + "line": 24, "column": 19 }, "end": { - "line": 19, + "line": 24, "column": 26 } } @@ -3113,15 +2743,15 @@ "binop": null, "updateContext": null }, - "start": 794, - "end": 795, + "start": 656, + "end": 657, "loc": { "start": { - "line": 19, + "line": 24, "column": 26 }, "end": { - "line": 19, + "line": 24, "column": 27 } } @@ -3139,15 +2769,15 @@ "binop": null }, "value": "method", - "start": 795, - "end": 801, + "start": 657, + "end": 663, "loc": { "start": { - "line": 19, + "line": 24, "column": 27 }, "end": { - "line": 19, + "line": 24, "column": 33 } } @@ -3165,15 +2795,15 @@ "binop": null, "updateContext": null }, - "start": 801, - "end": 802, + "start": 663, + "end": 664, "loc": { "start": { - "line": 19, + "line": 24, "column": 33 }, "end": { - "line": 19, + "line": 24, "column": 34 } } @@ -3191,15 +2821,15 @@ "binop": null, "updateContext": null }, - "start": 802, - "end": 803, + "start": 664, + "end": 665, "loc": { "start": { - "line": 19, + "line": 24, "column": 34 }, "end": { - "line": 19, + "line": 24, "column": 35 } } @@ -3216,15 +2846,15 @@ "postfix": false, "binop": null }, - "start": 812, - "end": 813, + "start": 674, + "end": 675, "loc": { "start": { - "line": 20, + "line": 25, "column": 8 }, "end": { - "line": 20, + "line": 25, "column": 9 } } @@ -3244,15 +2874,15 @@ "updateContext": null }, "value": "else", - "start": 822, - "end": 826, + "start": 684, + "end": 688, "loc": { "start": { - "line": 21, + "line": 26, "column": 8 }, "end": { - "line": 21, + "line": 26, "column": 12 } } @@ -3272,15 +2902,15 @@ "updateContext": null }, "value": "if", - "start": 827, - "end": 829, + "start": 689, + "end": 691, "loc": { "start": { - "line": 21, + "line": 26, "column": 13 }, "end": { - "line": 21, + "line": 26, "column": 15 } } @@ -3297,15 +2927,15 @@ "postfix": false, "binop": null }, - "start": 830, - "end": 831, + "start": 692, + "end": 693, "loc": { "start": { - "line": 21, + "line": 26, "column": 16 }, "end": { - "line": 21, + "line": 26, "column": 17 } } @@ -3323,15 +2953,15 @@ "binop": null }, "value": "target", - "start": 831, - "end": 837, + "start": 693, + "end": 699, "loc": { "start": { - "line": 21, + "line": 26, "column": 17 }, "end": { - "line": 21, + "line": 26, "column": 23 } } @@ -3350,15 +2980,15 @@ "updateContext": null }, "value": "&&", - "start": 838, - "end": 840, + "start": 700, + "end": 702, "loc": { "start": { - "line": 21, + "line": 26, "column": 24 }, "end": { - "line": 21, + "line": 26, "column": 26 } } @@ -3376,15 +3006,15 @@ "binop": null }, "value": "isFunction", - "start": 841, - "end": 851, + "start": 703, + "end": 713, "loc": { "start": { - "line": 21, + "line": 26, "column": 27 }, "end": { - "line": 21, + "line": 26, "column": 37 } } @@ -3401,15 +3031,15 @@ "postfix": false, "binop": null }, - "start": 851, - "end": 852, + "start": 713, + "end": 714, "loc": { "start": { - "line": 21, + "line": 26, "column": 37 }, "end": { - "line": 21, + "line": 26, "column": 38 } } @@ -3427,15 +3057,15 @@ "binop": null }, "value": "target", - "start": 852, - "end": 858, + "start": 714, + "end": 720, "loc": { "start": { - "line": 21, + "line": 26, "column": 38 }, "end": { - "line": 21, + "line": 26, "column": 44 } } @@ -3453,15 +3083,15 @@ "binop": null, "updateContext": null }, - "start": 858, - "end": 859, + "start": 720, + "end": 721, "loc": { "start": { - "line": 21, + "line": 26, "column": 44 }, "end": { - "line": 21, + "line": 26, "column": 45 } } @@ -3479,15 +3109,15 @@ "binop": null }, "value": "method", - "start": 859, - "end": 865, + "start": 721, + "end": 727, "loc": { "start": { - "line": 21, + "line": 26, "column": 45 }, "end": { - "line": 21, + "line": 26, "column": 51 } } @@ -3505,15 +3135,15 @@ "binop": null, "updateContext": null }, - "start": 865, - "end": 866, + "start": 727, + "end": 728, "loc": { "start": { - "line": 21, + "line": 26, "column": 51 }, "end": { - "line": 21, + "line": 26, "column": 52 } } @@ -3530,15 +3160,15 @@ "postfix": false, "binop": null }, - "start": 866, - "end": 867, + "start": 728, + "end": 729, "loc": { "start": { - "line": 21, + "line": 26, "column": 52 }, "end": { - "line": 21, + "line": 26, "column": 53 } } @@ -3555,15 +3185,15 @@ "postfix": false, "binop": null }, - "start": 867, - "end": 868, + "start": 729, + "end": 730, "loc": { "start": { - "line": 21, + "line": 26, "column": 53 }, "end": { - "line": 21, + "line": 26, "column": 54 } } @@ -3580,15 +3210,15 @@ "postfix": false, "binop": null }, - "start": 869, - "end": 870, + "start": 731, + "end": 732, "loc": { "start": { - "line": 21, + "line": 26, "column": 55 }, "end": { - "line": 21, + "line": 26, "column": 56 } } @@ -3608,15 +3238,15 @@ "updateContext": null }, "value": "return", - "start": 883, - "end": 889, + "start": 745, + "end": 751, "loc": { "start": { - "line": 22, + "line": 27, "column": 12 }, "end": { - "line": 22, + "line": 27, "column": 18 } } @@ -3634,15 +3264,15 @@ "binop": null }, "value": "target", - "start": 890, - "end": 896, + "start": 752, + "end": 758, "loc": { "start": { - "line": 22, + "line": 27, "column": 19 }, "end": { - "line": 22, + "line": 27, "column": 25 } } @@ -3660,15 +3290,15 @@ "binop": null, "updateContext": null }, - "start": 896, - "end": 897, + "start": 758, + "end": 759, "loc": { "start": { - "line": 22, + "line": 27, "column": 25 }, "end": { - "line": 22, + "line": 27, "column": 26 } } @@ -3686,15 +3316,15 @@ "binop": null }, "value": "method", - "start": 897, - "end": 903, + "start": 759, + "end": 765, "loc": { "start": { - "line": 22, + "line": 27, "column": 26 }, "end": { - "line": 22, + "line": 27, "column": 32 } } @@ -3712,15 +3342,15 @@ "binop": null, "updateContext": null }, - "start": 903, - "end": 904, + "start": 765, + "end": 766, "loc": { "start": { - "line": 22, + "line": 27, "column": 32 }, "end": { - "line": 22, + "line": 27, "column": 33 } } @@ -3738,15 +3368,15 @@ "binop": null, "updateContext": null }, - "start": 904, - "end": 905, + "start": 766, + "end": 767, "loc": { "start": { - "line": 22, + "line": 27, "column": 33 }, "end": { - "line": 22, + "line": 27, "column": 34 } } @@ -3763,15 +3393,15 @@ "postfix": false, "binop": null }, - "start": 914, - "end": 915, + "start": 776, + "end": 777, "loc": { "start": { - "line": 23, + "line": 28, "column": 8 }, "end": { - "line": 23, + "line": 28, "column": 9 } } @@ -3788,15 +3418,15 @@ "postfix": false, "binop": null }, - "start": 920, - "end": 921, + "start": 782, + "end": 783, "loc": { "start": { - "line": 24, + "line": 29, "column": 4 }, "end": { - "line": 24, + "line": 29, "column": 5 } } @@ -3816,15 +3446,15 @@ "updateContext": null }, "value": "if", - "start": 926, - "end": 928, + "start": 788, + "end": 790, "loc": { "start": { - "line": 25, + "line": 30, "column": 4 }, "end": { - "line": 25, + "line": 30, "column": 6 } } @@ -3841,15 +3471,15 @@ "postfix": false, "binop": null }, - "start": 929, - "end": 930, + "start": 791, + "end": 792, "loc": { "start": { - "line": 25, + "line": 30, "column": 7 }, "end": { - "line": 25, + "line": 30, "column": 8 } } @@ -3867,15 +3497,15 @@ "binop": null }, "value": "throwNotFound", - "start": 930, - "end": 943, + "start": 792, + "end": 805, "loc": { "start": { - "line": 25, + "line": 30, "column": 8 }, "end": { - "line": 25, + "line": 30, "column": 21 } } @@ -3892,15 +3522,15 @@ "postfix": false, "binop": null }, - "start": 943, - "end": 944, + "start": 805, + "end": 806, "loc": { "start": { - "line": 25, + "line": 30, "column": 21 }, "end": { - "line": 25, + "line": 30, "column": 22 } } @@ -3917,15 +3547,15 @@ "postfix": false, "binop": null }, - "start": 945, - "end": 946, + "start": 807, + "end": 808, "loc": { "start": { - "line": 25, + "line": 30, "column": 23 }, "end": { - "line": 25, + "line": 30, "column": 24 } } @@ -3945,15 +3575,15 @@ "updateContext": null }, "value": "throw", - "start": 955, - "end": 960, + "start": 817, + "end": 822, "loc": { "start": { - "line": 26, + "line": 31, "column": 8 }, "end": { - "line": 26, + "line": 31, "column": 13 } } @@ -3973,15 +3603,15 @@ "updateContext": null }, "value": "new", - "start": 961, - "end": 964, + "start": 823, + "end": 826, "loc": { "start": { - "line": 26, + "line": 31, "column": 14 }, "end": { - "line": 26, + "line": 31, "column": 17 } } @@ -3999,15 +3629,15 @@ "binop": null }, "value": "ReferenceError", - "start": 965, - "end": 979, + "start": 827, + "end": 841, "loc": { "start": { - "line": 26, + "line": 31, "column": 18 }, "end": { - "line": 26, + "line": 31, "column": 32 } } @@ -4024,15 +3654,15 @@ "postfix": false, "binop": null }, - "start": 979, - "end": 980, + "start": 841, + "end": 842, "loc": { "start": { - "line": 26, + "line": 31, "column": 32 }, "end": { - "line": 26, + "line": 31, "column": 33 } } @@ -4050,15 +3680,15 @@ "binop": null }, "value": "log", - "start": 980, - "end": 983, + "start": 842, + "end": 845, "loc": { "start": { - "line": 26, + "line": 31, "column": 33 }, "end": { - "line": 26, + "line": 31, "column": 36 } } @@ -4075,15 +3705,15 @@ "postfix": false, "binop": null }, - "start": 983, - "end": 984, + "start": 845, + "end": 846, "loc": { "start": { - "line": 26, + "line": 31, "column": 36 }, "end": { - "line": 26, + "line": 31, "column": 37 } } @@ -4100,15 +3730,15 @@ "postfix": false, "binop": null }, - "start": 984, - "end": 985, + "start": 846, + "end": 847, "loc": { "start": { - "line": 26, + "line": 31, "column": 37 }, "end": { - "line": 26, + "line": 31, "column": 38 } } @@ -4127,15 +3757,15 @@ "updateContext": null }, "value": "Can not resolve method ", - "start": 985, - "end": 1008, + "start": 847, + "end": 870, "loc": { "start": { - "line": 26, + "line": 31, "column": 38 }, "end": { - "line": 26, + "line": 31, "column": 61 } } @@ -4152,15 +3782,15 @@ "postfix": false, "binop": null }, - "start": 1008, - "end": 1010, + "start": 870, + "end": 872, "loc": { "start": { - "line": 26, + "line": 31, "column": 61 }, "end": { - "line": 26, + "line": 31, "column": 63 } } @@ -4178,15 +3808,15 @@ "binop": null }, "value": "method", - "start": 1010, - "end": 1016, + "start": 872, + "end": 878, "loc": { "start": { - "line": 26, + "line": 31, "column": 63 }, "end": { - "line": 26, + "line": 31, "column": 69 } } @@ -4203,15 +3833,15 @@ "postfix": false, "binop": null }, - "start": 1016, - "end": 1017, + "start": 878, + "end": 879, "loc": { "start": { - "line": 26, + "line": 31, "column": 69 }, "end": { - "line": 26, + "line": 31, "column": 70 } } @@ -4230,15 +3860,15 @@ "updateContext": null }, "value": " on any target Objects", - "start": 1017, - "end": 1039, + "start": 879, + "end": 901, "loc": { "start": { - "line": 26, + "line": 31, "column": 70 }, "end": { - "line": 26, + "line": 31, "column": 92 } } @@ -4255,15 +3885,15 @@ "postfix": false, "binop": null }, - "start": 1039, - "end": 1040, + "start": 901, + "end": 902, "loc": { "start": { - "line": 26, + "line": 31, "column": 92 }, "end": { - "line": 26, + "line": 31, "column": 93 } } @@ -4280,15 +3910,15 @@ "postfix": false, "binop": null }, - "start": 1040, - "end": 1041, + "start": 902, + "end": 903, "loc": { "start": { - "line": 26, + "line": 31, "column": 93 }, "end": { - "line": 26, + "line": 31, "column": 94 } } @@ -4305,15 +3935,15 @@ "postfix": false, "binop": null }, - "start": 1041, - "end": 1042, + "start": 903, + "end": 904, "loc": { "start": { - "line": 26, + "line": 31, "column": 94 }, "end": { - "line": 26, + "line": 31, "column": 95 } } @@ -4331,15 +3961,15 @@ "binop": null, "updateContext": null }, - "start": 1042, - "end": 1043, + "start": 904, + "end": 905, "loc": { "start": { - "line": 26, + "line": 31, "column": 95 }, "end": { - "line": 26, + "line": 31, "column": 96 } } @@ -4356,15 +3986,15 @@ "postfix": false, "binop": null }, - "start": 1048, - "end": 1049, + "start": 910, + "end": 911, "loc": { "start": { - "line": 27, + "line": 32, "column": 4 }, "end": { - "line": 27, + "line": 32, "column": 5 } } @@ -4381,15 +4011,15 @@ "postfix": false, "binop": null }, - "start": 1050, - "end": 1051, + "start": 912, + "end": 913, "loc": { "start": { - "line": 28, + "line": 33, "column": 0 }, "end": { - "line": 28, + "line": 33, "column": 1 } } @@ -4407,15 +4037,15 @@ "binop": null, "updateContext": null }, - "start": 1052, - "end": 1052, + "start": 914, + "end": 914, "loc": { "start": { - "line": 29, + "line": 34, "column": 0 }, "end": { - "line": 29, + "line": 34, "column": 0 } } diff --git a/docs/ast/source/utils/returnAtIndex.js.json b/docs/ast/source/utils/returnAtIndex.ts.json similarity index 74% rename from docs/ast/source/utils/returnAtIndex.js.json rename to docs/ast/source/utils/returnAtIndex.ts.json index e86e58e..e6f0f0a 100644 --- a/docs/ast/source/utils/returnAtIndex.js.json +++ b/docs/ast/source/utils/returnAtIndex.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 458, + "end": 316, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 22, + "line": 19, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 458, + "end": 316, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 22, + "line": 19, "column": 0 } }, @@ -30,15 +30,15 @@ "body": [ { "type": "ExportNamedDeclaration", - "start": 314, - "end": 457, + "start": 172, + "end": 315, "loc": { "start": { - "line": 16, - "column": 4 + "line": 13, + "column": 0 }, "end": { - "line": 21, + "line": 18, "column": 1 } }, @@ -46,30 +46,30 @@ "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 321, - "end": 457, + "start": 179, + "end": 315, "loc": { "start": { - "line": 16, - "column": 11 + "line": 13, + "column": 7 }, "end": { - "line": 21, + "line": 18, "column": 1 } }, "id": { "type": "Identifier", - "start": 330, - "end": 343, + "start": 188, + "end": 201, "loc": { "start": { - "line": 16, - "column": 20 + "line": 13, + "column": 16 }, "end": { - "line": 16, - "column": 33 + "line": 13, + "column": 29 }, "identifierName": "returnAtIndex" }, @@ -82,16 +82,16 @@ "params": [ { "type": "Identifier", - "start": 344, - "end": 346, + "start": 202, + "end": 204, "loc": { "start": { - "line": 16, - "column": 34 + "line": 13, + "column": 30 }, "end": { - "line": 16, - "column": 36 + "line": 13, + "column": 32 }, "identifierName": "fn" }, @@ -99,16 +99,16 @@ }, { "type": "Identifier", - "start": 348, - "end": 353, + "start": 206, + "end": 211, "loc": { "start": { - "line": 16, - "column": 38 + "line": 13, + "column": 34 }, "end": { - "line": 16, - "column": 43 + "line": 13, + "column": 39 }, "identifierName": "index" }, @@ -117,44 +117,44 @@ ], "body": { "type": "BlockStatement", - "start": 355, - "end": 457, + "start": 213, + "end": 315, "loc": { "start": { - "line": 16, - "column": 45 + "line": 13, + "column": 41 }, "end": { - "line": 21, + "line": 18, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 361, - "end": 455, + "start": 219, + "end": 313, "loc": { "start": { - "line": 17, + "line": 14, "column": 4 }, "end": { - "line": 20, + "line": 17, "column": 6 } }, "argument": { "type": "FunctionExpression", - "start": 368, - "end": 454, + "start": 226, + "end": 312, "loc": { "start": { - "line": 17, + "line": 14, "column": 11 }, "end": { - "line": 20, + "line": 17, "column": 5 } }, @@ -165,29 +165,29 @@ "params": [ { "type": "RestElement", - "start": 378, - "end": 385, + "start": 236, + "end": 243, "loc": { "start": { - "line": 17, + "line": 14, "column": 21 }, "end": { - "line": 17, + "line": 14, "column": 28 } }, "argument": { "type": "Identifier", - "start": 381, - "end": 385, + "start": 239, + "end": 243, "loc": { "start": { - "line": 17, + "line": 14, "column": 24 }, "end": { - "line": 17, + "line": 14, "column": 28 }, "identifierName": "args" @@ -198,72 +198,72 @@ ], "body": { "type": "BlockStatement", - "start": 387, - "end": 454, + "start": 245, + "end": 312, "loc": { "start": { - "line": 17, + "line": 14, "column": 30 }, "end": { - "line": 20, + "line": 17, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 397, - "end": 420, + "start": 255, + "end": 278, "loc": { "start": { - "line": 18, + "line": 15, "column": 8 }, "end": { - "line": 18, + "line": 15, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 397, - "end": 419, + "start": 255, + "end": 277, "loc": { "start": { - "line": 18, + "line": 15, "column": 8 }, "end": { - "line": 18, + "line": 15, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 397, - "end": 404, + "start": 255, + "end": 262, "loc": { "start": { - "line": 18, + "line": 15, "column": 8 }, "end": { - "line": 18, + "line": 15, "column": 15 } }, "object": { "type": "Identifier", - "start": 397, - "end": 399, + "start": 255, + "end": 257, "loc": { "start": { - "line": 18, + "line": 15, "column": 8 }, "end": { - "line": 18, + "line": 15, "column": 10 }, "identifierName": "fn" @@ -272,15 +272,15 @@ }, "property": { "type": "Identifier", - "start": 400, - "end": 404, + "start": 258, + "end": 262, "loc": { "start": { - "line": 18, + "line": 15, "column": 11 }, "end": { - "line": 18, + "line": 15, "column": 15 }, "identifierName": "call" @@ -292,44 +292,44 @@ "arguments": [ { "type": "ThisExpression", - "start": 405, - "end": 409, + "start": 263, + "end": 267, "loc": { "start": { - "line": 18, + "line": 15, "column": 16 }, "end": { - "line": 18, + "line": 15, "column": 20 } } }, { "type": "SpreadElement", - "start": 411, - "end": 418, + "start": 269, + "end": 276, "loc": { "start": { - "line": 18, + "line": 15, "column": 22 }, "end": { - "line": 18, + "line": 15, "column": 29 } }, "argument": { "type": "Identifier", - "start": 414, - "end": 418, + "start": 272, + "end": 276, "loc": { "start": { - "line": 18, + "line": 15, "column": 25 }, "end": { - "line": 18, + "line": 15, "column": 29 }, "identifierName": "args" @@ -342,43 +342,43 @@ }, { "type": "ReturnStatement", - "start": 429, - "end": 448, + "start": 287, + "end": 306, "loc": { "start": { - "line": 19, + "line": 16, "column": 8 }, "end": { - "line": 19, + "line": 16, "column": 27 } }, "argument": { "type": "MemberExpression", - "start": 436, - "end": 447, + "start": 294, + "end": 305, "loc": { "start": { - "line": 19, + "line": 16, "column": 15 }, "end": { - "line": 19, + "line": 16, "column": 26 } }, "object": { "type": "Identifier", - "start": 436, - "end": 440, + "start": 294, + "end": 298, "loc": { "start": { - "line": 19, + "line": 16, "column": 15 }, "end": { - "line": 19, + "line": 16, "column": 19 }, "identifierName": "args" @@ -387,15 +387,15 @@ }, "property": { "type": "Identifier", - "start": 441, - "end": 446, + "start": 299, + "end": 304, "loc": { "start": { - "line": 19, + "line": 16, "column": 20 }, "end": { - "line": 19, + "line": 16, "column": 25 }, "identifierName": "index" @@ -416,32 +416,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n ", + "value": "*\n * @desc\n * Creates a function the returns the specific index.\n * @lineNumber\n * 10\n * @param\n * {Function} fn\n * @param\n * {number} index\n * @return\n * {Function}\n ", "start": 0, - "end": 156, + "end": 171, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 8, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n ", - "start": 157, - "end": 313, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 16, + "line": 12, "column": 3 } } @@ -452,32 +436,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n ", + "value": "*\n * @desc\n * Creates a function the returns the specific index.\n * @lineNumber\n * 10\n * @param\n * {Function} fn\n * @param\n * {number} index\n * @return\n * {Function}\n ", "start": 0, - "end": 156, + "end": 171, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 8, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n ", - "start": 157, - "end": 313, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 16, + "line": 12, "column": 3 } } @@ -490,32 +458,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n ", + "value": "*\n * @desc\n * Creates a function the returns the specific index.\n * @lineNumber\n * 10\n * @param\n * {Function} fn\n * @param\n * {number} index\n * @return\n * {Function}\n ", "start": 0, - "end": 156, + "end": 171, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 8, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n ", - "start": 157, - "end": 313, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 16, + "line": 12, "column": 3 } } @@ -524,32 +476,16 @@ "tokens": [ { "type": "CommentBlock", - "value": "*\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n ", + "value": "*\n * @desc\n * Creates a function the returns the specific index.\n * @lineNumber\n * 10\n * @param\n * {Function} fn\n * @param\n * {number} index\n * @return\n * {Function}\n ", "start": 0, - "end": 156, + "end": 171, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 8, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n ", - "start": 157, - "end": 313, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 16, + "line": 12, "column": 3 } } @@ -569,16 +505,16 @@ "updateContext": null }, "value": "export", - "start": 314, - "end": 320, + "start": 172, + "end": 178, "loc": { "start": { - "line": 16, - "column": 4 + "line": 13, + "column": 0 }, "end": { - "line": 16, - "column": 10 + "line": 13, + "column": 6 } } }, @@ -596,16 +532,16 @@ "binop": null }, "value": "function", - "start": 321, - "end": 329, + "start": 179, + "end": 187, "loc": { "start": { - "line": 16, - "column": 11 + "line": 13, + "column": 7 }, "end": { - "line": 16, - "column": 19 + "line": 13, + "column": 15 } } }, @@ -622,16 +558,16 @@ "binop": null }, "value": "returnAtIndex", - "start": 330, - "end": 343, + "start": 188, + "end": 201, "loc": { "start": { - "line": 16, - "column": 20 + "line": 13, + "column": 16 }, "end": { - "line": 16, - "column": 33 + "line": 13, + "column": 29 } } }, @@ -647,16 +583,16 @@ "postfix": false, "binop": null }, - "start": 343, - "end": 344, + "start": 201, + "end": 202, "loc": { "start": { - "line": 16, - "column": 33 + "line": 13, + "column": 29 }, "end": { - "line": 16, - "column": 34 + "line": 13, + "column": 30 } } }, @@ -673,16 +609,16 @@ "binop": null }, "value": "fn", - "start": 344, - "end": 346, + "start": 202, + "end": 204, "loc": { "start": { - "line": 16, - "column": 34 + "line": 13, + "column": 30 }, "end": { - "line": 16, - "column": 36 + "line": 13, + "column": 32 } } }, @@ -699,16 +635,16 @@ "binop": null, "updateContext": null }, - "start": 346, - "end": 347, + "start": 204, + "end": 205, "loc": { "start": { - "line": 16, - "column": 36 + "line": 13, + "column": 32 }, "end": { - "line": 16, - "column": 37 + "line": 13, + "column": 33 } } }, @@ -725,16 +661,16 @@ "binop": null }, "value": "index", - "start": 348, - "end": 353, + "start": 206, + "end": 211, "loc": { "start": { - "line": 16, - "column": 38 + "line": 13, + "column": 34 }, "end": { - "line": 16, - "column": 43 + "line": 13, + "column": 39 } } }, @@ -750,16 +686,16 @@ "postfix": false, "binop": null }, - "start": 353, - "end": 354, + "start": 211, + "end": 212, "loc": { "start": { - "line": 16, - "column": 43 + "line": 13, + "column": 39 }, "end": { - "line": 16, - "column": 44 + "line": 13, + "column": 40 } } }, @@ -775,16 +711,16 @@ "postfix": false, "binop": null }, - "start": 355, - "end": 356, + "start": 213, + "end": 214, "loc": { "start": { - "line": 16, - "column": 45 + "line": 13, + "column": 41 }, "end": { - "line": 16, - "column": 46 + "line": 13, + "column": 42 } } }, @@ -803,15 +739,15 @@ "updateContext": null }, "value": "return", - "start": 361, - "end": 367, + "start": 219, + "end": 225, "loc": { "start": { - "line": 17, + "line": 14, "column": 4 }, "end": { - "line": 17, + "line": 14, "column": 10 } } @@ -830,15 +766,15 @@ "binop": null }, "value": "function", - "start": 368, - "end": 376, + "start": 226, + "end": 234, "loc": { "start": { - "line": 17, + "line": 14, "column": 11 }, "end": { - "line": 17, + "line": 14, "column": 19 } } @@ -855,15 +791,15 @@ "postfix": false, "binop": null }, - "start": 377, - "end": 378, + "start": 235, + "end": 236, "loc": { "start": { - "line": 17, + "line": 14, "column": 20 }, "end": { - "line": 17, + "line": 14, "column": 21 } } @@ -881,15 +817,15 @@ "binop": null, "updateContext": null }, - "start": 378, - "end": 381, + "start": 236, + "end": 239, "loc": { "start": { - "line": 17, + "line": 14, "column": 21 }, "end": { - "line": 17, + "line": 14, "column": 24 } } @@ -907,15 +843,15 @@ "binop": null }, "value": "args", - "start": 381, - "end": 385, + "start": 239, + "end": 243, "loc": { "start": { - "line": 17, + "line": 14, "column": 24 }, "end": { - "line": 17, + "line": 14, "column": 28 } } @@ -932,15 +868,15 @@ "postfix": false, "binop": null }, - "start": 385, - "end": 386, + "start": 243, + "end": 244, "loc": { "start": { - "line": 17, + "line": 14, "column": 28 }, "end": { - "line": 17, + "line": 14, "column": 29 } } @@ -957,15 +893,15 @@ "postfix": false, "binop": null }, - "start": 387, - "end": 388, + "start": 245, + "end": 246, "loc": { "start": { - "line": 17, + "line": 14, "column": 30 }, "end": { - "line": 17, + "line": 14, "column": 31 } } @@ -983,15 +919,15 @@ "binop": null }, "value": "fn", - "start": 397, - "end": 399, + "start": 255, + "end": 257, "loc": { "start": { - "line": 18, + "line": 15, "column": 8 }, "end": { - "line": 18, + "line": 15, "column": 10 } } @@ -1009,15 +945,15 @@ "binop": null, "updateContext": null }, - "start": 399, - "end": 400, + "start": 257, + "end": 258, "loc": { "start": { - "line": 18, + "line": 15, "column": 10 }, "end": { - "line": 18, + "line": 15, "column": 11 } } @@ -1035,15 +971,15 @@ "binop": null }, "value": "call", - "start": 400, - "end": 404, + "start": 258, + "end": 262, "loc": { "start": { - "line": 18, + "line": 15, "column": 11 }, "end": { - "line": 18, + "line": 15, "column": 15 } } @@ -1060,15 +996,15 @@ "postfix": false, "binop": null }, - "start": 404, - "end": 405, + "start": 262, + "end": 263, "loc": { "start": { - "line": 18, + "line": 15, "column": 15 }, "end": { - "line": 18, + "line": 15, "column": 16 } } @@ -1088,15 +1024,15 @@ "updateContext": null }, "value": "this", - "start": 405, - "end": 409, + "start": 263, + "end": 267, "loc": { "start": { - "line": 18, + "line": 15, "column": 16 }, "end": { - "line": 18, + "line": 15, "column": 20 } } @@ -1114,15 +1050,15 @@ "binop": null, "updateContext": null }, - "start": 409, - "end": 410, + "start": 267, + "end": 268, "loc": { "start": { - "line": 18, + "line": 15, "column": 20 }, "end": { - "line": 18, + "line": 15, "column": 21 } } @@ -1140,15 +1076,15 @@ "binop": null, "updateContext": null }, - "start": 411, - "end": 414, + "start": 269, + "end": 272, "loc": { "start": { - "line": 18, + "line": 15, "column": 22 }, "end": { - "line": 18, + "line": 15, "column": 25 } } @@ -1166,15 +1102,15 @@ "binop": null }, "value": "args", - "start": 414, - "end": 418, + "start": 272, + "end": 276, "loc": { "start": { - "line": 18, + "line": 15, "column": 25 }, "end": { - "line": 18, + "line": 15, "column": 29 } } @@ -1191,15 +1127,15 @@ "postfix": false, "binop": null }, - "start": 418, - "end": 419, + "start": 276, + "end": 277, "loc": { "start": { - "line": 18, + "line": 15, "column": 29 }, "end": { - "line": 18, + "line": 15, "column": 30 } } @@ -1217,15 +1153,15 @@ "binop": null, "updateContext": null }, - "start": 419, - "end": 420, + "start": 277, + "end": 278, "loc": { "start": { - "line": 18, + "line": 15, "column": 30 }, "end": { - "line": 18, + "line": 15, "column": 31 } } @@ -1245,15 +1181,15 @@ "updateContext": null }, "value": "return", - "start": 429, - "end": 435, + "start": 287, + "end": 293, "loc": { "start": { - "line": 19, + "line": 16, "column": 8 }, "end": { - "line": 19, + "line": 16, "column": 14 } } @@ -1271,15 +1207,15 @@ "binop": null }, "value": "args", - "start": 436, - "end": 440, + "start": 294, + "end": 298, "loc": { "start": { - "line": 19, + "line": 16, "column": 15 }, "end": { - "line": 19, + "line": 16, "column": 19 } } @@ -1297,15 +1233,15 @@ "binop": null, "updateContext": null }, - "start": 440, - "end": 441, + "start": 298, + "end": 299, "loc": { "start": { - "line": 19, + "line": 16, "column": 19 }, "end": { - "line": 19, + "line": 16, "column": 20 } } @@ -1323,15 +1259,15 @@ "binop": null }, "value": "index", - "start": 441, - "end": 446, + "start": 299, + "end": 304, "loc": { "start": { - "line": 19, + "line": 16, "column": 20 }, "end": { - "line": 19, + "line": 16, "column": 25 } } @@ -1349,15 +1285,15 @@ "binop": null, "updateContext": null }, - "start": 446, - "end": 447, + "start": 304, + "end": 305, "loc": { "start": { - "line": 19, + "line": 16, "column": 25 }, "end": { - "line": 19, + "line": 16, "column": 26 } } @@ -1375,15 +1311,15 @@ "binop": null, "updateContext": null }, - "start": 447, - "end": 448, + "start": 305, + "end": 306, "loc": { "start": { - "line": 19, + "line": 16, "column": 26 }, "end": { - "line": 19, + "line": 16, "column": 27 } } @@ -1400,15 +1336,15 @@ "postfix": false, "binop": null }, - "start": 453, - "end": 454, + "start": 311, + "end": 312, "loc": { "start": { - "line": 20, + "line": 17, "column": 4 }, "end": { - "line": 20, + "line": 17, "column": 5 } } @@ -1426,15 +1362,15 @@ "binop": null, "updateContext": null }, - "start": 454, - "end": 455, + "start": 312, + "end": 313, "loc": { "start": { - "line": 20, + "line": 17, "column": 5 }, "end": { - "line": 20, + "line": 17, "column": 6 } } @@ -1451,15 +1387,15 @@ "postfix": false, "binop": null }, - "start": 456, - "end": 457, + "start": 314, + "end": 315, "loc": { "start": { - "line": 21, + "line": 18, "column": 0 }, "end": { - "line": 21, + "line": 18, "column": 1 } } @@ -1477,15 +1413,15 @@ "binop": null, "updateContext": null }, - "start": 458, - "end": 458, + "start": 316, + "end": 316, "loc": { "start": { - "line": 22, + "line": 19, "column": 0 }, "end": { - "line": 22, + "line": 19, "column": 0 } } diff --git a/docs/ast/source/utils/wrapConstructor.ts.json b/docs/ast/source/utils/wrapConstructor.ts.json new file mode 100644 index 0000000..2883833 --- /dev/null +++ b/docs/ast/source/utils/wrapConstructor.ts.json @@ -0,0 +1,4062 @@ +{ + "type": "File", + "start": 0, + "end": 1014, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 44, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1014, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 44, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "ImportDeclaration", + "start": 0, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 40 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 9, + "end": 18, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 18 + } + }, + "imported": { + "type": "Identifier", + "start": 9, + "end": 18, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 18 + }, + "identifierName": "assignAll" + }, + "name": "assignAll" + }, + "local": { + "type": "Identifier", + "start": 9, + "end": 18, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 18 + }, + "identifierName": "assignAll" + }, + "name": "assignAll" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 26, + "end": 39, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 39 + } + }, + "extra": { + "rawValue": "./assignAll", + "raw": "'./assignAll'" + }, + "value": "./assignAll" + } + }, + { + "type": "VariableDeclaration", + "start": 41, + "end": 144, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 8, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 47, + "end": 143, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 8, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 47, + "end": 64, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 23 + }, + "identifierName": "PROPERTY_EXCLUDES" + }, + "name": "PROPERTY_EXCLUDES" + }, + "init": { + "type": "ArrayExpression", + "start": 67, + "end": 143, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 8, + "column": 1 + } + }, + "elements": [ + { + "type": "StringLiteral", + "start": 73, + "end": 81, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + }, + "extra": { + "rawValue": "length", + "raw": "'length'" + }, + "value": "length" + }, + { + "type": "StringLiteral", + "start": 87, + "end": 93, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 10 + } + }, + "extra": { + "rawValue": "name", + "raw": "'name'" + }, + "value": "name" + }, + { + "type": "StringLiteral", + "start": 99, + "end": 110, + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 5, + "column": 15 + } + }, + "extra": { + "rawValue": "arguments", + "raw": "'arguments'" + }, + "value": "arguments" + }, + { + "type": "StringLiteral", + "start": 116, + "end": 124, + "loc": { + "start": { + "line": 6, + "column": 4 + }, + "end": { + "line": 6, + "column": 12 + } + }, + "extra": { + "rawValue": "called", + "raw": "'called'" + }, + "value": "called" + }, + { + "type": "StringLiteral", + "start": 130, + "end": 141, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 15 + } + }, + "extra": { + "rawValue": "prototype", + "raw": "'prototype'" + }, + "value": "prototype" + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Wraps a constructor in a wrapper function and copies all static properties\n * and methods to the new constructor.\n * @lineNumber\n * 20\n * @param\n * {Function} Ctor\n * @param\n * {undefined} wrapper\n * @return\n * {Function}\n ", + "start": 145, + "end": 386, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 387, + "end": 1013, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 43, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 394, + "end": 1013, + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 43, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 403, + "end": 418, + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 31 + }, + "identifierName": "wrapConstructor" + }, + "name": "wrapConstructor", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 419, + "end": 423, + "loc": { + "start": { + "line": 22, + "column": 32 + }, + "end": { + "line": 22, + "column": 36 + }, + "identifierName": "Ctor" + }, + "name": "Ctor" + }, + { + "type": "Identifier", + "start": 425, + "end": 432, + "loc": { + "start": { + "line": 22, + "column": 38 + }, + "end": { + "line": 22, + "column": 45 + }, + "identifierName": "wrapper" + }, + "name": "wrapper" + } + ], + "body": { + "type": "BlockStatement", + "start": 434, + "end": 1013, + "loc": { + "start": { + "line": 22, + "column": 47 + }, + "end": { + "line": 43, + "column": 1 + } + }, + "body": [ + { + "type": "FunctionDeclaration", + "start": 543, + "end": 637, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 33, + "column": 5 + } + }, + "id": { + "type": "Identifier", + "start": 552, + "end": 570, + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 31 + }, + "identifierName": "ConstructorWrapper" + }, + "name": "ConstructorWrapper", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 571, + "end": 578, + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 39 + } + }, + "argument": { + "type": "Identifier", + "start": 574, + "end": 578, + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 39 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 580, + "end": 637, + "loc": { + "start": { + "line": 31, + "column": 41 + }, + "end": { + "line": 33, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 590, + "end": 631, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 49 + } + }, + "argument": { + "type": "CallExpression", + "start": 597, + "end": 630, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 597, + "end": 609, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 597, + "end": 604, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 22 + }, + "identifierName": "wrapper" + }, + "name": "wrapper" + }, + "property": { + "type": "Identifier", + "start": 605, + "end": 609, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 27 + }, + "identifierName": "call" + }, + "name": "call" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 610, + "end": 614, + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 32, + "column": 32 + } + } + }, + { + "type": "Identifier", + "start": 616, + "end": 620, + "loc": { + "start": { + "line": 32, + "column": 34 + }, + "end": { + "line": 32, + "column": 38 + }, + "identifierName": "Ctor" + }, + "name": "Ctor" + }, + { + "type": "SpreadElement", + "start": 622, + "end": 629, + "loc": { + "start": { + "line": 32, + "column": 40 + }, + "end": { + "line": 32, + "column": 47 + } + }, + "argument": { + "type": "Identifier", + "start": 625, + "end": 629, + "loc": { + "start": { + "line": 32, + "column": 43 + }, + "end": { + "line": 32, + "column": 47 + }, + "identifierName": "args" + }, + "name": "args" + } + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 21\n * @param\n * {undefined} args\n ", + "start": 440, + "end": 538, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 642, + "end": 688, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 50 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 642, + "end": 687, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 49 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 642, + "end": 670, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 642, + "end": 660, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 22 + }, + "identifierName": "ConstructorWrapper" + }, + "name": "ConstructorWrapper" + }, + "property": { + "type": "Identifier", + "start": 661, + "end": 670, + "loc": { + "start": { + "line": 34, + "column": 23 + }, + "end": { + "line": 34, + "column": 32 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 673, + "end": 687, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 673, + "end": 677, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 39 + }, + "identifierName": "Ctor" + }, + "name": "Ctor" + }, + "property": { + "type": "Identifier", + "start": 678, + "end": 687, + "loc": { + "start": { + "line": 34, + "column": 40 + }, + "end": { + "line": 34, + "column": 49 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 693, + "end": 944, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 41, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 693, + "end": 943, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 41, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 693, + "end": 714, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 693, + "end": 699, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 10 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 700, + "end": 714, + "loc": { + "start": { + "line": 35, + "column": 11 + }, + "end": { + "line": 35, + "column": 25 + }, + "identifierName": "defineProperty" + }, + "name": "defineProperty" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 715, + "end": 733, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 44 + }, + "identifierName": "ConstructorWrapper" + }, + "name": "ConstructorWrapper" + }, + { + "type": "StringLiteral", + "start": 735, + "end": 741, + "loc": { + "start": { + "line": 35, + "column": 46 + }, + "end": { + "line": 35, + "column": 52 + } + }, + "extra": { + "rawValue": "name", + "raw": "'name'" + }, + "value": "name" + }, + { + "type": "ObjectExpression", + "start": 743, + "end": 942, + "loc": { + "start": { + "line": 35, + "column": 54 + }, + "end": { + "line": 41, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 840, + "end": 858, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 840, + "end": 852, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 20 + }, + "identifierName": "configurable" + }, + "name": "configurable", + "leadingComments": null + }, + "value": { + "type": "BooleanLiteral", + "start": 854, + "end": 858, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 26 + } + }, + "value": true + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " These values should coincide with the default descriptor values for `name`.", + "start": 753, + "end": 831, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 86 + } + } + } + ] + }, + { + "type": "ObjectProperty", + "start": 868, + "end": 885, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 25 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 868, + "end": 878, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 18 + }, + "identifierName": "enumerable" + }, + "name": "enumerable" + }, + "value": { + "type": "BooleanLiteral", + "start": 880, + "end": 885, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 25 + } + }, + "value": false + } + }, + { + "type": "ObjectProperty", + "start": 895, + "end": 911, + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 39, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 895, + "end": 900, + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 39, + "column": 13 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "MemberExpression", + "start": 902, + "end": 911, + "loc": { + "start": { + "line": 39, + "column": 15 + }, + "end": { + "line": 39, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 902, + "end": 906, + "loc": { + "start": { + "line": 39, + "column": 15 + }, + "end": { + "line": 39, + "column": 19 + }, + "identifierName": "Ctor" + }, + "name": "Ctor" + }, + "property": { + "type": "Identifier", + "start": 907, + "end": 911, + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 24 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 921, + "end": 936, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 921, + "end": 929, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 16 + }, + "identifierName": "writable" + }, + "name": "writable" + }, + "value": { + "type": "BooleanLiteral", + "start": 931, + "end": 936, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 23 + } + }, + "value": false + } + } + ] + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 949, + "end": 1011, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 66 + } + }, + "argument": { + "type": "CallExpression", + "start": 956, + "end": 1010, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 65 + } + }, + "callee": { + "type": "Identifier", + "start": 956, + "end": 965, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 20 + }, + "identifierName": "assignAll" + }, + "name": "assignAll" + }, + "arguments": [ + { + "type": "Identifier", + "start": 966, + "end": 984, + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 39 + }, + "identifierName": "ConstructorWrapper" + }, + "name": "ConstructorWrapper" + }, + { + "type": "Identifier", + "start": 986, + "end": 990, + "loc": { + "start": { + "line": 42, + "column": 41 + }, + "end": { + "line": 42, + "column": 45 + }, + "identifierName": "Ctor" + }, + "name": "Ctor" + }, + { + "type": "Identifier", + "start": 992, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 47 + }, + "end": { + "line": 42, + "column": 64 + }, + "identifierName": "PROPERTY_EXCLUDES" + }, + "name": "PROPERTY_EXCLUDES" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Wraps a constructor in a wrapper function and copies all static properties\n * and methods to the new constructor.\n * @lineNumber\n * 20\n * @param\n * {Function} Ctor\n * @param\n * {undefined} wrapper\n * @return\n * {Function}\n ", + "start": 145, + "end": 386, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Wraps a constructor in a wrapper function and copies all static properties\n * and methods to the new constructor.\n * @lineNumber\n * 20\n * @param\n * {Function} Ctor\n * @param\n * {undefined} wrapper\n * @return\n * {Function}\n ", + "start": 145, + "end": 386, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Wraps a constructor in a wrapper function and copies all static properties\n * and methods to the new constructor.\n * @lineNumber\n * 20\n * @param\n * {Function} Ctor\n * @param\n * {undefined} wrapper\n * @return\n * {Function}\n ", + "start": 145, + "end": 386, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 21\n * @param\n * {undefined} args\n ", + "start": 440, + "end": 538, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } + } + }, + { + "type": "CommentLine", + "value": " These values should coincide with the default descriptor values for `name`.", + "start": 753, + "end": 831, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 86 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "assignAll", + "start": 9, + "end": 18, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19, + "end": 20, + "loc": { + "start": { + "line": 1, + "column": 19 + }, + "end": { + "line": 1, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 21, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./assignAll", + "start": 26, + "end": 39, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 39, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 39 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 41, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PROPERTY_EXCLUDES", + "start": 47, + "end": 64, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 65, + "end": 66, + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 67, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "length", + "start": 73, + "end": 81, + "loc": { + "start": { + "line": 3, + "column": 4 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 81, + "end": 82, + "loc": { + "start": { + "line": 3, + "column": 12 + }, + "end": { + "line": 3, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "name", + "start": 87, + "end": 93, + "loc": { + "start": { + "line": 4, + "column": 4 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 93, + "end": 94, + "loc": { + "start": { + "line": 4, + "column": 10 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "arguments", + "start": 99, + "end": 110, + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 5, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 110, + "end": 111, + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "called", + "start": 116, + "end": 124, + "loc": { + "start": { + "line": 6, + "column": 4 + }, + "end": { + "line": 6, + "column": 12 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 124, + "end": 125, + "loc": { + "start": { + "line": 6, + "column": 12 + }, + "end": { + "line": 6, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "prototype", + "start": 130, + "end": 141, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 15 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 142, + "end": 143, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 143, + "end": 144, + "loc": { + "start": { + "line": 8, + "column": 1 + }, + "end": { + "line": 8, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n * Wraps a constructor in a wrapper function and copies all static properties\n * and methods to the new constructor.\n * @lineNumber\n * 20\n * @param\n * {Function} Ctor\n * @param\n * {undefined} wrapper\n * @return\n * {Function}\n ", + "start": 145, + "end": 386, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 21, + "column": 3 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 387, + "end": 393, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 394, + "end": 402, + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wrapConstructor", + "start": 403, + "end": 418, + "loc": { + "start": { + "line": 22, + "column": 16 + }, + "end": { + "line": 22, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 418, + "end": 419, + "loc": { + "start": { + "line": 22, + "column": 31 + }, + "end": { + "line": 22, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Ctor", + "start": 419, + "end": 423, + "loc": { + "start": { + "line": 22, + "column": 32 + }, + "end": { + "line": 22, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 423, + "end": 424, + "loc": { + "start": { + "line": 22, + "column": 36 + }, + "end": { + "line": 22, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wrapper", + "start": 425, + "end": 432, + "loc": { + "start": { + "line": 22, + "column": 38 + }, + "end": { + "line": 22, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 432, + "end": 433, + "loc": { + "start": { + "line": 22, + "column": 45 + }, + "end": { + "line": 22, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 434, + "end": 435, + "loc": { + "start": { + "line": 22, + "column": 47 + }, + "end": { + "line": 22, + "column": 48 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 21\n * @param\n * {undefined} args\n ", + "start": 440, + "end": 538, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 543, + "end": 551, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ConstructorWrapper", + "start": 552, + "end": 570, + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 570, + "end": 571, + "loc": { + "start": { + "line": 31, + "column": 31 + }, + "end": { + "line": 31, + "column": 32 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 571, + "end": 574, + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 574, + "end": 578, + "loc": { + "start": { + "line": 31, + "column": 35 + }, + "end": { + "line": 31, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 578, + "end": 579, + "loc": { + "start": { + "line": 31, + "column": 39 + }, + "end": { + "line": 31, + "column": 40 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 580, + "end": 581, + "loc": { + "start": { + "line": 31, + "column": 41 + }, + "end": { + "line": 31, + "column": 42 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 590, + "end": 596, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wrapper", + "start": 597, + "end": 604, + "loc": { + "start": { + "line": 32, + "column": 15 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 32, + "column": 22 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "call", + "start": 605, + "end": 609, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 609, + "end": 610, + "loc": { + "start": { + "line": 32, + "column": 27 + }, + "end": { + "line": 32, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 610, + "end": 614, + "loc": { + "start": { + "line": 32, + "column": 28 + }, + "end": { + "line": 32, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 614, + "end": 615, + "loc": { + "start": { + "line": 32, + "column": 32 + }, + "end": { + "line": 32, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Ctor", + "start": 616, + "end": 620, + "loc": { + "start": { + "line": 32, + "column": 34 + }, + "end": { + "line": 32, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 620, + "end": 621, + "loc": { + "start": { + "line": 32, + "column": 38 + }, + "end": { + "line": 32, + "column": 39 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 622, + "end": 625, + "loc": { + "start": { + "line": 32, + "column": 40 + }, + "end": { + "line": 32, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "args", + "start": 625, + "end": 629, + "loc": { + "start": { + "line": 32, + "column": 43 + }, + "end": { + "line": 32, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 629, + "end": 630, + "loc": { + "start": { + "line": 32, + "column": 47 + }, + "end": { + "line": 32, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 630, + "end": 631, + "loc": { + "start": { + "line": 32, + "column": 48 + }, + "end": { + "line": 32, + "column": 49 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 636, + "end": 637, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ConstructorWrapper", + "start": 642, + "end": 660, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 660, + "end": 661, + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prototype", + "start": 661, + "end": 670, + "loc": { + "start": { + "line": 34, + "column": 23 + }, + "end": { + "line": 34, + "column": 32 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 671, + "end": 672, + "loc": { + "start": { + "line": 34, + "column": 33 + }, + "end": { + "line": 34, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Ctor", + "start": 673, + "end": 677, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 677, + "end": 678, + "loc": { + "start": { + "line": 34, + "column": 39 + }, + "end": { + "line": 34, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prototype", + "start": 678, + "end": 687, + "loc": { + "start": { + "line": 34, + "column": 40 + }, + "end": { + "line": 34, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 687, + "end": 688, + "loc": { + "start": { + "line": 34, + "column": 49 + }, + "end": { + "line": 34, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Object", + "start": 693, + "end": 699, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 699, + "end": 700, + "loc": { + "start": { + "line": 35, + "column": 10 + }, + "end": { + "line": 35, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defineProperty", + "start": 700, + "end": 714, + "loc": { + "start": { + "line": 35, + "column": 11 + }, + "end": { + "line": 35, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 714, + "end": 715, + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ConstructorWrapper", + "start": 715, + "end": 733, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 733, + "end": 734, + "loc": { + "start": { + "line": 35, + "column": 44 + }, + "end": { + "line": 35, + "column": 45 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "name", + "start": 735, + "end": 741, + "loc": { + "start": { + "line": 35, + "column": 46 + }, + "end": { + "line": 35, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 741, + "end": 742, + "loc": { + "start": { + "line": 35, + "column": 52 + }, + "end": { + "line": 35, + "column": 53 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 743, + "end": 744, + "loc": { + "start": { + "line": 35, + "column": 54 + }, + "end": { + "line": 35, + "column": 55 + } + } + }, + { + "type": "CommentLine", + "value": " These values should coincide with the default descriptor values for `name`.", + "start": 753, + "end": 831, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 86 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "configurable", + "start": 840, + "end": 852, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 20 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 852, + "end": 853, + "loc": { + "start": { + "line": 37, + "column": 20 + }, + "end": { + "line": 37, + "column": 21 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 854, + "end": 858, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 858, + "end": 859, + "loc": { + "start": { + "line": 37, + "column": 26 + }, + "end": { + "line": 37, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "enumerable", + "start": 868, + "end": 878, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 878, + "end": 879, + "loc": { + "start": { + "line": 38, + "column": 18 + }, + "end": { + "line": 38, + "column": 19 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 880, + "end": 885, + "loc": { + "start": { + "line": 38, + "column": 20 + }, + "end": { + "line": 38, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 885, + "end": 886, + "loc": { + "start": { + "line": 38, + "column": 25 + }, + "end": { + "line": 38, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 895, + "end": 900, + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 39, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 900, + "end": 901, + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Ctor", + "start": 902, + "end": 906, + "loc": { + "start": { + "line": 39, + "column": 15 + }, + "end": { + "line": 39, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 906, + "end": 907, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 907, + "end": 911, + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 911, + "end": 912, + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writable", + "start": 921, + "end": 929, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 929, + "end": 930, + "loc": { + "start": { + "line": 40, + "column": 16 + }, + "end": { + "line": 40, + "column": 17 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 931, + "end": 936, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 941, + "end": 942, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 942, + "end": 943, + "loc": { + "start": { + "line": 41, + "column": 5 + }, + "end": { + "line": 41, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 943, + "end": 944, + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 41, + "column": 7 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 949, + "end": 955, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "assignAll", + "start": 956, + "end": 965, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 42, + "column": 20 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ConstructorWrapper", + "start": 966, + "end": 984, + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 984, + "end": 985, + "loc": { + "start": { + "line": 42, + "column": 39 + }, + "end": { + "line": 42, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Ctor", + "start": 986, + "end": 990, + "loc": { + "start": { + "line": 42, + "column": 41 + }, + "end": { + "line": 42, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 990, + "end": 991, + "loc": { + "start": { + "line": 42, + "column": 45 + }, + "end": { + "line": 42, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PROPERTY_EXCLUDES", + "start": 992, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 47 + }, + "end": { + "line": 42, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1009, + "end": 1010, + "loc": { + "start": { + "line": 42, + "column": 64 + }, + "end": { + "line": 42, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1010, + "end": 1011, + "loc": { + "start": { + "line": 42, + "column": 65 + }, + "end": { + "line": 42, + "column": 66 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1012, + "end": 1013, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1014, + "end": 1014, + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/afterAll.js.json b/docs/ast/source/wrap.ts.json similarity index 64% rename from docs/ast/source/afterAll.js.json rename to docs/ast/source/wrap.ts.json index e470796..3f4d909 100644 --- a/docs/ast/source/afterAll.js.json +++ b/docs/ast/source/wrap.ts.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 879, + "end": 452, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 29, + "line": 19, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 879, + "end": 452, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 29, + "line": 19, "column": 0 } }, @@ -31,7 +31,7 @@ { "type": "ImportDeclaration", "start": 0, - "end": 31, + "end": 62, "loc": { "start": { "line": 1, @@ -39,14 +39,14 @@ }, "end": { "line": 1, - "column": 31 + "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -54,13 +54,13 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 } }, "imported": { "type": "Identifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -68,16 +68,16 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 }, - "identifierName": "after" + "identifierName": "DecoratorConfig" }, - "name": "after" + "name": "DecoratorConfig" }, "local": { "type": "Identifier", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -85,39 +85,88 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + } + }, + { + "type": "ImportSpecifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + } + }, + "imported": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" + }, + "local": { + "type": "Identifier", + "start": 26, + "end": 42, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 42 }, - "identifierName": "after" + "identifierName": "DecoratorFactory" }, - "name": "after" + "name": "DecoratorFactory" } } ], "source": { "type": "StringLiteral", - "start": 22, - "end": 30, + "start": 50, + "end": 61, "loc": { "start": { "line": 1, - "column": 22 + "column": 50 }, "end": { "line": 1, - "column": 30 + "column": 61 } }, "extra": { - "rawValue": "lodash", - "raw": "'lodash'" + "rawValue": "./factory", + "raw": "'./factory'" }, - "value": "lodash" + "value": "./factory" } }, { "type": "ImportDeclaration", - "start": 32, - "end": 94, + "start": 63, + "end": 110, "loc": { "start": { "line": 2, @@ -125,14 +174,14 @@ }, "end": { "line": 2, - "column": 62 + "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 41, - "end": 56, + "start": 72, + "end": 86, "loc": { "start": { "line": 2, @@ -140,13 +189,13 @@ }, "end": { "line": 2, - "column": 24 + "column": 23 } }, "imported": { "type": "Identifier", - "start": 41, - "end": 56, + "start": 72, + "end": 86, "loc": { "start": { "line": 2, @@ -154,16 +203,16 @@ }, "end": { "line": 2, - "column": 24 + "column": 23 }, - "identifierName": "DecoratorConfig" + "identifierName": "WrapApplicator" }, - "name": "DecoratorConfig" + "name": "WrapApplicator" }, "local": { "type": "Identifier", - "start": 41, - "end": 56, + "start": 72, + "end": 86, "loc": { "start": { "line": 2, @@ -171,88 +220,39 @@ }, "end": { "line": 2, - "column": 24 + "column": 23 }, - "identifierName": "DecoratorConfig" + "identifierName": "WrapApplicator" }, - "name": "DecoratorConfig" - } - }, - { - "type": "ImportSpecifier", - "start": 58, - "end": 74, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - } - }, - "imported": { - "type": "Identifier", - "start": 58, - "end": 74, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" - }, - "local": { - "type": "Identifier", - "start": 58, - "end": 74, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 42 - }, - "identifierName": "DecoratorFactory" - }, - "name": "DecoratorFactory" + "name": "WrapApplicator" } } ], "source": { "type": "StringLiteral", - "start": 82, - "end": 93, + "start": 94, + "end": 109, "loc": { "start": { "line": 2, - "column": 50 + "column": 31 }, "end": { "line": 2, - "column": 61 + "column": 46 } }, "extra": { - "rawValue": "./factory", - "raw": "'./factory'" + "rawValue": "./applicators", + "raw": "'./applicators'" }, - "value": "./factory" + "value": "./applicators" } }, { - "type": "ImportDeclaration", - "start": 95, - "end": 147, + "type": "Identifier", + "start": 111, + "end": 211, "loc": { "start": { "line": 3, @@ -260,93 +260,386 @@ }, "end": { "line": 3, - "column": 52 + "column": 100 } }, - "specifiers": [ + "declarations": [ { - "type": "ImportSpecifier", - "start": 104, - "end": 123, + "type": "VariableDeclarator", + "start": 117, + "end": 210, "loc": { "start": { "line": 3, - "column": 9 + "column": 6 }, "end": { "line": 3, - "column": 28 + "column": 99 } }, - "imported": { + "id": { "type": "Identifier", - "start": 104, - "end": 123, + "start": 117, + "end": 126, "loc": { "start": { "line": 3, - "column": 9 + "column": 6 }, "end": { "line": 3, - "column": 28 + "column": 15 }, - "identifierName": "PostValueApplicator" + "identifierName": "decorator" }, - "name": "PostValueApplicator" + "name": "decorator" }, - "local": { - "type": "Identifier", - "start": 104, - "end": 123, + "init": { + "type": "CallExpression", + "start": 129, + "end": 210, "loc": { "start": { "line": 3, - "column": 9 + "column": 18 }, "end": { "line": 3, - "column": 28 + "column": 99 + } + }, + "callee": { + "type": "MemberExpression", + "start": 129, + "end": 161, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 129, + "end": 145, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 34 + }, + "identifierName": "DecoratorFactory" + }, + "name": "DecoratorFactory" }, - "identifierName": "PostValueApplicator" + "property": { + "type": "Identifier", + "start": 146, + "end": 161, + "loc": { + "start": { + "line": 3, + "column": 35 + }, + "end": { + "line": 3, + "column": 50 + }, + "identifierName": "createDecorator" + }, + "name": "createDecorator" + }, + "computed": false }, - "name": "PostValueApplicator" + "arguments": [ + { + "type": "NewExpression", + "start": 162, + "end": 209, + "loc": { + "start": { + "line": 3, + "column": 51 + }, + "end": { + "line": 3, + "column": 98 + } + }, + "callee": { + "type": "Identifier", + "start": 166, + "end": 181, + "loc": { + "start": { + "line": 3, + "column": 55 + }, + "end": { + "line": 3, + "column": 70 + }, + "identifierName": "DecoratorConfig" + }, + "name": "DecoratorConfig" + }, + "arguments": [ + { + "type": "Identifier", + "start": 182, + "end": 186, + "loc": { + "start": { + "line": 3, + "column": 71 + }, + "end": { + "line": 3, + "column": 75 + }, + "identifierName": "wrap" + }, + "name": "wrap" + }, + { + "type": "NewExpression", + "start": 188, + "end": 208, + "loc": { + "start": { + "line": 3, + "column": 77 + }, + "end": { + "line": 3, + "column": 97 + } + }, + "callee": { + "type": "Identifier", + "start": 192, + "end": 206, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 95 + }, + "identifierName": "WrapApplicator" + }, + "name": "WrapApplicator" + }, + "arguments": [] + } + ] + } + ] } } ], - "source": { - "type": "StringLiteral", - "start": 131, - "end": 146, + "kind": "const", + "trailingComments": [], + "name": "_", + "leadingComments": [] + }, + { + "type": "ExportNamedDeclaration", + "start": 334, + "end": 400, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "FunctionDeclaration", + "start": 341, + "end": 400, "loc": { "start": { - "line": 3, - "column": 36 + "line": 14, + "column": 7 }, "end": { - "line": 3, - "column": 51 + "line": 16, + "column": 1 } }, - "extra": { - "rawValue": "./applicators", - "raw": "'./applicators'" + "id": { + "type": "Identifier", + "start": 350, + "end": 354, + "loc": { + "start": { + "line": 14, + "column": 16 + }, + "end": { + "line": 14, + "column": 20 + }, + "identifierName": "Wrap" + }, + "name": "Wrap", + "leadingComments": null }, - "value": "./applicators" + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 355, + "end": 363, + "loc": { + "start": { + "line": 14, + "column": 21 + }, + "end": { + "line": 14, + "column": 29 + }, + "identifierName": "fnToWrap" + }, + "name": "fnToWrap" + } + ], + "body": { + "type": "BlockStatement", + "start": 365, + "end": 400, + "loc": { + "start": { + "line": 14, + "column": 31 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 371, + "end": 398, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 31 + } + }, + "argument": { + "type": "CallExpression", + "start": 378, + "end": 397, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 378, + "end": 387, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 20 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "arguments": [ + { + "type": "Identifier", + "start": 388, + "end": 396, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 29 + }, + "identifierName": "fnToWrap" + }, + "name": "fnToWrap" + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {ResolvableFunction} fnToWrap\n * @return\n * {LodashMethodDecorator}\n ", + "start": 212, + "end": 333, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] }, - "trailingComments": [ + "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @AfterAll(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n\n * myClass2.fn(); // => 10\n * myClass2.fn(); // => 10\n ", - "start": 148, - "end": 689, + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {ResolvableFunction} fnToWrap\n * @return\n * {LodashMethodDecorator}\n ", + "start": 212, + "end": 333, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 25, + "line": 13, "column": 3 } } @@ -355,107 +648,207 @@ }, { "type": "ExportNamedDeclaration", - "start": 690, - "end": 820, + "start": 401, + "end": 425, "loc": { "start": { - "line": 26, + "line": 17, "column": 0 }, "end": { - "line": 26, - "column": 130 + "line": 17, + "column": 24 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 410, + "end": 422, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 21 + } + }, + "local": { + "type": "Identifier", + "start": 410, + "end": 414, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 13 + }, + "identifierName": "Wrap" + }, + "name": "Wrap" + }, + "exported": { + "type": "Identifier", + "start": 418, + "end": 422, + "loc": { + "start": { + "line": 17, + "column": 17 + }, + "end": { + "line": 17, + "column": 21 + }, + "identifierName": "wrap" + }, + "name": "wrap" + } + } + ], + "source": null + }, + { + "type": "Identifier", + "start": 426, + "end": 451, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 + } + }, + "declaration": { + "type": "Identifier", + "start": 441, + "end": 450, + "loc": { + "start": { + "line": 18, + "column": 15 + }, + "end": { + "line": 18, + "column": 24 + }, + "identifierName": "decorator" + }, + "name": "decorator" + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 426, + "end": 451, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 25 } }, - "specifiers": [], - "source": null, "declaration": { "type": "VariableDeclaration", - "start": 697, - "end": 820, + "start": 111, + "end": 211, "loc": { "start": { - "line": 26, - "column": 7 + "line": 3, + "column": 0 }, "end": { - "line": 26, - "column": 130 + "line": 3, + "column": 100 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 703, - "end": 819, + "start": 117, + "end": 210, "loc": { "start": { - "line": 26, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 26, - "column": 129 + "line": 3, + "column": 99 } }, "id": { "type": "Identifier", - "start": 703, - "end": 711, + "start": 117, + "end": 126, "loc": { "start": { - "line": 26, - "column": 13 + "line": 3, + "column": 6 }, "end": { - "line": 26, - "column": 21 + "line": 3, + "column": 15 }, - "identifierName": "AfterAll" + "identifierName": "decorator" }, - "name": "AfterAll", - "leadingComments": null + "name": "decorator" }, "init": { "type": "CallExpression", - "start": 714, - "end": 819, + "start": 129, + "end": 210, "loc": { "start": { - "line": 26, - "column": 24 + "line": 3, + "column": 18 }, "end": { - "line": 26, - "column": 129 + "line": 3, + "column": 99 } }, "callee": { "type": "MemberExpression", - "start": 714, - "end": 746, + "start": 129, + "end": 161, "loc": { "start": { - "line": 26, - "column": 24 + "line": 3, + "column": 18 }, "end": { - "line": 26, - "column": 56 + "line": 3, + "column": 50 } }, "object": { "type": "Identifier", - "start": 714, - "end": 730, + "start": 129, + "end": 145, "loc": { "start": { - "line": 26, - "column": 24 + "line": 3, + "column": 18 }, "end": { - "line": 26, - "column": 40 + "line": 3, + "column": 34 }, "identifierName": "DecoratorFactory" }, @@ -463,16 +856,16 @@ }, "property": { "type": "Identifier", - "start": 731, - "end": 746, + "start": 146, + "end": 161, "loc": { "start": { - "line": 26, - "column": 41 + "line": 3, + "column": 35 }, "end": { - "line": 26, - "column": 56 + "line": 3, + "column": 50 }, "identifierName": "createDecorator" }, @@ -483,30 +876,30 @@ "arguments": [ { "type": "NewExpression", - "start": 747, - "end": 818, + "start": 162, + "end": 209, "loc": { "start": { - "line": 26, - "column": 57 + "line": 3, + "column": 51 }, "end": { - "line": 26, - "column": 128 + "line": 3, + "column": 98 } }, "callee": { "type": "Identifier", - "start": 751, - "end": 766, + "start": 166, + "end": 181, "loc": { "start": { - "line": 26, - "column": 61 + "line": 3, + "column": 55 }, "end": { - "line": 26, - "column": 76 + "line": 3, + "column": 70 }, "identifierName": "DecoratorConfig" }, @@ -515,269 +908,80 @@ "arguments": [ { "type": "Identifier", - "start": 767, - "end": 772, + "start": 182, + "end": 186, "loc": { "start": { - "line": 26, - "column": 77 + "line": 3, + "column": 71 }, "end": { - "line": 26, - "column": 82 + "line": 3, + "column": 75 }, - "identifierName": "after" + "identifierName": "wrap" }, - "name": "after" + "name": "wrap" }, { "type": "NewExpression", - "start": 774, - "end": 799, + "start": 188, + "end": 208, "loc": { "start": { - "line": 26, - "column": 84 + "line": 3, + "column": 77 }, "end": { - "line": 26, - "column": 109 + "line": 3, + "column": 97 } }, "callee": { "type": "Identifier", - "start": 778, - "end": 797, - "loc": { - "start": { - "line": 26, - "column": 88 - }, - "end": { - "line": 26, - "column": 107 - }, - "identifierName": "PostValueApplicator" - }, - "name": "PostValueApplicator" - }, - "arguments": [] - }, - { - "type": "ObjectExpression", - "start": 801, - "end": 817, - "loc": { - "start": { - "line": 26, - "column": 111 - }, - "end": { - "line": 26, - "column": 127 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 803, - "end": 815, - "loc": { - "start": { - "line": 26, - "column": 113 - }, - "end": { - "line": 26, - "column": 125 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 803, - "end": 809, - "loc": { - "start": { - "line": 26, - "column": 113 - }, - "end": { - "line": 26, - "column": 119 - }, - "identifierName": "setter" - }, - "name": "setter" - }, - "value": { - "type": "BooleanLiteral", - "start": 811, - "end": 815, - "loc": { - "start": { - "line": 26, - "column": 121 - }, - "end": { - "line": 26, - "column": 125 - } - }, - "value": true - } - } - ] - } - ] - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @AfterAll(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n\n * myClass2.fn(); // => 10\n * myClass2.fn(); // => 10\n ", - "start": 148, - "end": 689, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 25, - "column": 3 - } - } - } - ], - "trailingComments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @AfterAll(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n\n * myClass2.fn(); // => 10\n * myClass2.fn(); // => 10\n ", - "start": 148, - "end": 689, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 25, - "column": 3 - } - } - } - ] - }, - { - "type": "ExportNamedDeclaration", - "start": 821, - "end": 853, - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 27, - "column": 32 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 830, - "end": 850, - "loc": { - "start": { - "line": 27, - "column": 9 - }, - "end": { - "line": 27, - "column": 29 - } - }, - "local": { - "type": "Identifier", - "start": 830, - "end": 838, - "loc": { - "start": { - "line": 27, - "column": 9 - }, - "end": { - "line": 27, - "column": 17 - }, - "identifierName": "AfterAll" - }, - "name": "AfterAll" - }, - "exported": { - "type": "Identifier", - "start": 842, - "end": 850, + "start": 192, + "end": 206, + "loc": { + "start": { + "line": 3, + "column": 81 + }, + "end": { + "line": 3, + "column": 95 + }, + "identifierName": "WrapApplicator" + }, + "name": "WrapApplicator" + }, + "arguments": [] + } + ] + } + ] + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {ResolvableFunction} fnToWrap\n * @return\n * {LodashMethodDecorator}\n ", + "start": 212, + "end": 333, "loc": { "start": { - "line": 27, - "column": 21 + "line": 4, + "column": 0 }, "end": { - "line": 27, - "column": 29 - }, - "identifierName": "afterAll" - }, - "name": "afterAll" + "line": 13, + "column": 3 + } + } } - } - ], - "source": null - }, - { - "type": "ExportDefaultDeclaration", - "start": 854, - "end": 878, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 28, - "column": 24 - } - }, - "declaration": { - "type": "Identifier", - "start": 869, - "end": 877, - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 23 - }, - "identifierName": "AfterAll" - }, - "name": "AfterAll", - "leadingComments": [], - "trailingComments": [] + ], + "leadingComments": [] } } ], @@ -786,16 +990,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @AfterAll(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n\n * myClass2.fn(); // => 10\n * myClass2.fn(); // => 10\n ", - "start": 148, - "end": 689, + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {ResolvableFunction} fnToWrap\n * @return\n * {LodashMethodDecorator}\n ", + "start": 212, + "end": 333, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 25, + "line": 13, "column": 3 } } @@ -807,7 +1011,7 @@ "label": "import", "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -867,9 +1071,9 @@ "postfix": false, "binop": null }, - "value": "after", + "value": "DecoratorConfig", "start": 9, - "end": 14, + "end": 24, "loc": { "start": { "line": 1, @@ -877,32 +1081,33 @@ }, "end": { "line": 1, - "column": 14 + "column": 24 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15, - "end": 16, + "start": 24, + "end": 25, "loc": { "start": { "line": 1, - "column": 15 + "column": 24 }, "end": { "line": 1, - "column": 16 + "column": 25 } } }, @@ -918,79 +1123,76 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 17, - "end": 21, + "value": "DecoratorFactory", + "start": 26, + "end": 42, "loc": { "start": { "line": 1, - "column": 17 + "column": 26 }, "end": { "line": 1, - "column": 21 + "column": 42 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "lodash", - "start": 22, - "end": 30, + "start": 43, + "end": 44, "loc": { "start": { "line": 1, - "column": 22 + "column": 43 }, "end": { "line": 1, - "column": 30 + "column": 44 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 30, - "end": 31, + "value": "from", + "start": 45, + "end": 49, "loc": { "start": { "line": 1, - "column": 30 + "column": 45 }, "end": { "line": 1, - "column": 31 + "column": 49 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -999,48 +1201,50 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 32, - "end": 38, + "value": "./factory", + "start": 50, + "end": 61, "loc": { "start": { - "line": 2, - "column": 0 + "line": 1, + "column": 50 }, "end": { - "line": 2, - "column": 6 + "line": 1, + "column": 61 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 39, - "end": 40, + "start": 61, + "end": 62, "loc": { "start": { - "line": 2, - "column": 7 + "line": 1, + "column": 61 }, "end": { - "line": 2, - "column": 8 + "line": 1, + "column": 62 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1048,45 +1252,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DecoratorConfig", - "start": 41, - "end": 56, + "value": "import", + "start": 63, + "end": 69, "loc": { "start": { "line": 2, - "column": 9 + "column": 0 }, "end": { "line": 2, - "column": 24 + "column": 6 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 56, - "end": 57, + "start": 70, + "end": 71, "loc": { "start": { "line": 2, - "column": 24 + "column": 7 }, "end": { "line": 2, - "column": 25 + "column": 8 } } }, @@ -1102,17 +1306,17 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 58, - "end": 74, + "value": "WrapApplicator", + "start": 72, + "end": 86, "loc": { "start": { "line": 2, - "column": 26 + "column": 9 }, "end": { "line": 2, - "column": 42 + "column": 23 } } }, @@ -1128,16 +1332,16 @@ "postfix": false, "binop": null }, - "start": 75, - "end": 76, + "start": 87, + "end": 88, "loc": { "start": { "line": 2, - "column": 43 + "column": 24 }, "end": { "line": 2, - "column": 44 + "column": 25 } } }, @@ -1154,16 +1358,16 @@ "binop": null }, "value": "from", - "start": 77, - "end": 81, + "start": 89, + "end": 93, "loc": { "start": { "line": 2, - "column": 45 + "column": 26 }, "end": { "line": 2, - "column": 49 + "column": 30 } } }, @@ -1180,17 +1384,17 @@ "binop": null, "updateContext": null }, - "value": "./factory", - "start": 82, - "end": 93, + "value": "./applicators", + "start": 94, + "end": 109, "loc": { "start": { "line": 2, - "column": 50 + "column": 31 }, "end": { "line": 2, - "column": 61 + "column": 46 } } }, @@ -1207,23 +1411,23 @@ "binop": null, "updateContext": null }, - "start": 93, - "end": 94, + "start": 109, + "end": 110, "loc": { "start": { "line": 2, - "column": 61 + "column": 46 }, "end": { "line": 2, - "column": 62 + "column": 47 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1234,9 +1438,9 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 95, - "end": 101, + "value": "const", + "start": 111, + "end": 116, "loc": { "start": { "line": 3, @@ -1244,32 +1448,7 @@ }, "end": { "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 + "column": 5 } } }, @@ -1285,42 +1464,44 @@ "postfix": false, "binop": null }, - "value": "PostValueApplicator", - "start": 104, - "end": 123, + "value": "decorator", + "start": 117, + "end": 126, "loc": { "start": { "line": 3, - "column": 9 + "column": 6 }, "end": { "line": 3, - "column": 28 + "column": 15 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 124, - "end": 125, + "value": "=", + "start": 127, + "end": 128, "loc": { "start": { "line": 3, - "column": 29 + "column": 16 }, "end": { "line": 3, - "column": 30 + "column": 17 } } }, @@ -1336,25 +1517,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 126, - "end": 130, + "value": "DecoratorFactory", + "start": 129, + "end": 145, "loc": { "start": { "line": 3, - "column": 31 + "column": 18 }, "end": { "line": 3, - "column": 35 + "column": 34 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1363,96 +1544,76 @@ "binop": null, "updateContext": null }, - "value": "./applicators", - "start": 131, + "start": 145, "end": 146, "loc": { "start": { "line": 3, - "column": 36 + "column": 34 }, "end": { "line": 3, - "column": 51 + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, + "value": "createDecorator", "start": 146, - "end": 147, + "end": 161, "loc": { "start": { "line": 3, - "column": 51 - }, - "end": { - "line": 3, - "column": 52 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @AfterAll(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n\n * myClass2.fn(); // => 10\n * myClass2.fn(); // => 10\n ", - "start": 148, - "end": 689, - "loc": { - "start": { - "line": 4, - "column": 0 + "column": 35 }, "end": { - "line": 25, - "column": 3 + "line": 3, + "column": 50 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 690, - "end": 696, + "start": 161, + "end": 162, "loc": { "start": { - "line": 26, - "column": 0 + "line": 3, + "column": 50 }, "end": { - "line": 26, - "column": 6 + "line": 3, + "column": 51 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1461,17 +1622,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 697, - "end": 702, + "value": "new", + "start": 162, + "end": 165, "loc": { "start": { - "line": 26, - "column": 7 + "line": 3, + "column": 51 }, "end": { - "line": 26, - "column": 12 + "line": 3, + "column": 54 } } }, @@ -1487,44 +1648,42 @@ "postfix": false, "binop": null }, - "value": "AfterAll", - "start": 703, - "end": 711, + "value": "DecoratorConfig", + "start": 166, + "end": 181, "loc": { "start": { - "line": 26, - "column": 13 + "line": 3, + "column": 55 }, "end": { - "line": 26, - "column": 21 + "line": 3, + "column": 70 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 712, - "end": 713, + "start": 181, + "end": 182, "loc": { "start": { - "line": 26, - "column": 22 + "line": 3, + "column": 70 }, "end": { - "line": 26, - "column": 23 + "line": 3, + "column": 71 } } }, @@ -1540,24 +1699,24 @@ "postfix": false, "binop": null }, - "value": "DecoratorFactory", - "start": 714, - "end": 730, + "value": "wrap", + "start": 182, + "end": 186, "loc": { "start": { - "line": 26, - "column": 24 + "line": 3, + "column": 71 }, "end": { - "line": 26, - "column": 40 + "line": 3, + "column": 75 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1567,49 +1726,51 @@ "binop": null, "updateContext": null }, - "start": 730, - "end": 731, + "start": 186, + "end": 187, "loc": { "start": { - "line": 26, - "column": 40 + "line": 3, + "column": 75 }, "end": { - "line": 26, - "column": 41 + "line": 3, + "column": 76 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "createDecorator", - "start": 731, - "end": 746, + "value": "new", + "start": 188, + "end": 191, "loc": { "start": { - "line": 26, - "column": 41 + "line": 3, + "column": 77 }, "end": { - "line": 26, - "column": 56 + "line": 3, + "column": 80 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1618,23 +1779,23 @@ "postfix": false, "binop": null }, - "start": 746, - "end": 747, + "value": "WrapApplicator", + "start": 192, + "end": 206, "loc": { "start": { - "line": 26, - "column": 56 + "line": 3, + "column": 81 }, "end": { - "line": 26, - "column": 57 + "line": 3, + "column": 95 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -1642,28 +1803,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 747, - "end": 750, + "start": 206, + "end": 207, "loc": { "start": { - "line": 26, - "column": 57 + "line": 3, + "column": 95 }, "end": { - "line": 26, - "column": 60 + "line": 3, + "column": 96 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1671,25 +1830,24 @@ "postfix": false, "binop": null }, - "value": "DecoratorConfig", - "start": 751, - "end": 766, + "start": 207, + "end": 208, "loc": { "start": { - "line": 26, - "column": 61 + "line": 3, + "column": 96 }, "end": { - "line": 26, - "column": 76 + "line": 3, + "column": 97 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1697,24 +1855,24 @@ "postfix": false, "binop": null }, - "start": 766, - "end": 767, + "start": 208, + "end": 209, "loc": { "start": { - "line": 26, - "column": 76 + "line": 3, + "column": 97 }, "end": { - "line": 26, - "column": 77 + "line": 3, + "column": 98 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1722,23 +1880,22 @@ "postfix": false, "binop": null }, - "value": "after", - "start": 767, - "end": 772, + "start": 209, + "end": 210, "loc": { "start": { - "line": 26, - "column": 77 + "line": 3, + "column": 98 }, "end": { - "line": 26, - "column": 82 + "line": 3, + "column": 99 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1749,25 +1906,41 @@ "binop": null, "updateContext": null }, - "start": 772, - "end": 773, + "start": 210, + "end": 211, + "loc": { + "start": { + "line": 3, + "column": 99 + }, + "end": { + "line": 3, + "column": 100 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc\n *\n * @lineNumber\n * 15\n * @param\n * {ResolvableFunction} fnToWrap\n * @return\n * {LodashMethodDecorator}\n ", + "start": 212, + "end": 333, "loc": { "start": { - "line": 26, - "column": 82 + "line": 4, + "column": 0 }, "end": { - "line": 26, - "column": 83 + "line": 13, + "column": 3 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1776,23 +1949,24 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 774, - "end": 777, + "value": "export", + "start": 334, + "end": 340, "loc": { "start": { - "line": 26, - "column": 84 + "line": 14, + "column": 0 }, "end": { - "line": 26, - "column": 87 + "line": 14, + "column": 6 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1802,24 +1976,24 @@ "postfix": false, "binop": null }, - "value": "PostValueApplicator", - "start": 778, - "end": 797, + "value": "function", + "start": 341, + "end": 349, "loc": { "start": { - "line": 26, - "column": 88 + "line": 14, + "column": 7 }, "end": { - "line": 26, - "column": 107 + "line": 14, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1828,24 +2002,25 @@ "postfix": false, "binop": null }, - "start": 797, - "end": 798, + "value": "Wrap", + "start": 350, + "end": 354, "loc": { "start": { - "line": 26, - "column": 107 + "line": 14, + "column": 16 }, "end": { - "line": 26, - "column": 108 + "line": 14, + "column": 20 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1853,50 +2028,50 @@ "postfix": false, "binop": null }, - "start": 798, - "end": 799, + "start": 354, + "end": 355, "loc": { "start": { - "line": 26, - "column": 108 + "line": 14, + "column": 20 }, "end": { - "line": 26, - "column": 109 + "line": 14, + "column": 21 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 799, - "end": 800, + "value": "fnToWrap", + "start": 355, + "end": 363, "loc": { "start": { - "line": 26, - "column": 109 + "line": 14, + "column": 21 }, "end": { - "line": 26, - "column": 110 + "line": 14, + "column": 29 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1904,23 +2079,23 @@ "postfix": false, "binop": null }, - "start": 801, - "end": 802, + "start": 363, + "end": 364, "loc": { "start": { - "line": 26, - "column": 111 + "line": 14, + "column": 29 }, "end": { - "line": 26, - "column": 112 + "line": 14, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1929,23 +2104,23 @@ "postfix": false, "binop": null }, - "value": "setter", - "start": 803, - "end": 809, + "start": 365, + "end": 366, "loc": { "start": { - "line": 26, - "column": 113 + "line": 14, + "column": 31 }, "end": { - "line": 26, - "column": 119 + "line": 14, + "column": 32 } } }, { "type": { - "label": ":", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1956,23 +2131,23 @@ "binop": null, "updateContext": null }, - "start": 809, - "end": 810, + "value": "return", + "start": 371, + "end": 377, "loc": { "start": { - "line": 26, - "column": 119 + "line": 15, + "column": 4 }, "end": { - "line": 26, - "column": 120 + "line": 15, + "column": 10 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1980,28 +2155,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 811, - "end": 815, + "value": "decorator", + "start": 378, + "end": 387, "loc": { "start": { - "line": 26, - "column": 121 + "line": 15, + "column": 11 }, "end": { - "line": 26, - "column": 125 + "line": 15, + "column": 20 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2009,24 +2183,24 @@ "postfix": false, "binop": null }, - "start": 816, - "end": 817, + "start": 387, + "end": 388, "loc": { "start": { - "line": 26, - "column": 126 + "line": 15, + "column": 20 }, "end": { - "line": 26, - "column": 127 + "line": 15, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2034,16 +2208,17 @@ "postfix": false, "binop": null }, - "start": 817, - "end": 818, + "value": "fnToWrap", + "start": 388, + "end": 396, "loc": { "start": { - "line": 26, - "column": 127 + "line": 15, + "column": 21 }, "end": { - "line": 26, - "column": 128 + "line": 15, + "column": 29 } } }, @@ -2059,16 +2234,16 @@ "postfix": false, "binop": null }, - "start": 818, - "end": 819, + "start": 396, + "end": 397, "loc": { "start": { - "line": 26, - "column": 128 + "line": 15, + "column": 29 }, "end": { - "line": 26, - "column": 129 + "line": 15, + "column": 30 } } }, @@ -2085,16 +2260,41 @@ "binop": null, "updateContext": null }, - "start": 819, - "end": 820, + "start": 397, + "end": 398, + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 399, + "end": 400, "loc": { "start": { - "line": 26, - "column": 129 + "line": 16, + "column": 0 }, "end": { - "line": 26, - "column": 130 + "line": 16, + "column": 1 } } }, @@ -2113,15 +2313,15 @@ "updateContext": null }, "value": "export", - "start": 821, - "end": 827, + "start": 401, + "end": 407, "loc": { "start": { - "line": 27, + "line": 17, "column": 0 }, "end": { - "line": 27, + "line": 17, "column": 6 } } @@ -2138,15 +2338,15 @@ "postfix": false, "binop": null }, - "start": 828, - "end": 829, + "start": 408, + "end": 409, "loc": { "start": { - "line": 27, + "line": 17, "column": 7 }, "end": { - "line": 27, + "line": 17, "column": 8 } } @@ -2163,17 +2363,17 @@ "postfix": false, "binop": null }, - "value": "AfterAll", - "start": 830, - "end": 838, + "value": "Wrap", + "start": 410, + "end": 414, "loc": { "start": { - "line": 27, + "line": 17, "column": 9 }, "end": { - "line": 27, - "column": 17 + "line": 17, + "column": 13 } } }, @@ -2190,16 +2390,16 @@ "binop": null }, "value": "as", - "start": 839, - "end": 841, + "start": 415, + "end": 417, "loc": { "start": { - "line": 27, - "column": 18 + "line": 17, + "column": 14 }, "end": { - "line": 27, - "column": 20 + "line": 17, + "column": 16 } } }, @@ -2215,17 +2415,17 @@ "postfix": false, "binop": null }, - "value": "afterAll", - "start": 842, - "end": 850, + "value": "wrap", + "start": 418, + "end": 422, "loc": { "start": { - "line": 27, - "column": 21 + "line": 17, + "column": 17 }, "end": { - "line": 27, - "column": 29 + "line": 17, + "column": 21 } } }, @@ -2241,16 +2441,16 @@ "postfix": false, "binop": null }, - "start": 851, - "end": 852, + "start": 423, + "end": 424, "loc": { "start": { - "line": 27, - "column": 30 + "line": 17, + "column": 22 }, "end": { - "line": 27, - "column": 31 + "line": 17, + "column": 23 } } }, @@ -2267,16 +2467,16 @@ "binop": null, "updateContext": null }, - "start": 852, - "end": 853, + "start": 424, + "end": 425, "loc": { "start": { - "line": 27, - "column": 31 + "line": 17, + "column": 23 }, "end": { - "line": 27, - "column": 32 + "line": 17, + "column": 24 } } }, @@ -2295,15 +2495,15 @@ "updateContext": null }, "value": "export", - "start": 854, - "end": 860, + "start": 426, + "end": 432, "loc": { "start": { - "line": 28, + "line": 18, "column": 0 }, "end": { - "line": 28, + "line": 18, "column": 6 } } @@ -2323,15 +2523,15 @@ "updateContext": null }, "value": "default", - "start": 861, - "end": 868, + "start": 433, + "end": 440, "loc": { "start": { - "line": 28, + "line": 18, "column": 7 }, "end": { - "line": 28, + "line": 18, "column": 14 } } @@ -2348,17 +2548,17 @@ "postfix": false, "binop": null }, - "value": "AfterAll", - "start": 869, - "end": 877, + "value": "decorator", + "start": 441, + "end": 450, "loc": { "start": { - "line": 28, + "line": 18, "column": 15 }, "end": { - "line": 28, - "column": 23 + "line": 18, + "column": 24 } } }, @@ -2375,16 +2575,16 @@ "binop": null, "updateContext": null }, - "start": 877, - "end": 878, + "start": 450, + "end": 451, "loc": { "start": { - "line": 28, - "column": 23 + "line": 18, + "column": 24 }, "end": { - "line": 28, - "column": 24 + "line": 18, + "column": 25 } } }, @@ -2401,15 +2601,15 @@ "binop": null, "updateContext": null }, - "start": 879, - "end": 879, + "start": 452, + "end": 452, "loc": { "start": { - "line": 29, + "line": 19, "column": 0 }, "end": { - "line": 29, + "line": 19, "column": 0 } } diff --git a/docs/ast/test/after.spec.js.json b/docs/ast/test/after.spec.js.json deleted file mode 100644 index 6d3b339..0000000 --- a/docs/ast/test/after.spec.js.json +++ /dev/null @@ -1,10463 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1200, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 42, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1200, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 42, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "After" - }, - "name": "After" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "After" - }, - "name": "After" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - }, - "extra": { - "rawValue": "./after", - "raw": "'./after'" - }, - "value": "./after" - } - }, - { - "type": "ExpressionStatement", - "start": 98, - "end": 1199, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 41, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 98, - "end": 1198, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 41, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - }, - "extra": { - "rawValue": "after", - "raw": "'after'" - }, - "value": "after" - }, - { - "type": "ArrowFunctionExpression", - "start": 116, - "end": 1197, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 41, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 122, - "end": 1197, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 41, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 128, - "end": 1195, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 40, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 128, - "end": 1194, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 40, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 131, - "end": 171, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 47 - } - }, - "extra": { - "rawValue": "should invoke the method after 3 times", - "raw": "'should invoke the method after 3 times'" - }, - "value": "should invoke the method after 3 times" - }, - { - "type": "ArrowFunctionExpression", - "start": 173, - "end": 1193, - "loc": { - "start": { - "line": 5, - "column": 49 - }, - "end": { - "line": 40, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 179, - "end": 1193, - "loc": { - "start": { - "line": 5, - "column": 55 - }, - "end": { - "line": 40, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 189, - "end": 203, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 193, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 193, - "end": 198, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - "init": { - "type": "NumericLiteral", - "start": 201, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 212, - "end": 450, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 218, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 226, - "end": 450, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 17, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 240, - "end": 302, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 240, - "end": 251, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 254, - "end": 302, - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 272, - "end": 288, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 32 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 272, - "end": 287, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 31 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 272, - "end": 282, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 272, - "end": 276, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 277, - "end": 282, - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 26 - }, - "identifierName": "props" - }, - "name": "props" - }, - "computed": false - }, - "right": { - "type": "ArrayExpression", - "start": 285, - "end": 287, - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 31 - } - }, - "elements": [] - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 315, - "end": 382, - "loc": { - "start": { - "line": 11, - "column": 12 - }, - "end": { - "line": 13, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 319, - "end": 323, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 20 - }, - "identifierName": "prop" - }, - "name": "prop" - }, - "static": false, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 324, - "end": 327, - "loc": { - "start": { - "line": 11, - "column": 21 - }, - "end": { - "line": 11, - "column": 24 - }, - "identifierName": "val" - }, - "name": "val" - } - ], - "body": { - "type": "BlockStatement", - "start": 329, - "end": 382, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 13, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 347, - "end": 368, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 347, - "end": 367, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 347, - "end": 362, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 347, - "end": 357, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 347, - "end": 351, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 352, - "end": 357, - "loc": { - "start": { - "line": 12, - "column": 21 - }, - "end": { - "line": 12, - "column": 26 - }, - "identifierName": "props" - }, - "name": "props" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 358, - "end": 362, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 31 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 363, - "end": 366, - "loc": { - "start": { - "line": 12, - "column": 32 - }, - "end": { - "line": 12, - "column": 35 - }, - "identifierName": "val" - }, - "name": "val" - } - ] - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 395, - "end": 440, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 16, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 395, - "end": 397, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 400, - "end": 440, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 16, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 418, - "end": 426, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 24 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 418, - "end": 425, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 23 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 418, - "end": 423, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "calls" - }, - "name": "calls" - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 459, - "end": 545, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 20, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 459, - "end": 544, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 20, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 459, - "end": 477, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 459, - "end": 466, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 467, - "end": 477, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 478, - "end": 510, - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 20, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 492, - "end": 500, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 492, - "end": 497, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 17 - }, - "identifierName": "After" - }, - "name": "After" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 498, - "end": 499, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 512, - "end": 529, - "loc": { - "start": { - "line": 20, - "column": 11 - }, - "end": { - "line": 20, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 512, - "end": 519, - "loc": { - "start": { - "line": 20, - "column": 11 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 520, - "end": 529, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 531, - "end": 537, - "loc": { - "start": { - "line": 20, - "column": 30 - }, - "end": { - "line": 20, - "column": 36 - } - }, - "extra": { - "rawValue": "prop", - "raw": "\"prop\"" - }, - "value": "prop" - }, - { - "type": "NullLiteral", - "start": 539, - "end": 543, - "loc": { - "start": { - "line": 20, - "column": 38 - }, - "end": { - "line": 20, - "column": 42 - } - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 554, - "end": 638, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 23, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 554, - "end": 637, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 23, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 554, - "end": 572, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 554, - "end": 561, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 562, - "end": 572, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 573, - "end": 605, - "loc": { - "start": { - "line": 21, - "column": 27 - }, - "end": { - "line": 23, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 587, - "end": 595, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 587, - "end": 592, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 17 - }, - "identifierName": "After" - }, - "name": "After" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 593, - "end": 594, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 607, - "end": 624, - "loc": { - "start": { - "line": 23, - "column": 11 - }, - "end": { - "line": 23, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 607, - "end": 614, - "loc": { - "start": { - "line": 23, - "column": 11 - }, - "end": { - "line": 23, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 615, - "end": 624, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 626, - "end": 630, - "loc": { - "start": { - "line": 23, - "column": 30 - }, - "end": { - "line": 23, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 632, - "end": 636, - "loc": { - "start": { - "line": 23, - "column": 36 - }, - "end": { - "line": 23, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 647, - "end": 677, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 653, - "end": 676, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 653, - "end": 660, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 663, - "end": 676, - "loc": { - "start": { - "line": 24, - "column": 24 - }, - "end": { - "line": 24, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 667, - "end": 674, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 686, - "end": 717, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 692, - "end": 716, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 692, - "end": 700, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 22 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 703, - "end": 716, - "loc": { - "start": { - "line": 25, - "column": 25 - }, - "end": { - "line": 25, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 707, - "end": 714, - "loc": { - "start": { - "line": 25, - "column": 29 - }, - "end": { - "line": 25, - "column": 36 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 726, - "end": 739, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 726, - "end": 738, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 726, - "end": 736, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 726, - "end": 733, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 734, - "end": 736, - "loc": { - "start": { - "line": 26, - "column": 16 - }, - "end": { - "line": 26, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 748, - "end": 761, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 748, - "end": 760, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 748, - "end": 758, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 748, - "end": 755, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 756, - "end": 758, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 770, - "end": 783, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 770, - "end": 782, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 770, - "end": 780, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 770, - "end": 777, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 778, - "end": 780, - "loc": { - "start": { - "line": 28, - "column": 16 - }, - "end": { - "line": 28, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 792, - "end": 805, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 792, - "end": 804, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 792, - "end": 802, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 792, - "end": 799, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 800, - "end": 802, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 814, - "end": 856, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 814, - "end": 855, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 814, - "end": 852, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 814, - "end": 846, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 40 - } - }, - "object": { - "type": "CallExpression", - "start": 814, - "end": 843, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 814, - "end": 820, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 821, - "end": 826, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 828, - "end": 842, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 36 - } - }, - "extra": { - "rawValue": "single class", - "raw": "'single class'" - }, - "value": "single class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 844, - "end": 846, - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 40 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 847, - "end": 852, - "loc": { - "start": { - "line": 30, - "column": 41 - }, - "end": { - "line": 30, - "column": 46 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 853, - "end": 854, - "loc": { - "start": { - "line": 30, - "column": 47 - }, - "end": { - "line": 30, - "column": 48 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 865, - "end": 879, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 865, - "end": 878, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 865, - "end": 876, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 865, - "end": 873, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 874, - "end": 876, - "loc": { - "start": { - "line": 31, - "column": 17 - }, - "end": { - "line": 31, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 888, - "end": 902, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 888, - "end": 901, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 888, - "end": 899, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 888, - "end": 896, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 897, - "end": 899, - "loc": { - "start": { - "line": 32, - "column": 17 - }, - "end": { - "line": 32, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 911, - "end": 925, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 911, - "end": 924, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 911, - "end": 922, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 911, - "end": 919, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 920, - "end": 922, - "loc": { - "start": { - "line": 33, - "column": 17 - }, - "end": { - "line": 33, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 934, - "end": 948, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 934, - "end": 947, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 934, - "end": 945, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 934, - "end": 942, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 943, - "end": 945, - "loc": { - "start": { - "line": 34, - "column": 17 - }, - "end": { - "line": 34, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 957, - "end": 1001, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 957, - "end": 1000, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 957, - "end": 997, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 957, - "end": 991, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 957, - "end": 988, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 957, - "end": 963, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 964, - "end": 969, - "loc": { - "start": { - "line": 35, - "column": 15 - }, - "end": { - "line": 35, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 971, - "end": 987, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, - "column": 38 - } - }, - "extra": { - "rawValue": "multiple class", - "raw": "'multiple class'" - }, - "value": "multiple class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 989, - "end": 991, - "loc": { - "start": { - "line": 35, - "column": 40 - }, - "end": { - "line": 35, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 992, - "end": 997, - "loc": { - "start": { - "line": 35, - "column": 43 - }, - "end": { - "line": 35, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 998, - "end": 999, - "loc": { - "start": { - "line": 35, - "column": 49 - }, - "end": { - "line": 35, - "column": 50 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1010, - "end": 1028, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1010, - "end": 1027, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1010, - "end": 1022, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 1010, - "end": 1017, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1018, - "end": 1022, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 20 - }, - "identifierName": "prop" - }, - "name": "prop" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1025, - "end": 1027, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 25 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1037, - "end": 1056, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 27 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1037, - "end": 1055, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 26 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1037, - "end": 1049, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 1037, - "end": 1044, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1045, - "end": 1049, - "loc": { - "start": { - "line": 37, - "column": 16 - }, - "end": { - "line": 37, - "column": 20 - }, - "identifierName": "prop" - }, - "name": "prop" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1052, - "end": 1055, - "loc": { - "start": { - "line": 37, - "column": 23 - }, - "end": { - "line": 37, - "column": 26 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1065, - "end": 1123, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 66 - } - }, - "expression": { - "type": "CallExpression", - "start": 1065, - "end": 1122, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1065, - "end": 1119, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 62 - } - }, - "object": { - "type": "MemberExpression", - "start": 1065, - "end": 1113, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 56 - } - }, - "object": { - "type": "CallExpression", - "start": 1065, - "end": 1110, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 53 - } - }, - "callee": { - "type": "Identifier", - "start": 1065, - "end": 1071, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1072, - "end": 1092, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 1072, - "end": 1085, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1072, - "end": 1079, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1080, - "end": 1085, - "loc": { - "start": { - "line": 38, - "column": 23 - }, - "end": { - "line": 38, - "column": 28 - }, - "identifierName": "props" - }, - "name": "props" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1086, - "end": 1092, - "loc": { - "start": { - "line": 38, - "column": 29 - }, - "end": { - "line": 38, - "column": 35 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1094, - "end": 1109, - "loc": { - "start": { - "line": 38, - "column": 37 - }, - "end": { - "line": 38, - "column": 52 - } - }, - "extra": { - "rawValue": "setter length", - "raw": "'setter length'" - }, - "value": "setter length" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1111, - "end": 1113, - "loc": { - "start": { - "line": 38, - "column": 54 - }, - "end": { - "line": 38, - "column": 56 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1114, - "end": 1119, - "loc": { - "start": { - "line": 38, - "column": 57 - }, - "end": { - "line": 38, - "column": 62 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1120, - "end": 1121, - "loc": { - "start": { - "line": 38, - "column": 63 - }, - "end": { - "line": 38, - "column": 64 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1132, - "end": 1187, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 63 - } - }, - "expression": { - "type": "CallExpression", - "start": 1132, - "end": 1186, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 62 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1132, - "end": 1181, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 57 - } - }, - "object": { - "type": "MemberExpression", - "start": 1132, - "end": 1175, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 51 - } - }, - "object": { - "type": "CallExpression", - "start": 1132, - "end": 1172, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 48 - } - }, - "callee": { - "type": "Identifier", - "start": 1132, - "end": 1138, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1139, - "end": 1155, - "loc": { - "start": { - "line": 39, - "column": 15 - }, - "end": { - "line": 39, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 1139, - "end": 1152, - "loc": { - "start": { - "line": 39, - "column": 15 - }, - "end": { - "line": 39, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1139, - "end": 1146, - "loc": { - "start": { - "line": 39, - "column": 15 - }, - "end": { - "line": 39, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1147, - "end": 1152, - "loc": { - "start": { - "line": 39, - "column": 23 - }, - "end": { - "line": 39, - "column": 28 - }, - "identifierName": "props" - }, - "name": "props" - }, - "computed": false - }, - "property": { - "type": "NumericLiteral", - "start": 1153, - "end": 1154, - "loc": { - "start": { - "line": 39, - "column": 29 - }, - "end": { - "line": 39, - "column": 30 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - { - "type": "StringLiteral", - "start": 1157, - "end": 1171, - "loc": { - "start": { - "line": 39, - "column": 33 - }, - "end": { - "line": 39, - "column": 47 - } - }, - "extra": { - "rawValue": "setter value", - "raw": "'setter value'" - }, - "value": "setter value" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1173, - "end": 1175, - "loc": { - "start": { - "line": 39, - "column": 49 - }, - "end": { - "line": 39, - "column": 51 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1176, - "end": 1181, - "loc": { - "start": { - "line": 39, - "column": 52 - }, - "end": { - "line": 39, - "column": 57 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1182, - "end": 1185, - "loc": { - "start": { - "line": 39, - "column": 58 - }, - "end": { - "line": 39, - "column": 61 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 1, - "_esdocTestName": "it1" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 0, - "_esdocTestName": "describe0" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "After", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 80, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 82, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 17 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./after", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 96, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 106, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "after", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 119, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 130, - "end": 131, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should invoke the method after 3 times", - "start": 131, - "end": 171, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 171, - "end": 172, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 173, - "end": 174, - "loc": { - "start": { - "line": 5, - "column": 49 - }, - "end": { - "line": 5, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 174, - "end": 175, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 176, - "end": 178, - "loc": { - "start": { - "line": 5, - "column": 52 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 179, - "end": 180, - "loc": { - "start": { - "line": 5, - "column": 55 - }, - "end": { - "line": 5, - "column": 56 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 189, - "end": 192, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 193, - "end": 198, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 199, - "end": 200, - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 201, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 202, - "end": 203, - "loc": { - "start": { - "line": 6, - "column": 21 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 212, - "end": 217, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 218, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 240, - "end": 251, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 272, - "end": 276, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 276, - "end": 277, - "loc": { - "start": { - "line": 9, - "column": 20 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "props", - "start": 277, - "end": 282, - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 283, - "end": 284, - "loc": { - "start": { - "line": 9, - "column": 27 - }, - "end": { - "line": 9, - "column": 28 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 285, - "end": 286, - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 286, - "end": 287, - "loc": { - "start": { - "line": 9, - "column": 30 - }, - "end": { - "line": 9, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 287, - "end": 288, - "loc": { - "start": { - "line": 9, - "column": 31 - }, - "end": { - "line": 9, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 301, - "end": 302, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 315, - "end": 318, - "loc": { - "start": { - "line": 11, - "column": 12 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prop", - "start": 319, - "end": 323, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 323, - "end": 324, - "loc": { - "start": { - "line": 11, - "column": 20 - }, - "end": { - "line": 11, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "val", - "start": 324, - "end": 327, - "loc": { - "start": { - "line": 11, - "column": 21 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 327, - "end": 328, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 347, - "end": 351, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 351, - "end": 352, - "loc": { - "start": { - "line": 12, - "column": 20 - }, - "end": { - "line": 12, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "props", - "start": 352, - "end": 357, - "loc": { - "start": { - "line": 12, - "column": 21 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 357, - "end": 358, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 358, - "end": 362, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 362, - "end": 363, - "loc": { - "start": { - "line": 12, - "column": 31 - }, - "end": { - "line": 12, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "val", - "start": 363, - "end": 366, - "loc": { - "start": { - "line": 12, - "column": 32 - }, - "end": { - "line": 12, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 12, - "column": 35 - }, - "end": { - "line": 12, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 367, - "end": 368, - "loc": { - "start": { - "line": 12, - "column": 36 - }, - "end": { - "line": 12, - "column": 37 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 381, - "end": 382, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 395, - "end": 397, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 397, - "end": 398, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 398, - "end": 399, - "loc": { - "start": { - "line": 14, - "column": 15 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 400, - "end": 401, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 418, - "end": 423, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 423, - "end": 425, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 425, - "end": 426, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 439, - "end": 440, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 449, - "end": 450, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 459, - "end": 466, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 466, - "end": 467, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 467, - "end": 477, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 477, - "end": 478, - "loc": { - "start": { - "line": 18, - "column": 26 - }, - "end": { - "line": 18, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 478, - "end": 479, - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 18, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "After", - "start": 492, - "end": 497, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 497, - "end": 498, - "loc": { - "start": { - "line": 19, - "column": 17 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 498, - "end": 499, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 499, - "end": 500, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 509, - "end": 510, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 510, - "end": 511, - "loc": { - "start": { - "line": 20, - "column": 9 - }, - "end": { - "line": 20, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 512, - "end": 519, - "loc": { - "start": { - "line": 20, - "column": 11 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 519, - "end": 520, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 520, - "end": 529, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 529, - "end": 530, - "loc": { - "start": { - "line": 20, - "column": 28 - }, - "end": { - "line": 20, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "prop", - "start": 531, - "end": 537, - "loc": { - "start": { - "line": 20, - "column": 30 - }, - "end": { - "line": 20, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 537, - "end": 538, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 37 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 539, - "end": 543, - "loc": { - "start": { - "line": 20, - "column": 38 - }, - "end": { - "line": 20, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 543, - "end": 544, - "loc": { - "start": { - "line": 20, - "column": 42 - }, - "end": { - "line": 20, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 544, - "end": 545, - "loc": { - "start": { - "line": 20, - "column": 43 - }, - "end": { - "line": 20, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 554, - "end": 561, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 561, - "end": 562, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 562, - "end": 572, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 572, - "end": 573, - "loc": { - "start": { - "line": 21, - "column": 26 - }, - "end": { - "line": 21, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 573, - "end": 574, - "loc": { - "start": { - "line": 21, - "column": 27 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "After", - "start": 587, - "end": 592, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 592, - "end": 593, - "loc": { - "start": { - "line": 22, - "column": 17 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 593, - "end": 594, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 594, - "end": 595, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 604, - "end": 605, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 605, - "end": 606, - "loc": { - "start": { - "line": 23, - "column": 9 - }, - "end": { - "line": 23, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 607, - "end": 614, - "loc": { - "start": { - "line": 23, - "column": 11 - }, - "end": { - "line": 23, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 614, - "end": 615, - "loc": { - "start": { - "line": 23, - "column": 18 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 615, - "end": 624, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 624, - "end": 625, - "loc": { - "start": { - "line": 23, - "column": 28 - }, - "end": { - "line": 23, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 626, - "end": 630, - "loc": { - "start": { - "line": 23, - "column": 30 - }, - "end": { - "line": 23, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 630, - "end": 631, - "loc": { - "start": { - "line": 23, - "column": 34 - }, - "end": { - "line": 23, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 632, - "end": 636, - "loc": { - "start": { - "line": 23, - "column": 36 - }, - "end": { - "line": 23, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 636, - "end": 637, - "loc": { - "start": { - "line": 23, - "column": 40 - }, - "end": { - "line": 23, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 637, - "end": 638, - "loc": { - "start": { - "line": 23, - "column": 41 - }, - "end": { - "line": 23, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 647, - "end": 652, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 653, - "end": 660, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 661, - "end": 662, - "loc": { - "start": { - "line": 24, - "column": 22 - }, - "end": { - "line": 24, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 663, - "end": 666, - "loc": { - "start": { - "line": 24, - "column": 24 - }, - "end": { - "line": 24, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 667, - "end": 674, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 674, - "end": 675, - "loc": { - "start": { - "line": 24, - "column": 35 - }, - "end": { - "line": 24, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 675, - "end": 676, - "loc": { - "start": { - "line": 24, - "column": 36 - }, - "end": { - "line": 24, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 676, - "end": 677, - "loc": { - "start": { - "line": 24, - "column": 37 - }, - "end": { - "line": 24, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 686, - "end": 691, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 692, - "end": 700, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 701, - "end": 702, - "loc": { - "start": { - "line": 25, - "column": 23 - }, - "end": { - "line": 25, - "column": 24 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 703, - "end": 706, - "loc": { - "start": { - "line": 25, - "column": 25 - }, - "end": { - "line": 25, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 707, - "end": 714, - "loc": { - "start": { - "line": 25, - "column": 29 - }, - "end": { - "line": 25, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 714, - "end": 715, - "loc": { - "start": { - "line": 25, - "column": 36 - }, - "end": { - "line": 25, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 715, - "end": 716, - "loc": { - "start": { - "line": 25, - "column": 37 - }, - "end": { - "line": 25, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 716, - "end": 717, - "loc": { - "start": { - "line": 25, - "column": 38 - }, - "end": { - "line": 25, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 726, - "end": 733, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 733, - "end": 734, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 734, - "end": 736, - "loc": { - "start": { - "line": 26, - "column": 16 - }, - "end": { - "line": 26, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 736, - "end": 737, - "loc": { - "start": { - "line": 26, - "column": 18 - }, - "end": { - "line": 26, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 737, - "end": 738, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 738, - "end": 739, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 748, - "end": 755, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 755, - "end": 756, - "loc": { - "start": { - "line": 27, - "column": 15 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 756, - "end": 758, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 758, - "end": 759, - "loc": { - "start": { - "line": 27, - "column": 18 - }, - "end": { - "line": 27, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 759, - "end": 760, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 760, - "end": 761, - "loc": { - "start": { - "line": 27, - "column": 20 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 770, - "end": 777, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 777, - "end": 778, - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 778, - "end": 780, - "loc": { - "start": { - "line": 28, - "column": 16 - }, - "end": { - "line": 28, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 780, - "end": 781, - "loc": { - "start": { - "line": 28, - "column": 18 - }, - "end": { - "line": 28, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 781, - "end": 782, - "loc": { - "start": { - "line": 28, - "column": 19 - }, - "end": { - "line": 28, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 782, - "end": 783, - "loc": { - "start": { - "line": 28, - "column": 20 - }, - "end": { - "line": 28, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 792, - "end": 799, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 799, - "end": 800, - "loc": { - "start": { - "line": 29, - "column": 15 - }, - "end": { - "line": 29, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 800, - "end": 802, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 802, - "end": 803, - "loc": { - "start": { - "line": 29, - "column": 18 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 803, - "end": 804, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 804, - "end": 805, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 814, - "end": 820, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 820, - "end": 821, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 821, - "end": 826, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 826, - "end": 827, - "loc": { - "start": { - "line": 30, - "column": 20 - }, - "end": { - "line": 30, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "single class", - "start": 828, - "end": 842, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 842, - "end": 843, - "loc": { - "start": { - "line": 30, - "column": 36 - }, - "end": { - "line": 30, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 843, - "end": 844, - "loc": { - "start": { - "line": 30, - "column": 37 - }, - "end": { - "line": 30, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 844, - "end": 846, - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 846, - "end": 847, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 847, - "end": 852, - "loc": { - "start": { - "line": 30, - "column": 41 - }, - "end": { - "line": 30, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 852, - "end": 853, - "loc": { - "start": { - "line": 30, - "column": 46 - }, - "end": { - "line": 30, - "column": 47 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 853, - "end": 854, - "loc": { - "start": { - "line": 30, - "column": 47 - }, - "end": { - "line": 30, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 854, - "end": 855, - "loc": { - "start": { - "line": 30, - "column": 48 - }, - "end": { - "line": 30, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 855, - "end": 856, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 865, - "end": 873, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 873, - "end": 874, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 874, - "end": 876, - "loc": { - "start": { - "line": 31, - "column": 17 - }, - "end": { - "line": 31, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 876, - "end": 877, - "loc": { - "start": { - "line": 31, - "column": 19 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 877, - "end": 878, - "loc": { - "start": { - "line": 31, - "column": 20 - }, - "end": { - "line": 31, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 878, - "end": 879, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 888, - "end": 896, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 896, - "end": 897, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 897, - "end": 899, - "loc": { - "start": { - "line": 32, - "column": 17 - }, - "end": { - "line": 32, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 899, - "end": 900, - "loc": { - "start": { - "line": 32, - "column": 19 - }, - "end": { - "line": 32, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 900, - "end": 901, - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 901, - "end": 902, - "loc": { - "start": { - "line": 32, - "column": 21 - }, - "end": { - "line": 32, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 911, - "end": 919, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 919, - "end": 920, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 920, - "end": 922, - "loc": { - "start": { - "line": 33, - "column": 17 - }, - "end": { - "line": 33, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 922, - "end": 923, - "loc": { - "start": { - "line": 33, - "column": 19 - }, - "end": { - "line": 33, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 923, - "end": 924, - "loc": { - "start": { - "line": 33, - "column": 20 - }, - "end": { - "line": 33, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 924, - "end": 925, - "loc": { - "start": { - "line": 33, - "column": 21 - }, - "end": { - "line": 33, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 934, - "end": 942, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 942, - "end": 943, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 943, - "end": 945, - "loc": { - "start": { - "line": 34, - "column": 17 - }, - "end": { - "line": 34, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 945, - "end": 946, - "loc": { - "start": { - "line": 34, - "column": 19 - }, - "end": { - "line": 34, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 946, - "end": 947, - "loc": { - "start": { - "line": 34, - "column": 20 - }, - "end": { - "line": 34, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 947, - "end": 948, - "loc": { - "start": { - "line": 34, - "column": 21 - }, - "end": { - "line": 34, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 957, - "end": 963, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 963, - "end": 964, - "loc": { - "start": { - "line": 35, - "column": 14 - }, - "end": { - "line": 35, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 964, - "end": 969, - "loc": { - "start": { - "line": 35, - "column": 15 - }, - "end": { - "line": 35, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 969, - "end": 970, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "multiple class", - "start": 971, - "end": 987, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 987, - "end": 988, - "loc": { - "start": { - "line": 35, - "column": 38 - }, - "end": { - "line": 35, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 988, - "end": 989, - "loc": { - "start": { - "line": 35, - "column": 39 - }, - "end": { - "line": 35, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 989, - "end": 991, - "loc": { - "start": { - "line": 35, - "column": 40 - }, - "end": { - "line": 35, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 991, - "end": 992, - "loc": { - "start": { - "line": 35, - "column": 42 - }, - "end": { - "line": 35, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 992, - "end": 997, - "loc": { - "start": { - "line": 35, - "column": 43 - }, - "end": { - "line": 35, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 997, - "end": 998, - "loc": { - "start": { - "line": 35, - "column": 48 - }, - "end": { - "line": 35, - "column": 49 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 998, - "end": 999, - "loc": { - "start": { - "line": 35, - "column": 49 - }, - "end": { - "line": 35, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 999, - "end": 1000, - "loc": { - "start": { - "line": 35, - "column": 50 - }, - "end": { - "line": 35, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1000, - "end": 1001, - "loc": { - "start": { - "line": 35, - "column": 51 - }, - "end": { - "line": 35, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1010, - "end": 1017, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1017, - "end": 1018, - "loc": { - "start": { - "line": 36, - "column": 15 - }, - "end": { - "line": 36, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prop", - "start": 1018, - "end": 1022, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1023, - "end": 1024, - "loc": { - "start": { - "line": 36, - "column": 21 - }, - "end": { - "line": 36, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 1025, - "end": 1027, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1027, - "end": 1028, - "loc": { - "start": { - "line": 36, - "column": 25 - }, - "end": { - "line": 36, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1037, - "end": 1044, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1044, - "end": 1045, - "loc": { - "start": { - "line": 37, - "column": 15 - }, - "end": { - "line": 37, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prop", - "start": 1045, - "end": 1049, - "loc": { - "start": { - "line": 37, - "column": 16 - }, - "end": { - "line": 37, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1050, - "end": 1051, - "loc": { - "start": { - "line": 37, - "column": 21 - }, - "end": { - "line": 37, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 1052, - "end": 1055, - "loc": { - "start": { - "line": 37, - "column": 23 - }, - "end": { - "line": 37, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1055, - "end": 1056, - "loc": { - "start": { - "line": 37, - "column": 26 - }, - "end": { - "line": 37, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1065, - "end": 1071, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1071, - "end": 1072, - "loc": { - "start": { - "line": 38, - "column": 14 - }, - "end": { - "line": 38, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1072, - "end": 1079, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1079, - "end": 1080, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 38, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "props", - "start": 1080, - "end": 1085, - "loc": { - "start": { - "line": 38, - "column": 23 - }, - "end": { - "line": 38, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1085, - "end": 1086, - "loc": { - "start": { - "line": 38, - "column": 28 - }, - "end": { - "line": 38, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 1086, - "end": 1092, - "loc": { - "start": { - "line": 38, - "column": 29 - }, - "end": { - "line": 38, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1092, - "end": 1093, - "loc": { - "start": { - "line": 38, - "column": 35 - }, - "end": { - "line": 38, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "setter length", - "start": 1094, - "end": 1109, - "loc": { - "start": { - "line": 38, - "column": 37 - }, - "end": { - "line": 38, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1109, - "end": 1110, - "loc": { - "start": { - "line": 38, - "column": 52 - }, - "end": { - "line": 38, - "column": 53 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1110, - "end": 1111, - "loc": { - "start": { - "line": 38, - "column": 53 - }, - "end": { - "line": 38, - "column": 54 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1111, - "end": 1113, - "loc": { - "start": { - "line": 38, - "column": 54 - }, - "end": { - "line": 38, - "column": 56 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1113, - "end": 1114, - "loc": { - "start": { - "line": 38, - "column": 56 - }, - "end": { - "line": 38, - "column": 57 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1114, - "end": 1119, - "loc": { - "start": { - "line": 38, - "column": 57 - }, - "end": { - "line": 38, - "column": 62 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1119, - "end": 1120, - "loc": { - "start": { - "line": 38, - "column": 62 - }, - "end": { - "line": 38, - "column": 63 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1120, - "end": 1121, - "loc": { - "start": { - "line": 38, - "column": 63 - }, - "end": { - "line": 38, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1121, - "end": 1122, - "loc": { - "start": { - "line": 38, - "column": 64 - }, - "end": { - "line": 38, - "column": 65 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1122, - "end": 1123, - "loc": { - "start": { - "line": 38, - "column": 65 - }, - "end": { - "line": 38, - "column": 66 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1132, - "end": 1138, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1138, - "end": 1139, - "loc": { - "start": { - "line": 39, - "column": 14 - }, - "end": { - "line": 39, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1139, - "end": 1146, - "loc": { - "start": { - "line": 39, - "column": 15 - }, - "end": { - "line": 39, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1146, - "end": 1147, - "loc": { - "start": { - "line": 39, - "column": 22 - }, - "end": { - "line": 39, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "props", - "start": 1147, - "end": 1152, - "loc": { - "start": { - "line": 39, - "column": 23 - }, - "end": { - "line": 39, - "column": 28 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1152, - "end": 1153, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 29 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 1153, - "end": 1154, - "loc": { - "start": { - "line": 39, - "column": 29 - }, - "end": { - "line": 39, - "column": 30 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1154, - "end": 1155, - "loc": { - "start": { - "line": 39, - "column": 30 - }, - "end": { - "line": 39, - "column": 31 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1155, - "end": 1156, - "loc": { - "start": { - "line": 39, - "column": 31 - }, - "end": { - "line": 39, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "setter value", - "start": 1157, - "end": 1171, - "loc": { - "start": { - "line": 39, - "column": 33 - }, - "end": { - "line": 39, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1171, - "end": 1172, - "loc": { - "start": { - "line": 39, - "column": 47 - }, - "end": { - "line": 39, - "column": 48 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1172, - "end": 1173, - "loc": { - "start": { - "line": 39, - "column": 48 - }, - "end": { - "line": 39, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1173, - "end": 1175, - "loc": { - "start": { - "line": 39, - "column": 49 - }, - "end": { - "line": 39, - "column": 51 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1175, - "end": 1176, - "loc": { - "start": { - "line": 39, - "column": 51 - }, - "end": { - "line": 39, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1176, - "end": 1181, - "loc": { - "start": { - "line": 39, - "column": 52 - }, - "end": { - "line": 39, - "column": 57 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1181, - "end": 1182, - "loc": { - "start": { - "line": 39, - "column": 57 - }, - "end": { - "line": 39, - "column": 58 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 1182, - "end": 1185, - "loc": { - "start": { - "line": 39, - "column": 58 - }, - "end": { - "line": 39, - "column": 61 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1185, - "end": 1186, - "loc": { - "start": { - "line": 39, - "column": 61 - }, - "end": { - "line": 39, - "column": 62 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1186, - "end": 1187, - "loc": { - "start": { - "line": 39, - "column": 62 - }, - "end": { - "line": 39, - "column": 63 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1192, - "end": 1193, - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 40, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1193, - "end": 1194, - "loc": { - "start": { - "line": 40, - "column": 5 - }, - "end": { - "line": 40, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1194, - "end": 1195, - "loc": { - "start": { - "line": 40, - "column": 6 - }, - "end": { - "line": 40, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1196, - "end": 1197, - "loc": { - "start": { - "line": 41, - "column": 0 - }, - "end": { - "line": 41, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1197, - "end": 1198, - "loc": { - "start": { - "line": 41, - "column": 1 - }, - "end": { - "line": 41, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1198, - "end": 1199, - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 41, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1200, - "end": 1200, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/afterAll.spec.js.json b/docs/ast/test/afterAll.spec.js.json deleted file mode 100644 index 400591d..0000000 --- a/docs/ast/test/afterAll.spec.js.json +++ /dev/null @@ -1,6633 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 776, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 29, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 776, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 29, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 38 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - }, - "identifierName": "AfterAll" - }, - "name": "AfterAll" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - }, - "identifierName": "AfterAll" - }, - "name": "AfterAll" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 90, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 37 - } - }, - "extra": { - "rawValue": "./afterAll", - "raw": "'./afterAll'" - }, - "value": "./afterAll" - } - }, - { - "type": "ExpressionStatement", - "start": 104, - "end": 775, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 28, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 104, - "end": 774, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 28, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 104, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 113, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - } - }, - "extra": { - "rawValue": "afterAll", - "raw": "'afterAll'" - }, - "value": "afterAll" - }, - { - "type": "ArrowFunctionExpression", - "start": 125, - "end": 773, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 28, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 131, - "end": 773, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 28, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 137, - "end": 771, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 27, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 137, - "end": 770, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 27, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 137, - "end": 139, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 140, - "end": 180, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 47 - } - }, - "extra": { - "rawValue": "should invoke the method after 3 times", - "raw": "'should invoke the method after 3 times'" - }, - "value": "should invoke the method after 3 times" - }, - { - "type": "ArrowFunctionExpression", - "start": 182, - "end": 769, - "loc": { - "start": { - "line": 5, - "column": 49 - }, - "end": { - "line": 27, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 188, - "end": 769, - "loc": { - "start": { - "line": 5, - "column": 55 - }, - "end": { - "line": 27, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 198, - "end": 212, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 202, - "end": 211, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 202, - "end": 207, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - "init": { - "type": "NumericLiteral", - "start": 210, - "end": 211, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 221, - "end": 304, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 227, - "end": 234, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 235, - "end": 304, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 249, - "end": 294, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 249, - "end": 251, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 254, - "end": 294, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 272, - "end": 280, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 24 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 272, - "end": 279, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 23 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 272, - "end": 277, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - }, - "identifierName": "calls" - }, - "name": "calls" - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 313, - "end": 400, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 313, - "end": 399, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 313, - "end": 331, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 313, - "end": 320, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 321, - "end": 331, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 332, - "end": 367, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 346, - "end": 357, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 346, - "end": 354, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 20 - }, - "identifierName": "AfterAll" - }, - "name": "AfterAll" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 355, - "end": 356, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 22 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 369, - "end": 386, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 369, - "end": 376, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 377, - "end": 386, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 388, - "end": 392, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 394, - "end": 398, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 409, - "end": 439, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 415, - "end": 438, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 415, - "end": 422, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 425, - "end": 438, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 429, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 448, - "end": 479, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 454, - "end": 478, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 454, - "end": 462, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 465, - "end": 478, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 469, - "end": 476, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 488, - "end": 501, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 488, - "end": 500, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 488, - "end": 498, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 488, - "end": 495, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 496, - "end": 498, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 510, - "end": 523, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 510, - "end": 522, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 510, - "end": 520, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 510, - "end": 517, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 518, - "end": 520, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 532, - "end": 545, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 532, - "end": 544, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 532, - "end": 542, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 532, - "end": 539, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 540, - "end": 542, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 554, - "end": 567, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 554, - "end": 566, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 554, - "end": 564, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 554, - "end": 561, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 562, - "end": 564, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 576, - "end": 618, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 576, - "end": 617, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 576, - "end": 614, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 576, - "end": 608, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 40 - } - }, - "object": { - "type": "CallExpression", - "start": 576, - "end": 605, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 576, - "end": 582, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 583, - "end": 588, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 590, - "end": 604, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 36 - } - }, - "extra": { - "rawValue": "single class", - "raw": "'single class'" - }, - "value": "single class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 606, - "end": 608, - "loc": { - "start": { - "line": 21, - "column": 38 - }, - "end": { - "line": 21, - "column": 40 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 609, - "end": 614, - "loc": { - "start": { - "line": 21, - "column": 41 - }, - "end": { - "line": 21, - "column": 46 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 615, - "end": 616, - "loc": { - "start": { - "line": 21, - "column": 47 - }, - "end": { - "line": 21, - "column": 48 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 627, - "end": 641, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 627, - "end": 640, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 627, - "end": 638, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 627, - "end": 635, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 636, - "end": 638, - "loc": { - "start": { - "line": 22, - "column": 17 - }, - "end": { - "line": 22, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 650, - "end": 664, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 650, - "end": 663, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 650, - "end": 661, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 650, - "end": 658, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 659, - "end": 661, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 673, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 673, - "end": 686, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 673, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 673, - "end": 681, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 682, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 696, - "end": 710, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 696, - "end": 709, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 696, - "end": 707, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 696, - "end": 704, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 705, - "end": 707, - "loc": { - "start": { - "line": 25, - "column": 17 - }, - "end": { - "line": 25, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 719, - "end": 763, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 719, - "end": 762, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 719, - "end": 759, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 719, - "end": 753, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 719, - "end": 750, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 719, - "end": 725, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 726, - "end": 731, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 733, - "end": 749, - "loc": { - "start": { - "line": 26, - "column": 22 - }, - "end": { - "line": 26, - "column": 38 - } - }, - "extra": { - "rawValue": "multiple class", - "raw": "'multiple class'" - }, - "value": "multiple class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 751, - "end": 753, - "loc": { - "start": { - "line": 26, - "column": 40 - }, - "end": { - "line": 26, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 754, - "end": 759, - "loc": { - "start": { - "line": 26, - "column": 43 - }, - "end": { - "line": 26, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 760, - "end": 761, - "loc": { - "start": { - "line": 26, - "column": 49 - }, - "end": { - "line": 26, - "column": 50 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" - }, - "value": 6 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 3, - "_esdocTestName": "it3" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 2, - "_esdocTestName": "describe2" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "AfterAll", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 83, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 18 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 85, - "end": 89, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./afterAll", - "start": 90, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 37 - }, - "end": { - "line": 3, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 104, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 112, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "afterAll", - "start": 113, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 123, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 131, - "end": 132, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 137, - "end": 139, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 139, - "end": 140, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should invoke the method after 3 times", - "start": 140, - "end": 180, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 180, - "end": 181, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 182, - "end": 183, - "loc": { - "start": { - "line": 5, - "column": 49 - }, - "end": { - "line": 5, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 183, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 185, - "end": 187, - "loc": { - "start": { - "line": 5, - "column": 52 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 188, - "end": 189, - "loc": { - "start": { - "line": 5, - "column": 55 - }, - "end": { - "line": 5, - "column": 56 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 198, - "end": 201, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 202, - "end": 207, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 208, - "end": 209, - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 210, - "end": 211, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 211, - "end": 212, - "loc": { - "start": { - "line": 6, - "column": 21 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 221, - "end": 226, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 227, - "end": 234, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 235, - "end": 236, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 249, - "end": 251, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 272, - "end": 277, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 277, - "end": 279, - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 279, - "end": 280, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 293, - "end": 294, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 303, - "end": 304, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 313, - "end": 320, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 320, - "end": 321, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 321, - "end": 331, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 331, - "end": 332, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 332, - "end": 333, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "AfterAll", - "start": 346, - "end": 354, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 354, - "end": 355, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 355, - "end": 356, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 356, - "end": 357, - "loc": { - "start": { - "line": 13, - "column": 22 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 367, - "end": 368, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 369, - "end": 376, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 376, - "end": 377, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 377, - "end": 386, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 386, - "end": 387, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 388, - "end": 392, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 392, - "end": 393, - "loc": { - "start": { - "line": 14, - "column": 34 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 394, - "end": 398, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 398, - "end": 399, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 399, - "end": 400, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 409, - "end": 414, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 415, - "end": 422, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 423, - "end": 424, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 425, - "end": 428, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 429, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 436, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 437, - "end": 438, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 438, - "end": 439, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 448, - "end": 453, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 454, - "end": 462, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 465, - "end": 468, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 469, - "end": 476, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 476, - "end": 477, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 477, - "end": 478, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 478, - "end": 479, - "loc": { - "start": { - "line": 16, - "column": 38 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 488, - "end": 495, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 495, - "end": 496, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 496, - "end": 498, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 498, - "end": 499, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 499, - "end": 500, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 500, - "end": 501, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 510, - "end": 517, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 517, - "end": 518, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 518, - "end": 520, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 520, - "end": 521, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 521, - "end": 522, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 532, - "end": 539, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 539, - "end": 540, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 540, - "end": 542, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 542, - "end": 543, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 543, - "end": 544, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 544, - "end": 545, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 554, - "end": 561, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 561, - "end": 562, - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 562, - "end": 564, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 564, - "end": 565, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 565, - "end": 566, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 566, - "end": 567, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 576, - "end": 582, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 582, - "end": 583, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 583, - "end": 588, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 588, - "end": 589, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "single class", - "start": 590, - "end": 604, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 604, - "end": 605, - "loc": { - "start": { - "line": 21, - "column": 36 - }, - "end": { - "line": 21, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 605, - "end": 606, - "loc": { - "start": { - "line": 21, - "column": 37 - }, - "end": { - "line": 21, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 606, - "end": 608, - "loc": { - "start": { - "line": 21, - "column": 38 - }, - "end": { - "line": 21, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 608, - "end": 609, - "loc": { - "start": { - "line": 21, - "column": 40 - }, - "end": { - "line": 21, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 609, - "end": 614, - "loc": { - "start": { - "line": 21, - "column": 41 - }, - "end": { - "line": 21, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 614, - "end": 615, - "loc": { - "start": { - "line": 21, - "column": 46 - }, - "end": { - "line": 21, - "column": 47 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 615, - "end": 616, - "loc": { - "start": { - "line": 21, - "column": 47 - }, - "end": { - "line": 21, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 616, - "end": 617, - "loc": { - "start": { - "line": 21, - "column": 48 - }, - "end": { - "line": 21, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 617, - "end": 618, - "loc": { - "start": { - "line": 21, - "column": 49 - }, - "end": { - "line": 21, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 627, - "end": 635, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 635, - "end": 636, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 636, - "end": 638, - "loc": { - "start": { - "line": 22, - "column": 17 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 638, - "end": 639, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 639, - "end": 640, - "loc": { - "start": { - "line": 22, - "column": 20 - }, - "end": { - "line": 22, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 640, - "end": 641, - "loc": { - "start": { - "line": 22, - "column": 21 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 650, - "end": 658, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 658, - "end": 659, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 659, - "end": 661, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 661, - "end": 662, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 662, - "end": 663, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 663, - "end": 664, - "loc": { - "start": { - "line": 23, - "column": 21 - }, - "end": { - "line": 23, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 673, - "end": 681, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 681, - "end": 682, - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 682, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 684, - "end": 685, - "loc": { - "start": { - "line": 24, - "column": 19 - }, - "end": { - "line": 24, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 685, - "end": 686, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 686, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 21 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 696, - "end": 704, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 704, - "end": 705, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 705, - "end": 707, - "loc": { - "start": { - "line": 25, - "column": 17 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 707, - "end": 708, - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 708, - "end": 709, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 709, - "end": 710, - "loc": { - "start": { - "line": 25, - "column": 21 - }, - "end": { - "line": 25, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 719, - "end": 725, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 725, - "end": 726, - "loc": { - "start": { - "line": 26, - "column": 14 - }, - "end": { - "line": 26, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 726, - "end": 731, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 731, - "end": 732, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "multiple class", - "start": 733, - "end": 749, - "loc": { - "start": { - "line": 26, - "column": 22 - }, - "end": { - "line": 26, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 749, - "end": 750, - "loc": { - "start": { - "line": 26, - "column": 38 - }, - "end": { - "line": 26, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 750, - "end": 751, - "loc": { - "start": { - "line": 26, - "column": 39 - }, - "end": { - "line": 26, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 751, - "end": 753, - "loc": { - "start": { - "line": 26, - "column": 40 - }, - "end": { - "line": 26, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 753, - "end": 754, - "loc": { - "start": { - "line": 26, - "column": 42 - }, - "end": { - "line": 26, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 754, - "end": 759, - "loc": { - "start": { - "line": 26, - "column": 43 - }, - "end": { - "line": 26, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 759, - "end": 760, - "loc": { - "start": { - "line": 26, - "column": 48 - }, - "end": { - "line": 26, - "column": 49 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 6, - "start": 760, - "end": 761, - "loc": { - "start": { - "line": 26, - "column": 49 - }, - "end": { - "line": 26, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 761, - "end": 762, - "loc": { - "start": { - "line": 26, - "column": 50 - }, - "end": { - "line": 26, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 762, - "end": 763, - "loc": { - "start": { - "line": 26, - "column": 51 - }, - "end": { - "line": 26, - "column": 52 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 768, - "end": 769, - "loc": { - "start": { - "line": 27, - "column": 4 - }, - "end": { - "line": 27, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 769, - "end": 770, - "loc": { - "start": { - "line": 27, - "column": 5 - }, - "end": { - "line": 27, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 770, - "end": 771, - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 772, - "end": 773, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 28, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 773, - "end": 774, - "loc": { - "start": { - "line": 28, - "column": 1 - }, - "end": { - "line": 28, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 774, - "end": 775, - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 28, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 776, - "end": 776, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 29, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/ary.spec.js.json b/docs/ast/test/ary.spec.js.json deleted file mode 100644 index 7c06b38..0000000 --- a/docs/ast/test/ary.spec.js.json +++ /dev/null @@ -1,4249 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 486, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 486, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 28 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "Ary" - }, - "name": "Ary" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "Ary" - }, - "name": "Ary" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "extra": { - "rawValue": "./ary", - "raw": "'./ary'" - }, - "value": "./ary" - } - }, - { - "type": "ExpressionStatement", - "start": 94, - "end": 485, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 94, - "end": 484, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 94, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - } - }, - "extra": { - "rawValue": "ary", - "raw": "'ary'" - }, - "value": "ary" - }, - { - "type": "ArrowFunctionExpression", - "start": 110, - "end": 483, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 116, - "end": 483, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 122, - "end": 481, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 122, - "end": 480, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 122, - "end": 124, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 125, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 58 - } - }, - "extra": { - "rawValue": "should invoke the method with specified arguments", - "raw": "'should invoke the method with specified arguments'" - }, - "value": "should invoke the method with specified arguments" - }, - { - "type": "ArrowFunctionExpression", - "start": 178, - "end": 479, - "loc": { - "start": { - "line": 5, - "column": 60 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 184, - "end": 479, - "loc": { - "start": { - "line": 5, - "column": 66 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 194, - "end": 308, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 200, - "end": 207, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 208, - "end": 308, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 222, - "end": 298, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 222, - "end": 224, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 225, - "end": 232, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 22 - } - }, - "argument": { - "type": "Identifier", - "start": 228, - "end": 232, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 22 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 234, - "end": 298, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 252, - "end": 284, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 252, - "end": 283, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 252, - "end": 280, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 252, - "end": 274, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 38 - } - }, - "object": { - "type": "CallExpression", - "start": 252, - "end": 271, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 35 - } - }, - "callee": { - "type": "Identifier", - "start": 252, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 259, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 259, - "end": 263, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "Identifier", - "start": 264, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 272, - "end": 274, - "loc": { - "start": { - "line": 8, - "column": 36 - }, - "end": { - "line": 8, - "column": 38 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 275, - "end": 280, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 44 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 8, - "column": 45 - }, - "end": { - "line": 8, - "column": 46 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 317, - "end": 399, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 317, - "end": 398, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 317, - "end": 335, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 317, - "end": 324, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 325, - "end": 335, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 336, - "end": 366, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 350, - "end": 356, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 350, - "end": 353, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "Ary" - }, - "name": "Ary" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 354, - "end": 355, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 17 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 368, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 368, - "end": 375, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 376, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 387, - "end": 391, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 393, - "end": 397, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 408, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 414, - "end": 437, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 414, - "end": 421, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 424, - "end": 437, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 428, - "end": 435, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 447, - "end": 473, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "expression": { - "type": "CallExpression", - "start": 447, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 33 - } - }, - "callee": { - "type": "MemberExpression", - "start": 447, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 447, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 455, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 458, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 461, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 464, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - { - "type": "NumericLiteral", - "start": 467, - "end": 468, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - }, - { - "type": "NumericLiteral", - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 15, - "column": 31 - }, - "end": { - "line": 15, - "column": 32 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 5, - "_esdocTestName": "it5" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 4, - "_esdocTestName": "describe4" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Ary", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./ary", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 94, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "ary", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 108, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 110, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 111, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 113, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 122, - "end": 124, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 124, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should invoke the method with specified arguments", - "start": 125, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 176, - "end": 177, - "loc": { - "start": { - "line": 5, - "column": 58 - }, - "end": { - "line": 5, - "column": 59 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 178, - "end": 179, - "loc": { - "start": { - "line": 5, - "column": 60 - }, - "end": { - "line": 5, - "column": 61 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 179, - "end": 180, - "loc": { - "start": { - "line": 5, - "column": 61 - }, - "end": { - "line": 5, - "column": 62 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 181, - "end": 183, - "loc": { - "start": { - "line": 5, - "column": 63 - }, - "end": { - "line": 5, - "column": 65 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 184, - "end": 185, - "loc": { - "start": { - "line": 5, - "column": 66 - }, - "end": { - "line": 5, - "column": 67 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 194, - "end": 199, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 200, - "end": 207, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 208, - "end": 209, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 222, - "end": 224, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 224, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 225, - "end": 228, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 228, - "end": 232, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 232, - "end": 233, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 234, - "end": 235, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 252, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 258, - "end": 259, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 259, - "end": 263, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 263, - "end": 264, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 264, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 270, - "end": 271, - "loc": { - "start": { - "line": 8, - "column": 34 - }, - "end": { - "line": 8, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 8, - "column": 35 - }, - "end": { - "line": 8, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 272, - "end": 274, - "loc": { - "start": { - "line": 8, - "column": 36 - }, - "end": { - "line": 8, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 274, - "end": 275, - "loc": { - "start": { - "line": 8, - "column": 38 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 275, - "end": 280, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 44 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 280, - "end": 281, - "loc": { - "start": { - "line": 8, - "column": 44 - }, - "end": { - "line": 8, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 8, - "column": 45 - }, - "end": { - "line": 8, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 282, - "end": 283, - "loc": { - "start": { - "line": 8, - "column": 46 - }, - "end": { - "line": 8, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 283, - "end": 284, - "loc": { - "start": { - "line": 8, - "column": 47 - }, - "end": { - "line": 8, - "column": 48 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 297, - "end": 298, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 307, - "end": 308, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 317, - "end": 324, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 324, - "end": 325, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 325, - "end": 335, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 335, - "end": 336, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 336, - "end": 337, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Ary", - "start": 350, - "end": 353, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 353, - "end": 354, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 354, - "end": 355, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 355, - "end": 356, - "loc": { - "start": { - "line": 12, - "column": 17 - }, - "end": { - "line": 12, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 365, - "end": 366, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 368, - "end": 375, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 375, - "end": 376, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 376, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 387, - "end": 391, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 391, - "end": 392, - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 393, - "end": 397, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 397, - "end": 398, - "loc": { - "start": { - "line": 13, - "column": 40 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 398, - "end": 399, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 408, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 414, - "end": 421, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 424, - "end": 427, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 428, - "end": 435, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 435, - "end": 436, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 436, - "end": 437, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 437, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 447, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 454, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 455, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 458, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 459, - "end": 460, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 461, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 464, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 465, - "end": 466, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 467, - "end": 468, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 468, - "end": 469, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 30 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 15, - "column": 31 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 478, - "end": 479, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 479, - "end": 480, - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 480, - "end": 481, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 482, - "end": 483, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 483, - "end": 484, - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 484, - "end": 485, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 486, - "end": 486, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/attempt.spec.js.json b/docs/ast/test/attempt.spec.js.json deleted file mode 100644 index 9668ec7..0000000 --- a/docs/ast/test/attempt.spec.js.json +++ /dev/null @@ -1,5618 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 689, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 25, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 689, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 25, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 36 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - }, - "identifierName": "Attempt" - }, - "name": "Attempt" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - }, - "identifierName": "Attempt" - }, - "name": "Attempt" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 89, - "end": 100, - "loc": { - "start": { - "line": 3, - "column": 24 - }, - "end": { - "line": 3, - "column": 35 - } - }, - "extra": { - "rawValue": "./attempt", - "raw": "'./attempt'" - }, - "value": "./attempt" - } - }, - { - "type": "ExpressionStatement", - "start": 102, - "end": 688, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 24, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 102, - "end": 687, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 24, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 102, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 111, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 18 - } - }, - "extra": { - "rawValue": "attempt", - "raw": "'attempt'" - }, - "value": "attempt" - }, - { - "type": "ArrowFunctionExpression", - "start": 122, - "end": 686, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 24, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 128, - "end": 686, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 24, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 134, - "end": 684, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 23, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 134, - "end": 683, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 23, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 134, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 137, - "end": 175, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 45 - } - }, - "extra": { - "rawValue": "should catch the error and return it", - "raw": "'should catch the error and return it'" - }, - "value": "should catch the error and return it" - }, - { - "type": "ArrowFunctionExpression", - "start": 177, - "end": 682, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 23, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 183, - "end": 682, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 23, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 193, - "end": 347, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 199, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 207, - "end": 347, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 221, - "end": 276, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 221, - "end": 223, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 226, - "end": 276, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ThrowStatement", - "start": 244, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 34 - } - }, - "argument": { - "type": "NewExpression", - "start": 250, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 254, - "end": 259, - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 8, - "column": 31 - }, - "identifierName": "Error" - }, - "name": "Error" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 289, - "end": 337, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 289, - "end": 292, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 15 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 295, - "end": 337, - "loc": { - "start": { - "line": 10, - "column": 18 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 313, - "end": 323, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 320, - "end": 322, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 25 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 356, - "end": 441, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 356, - "end": 440, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 356, - "end": 374, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 356, - "end": 363, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 364, - "end": 374, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 375, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 16, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 389, - "end": 398, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 21 - } - }, - "callee": { - "type": "Identifier", - "start": 389, - "end": 396, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 19 - }, - "identifierName": "Attempt" - }, - "name": "Attempt" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 410, - "end": 427, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 410, - "end": 417, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 418, - "end": 427, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 429, - "end": 433, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 435, - "end": 439, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 40 - } - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 450, - "end": 536, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 19, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 450, - "end": 535, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 19, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 450, - "end": 468, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 450, - "end": 457, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 458, - "end": 468, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 469, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 27 - }, - "end": { - "line": 19, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 483, - "end": 492, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "callee": { - "type": "Identifier", - "start": 483, - "end": 490, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 19 - }, - "identifierName": "Attempt" - }, - "name": "Attempt" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 504, - "end": 521, - "loc": { - "start": { - "line": 19, - "column": 11 - }, - "end": { - "line": 19, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 504, - "end": 511, - "loc": { - "start": { - "line": 19, - "column": 11 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 512, - "end": 521, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 523, - "end": 528, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 35 - } - }, - "extra": { - "rawValue": "fn2", - "raw": "\"fn2\"" - }, - "value": "fn2" - }, - { - "type": "NullLiteral", - "start": 530, - "end": 534, - "loc": { - "start": { - "line": 19, - "column": 37 - }, - "end": { - "line": 19, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 545, - "end": 575, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 551, - "end": 574, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 551, - "end": 558, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 561, - "end": 574, - "loc": { - "start": { - "line": 20, - "column": 24 - }, - "end": { - "line": 20, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 565, - "end": 572, - "loc": { - "start": { - "line": 20, - "column": 28 - }, - "end": { - "line": 20, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 584, - "end": 632, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 56 - } - }, - "expression": { - "type": "CallExpression", - "start": 584, - "end": 631, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 55 - } - }, - "callee": { - "type": "MemberExpression", - "start": 584, - "end": 624, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 584, - "end": 613, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 584, - "end": 610, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 584, - "end": 607, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 31 - } - }, - "object": { - "type": "CallExpression", - "start": 584, - "end": 604, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 584, - "end": 590, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 591, - "end": 603, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 27 - } - }, - "callee": { - "type": "MemberExpression", - "start": 591, - "end": 601, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 591, - "end": 598, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 599, - "end": 601, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - ] - }, - "property": { - "type": "Identifier", - "start": 605, - "end": 607, - "loc": { - "start": { - "line": 21, - "column": 29 - }, - "end": { - "line": 21, - "column": 31 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 608, - "end": 610, - "loc": { - "start": { - "line": 21, - "column": 32 - }, - "end": { - "line": 21, - "column": 34 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 611, - "end": 613, - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 37 - }, - "identifierName": "an" - }, - "name": "an" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 614, - "end": 624, - "loc": { - "start": { - "line": 21, - "column": 38 - }, - "end": { - "line": 21, - "column": 48 - }, - "identifierName": "instanceOf" - }, - "name": "instanceOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 625, - "end": 630, - "loc": { - "start": { - "line": 21, - "column": 49 - }, - "end": { - "line": 21, - "column": 54 - }, - "identifierName": "Error" - }, - "name": "Error" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 641, - "end": 676, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 641, - "end": 675, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 641, - "end": 671, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 641, - "end": 665, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 641, - "end": 662, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 641, - "end": 647, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 648, - "end": 661, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 28 - } - }, - "callee": { - "type": "MemberExpression", - "start": 648, - "end": 659, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 648, - "end": 655, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 656, - "end": 659, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 26 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "computed": false - }, - "arguments": [] - } - ] - }, - "property": { - "type": "Identifier", - "start": 663, - "end": 665, - "loc": { - "start": { - "line": 22, - "column": 30 - }, - "end": { - "line": 22, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 666, - "end": 671, - "loc": { - "start": { - "line": 22, - "column": 33 - }, - "end": { - "line": 22, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 672, - "end": 674, - "loc": { - "start": { - "line": 22, - "column": 39 - }, - "end": { - "line": 22, - "column": 41 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 7, - "_esdocTestName": "it7" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 6, - "_esdocTestName": "describe6" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Attempt", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 82, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 17 - }, - "end": { - "line": 3, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 84, - "end": 88, - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./attempt", - "start": 89, - "end": 100, - "loc": { - "start": { - "line": 3, - "column": 24 - }, - "end": { - "line": 3, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 100, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 102, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 110, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "attempt", - "start": 111, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 120, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 123, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 128, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 134, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 136, - "end": 137, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should catch the error and return it", - "start": 137, - "end": 175, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 175, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 5, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 177, - "end": 178, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 178, - "end": 179, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 49 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 180, - "end": 182, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 183, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 193, - "end": 198, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 199, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 207, - "end": 208, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 221, - "end": 223, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 223, - "end": 224, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 224, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "throw", - "keyword": "throw", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "throw", - "start": 244, - "end": 249, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 250, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Error", - "start": 254, - "end": 259, - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 8, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 259, - "end": 260, - "loc": { - "start": { - "line": 8, - "column": 31 - }, - "end": { - "line": 8, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 260, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 8, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 33 - }, - "end": { - "line": 8, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 275, - "end": 276, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 289, - "end": 292, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 292, - "end": 293, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 293, - "end": 294, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 295, - "end": 296, - "loc": { - "start": { - "line": 10, - "column": 18 - }, - "end": { - "line": 10, - "column": 19 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 313, - "end": 319, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 320, - "end": 322, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 322, - "end": 323, - "loc": { - "start": { - "line": 11, - "column": 25 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 336, - "end": 337, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 346, - "end": 347, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 356, - "end": 363, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 363, - "end": 364, - "loc": { - "start": { - "line": 14, - "column": 15 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 364, - "end": 374, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 374, - "end": 375, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 375, - "end": 376, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Attempt", - "start": 389, - "end": 396, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 396, - "end": 397, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 397, - "end": 398, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 407, - "end": 408, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 408, - "end": 409, - "loc": { - "start": { - "line": 16, - "column": 9 - }, - "end": { - "line": 16, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 410, - "end": 417, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 417, - "end": 418, - "loc": { - "start": { - "line": 16, - "column": 18 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 418, - "end": 427, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 427, - "end": 428, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 429, - "end": 433, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 433, - "end": 434, - "loc": { - "start": { - "line": 16, - "column": 34 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 435, - "end": 439, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 439, - "end": 440, - "loc": { - "start": { - "line": 16, - "column": 40 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 440, - "end": 441, - "loc": { - "start": { - "line": 16, - "column": 41 - }, - "end": { - "line": 16, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 450, - "end": 457, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 458, - "end": 468, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 468, - "end": 469, - "loc": { - "start": { - "line": 17, - "column": 26 - }, - "end": { - "line": 17, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 469, - "end": 470, - "loc": { - "start": { - "line": 17, - "column": 27 - }, - "end": { - "line": 17, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Attempt", - "start": 483, - "end": 490, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 490, - "end": 491, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 491, - "end": 492, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 501, - "end": 502, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 502, - "end": 503, - "loc": { - "start": { - "line": 19, - "column": 9 - }, - "end": { - "line": 19, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 504, - "end": 511, - "loc": { - "start": { - "line": 19, - "column": 11 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 511, - "end": 512, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 512, - "end": 521, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 521, - "end": 522, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn2", - "start": 523, - "end": 528, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 528, - "end": 529, - "loc": { - "start": { - "line": 19, - "column": 35 - }, - "end": { - "line": 19, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 530, - "end": 534, - "loc": { - "start": { - "line": 19, - "column": 37 - }, - "end": { - "line": 19, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 534, - "end": 535, - "loc": { - "start": { - "line": 19, - "column": 41 - }, - "end": { - "line": 19, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 535, - "end": 536, - "loc": { - "start": { - "line": 19, - "column": 42 - }, - "end": { - "line": 19, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 545, - "end": 550, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 551, - "end": 558, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 559, - "end": 560, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 561, - "end": 564, - "loc": { - "start": { - "line": 20, - "column": 24 - }, - "end": { - "line": 20, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 565, - "end": 572, - "loc": { - "start": { - "line": 20, - "column": 28 - }, - "end": { - "line": 20, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 572, - "end": 573, - "loc": { - "start": { - "line": 20, - "column": 35 - }, - "end": { - "line": 20, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 573, - "end": 574, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 574, - "end": 575, - "loc": { - "start": { - "line": 20, - "column": 37 - }, - "end": { - "line": 20, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 584, - "end": 590, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 590, - "end": 591, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 591, - "end": 598, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 598, - "end": 599, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 599, - "end": 601, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 601, - "end": 602, - "loc": { - "start": { - "line": 21, - "column": 25 - }, - "end": { - "line": 21, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 602, - "end": 603, - "loc": { - "start": { - "line": 21, - "column": 26 - }, - "end": { - "line": 21, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 603, - "end": 604, - "loc": { - "start": { - "line": 21, - "column": 27 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 604, - "end": 605, - "loc": { - "start": { - "line": 21, - "column": 28 - }, - "end": { - "line": 21, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 605, - "end": 607, - "loc": { - "start": { - "line": 21, - "column": 29 - }, - "end": { - "line": 21, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 607, - "end": 608, - "loc": { - "start": { - "line": 21, - "column": 31 - }, - "end": { - "line": 21, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 608, - "end": 610, - "loc": { - "start": { - "line": 21, - "column": 32 - }, - "end": { - "line": 21, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 610, - "end": 611, - "loc": { - "start": { - "line": 21, - "column": 34 - }, - "end": { - "line": 21, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "an", - "start": 611, - "end": 613, - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 613, - "end": 614, - "loc": { - "start": { - "line": 21, - "column": 37 - }, - "end": { - "line": 21, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "instanceOf", - "start": 614, - "end": 624, - "loc": { - "start": { - "line": 21, - "column": 38 - }, - "end": { - "line": 21, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 624, - "end": 625, - "loc": { - "start": { - "line": 21, - "column": 48 - }, - "end": { - "line": 21, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Error", - "start": 625, - "end": 630, - "loc": { - "start": { - "line": 21, - "column": 49 - }, - "end": { - "line": 21, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 630, - "end": 631, - "loc": { - "start": { - "line": 21, - "column": 54 - }, - "end": { - "line": 21, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 631, - "end": 632, - "loc": { - "start": { - "line": 21, - "column": 55 - }, - "end": { - "line": 21, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 641, - "end": 647, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 647, - "end": 648, - "loc": { - "start": { - "line": 22, - "column": 14 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 648, - "end": 655, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 655, - "end": 656, - "loc": { - "start": { - "line": 22, - "column": 22 - }, - "end": { - "line": 22, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 656, - "end": 659, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 659, - "end": 660, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 661, - "end": 662, - "loc": { - "start": { - "line": 22, - "column": 28 - }, - "end": { - "line": 22, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 662, - "end": 663, - "loc": { - "start": { - "line": 22, - "column": 29 - }, - "end": { - "line": 22, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 663, - "end": 665, - "loc": { - "start": { - "line": 22, - "column": 30 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 665, - "end": 666, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 666, - "end": 671, - "loc": { - "start": { - "line": 22, - "column": 33 - }, - "end": { - "line": 22, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 671, - "end": 672, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 672, - "end": 674, - "loc": { - "start": { - "line": 22, - "column": 39 - }, - "end": { - "line": 22, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 674, - "end": 675, - "loc": { - "start": { - "line": 22, - "column": 41 - }, - "end": { - "line": 22, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 675, - "end": 676, - "loc": { - "start": { - "line": 22, - "column": 42 - }, - "end": { - "line": 22, - "column": 43 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 681, - "end": 682, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 682, - "end": 683, - "loc": { - "start": { - "line": 23, - "column": 5 - }, - "end": { - "line": 23, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 683, - "end": 684, - "loc": { - "start": { - "line": 23, - "column": 6 - }, - "end": { - "line": 23, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 685, - "end": 686, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 24, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 686, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 1 - }, - "end": { - "line": 24, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 687, - "end": 688, - "loc": { - "start": { - "line": 24, - "column": 2 - }, - "end": { - "line": 24, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 689, - "end": 689, - "loc": { - "start": { - "line": 25, - "column": 0 - }, - "end": { - "line": 25, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/before.spec.js.json b/docs/ast/test/before.spec.js.json deleted file mode 100644 index 65a0c2e..0000000 --- a/docs/ast/test/before.spec.js.json +++ /dev/null @@ -1,7573 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 859, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 33, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 859, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 33, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 99, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 34 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - }, - "identifierName": "Before" - }, - "name": "Before" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - }, - "identifierName": "Before" - }, - "name": "Before" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 88, - "end": 98, - "loc": { - "start": { - "line": 3, - "column": 23 - }, - "end": { - "line": 3, - "column": 33 - } - }, - "extra": { - "rawValue": "./before", - "raw": "'./before'" - }, - "value": "./before" - } - }, - { - "type": "ExpressionStatement", - "start": 100, - "end": 858, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 32, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 100, - "end": 857, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 32, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 100, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 109, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - } - }, - "extra": { - "rawValue": "before", - "raw": "'before'" - }, - "value": "before" - }, - { - "type": "ArrowFunctionExpression", - "start": 119, - "end": 856, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 32, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 125, - "end": 856, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 32, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 131, - "end": 854, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 31, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 131, - "end": 853, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 31, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 131, - "end": 133, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 134, - "end": 175, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 48 - } - }, - "extra": { - "rawValue": "should invoke the method before 3 times", - "raw": "'should invoke the method before 3 times'" - }, - "value": "should invoke the method before 3 times" - }, - { - "type": "ArrowFunctionExpression", - "start": 177, - "end": 852, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 31, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 183, - "end": 852, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 31, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 193, - "end": 207, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 197, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 197, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - "init": { - "type": "NumericLiteral", - "start": 205, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 216, - "end": 299, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 222, - "end": 229, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 230, - "end": 299, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 244, - "end": 289, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 244, - "end": 246, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 249, - "end": 289, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 267, - "end": 275, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 24 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 267, - "end": 274, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 23 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 267, - "end": 272, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - }, - "identifierName": "calls" - }, - "name": "calls" - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 308, - "end": 393, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 308, - "end": 392, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 308, - "end": 326, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 308, - "end": 315, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 316, - "end": 326, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 327, - "end": 360, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 341, - "end": 350, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 21 - } - }, - "callee": { - "type": "Identifier", - "start": 341, - "end": 347, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "Before" - }, - "name": "Before" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 348, - "end": 349, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 20 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 362, - "end": 379, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 362, - "end": 369, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 370, - "end": 379, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 381, - "end": 385, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 387, - "end": 391, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 402, - "end": 432, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 408, - "end": 431, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 418, - "end": 431, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 422, - "end": 429, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 441, - "end": 472, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 447, - "end": 471, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 447, - "end": 455, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 458, - "end": 471, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 462, - "end": 469, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 481, - "end": 494, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 481, - "end": 493, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 481, - "end": 491, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 481, - "end": 488, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 489, - "end": 491, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 503, - "end": 516, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 503, - "end": 515, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 503, - "end": 513, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 503, - "end": 510, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 511, - "end": 513, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 525, - "end": 538, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 525, - "end": 537, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 525, - "end": 535, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 525, - "end": 532, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 533, - "end": 535, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 547, - "end": 560, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 547, - "end": 559, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 547, - "end": 557, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 547, - "end": 554, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 555, - "end": 557, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 569, - "end": 582, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 569, - "end": 581, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 569, - "end": 579, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 569, - "end": 576, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 577, - "end": 579, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 591, - "end": 604, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 591, - "end": 603, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 591, - "end": 601, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 591, - "end": 598, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 599, - "end": 601, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 613, - "end": 655, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 613, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 613, - "end": 651, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 613, - "end": 645, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 40 - } - }, - "object": { - "type": "CallExpression", - "start": 613, - "end": 642, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 613, - "end": 619, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 620, - "end": 625, - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 627, - "end": 641, - "loc": { - "start": { - "line": 23, - "column": 22 - }, - "end": { - "line": 23, - "column": 36 - } - }, - "extra": { - "rawValue": "single class", - "raw": "'single class'" - }, - "value": "single class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 643, - "end": 645, - "loc": { - "start": { - "line": 23, - "column": 38 - }, - "end": { - "line": 23, - "column": 40 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 646, - "end": 651, - "loc": { - "start": { - "line": 23, - "column": 41 - }, - "end": { - "line": 23, - "column": 46 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 652, - "end": 653, - "loc": { - "start": { - "line": 23, - "column": 47 - }, - "end": { - "line": 23, - "column": 48 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 664, - "end": 678, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 664, - "end": 677, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 664, - "end": 675, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 664, - "end": 672, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 673, - "end": 675, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 687, - "end": 701, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 687, - "end": 700, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 687, - "end": 698, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 687, - "end": 695, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 696, - "end": 698, - "loc": { - "start": { - "line": 25, - "column": 17 - }, - "end": { - "line": 25, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 710, - "end": 724, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 710, - "end": 723, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 710, - "end": 721, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 710, - "end": 718, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 719, - "end": 721, - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 26, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 733, - "end": 747, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 733, - "end": 746, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 733, - "end": 744, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 733, - "end": 741, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 742, - "end": 744, - "loc": { - "start": { - "line": 27, - "column": 17 - }, - "end": { - "line": 27, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 756, - "end": 770, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 756, - "end": 769, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 756, - "end": 767, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 756, - "end": 764, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 765, - "end": 767, - "loc": { - "start": { - "line": 28, - "column": 17 - }, - "end": { - "line": 28, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 779, - "end": 793, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 779, - "end": 792, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 779, - "end": 790, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 779, - "end": 787, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 788, - "end": 790, - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 29, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 802, - "end": 846, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 802, - "end": 845, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 802, - "end": 842, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 802, - "end": 836, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 802, - "end": 833, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 802, - "end": 808, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 809, - "end": 814, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 816, - "end": 832, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 38 - } - }, - "extra": { - "rawValue": "multiple class", - "raw": "'multiple class'" - }, - "value": "multiple class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 834, - "end": 836, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 837, - "end": 842, - "loc": { - "start": { - "line": 30, - "column": 43 - }, - "end": { - "line": 30, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 843, - "end": 844, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 50 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 9, - "_esdocTestName": "it9" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 8, - "_esdocTestName": "describe8" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Before", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 81, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 83, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 18 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./before", - "start": 88, - "end": 98, - "loc": { - "start": { - "line": 3, - "column": 23 - }, - "end": { - "line": 3, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 98, - "end": 99, - "loc": { - "start": { - "line": 3, - "column": 33 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 100, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 108, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "before", - "start": 109, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 119, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 120, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 122, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 131, - "end": 133, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 133, - "end": 134, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should invoke the method before 3 times", - "start": 134, - "end": 175, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 175, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 177, - "end": 178, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 178, - "end": 179, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 180, - "end": 182, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 55 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 183, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 5, - "column": 57 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 193, - "end": 196, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 197, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 203, - "end": 204, - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 205, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 206, - "end": 207, - "loc": { - "start": { - "line": 6, - "column": 21 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 216, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 222, - "end": 229, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 230, - "end": 231, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 244, - "end": 246, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 246, - "end": 247, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 247, - "end": 248, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 249, - "end": 250, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 267, - "end": 272, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 272, - "end": 274, - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 274, - "end": 275, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 288, - "end": 289, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 298, - "end": 299, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 308, - "end": 315, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 316, - "end": 326, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 326, - "end": 327, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 327, - "end": 328, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Before", - "start": 341, - "end": 347, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 347, - "end": 348, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 348, - "end": 349, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 349, - "end": 350, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 21 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 360, - "end": 361, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 362, - "end": 369, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 369, - "end": 370, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 370, - "end": 379, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 379, - "end": 380, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 381, - "end": 385, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 14, - "column": 34 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 387, - "end": 391, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 391, - "end": 392, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 392, - "end": 393, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 402, - "end": 407, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 416, - "end": 417, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 418, - "end": 421, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 422, - "end": 429, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 429, - "end": 430, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 430, - "end": 431, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 431, - "end": 432, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 441, - "end": 446, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 447, - "end": 455, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 456, - "end": 457, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 458, - "end": 461, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 462, - "end": 469, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 469, - "end": 470, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 16, - "column": 38 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 481, - "end": 488, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 488, - "end": 489, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 489, - "end": 491, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 491, - "end": 492, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 492, - "end": 493, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 493, - "end": 494, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 503, - "end": 510, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 510, - "end": 511, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 511, - "end": 513, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 513, - "end": 514, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 514, - "end": 515, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 515, - "end": 516, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 525, - "end": 532, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 532, - "end": 533, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 533, - "end": 535, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 535, - "end": 536, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 536, - "end": 537, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 537, - "end": 538, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 547, - "end": 554, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 554, - "end": 555, - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 555, - "end": 557, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 557, - "end": 558, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 558, - "end": 559, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 559, - "end": 560, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 569, - "end": 576, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 576, - "end": 577, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 577, - "end": 579, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 579, - "end": 580, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 580, - "end": 581, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 581, - "end": 582, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 591, - "end": 598, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 598, - "end": 599, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 599, - "end": 601, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 601, - "end": 602, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 602, - "end": 603, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 603, - "end": 604, - "loc": { - "start": { - "line": 22, - "column": 20 - }, - "end": { - "line": 22, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 613, - "end": 619, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 619, - "end": 620, - "loc": { - "start": { - "line": 23, - "column": 14 - }, - "end": { - "line": 23, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 620, - "end": 625, - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 625, - "end": 626, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "single class", - "start": 627, - "end": 641, - "loc": { - "start": { - "line": 23, - "column": 22 - }, - "end": { - "line": 23, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 641, - "end": 642, - "loc": { - "start": { - "line": 23, - "column": 36 - }, - "end": { - "line": 23, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 642, - "end": 643, - "loc": { - "start": { - "line": 23, - "column": 37 - }, - "end": { - "line": 23, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 643, - "end": 645, - "loc": { - "start": { - "line": 23, - "column": 38 - }, - "end": { - "line": 23, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 645, - "end": 646, - "loc": { - "start": { - "line": 23, - "column": 40 - }, - "end": { - "line": 23, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 646, - "end": 651, - "loc": { - "start": { - "line": 23, - "column": 41 - }, - "end": { - "line": 23, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 651, - "end": 652, - "loc": { - "start": { - "line": 23, - "column": 46 - }, - "end": { - "line": 23, - "column": 47 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 652, - "end": 653, - "loc": { - "start": { - "line": 23, - "column": 47 - }, - "end": { - "line": 23, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 653, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 48 - }, - "end": { - "line": 23, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 23, - "column": 49 - }, - "end": { - "line": 23, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 664, - "end": 672, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 672, - "end": 673, - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 673, - "end": 675, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 675, - "end": 676, - "loc": { - "start": { - "line": 24, - "column": 19 - }, - "end": { - "line": 24, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 676, - "end": 677, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 677, - "end": 678, - "loc": { - "start": { - "line": 24, - "column": 21 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 687, - "end": 695, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 695, - "end": 696, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 696, - "end": 698, - "loc": { - "start": { - "line": 25, - "column": 17 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 699, - "end": 700, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 25, - "column": 21 - }, - "end": { - "line": 25, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 710, - "end": 718, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 718, - "end": 719, - "loc": { - "start": { - "line": 26, - "column": 16 - }, - "end": { - "line": 26, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 719, - "end": 721, - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 26, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 721, - "end": 722, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 722, - "end": 723, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 723, - "end": 724, - "loc": { - "start": { - "line": 26, - "column": 21 - }, - "end": { - "line": 26, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 733, - "end": 741, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 741, - "end": 742, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 742, - "end": 744, - "loc": { - "start": { - "line": 27, - "column": 17 - }, - "end": { - "line": 27, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 744, - "end": 745, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 745, - "end": 746, - "loc": { - "start": { - "line": 27, - "column": 20 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 746, - "end": 747, - "loc": { - "start": { - "line": 27, - "column": 21 - }, - "end": { - "line": 27, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 756, - "end": 764, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 764, - "end": 765, - "loc": { - "start": { - "line": 28, - "column": 16 - }, - "end": { - "line": 28, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 765, - "end": 767, - "loc": { - "start": { - "line": 28, - "column": 17 - }, - "end": { - "line": 28, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 767, - "end": 768, - "loc": { - "start": { - "line": 28, - "column": 19 - }, - "end": { - "line": 28, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 768, - "end": 769, - "loc": { - "start": { - "line": 28, - "column": 20 - }, - "end": { - "line": 28, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 769, - "end": 770, - "loc": { - "start": { - "line": 28, - "column": 21 - }, - "end": { - "line": 28, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 779, - "end": 787, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 787, - "end": 788, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 788, - "end": 790, - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 790, - "end": 791, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 791, - "end": 792, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 792, - "end": 793, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 802, - "end": 808, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 808, - "end": 809, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 809, - "end": 814, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 814, - "end": 815, - "loc": { - "start": { - "line": 30, - "column": 20 - }, - "end": { - "line": 30, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "multiple class", - "start": 816, - "end": 832, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 832, - "end": 833, - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 833, - "end": 834, - "loc": { - "start": { - "line": 30, - "column": 39 - }, - "end": { - "line": 30, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 834, - "end": 836, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 836, - "end": 837, - "loc": { - "start": { - "line": 30, - "column": 42 - }, - "end": { - "line": 30, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 837, - "end": 842, - "loc": { - "start": { - "line": 30, - "column": 43 - }, - "end": { - "line": 30, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 842, - "end": 843, - "loc": { - "start": { - "line": 30, - "column": 48 - }, - "end": { - "line": 30, - "column": 49 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 843, - "end": 844, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 844, - "end": 845, - "loc": { - "start": { - "line": 30, - "column": 50 - }, - "end": { - "line": 30, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 845, - "end": 846, - "loc": { - "start": { - "line": 30, - "column": 51 - }, - "end": { - "line": 30, - "column": 52 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 851, - "end": 852, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 31, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 852, - "end": 853, - "loc": { - "start": { - "line": 31, - "column": 5 - }, - "end": { - "line": 31, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 853, - "end": 854, - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 855, - "end": 856, - "loc": { - "start": { - "line": 32, - "column": 0 - }, - "end": { - "line": 32, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 856, - "end": 857, - "loc": { - "start": { - "line": 32, - "column": 1 - }, - "end": { - "line": 32, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 857, - "end": 858, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 859, - "end": 859, - "loc": { - "start": { - "line": 33, - "column": 0 - }, - "end": { - "line": 33, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/beforeAll.spec.js.json b/docs/ast/test/beforeAll.spec.js.json deleted file mode 100644 index 76e71a4..0000000 --- a/docs/ast/test/beforeAll.spec.js.json +++ /dev/null @@ -1,7573 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 871, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 33, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 871, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 33, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 105, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 40 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 18 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 18 - }, - "identifierName": "BeforeAll" - }, - "name": "BeforeAll" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 18 - }, - "identifierName": "BeforeAll" - }, - "name": "BeforeAll" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 91, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 39 - } - }, - "extra": { - "rawValue": "./beforeAll", - "raw": "'./beforeAll'" - }, - "value": "./beforeAll" - } - }, - { - "type": "ExpressionStatement", - "start": 106, - "end": 870, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 32, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 106, - "end": 869, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 32, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 106, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 115, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 20 - } - }, - "extra": { - "rawValue": "beforeAll", - "raw": "'beforeAll'" - }, - "value": "beforeAll" - }, - { - "type": "ArrowFunctionExpression", - "start": 128, - "end": 868, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 32, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 134, - "end": 868, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 32, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 140, - "end": 866, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 31, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 140, - "end": 865, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 31, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 140, - "end": 142, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 143, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 48 - } - }, - "extra": { - "rawValue": "should invoke the method before 3 times", - "raw": "'should invoke the method before 3 times'" - }, - "value": "should invoke the method before 3 times" - }, - { - "type": "ArrowFunctionExpression", - "start": 186, - "end": 864, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 31, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 192, - "end": 864, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 31, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 202, - "end": 216, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 206, - "end": 215, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 206, - "end": 211, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - "init": { - "type": "NumericLiteral", - "start": 214, - "end": 215, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 225, - "end": 308, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 231, - "end": 238, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 239, - "end": 308, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 253, - "end": 298, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 253, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 258, - "end": 298, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 276, - "end": 284, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 24 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 276, - "end": 283, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 23 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 276, - "end": 281, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - }, - "identifierName": "calls" - }, - "name": "calls" - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 317, - "end": 405, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 317, - "end": 404, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 317, - "end": 335, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 317, - "end": 324, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 325, - "end": 335, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 336, - "end": 372, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 350, - "end": 362, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 350, - "end": 359, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 21 - }, - "identifierName": "BeforeAll" - }, - "name": "BeforeAll" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 360, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 22 - }, - "end": { - "line": 13, - "column": 23 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 374, - "end": 391, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 374, - "end": 381, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 382, - "end": 391, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 393, - "end": 397, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 399, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 414, - "end": 444, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 420, - "end": 443, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 420, - "end": 427, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 430, - "end": 443, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 434, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 453, - "end": 484, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 459, - "end": 483, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 459, - "end": 467, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 470, - "end": 483, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 474, - "end": 481, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 493, - "end": 506, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 493, - "end": 505, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 493, - "end": 503, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 493, - "end": 500, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 501, - "end": 503, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 515, - "end": 528, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 515, - "end": 527, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 515, - "end": 525, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 515, - "end": 522, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 523, - "end": 525, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 537, - "end": 550, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 537, - "end": 549, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 537, - "end": 547, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 537, - "end": 544, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 545, - "end": 547, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 559, - "end": 572, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 559, - "end": 571, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 559, - "end": 569, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 559, - "end": 566, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 567, - "end": 569, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 581, - "end": 594, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 581, - "end": 593, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 581, - "end": 591, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 581, - "end": 588, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 589, - "end": 591, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 603, - "end": 616, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 603, - "end": 615, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 603, - "end": 613, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 603, - "end": 610, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 611, - "end": 613, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 625, - "end": 667, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 625, - "end": 666, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 625, - "end": 663, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 625, - "end": 657, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 40 - } - }, - "object": { - "type": "CallExpression", - "start": 625, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 625, - "end": 631, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 632, - "end": 637, - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 639, - "end": 653, - "loc": { - "start": { - "line": 23, - "column": 22 - }, - "end": { - "line": 23, - "column": 36 - } - }, - "extra": { - "rawValue": "single class", - "raw": "'single class'" - }, - "value": "single class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 655, - "end": 657, - "loc": { - "start": { - "line": 23, - "column": 38 - }, - "end": { - "line": 23, - "column": 40 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 658, - "end": 663, - "loc": { - "start": { - "line": 23, - "column": 41 - }, - "end": { - "line": 23, - "column": 46 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 664, - "end": 665, - "loc": { - "start": { - "line": 23, - "column": 47 - }, - "end": { - "line": 23, - "column": 48 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 676, - "end": 690, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 676, - "end": 689, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 676, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 676, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 685, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 699, - "end": 713, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 699, - "end": 712, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 699, - "end": 710, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 699, - "end": 707, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 708, - "end": 710, - "loc": { - "start": { - "line": 25, - "column": 17 - }, - "end": { - "line": 25, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 722, - "end": 736, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 722, - "end": 735, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 722, - "end": 733, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 722, - "end": 730, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 731, - "end": 733, - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 26, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 745, - "end": 759, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 745, - "end": 758, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 745, - "end": 756, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 745, - "end": 753, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 754, - "end": 756, - "loc": { - "start": { - "line": 27, - "column": 17 - }, - "end": { - "line": 27, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 768, - "end": 782, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 768, - "end": 781, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 768, - "end": 779, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 768, - "end": 776, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 777, - "end": 779, - "loc": { - "start": { - "line": 28, - "column": 17 - }, - "end": { - "line": 28, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 791, - "end": 805, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 791, - "end": 804, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 791, - "end": 802, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 791, - "end": 799, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 800, - "end": 802, - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 29, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 814, - "end": 858, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 814, - "end": 857, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 814, - "end": 854, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 814, - "end": 848, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 814, - "end": 845, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 814, - "end": 820, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 821, - "end": 826, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 828, - "end": 844, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 38 - } - }, - "extra": { - "rawValue": "multiple class", - "raw": "'multiple class'" - }, - "value": "multiple class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 846, - "end": 848, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 849, - "end": 854, - "loc": { - "start": { - "line": 30, - "column": 43 - }, - "end": { - "line": 30, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 855, - "end": 856, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 50 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 11, - "_esdocTestName": "it11" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 10, - "_esdocTestName": "describe10" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "BeforeAll", - "start": 74, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 84, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 86, - "end": 90, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./beforeAll", - "start": 91, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 104, - "end": 105, - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 106, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "beforeAll", - "start": 115, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 128, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 129, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 131, - "end": 133, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 134, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 140, - "end": 142, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 142, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should invoke the method before 3 times", - "start": 143, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 184, - "end": 185, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 186, - "end": 187, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 187, - "end": 188, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 189, - "end": 191, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 55 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 192, - "end": 193, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 5, - "column": 57 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 202, - "end": 205, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 206, - "end": 211, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 212, - "end": 213, - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 214, - "end": 215, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 215, - "end": 216, - "loc": { - "start": { - "line": 6, - "column": 21 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 225, - "end": 230, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 231, - "end": 238, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 239, - "end": 240, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 253, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 255, - "end": 256, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 256, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 258, - "end": 259, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 276, - "end": 281, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 281, - "end": 283, - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 283, - "end": 284, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 297, - "end": 298, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 307, - "end": 308, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 317, - "end": 324, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 324, - "end": 325, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 325, - "end": 335, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 335, - "end": 336, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 336, - "end": 337, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "BeforeAll", - "start": 350, - "end": 359, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 360, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 22 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 361, - "end": 362, - "loc": { - "start": { - "line": 13, - "column": 23 - }, - "end": { - "line": 13, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 371, - "end": 372, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 372, - "end": 373, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 374, - "end": 381, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 381, - "end": 382, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 382, - "end": 391, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 391, - "end": 392, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 393, - "end": 397, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 397, - "end": 398, - "loc": { - "start": { - "line": 14, - "column": 34 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 399, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 403, - "end": 404, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 404, - "end": 405, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 414, - "end": 419, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 420, - "end": 427, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 428, - "end": 429, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 430, - "end": 433, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 434, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 441, - "end": 442, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 442, - "end": 443, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 443, - "end": 444, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 453, - "end": 458, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 459, - "end": 467, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 468, - "end": 469, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 470, - "end": 473, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 474, - "end": 481, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 481, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 482, - "end": 483, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 483, - "end": 484, - "loc": { - "start": { - "line": 16, - "column": 38 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 493, - "end": 500, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 500, - "end": 501, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 501, - "end": 503, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 503, - "end": 504, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 504, - "end": 505, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 505, - "end": 506, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 515, - "end": 522, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 523, - "end": 525, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 525, - "end": 526, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 526, - "end": 527, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 527, - "end": 528, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 537, - "end": 544, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 544, - "end": 545, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 545, - "end": 547, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 547, - "end": 548, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 548, - "end": 549, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 549, - "end": 550, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 559, - "end": 566, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 566, - "end": 567, - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 567, - "end": 569, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 569, - "end": 570, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 570, - "end": 571, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 571, - "end": 572, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 581, - "end": 588, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 588, - "end": 589, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 589, - "end": 591, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 591, - "end": 592, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 592, - "end": 593, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 593, - "end": 594, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 603, - "end": 610, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 610, - "end": 611, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 611, - "end": 613, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 613, - "end": 614, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 614, - "end": 615, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 615, - "end": 616, - "loc": { - "start": { - "line": 22, - "column": 20 - }, - "end": { - "line": 22, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 625, - "end": 631, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 631, - "end": 632, - "loc": { - "start": { - "line": 23, - "column": 14 - }, - "end": { - "line": 23, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 632, - "end": 637, - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 637, - "end": 638, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "single class", - "start": 639, - "end": 653, - "loc": { - "start": { - "line": 23, - "column": 22 - }, - "end": { - "line": 23, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 653, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 36 - }, - "end": { - "line": 23, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 23, - "column": 37 - }, - "end": { - "line": 23, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 655, - "end": 657, - "loc": { - "start": { - "line": 23, - "column": 38 - }, - "end": { - "line": 23, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 657, - "end": 658, - "loc": { - "start": { - "line": 23, - "column": 40 - }, - "end": { - "line": 23, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 658, - "end": 663, - "loc": { - "start": { - "line": 23, - "column": 41 - }, - "end": { - "line": 23, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 663, - "end": 664, - "loc": { - "start": { - "line": 23, - "column": 46 - }, - "end": { - "line": 23, - "column": 47 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 664, - "end": 665, - "loc": { - "start": { - "line": 23, - "column": 47 - }, - "end": { - "line": 23, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 665, - "end": 666, - "loc": { - "start": { - "line": 23, - "column": 48 - }, - "end": { - "line": 23, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 666, - "end": 667, - "loc": { - "start": { - "line": 23, - "column": 49 - }, - "end": { - "line": 23, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 676, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 684, - "end": 685, - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 685, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 687, - "end": 688, - "loc": { - "start": { - "line": 24, - "column": 19 - }, - "end": { - "line": 24, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 688, - "end": 689, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 689, - "end": 690, - "loc": { - "start": { - "line": 24, - "column": 21 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 699, - "end": 707, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 707, - "end": 708, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 708, - "end": 710, - "loc": { - "start": { - "line": 25, - "column": 17 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 710, - "end": 711, - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 711, - "end": 712, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 712, - "end": 713, - "loc": { - "start": { - "line": 25, - "column": 21 - }, - "end": { - "line": 25, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 722, - "end": 730, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 730, - "end": 731, - "loc": { - "start": { - "line": 26, - "column": 16 - }, - "end": { - "line": 26, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 731, - "end": 733, - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 26, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 733, - "end": 734, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 734, - "end": 735, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 735, - "end": 736, - "loc": { - "start": { - "line": 26, - "column": 21 - }, - "end": { - "line": 26, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 745, - "end": 753, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 753, - "end": 754, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 754, - "end": 756, - "loc": { - "start": { - "line": 27, - "column": 17 - }, - "end": { - "line": 27, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 756, - "end": 757, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 757, - "end": 758, - "loc": { - "start": { - "line": 27, - "column": 20 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 758, - "end": 759, - "loc": { - "start": { - "line": 27, - "column": 21 - }, - "end": { - "line": 27, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 768, - "end": 776, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 776, - "end": 777, - "loc": { - "start": { - "line": 28, - "column": 16 - }, - "end": { - "line": 28, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 777, - "end": 779, - "loc": { - "start": { - "line": 28, - "column": 17 - }, - "end": { - "line": 28, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 779, - "end": 780, - "loc": { - "start": { - "line": 28, - "column": 19 - }, - "end": { - "line": 28, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 780, - "end": 781, - "loc": { - "start": { - "line": 28, - "column": 20 - }, - "end": { - "line": 28, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 781, - "end": 782, - "loc": { - "start": { - "line": 28, - "column": 21 - }, - "end": { - "line": 28, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 791, - "end": 799, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 799, - "end": 800, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 800, - "end": 802, - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 802, - "end": 803, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 803, - "end": 804, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 804, - "end": 805, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 814, - "end": 820, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 820, - "end": 821, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 821, - "end": 826, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 826, - "end": 827, - "loc": { - "start": { - "line": 30, - "column": 20 - }, - "end": { - "line": 30, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "multiple class", - "start": 828, - "end": 844, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 844, - "end": 845, - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 845, - "end": 846, - "loc": { - "start": { - "line": 30, - "column": 39 - }, - "end": { - "line": 30, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 846, - "end": 848, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 848, - "end": 849, - "loc": { - "start": { - "line": 30, - "column": 42 - }, - "end": { - "line": 30, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 849, - "end": 854, - "loc": { - "start": { - "line": 30, - "column": 43 - }, - "end": { - "line": 30, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 854, - "end": 855, - "loc": { - "start": { - "line": 30, - "column": 48 - }, - "end": { - "line": 30, - "column": 49 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 855, - "end": 856, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 856, - "end": 857, - "loc": { - "start": { - "line": 30, - "column": 50 - }, - "end": { - "line": 30, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 857, - "end": 858, - "loc": { - "start": { - "line": 30, - "column": 51 - }, - "end": { - "line": 30, - "column": 52 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 863, - "end": 864, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 31, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 864, - "end": 865, - "loc": { - "start": { - "line": 31, - "column": 5 - }, - "end": { - "line": 31, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 865, - "end": 866, - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 867, - "end": 868, - "loc": { - "start": { - "line": 32, - "column": 0 - }, - "end": { - "line": 32, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 868, - "end": 869, - "loc": { - "start": { - "line": 32, - "column": 1 - }, - "end": { - "line": 32, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 869, - "end": 870, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 871, - "end": 871, - "loc": { - "start": { - "line": 33, - "column": 0 - }, - "end": { - "line": 33, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/bind.spec.js.json b/docs/ast/test/bind.spec.js.json deleted file mode 100644 index 388c90f..0000000 --- a/docs/ast/test/bind.spec.js.json +++ /dev/null @@ -1,8524 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1064, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 39, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1064, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 39, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Bind" - }, - "name": "Bind" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Bind" - }, - "name": "Bind" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - }, - "extra": { - "rawValue": "./bind", - "raw": "'./bind'" - }, - "value": "./bind" - } - }, - { - "type": "ImportDeclaration", - "start": 96, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 105, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 105, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 13 - }, - "identifierName": "Once" - }, - "name": "Once" - }, - "local": { - "type": "Identifier", - "start": 105, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 13 - }, - "identifierName": "Once" - }, - "name": "Once" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 117, - "end": 125, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 29 - } - }, - "extra": { - "rawValue": "./once", - "raw": "'./once'" - }, - "value": "./once" - } - }, - { - "type": "ExpressionStatement", - "start": 127, - "end": 1063, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 38, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 127, - "end": 1062, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 38, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 127, - "end": 135, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 136, - "end": 142, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 15 - } - }, - "extra": { - "rawValue": "bind", - "raw": "'bind'" - }, - "value": "bind" - }, - { - "type": "ArrowFunctionExpression", - "start": 144, - "end": 1061, - "loc": { - "start": { - "line": 5, - "column": 17 - }, - "end": { - "line": 38, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 150, - "end": 1061, - "loc": { - "start": { - "line": 5, - "column": 23 - }, - "end": { - "line": 38, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 156, - "end": 655, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 22, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 156, - "end": 654, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 22, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 156, - "end": 158, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 159, - "end": 198, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 46 - } - }, - "extra": { - "rawValue": "should bind the context of the method", - "raw": "'should bind the context of the method'" - }, - "value": "should bind the context of the method" - }, - { - "type": "ArrowFunctionExpression", - "start": 200, - "end": 653, - "loc": { - "start": { - "line": 6, - "column": 48 - }, - "end": { - "line": 22, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 206, - "end": 653, - "loc": { - "start": { - "line": 6, - "column": 54 - }, - "end": { - "line": 22, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 216, - "end": 228, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 20 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 220, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 19 - } - }, - "id": { - "type": "Identifier", - "start": 220, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 19 - }, - "identifierName": "context" - }, - "name": "context" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 237, - "end": 327, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 12, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 243, - "end": 250, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 251, - "end": 327, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 12, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 265, - "end": 317, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 11, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 265, - "end": 267, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 270, - "end": 317, - "loc": { - "start": { - "line": 9, - "column": 17 - }, - "end": { - "line": 11, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 288, - "end": 303, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 288, - "end": 302, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 288, - "end": 295, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 23 - }, - "identifierName": "context" - }, - "name": "context" - }, - "right": { - "type": "ThisExpression", - "start": 298, - "end": 302, - "loc": { - "start": { - "line": 10, - "column": 26 - }, - "end": { - "line": 10, - "column": 30 - } - } - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 336, - "end": 418, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 15, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 336, - "end": 417, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 15, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 336, - "end": 354, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 336, - "end": 343, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 344, - "end": 354, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 355, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 27 - }, - "end": { - "line": 15, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 369, - "end": 375, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 369, - "end": 373, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 16 - }, - "identifierName": "Bind" - }, - "name": "Bind" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 387, - "end": 404, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 387, - "end": 394, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 395, - "end": 404, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 406, - "end": 410, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 412, - "end": 416, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 427, - "end": 457, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 433, - "end": 456, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 433, - "end": 440, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 443, - "end": 456, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 447, - "end": 454, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 466, - "end": 497, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 472, - "end": 496, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 472, - "end": 480, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 22 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 483, - "end": 496, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 487, - "end": 494, - "loc": { - "start": { - "line": 17, - "column": 29 - }, - "end": { - "line": 17, - "column": 36 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 506, - "end": 528, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 30 - } - }, - "expression": { - "type": "CallExpression", - "start": 506, - "end": 527, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 506, - "end": 521, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 23 - } - }, - "object": { - "type": "MemberExpression", - "start": 506, - "end": 516, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 506, - "end": 513, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 514, - "end": 516, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 517, - "end": 521, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 23 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 522, - "end": 526, - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 28 - } - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 537, - "end": 571, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 537, - "end": 570, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 537, - "end": 561, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 537, - "end": 555, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 26 - } - }, - "object": { - "type": "CallExpression", - "start": 537, - "end": 552, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 537, - "end": 543, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 544, - "end": 551, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 22 - }, - "identifierName": "context" - }, - "name": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 553, - "end": 555, - "loc": { - "start": { - "line": 19, - "column": 24 - }, - "end": { - "line": 19, - "column": 26 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 556, - "end": 561, - "loc": { - "start": { - "line": 19, - "column": 27 - }, - "end": { - "line": 19, - "column": 32 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 562, - "end": 569, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 40 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 580, - "end": 603, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 31 - } - }, - "expression": { - "type": "CallExpression", - "start": 580, - "end": 602, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 580, - "end": 596, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 24 - } - }, - "object": { - "type": "MemberExpression", - "start": 580, - "end": 591, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 580, - "end": 588, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 589, - "end": 591, - "loc": { - "start": { - "line": 20, - "column": 17 - }, - "end": { - "line": 20, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 592, - "end": 596, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 24 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 597, - "end": 601, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 29 - } - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 612, - "end": 647, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 612, - "end": 646, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 612, - "end": 636, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 612, - "end": 630, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 26 - } - }, - "object": { - "type": "CallExpression", - "start": 612, - "end": 627, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 612, - "end": 618, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 619, - "end": 626, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 22 - }, - "identifierName": "context" - }, - "name": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 628, - "end": 630, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 26 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 631, - "end": 636, - "loc": { - "start": { - "line": 21, - "column": 27 - }, - "end": { - "line": 21, - "column": 32 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 637, - "end": 645, - "loc": { - "start": { - "line": 21, - "column": 33 - }, - "end": { - "line": 21, - "column": 41 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 13, - "_esdocTestName": "it13" - } - }, - { - "type": "ExpressionStatement", - "start": 660, - "end": 1059, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 37, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 660, - "end": 1058, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 37, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 660, - "end": 662, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 663, - "end": 698, - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 42 - } - }, - "extra": { - "rawValue": "should bind with other decorators", - "raw": "'should bind with other decorators'" - }, - "value": "should bind with other decorators" - }, - { - "type": "ArrowFunctionExpression", - "start": 700, - "end": 1057, - "loc": { - "start": { - "line": 23, - "column": 44 - }, - "end": { - "line": 37, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 706, - "end": 1057, - "loc": { - "start": { - "line": 23, - "column": 50 - }, - "end": { - "line": 37, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 716, - "end": 728, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 20 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 720, - "end": 727, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 19 - } - }, - "id": { - "type": "Identifier", - "start": 720, - "end": 727, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 19 - }, - "identifierName": "context" - }, - "name": "context" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 737, - "end": 827, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 29, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 743, - "end": 750, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 751, - "end": 827, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 29, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 765, - "end": 817, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 28, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 765, - "end": 767, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 770, - "end": 817, - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 28, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 788, - "end": 803, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 788, - "end": 802, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 788, - "end": 795, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 23 - }, - "identifierName": "context" - }, - "name": "context" - }, - "right": { - "type": "ThisExpression", - "start": 798, - "end": 802, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 30 - } - } - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 836, - "end": 938, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 33, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 836, - "end": 937, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 33, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 836, - "end": 854, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 836, - "end": 843, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 844, - "end": 854, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 855, - "end": 905, - "loc": { - "start": { - "line": 30, - "column": 27 - }, - "end": { - "line": 33, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 869, - "end": 875, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 869, - "end": 873, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 16 - }, - "identifierName": "Once" - }, - "name": "Once" - }, - "arguments": [] - }, - { - "type": "CallExpression", - "start": 889, - "end": 895, - "loc": { - "start": { - "line": 32, - "column": 12 - }, - "end": { - "line": 32, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 889, - "end": 893, - "loc": { - "start": { - "line": 32, - "column": 12 - }, - "end": { - "line": 32, - "column": 16 - }, - "identifierName": "Bind" - }, - "name": "Bind" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 907, - "end": 924, - "loc": { - "start": { - "line": 33, - "column": 11 - }, - "end": { - "line": 33, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 907, - "end": 914, - "loc": { - "start": { - "line": 33, - "column": 11 - }, - "end": { - "line": 33, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 915, - "end": 924, - "loc": { - "start": { - "line": 33, - "column": 19 - }, - "end": { - "line": 33, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 926, - "end": 930, - "loc": { - "start": { - "line": 33, - "column": 30 - }, - "end": { - "line": 33, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 932, - "end": 936, - "loc": { - "start": { - "line": 33, - "column": 36 - }, - "end": { - "line": 33, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 947, - "end": 977, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 953, - "end": 976, - "loc": { - "start": { - "line": 34, - "column": 14 - }, - "end": { - "line": 34, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 953, - "end": 960, - "loc": { - "start": { - "line": 34, - "column": 14 - }, - "end": { - "line": 34, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 963, - "end": 976, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 34, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 967, - "end": 974, - "loc": { - "start": { - "line": 34, - "column": 28 - }, - "end": { - "line": 34, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 986, - "end": 1008, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 30 - } - }, - "expression": { - "type": "CallExpression", - "start": 986, - "end": 1007, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 986, - "end": 1001, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 23 - } - }, - "object": { - "type": "MemberExpression", - "start": 986, - "end": 996, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 986, - "end": 993, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 994, - "end": 996, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 997, - "end": 1001, - "loc": { - "start": { - "line": 35, - "column": 19 - }, - "end": { - "line": 35, - "column": 23 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 1002, - "end": 1006, - "loc": { - "start": { - "line": 35, - "column": 24 - }, - "end": { - "line": 35, - "column": 28 - } - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1017, - "end": 1051, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 1017, - "end": 1050, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1017, - "end": 1041, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 1017, - "end": 1035, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 26 - } - }, - "object": { - "type": "CallExpression", - "start": 1017, - "end": 1032, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 1017, - "end": 1023, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1024, - "end": 1031, - "loc": { - "start": { - "line": 36, - "column": 15 - }, - "end": { - "line": 36, - "column": 22 - }, - "identifierName": "context" - }, - "name": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1033, - "end": 1035, - "loc": { - "start": { - "line": 36, - "column": 24 - }, - "end": { - "line": 36, - "column": 26 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1036, - "end": 1041, - "loc": { - "start": { - "line": 36, - "column": 27 - }, - "end": { - "line": 36, - "column": 32 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1042, - "end": 1049, - "loc": { - "start": { - "line": 36, - "column": 33 - }, - "end": { - "line": 36, - "column": 40 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 14, - "_esdocTestName": "it14" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 12, - "_esdocTestName": "describe12" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Bind", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 79, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 81, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./bind", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 96, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 103, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Once", - "start": 105, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 110, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 112, - "end": 116, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./once", - "start": 117, - "end": 125, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 127, - "end": 135, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 135, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "bind", - "start": 136, - "end": 142, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 15 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 142, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 15 - }, - "end": { - "line": 5, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 144, - "end": 145, - "loc": { - "start": { - "line": 5, - "column": 17 - }, - "end": { - "line": 5, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 145, - "end": 146, - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 147, - "end": 149, - "loc": { - "start": { - "line": 5, - "column": 20 - }, - "end": { - "line": 5, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 150, - "end": 151, - "loc": { - "start": { - "line": 5, - "column": 23 - }, - "end": { - "line": 5, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 156, - "end": 158, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 158, - "end": 159, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should bind the context of the method", - "start": 159, - "end": 198, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 46 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 198, - "end": 199, - "loc": { - "start": { - "line": 6, - "column": 46 - }, - "end": { - "line": 6, - "column": 47 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 200, - "end": 201, - "loc": { - "start": { - "line": 6, - "column": 48 - }, - "end": { - "line": 6, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 201, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 49 - }, - "end": { - "line": 6, - "column": 50 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 203, - "end": 205, - "loc": { - "start": { - "line": 6, - "column": 51 - }, - "end": { - "line": 6, - "column": 53 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 206, - "end": 207, - "loc": { - "start": { - "line": 6, - "column": 54 - }, - "end": { - "line": 6, - "column": 55 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 216, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 220, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 227, - "end": 228, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 237, - "end": 242, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 243, - "end": 250, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 265, - "end": 267, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 267, - "end": 268, - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 268, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 270, - "end": 271, - "loc": { - "start": { - "line": 9, - "column": 17 - }, - "end": { - "line": 9, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 288, - "end": 295, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 296, - "end": 297, - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 298, - "end": 302, - "loc": { - "start": { - "line": 10, - "column": 26 - }, - "end": { - "line": 10, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 302, - "end": 303, - "loc": { - "start": { - "line": 10, - "column": 30 - }, - "end": { - "line": 10, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 316, - "end": 317, - "loc": { - "start": { - "line": 11, - "column": 12 - }, - "end": { - "line": 11, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 326, - "end": 327, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 336, - "end": 343, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 343, - "end": 344, - "loc": { - "start": { - "line": 13, - "column": 15 - }, - "end": { - "line": 13, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 344, - "end": 354, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 354, - "end": 355, - "loc": { - "start": { - "line": 13, - "column": 26 - }, - "end": { - "line": 13, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 355, - "end": 356, - "loc": { - "start": { - "line": 13, - "column": 27 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Bind", - "start": 369, - "end": 373, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 373, - "end": 374, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 374, - "end": 375, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 384, - "end": 385, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 15, - "column": 9 - }, - "end": { - "line": 15, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 387, - "end": 394, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 394, - "end": 395, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 395, - "end": 404, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 404, - "end": 405, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 406, - "end": 410, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 410, - "end": 411, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 412, - "end": 416, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 416, - "end": 417, - "loc": { - "start": { - "line": 15, - "column": 40 - }, - "end": { - "line": 15, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 417, - "end": 418, - "loc": { - "start": { - "line": 15, - "column": 41 - }, - "end": { - "line": 15, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 427, - "end": 432, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 433, - "end": 440, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 441, - "end": 442, - "loc": { - "start": { - "line": 16, - "column": 22 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 443, - "end": 446, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 447, - "end": 454, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 454, - "end": 455, - "loc": { - "start": { - "line": 16, - "column": 35 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 455, - "end": 456, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 456, - "end": 457, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 466, - "end": 471, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 472, - "end": 480, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 481, - "end": 482, - "loc": { - "start": { - "line": 17, - "column": 23 - }, - "end": { - "line": 17, - "column": 24 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 483, - "end": 486, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 487, - "end": 494, - "loc": { - "start": { - "line": 17, - "column": 29 - }, - "end": { - "line": 17, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 494, - "end": 495, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 495, - "end": 496, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 496, - "end": 497, - "loc": { - "start": { - "line": 17, - "column": 38 - }, - "end": { - "line": 17, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 506, - "end": 513, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 513, - "end": 514, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 514, - "end": 516, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 516, - "end": 517, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 517, - "end": 521, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 521, - "end": 522, - "loc": { - "start": { - "line": 18, - "column": 23 - }, - "end": { - "line": 18, - "column": 24 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 522, - "end": 526, - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 526, - "end": 527, - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 527, - "end": 528, - "loc": { - "start": { - "line": 18, - "column": 29 - }, - "end": { - "line": 18, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 537, - "end": 543, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 543, - "end": 544, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 544, - "end": 551, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 551, - "end": 552, - "loc": { - "start": { - "line": 19, - "column": 22 - }, - "end": { - "line": 19, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 552, - "end": 553, - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 553, - "end": 555, - "loc": { - "start": { - "line": 19, - "column": 24 - }, - "end": { - "line": 19, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 555, - "end": 556, - "loc": { - "start": { - "line": 19, - "column": 26 - }, - "end": { - "line": 19, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 556, - "end": 561, - "loc": { - "start": { - "line": 19, - "column": 27 - }, - "end": { - "line": 19, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 561, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 32 - }, - "end": { - "line": 19, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 562, - "end": 569, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 569, - "end": 570, - "loc": { - "start": { - "line": 19, - "column": 40 - }, - "end": { - "line": 19, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 570, - "end": 571, - "loc": { - "start": { - "line": 19, - "column": 41 - }, - "end": { - "line": 19, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 580, - "end": 588, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 588, - "end": 589, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 589, - "end": 591, - "loc": { - "start": { - "line": 20, - "column": 17 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 591, - "end": 592, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 592, - "end": 596, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 596, - "end": 597, - "loc": { - "start": { - "line": 20, - "column": 24 - }, - "end": { - "line": 20, - "column": 25 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 597, - "end": 601, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 601, - "end": 602, - "loc": { - "start": { - "line": 20, - "column": 29 - }, - "end": { - "line": 20, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 602, - "end": 603, - "loc": { - "start": { - "line": 20, - "column": 30 - }, - "end": { - "line": 20, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 612, - "end": 618, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 618, - "end": 619, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 619, - "end": 626, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 626, - "end": 627, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 627, - "end": 628, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 628, - "end": 630, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 630, - "end": 631, - "loc": { - "start": { - "line": 21, - "column": 26 - }, - "end": { - "line": 21, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 631, - "end": 636, - "loc": { - "start": { - "line": 21, - "column": 27 - }, - "end": { - "line": 21, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 636, - "end": 637, - "loc": { - "start": { - "line": 21, - "column": 32 - }, - "end": { - "line": 21, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 637, - "end": 645, - "loc": { - "start": { - "line": 21, - "column": 33 - }, - "end": { - "line": 21, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 645, - "end": 646, - "loc": { - "start": { - "line": 21, - "column": 41 - }, - "end": { - "line": 21, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 646, - "end": 647, - "loc": { - "start": { - "line": 21, - "column": 42 - }, - "end": { - "line": 21, - "column": 43 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 652, - "end": 653, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 653, - "end": 654, - "loc": { - "start": { - "line": 22, - "column": 5 - }, - "end": { - "line": 22, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 22, - "column": 6 - }, - "end": { - "line": 22, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 660, - "end": 662, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 662, - "end": 663, - "loc": { - "start": { - "line": 23, - "column": 6 - }, - "end": { - "line": 23, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should bind with other decorators", - "start": 663, - "end": 698, - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 42 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 23, - "column": 42 - }, - "end": { - "line": 23, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 23, - "column": 44 - }, - "end": { - "line": 23, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 701, - "end": 702, - "loc": { - "start": { - "line": 23, - "column": 45 - }, - "end": { - "line": 23, - "column": 46 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 703, - "end": 705, - "loc": { - "start": { - "line": 23, - "column": 47 - }, - "end": { - "line": 23, - "column": 49 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 706, - "end": 707, - "loc": { - "start": { - "line": 23, - "column": 50 - }, - "end": { - "line": 23, - "column": 51 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 716, - "end": 719, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 720, - "end": 727, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 727, - "end": 728, - "loc": { - "start": { - "line": 24, - "column": 19 - }, - "end": { - "line": 24, - "column": 20 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 737, - "end": 742, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 743, - "end": 750, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 751, - "end": 752, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 25, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 765, - "end": 767, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 767, - "end": 768, - "loc": { - "start": { - "line": 26, - "column": 14 - }, - "end": { - "line": 26, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 768, - "end": 769, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 770, - "end": 771, - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 26, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 788, - "end": 795, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 796, - "end": 797, - "loc": { - "start": { - "line": 27, - "column": 24 - }, - "end": { - "line": 27, - "column": 25 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 798, - "end": 802, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 802, - "end": 803, - "loc": { - "start": { - "line": 27, - "column": 30 - }, - "end": { - "line": 27, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 816, - "end": 817, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 826, - "end": 827, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 836, - "end": 843, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 843, - "end": 844, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 844, - "end": 854, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 854, - "end": 855, - "loc": { - "start": { - "line": 30, - "column": 26 - }, - "end": { - "line": 30, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 855, - "end": 856, - "loc": { - "start": { - "line": 30, - "column": 27 - }, - "end": { - "line": 30, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Once", - "start": 869, - "end": 873, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 873, - "end": 874, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 874, - "end": 875, - "loc": { - "start": { - "line": 31, - "column": 17 - }, - "end": { - "line": 31, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 875, - "end": 876, - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Bind", - "start": 889, - "end": 893, - "loc": { - "start": { - "line": 32, - "column": 12 - }, - "end": { - "line": 32, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 893, - "end": 894, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 894, - "end": 895, - "loc": { - "start": { - "line": 32, - "column": 17 - }, - "end": { - "line": 32, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 904, - "end": 905, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 905, - "end": 906, - "loc": { - "start": { - "line": 33, - "column": 9 - }, - "end": { - "line": 33, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 907, - "end": 914, - "loc": { - "start": { - "line": 33, - "column": 11 - }, - "end": { - "line": 33, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 914, - "end": 915, - "loc": { - "start": { - "line": 33, - "column": 18 - }, - "end": { - "line": 33, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 915, - "end": 924, - "loc": { - "start": { - "line": 33, - "column": 19 - }, - "end": { - "line": 33, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 924, - "end": 925, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 926, - "end": 930, - "loc": { - "start": { - "line": 33, - "column": 30 - }, - "end": { - "line": 33, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 930, - "end": 931, - "loc": { - "start": { - "line": 33, - "column": 34 - }, - "end": { - "line": 33, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 932, - "end": 936, - "loc": { - "start": { - "line": 33, - "column": 36 - }, - "end": { - "line": 33, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 936, - "end": 937, - "loc": { - "start": { - "line": 33, - "column": 40 - }, - "end": { - "line": 33, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 937, - "end": 938, - "loc": { - "start": { - "line": 33, - "column": 41 - }, - "end": { - "line": 33, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 947, - "end": 952, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 953, - "end": 960, - "loc": { - "start": { - "line": 34, - "column": 14 - }, - "end": { - "line": 34, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 961, - "end": 962, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 34, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 963, - "end": 966, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 34, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 967, - "end": 974, - "loc": { - "start": { - "line": 34, - "column": 28 - }, - "end": { - "line": 34, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 974, - "end": 975, - "loc": { - "start": { - "line": 34, - "column": 35 - }, - "end": { - "line": 34, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 975, - "end": 976, - "loc": { - "start": { - "line": 34, - "column": 36 - }, - "end": { - "line": 34, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 976, - "end": 977, - "loc": { - "start": { - "line": 34, - "column": 37 - }, - "end": { - "line": 34, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 986, - "end": 993, - "loc": { - "start": { - "line": 35, - "column": 8 - }, - "end": { - "line": 35, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 993, - "end": 994, - "loc": { - "start": { - "line": 35, - "column": 15 - }, - "end": { - "line": 35, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 994, - "end": 996, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 996, - "end": 997, - "loc": { - "start": { - "line": 35, - "column": 18 - }, - "end": { - "line": 35, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 997, - "end": 1001, - "loc": { - "start": { - "line": 35, - "column": 19 - }, - "end": { - "line": 35, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1001, - "end": 1002, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 24 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1002, - "end": 1006, - "loc": { - "start": { - "line": 35, - "column": 24 - }, - "end": { - "line": 35, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1006, - "end": 1007, - "loc": { - "start": { - "line": 35, - "column": 28 - }, - "end": { - "line": 35, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1007, - "end": 1008, - "loc": { - "start": { - "line": 35, - "column": 29 - }, - "end": { - "line": 35, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1017, - "end": 1023, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1023, - "end": 1024, - "loc": { - "start": { - "line": 36, - "column": 14 - }, - "end": { - "line": 36, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 1024, - "end": 1031, - "loc": { - "start": { - "line": 36, - "column": 15 - }, - "end": { - "line": 36, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1031, - "end": 1032, - "loc": { - "start": { - "line": 36, - "column": 22 - }, - "end": { - "line": 36, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1032, - "end": 1033, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1033, - "end": 1035, - "loc": { - "start": { - "line": 36, - "column": 24 - }, - "end": { - "line": 36, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1035, - "end": 1036, - "loc": { - "start": { - "line": 36, - "column": 26 - }, - "end": { - "line": 36, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1036, - "end": 1041, - "loc": { - "start": { - "line": 36, - "column": 27 - }, - "end": { - "line": 36, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1041, - "end": 1042, - "loc": { - "start": { - "line": 36, - "column": 32 - }, - "end": { - "line": 36, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1042, - "end": 1049, - "loc": { - "start": { - "line": 36, - "column": 33 - }, - "end": { - "line": 36, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1049, - "end": 1050, - "loc": { - "start": { - "line": 36, - "column": 40 - }, - "end": { - "line": 36, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1050, - "end": 1051, - "loc": { - "start": { - "line": 36, - "column": 41 - }, - "end": { - "line": 36, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1056, - "end": 1057, - "loc": { - "start": { - "line": 37, - "column": 4 - }, - "end": { - "line": 37, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1057, - "end": 1058, - "loc": { - "start": { - "line": 37, - "column": 5 - }, - "end": { - "line": 37, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1058, - "end": 1059, - "loc": { - "start": { - "line": 37, - "column": 6 - }, - "end": { - "line": 37, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1060, - "end": 1061, - "loc": { - "start": { - "line": 38, - "column": 0 - }, - "end": { - "line": 38, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1061, - "end": 1062, - "loc": { - "start": { - "line": 38, - "column": 1 - }, - "end": { - "line": 38, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1062, - "end": 1063, - "loc": { - "start": { - "line": 38, - "column": 2 - }, - "end": { - "line": 38, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1064, - "end": 1064, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 39, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/bindAll.spec.js.json b/docs/ast/test/bindAll.spec.js.json deleted file mode 100644 index 362cf43..0000000 --- a/docs/ast/test/bindAll.spec.js.json +++ /dev/null @@ -1,9969 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1315, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 48, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1315, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 48, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 36 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - }, - "identifierName": "BindAll" - }, - "name": "BindAll" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - }, - "identifierName": "BindAll" - }, - "name": "BindAll" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 89, - "end": 100, - "loc": { - "start": { - "line": 3, - "column": 24 - }, - "end": { - "line": 3, - "column": 35 - } - }, - "extra": { - "rawValue": "./bindAll", - "raw": "'./bindAll'" - }, - "value": "./bindAll" - } - }, - { - "type": "ExpressionStatement", - "start": 102, - "end": 1314, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 47, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 102, - "end": 1313, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 47, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 102, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 111, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 18 - } - }, - "extra": { - "rawValue": "bindAll", - "raw": "'bindAll'" - }, - "value": "bindAll" - }, - { - "type": "ArrowFunctionExpression", - "start": 122, - "end": 1312, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 47, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 128, - "end": 1312, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 47, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 134, - "end": 712, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 25, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 134, - "end": 711, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 25, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 134, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 137, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 46 - } - }, - "extra": { - "rawValue": "should bind all method to the context", - "raw": "'should bind all method to the context'" - }, - "value": "should bind all method to the context" - }, - { - "type": "ArrowFunctionExpression", - "start": 178, - "end": 710, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 184, - "end": 710, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 194, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 20 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 198, - "end": 205, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 19 - } - }, - "id": { - "type": "Identifier", - "start": 198, - "end": 205, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 19 - }, - "identifierName": "context" - }, - "name": "context" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 215, - "end": 304, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 221, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 20 - }, - "identifierName": "Parent" - }, - "name": "Parent" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 228, - "end": 304, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 242, - "end": 294, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 242, - "end": 244, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 247, - "end": 294, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 265, - "end": 280, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 265, - "end": 279, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 265, - "end": 272, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 23 - }, - "identifierName": "context" - }, - "name": "context" - }, - "right": { - "type": "ThisExpression", - "start": 275, - "end": 279, - "loc": { - "start": { - "line": 9, - "column": 26 - }, - "end": { - "line": 9, - "column": 30 - } - } - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 313, - "end": 434, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 16, - "column": 10 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 317, - "end": 433, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 16, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 317, - "end": 324, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 19 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "init": { - "type": "ClassExpression", - "start": 327, - "end": 433, - "loc": { - "start": { - "line": 12, - "column": 22 - }, - "end": { - "line": 16, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 333, - "end": 340, - "loc": { - "start": { - "line": 12, - "column": 28 - }, - "end": { - "line": 12, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": { - "type": "Identifier", - "start": 349, - "end": 355, - "loc": { - "start": { - "line": 12, - "column": 44 - }, - "end": { - "line": 12, - "column": 50 - }, - "identifierName": "Parent" - }, - "name": "Parent" - }, - "body": { - "type": "ClassBody", - "start": 356, - "end": 433, - "loc": { - "start": { - "line": 12, - "column": 51 - }, - "end": { - "line": 16, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 370, - "end": 423, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 15, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 370, - "end": 373, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 15 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 376, - "end": 423, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 15, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 394, - "end": 409, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 394, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 394, - "end": 401, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 23 - }, - "identifierName": "context" - }, - "name": "context" - }, - "right": { - "type": "ThisExpression", - "start": 404, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 30 - } - } - } - } - } - ], - "directives": [] - } - } - ] - } - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 443, - "end": 516, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 19, - "column": 20 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 443, - "end": 515, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 19, - "column": 19 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 443, - "end": 450, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "right": { - "type": "CallExpression", - "start": 453, - "end": 515, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 453, - "end": 471, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 453, - "end": 460, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 25 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 461, - "end": 471, - "loc": { - "start": { - "line": 17, - "column": 26 - }, - "end": { - "line": 17, - "column": 36 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 472, - "end": 505, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 19, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 486, - "end": 495, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "callee": { - "type": "Identifier", - "start": 486, - "end": 493, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 19 - }, - "identifierName": "BindAll" - }, - "name": "BindAll" - }, - "arguments": [] - } - ] - }, - { - "type": "Identifier", - "start": 507, - "end": 514, - "loc": { - "start": { - "line": 19, - "column": 11 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - } - ] - } - } - }, - { - "type": "VariableDeclaration", - "start": 525, - "end": 555, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 531, - "end": 554, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 531, - "end": 538, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 541, - "end": 554, - "loc": { - "start": { - "line": 20, - "column": 24 - }, - "end": { - "line": 20, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 545, - "end": 552, - "loc": { - "start": { - "line": 20, - "column": 28 - }, - "end": { - "line": 20, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 564, - "end": 586, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 30 - } - }, - "expression": { - "type": "CallExpression", - "start": 564, - "end": 585, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 564, - "end": 579, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 23 - } - }, - "object": { - "type": "MemberExpression", - "start": 564, - "end": 574, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 564, - "end": 571, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 572, - "end": 574, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 575, - "end": 579, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 23 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 580, - "end": 584, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 28 - } - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 595, - "end": 629, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 595, - "end": 628, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 595, - "end": 619, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 595, - "end": 613, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 26 - } - }, - "object": { - "type": "CallExpression", - "start": 595, - "end": 610, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 595, - "end": 601, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 602, - "end": 609, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 22 - }, - "identifierName": "context" - }, - "name": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 611, - "end": 613, - "loc": { - "start": { - "line": 22, - "column": 24 - }, - "end": { - "line": 22, - "column": 26 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 614, - "end": 619, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 32 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 620, - "end": 627, - "loc": { - "start": { - "line": 22, - "column": 33 - }, - "end": { - "line": 22, - "column": 40 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 638, - "end": 661, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 31 - } - }, - "expression": { - "type": "CallExpression", - "start": 638, - "end": 660, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 638, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 24 - } - }, - "object": { - "type": "MemberExpression", - "start": 638, - "end": 649, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 638, - "end": 645, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 646, - "end": 649, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 19 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 650, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 24 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 655, - "end": 659, - "loc": { - "start": { - "line": 23, - "column": 25 - }, - "end": { - "line": 23, - "column": 29 - } - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 670, - "end": 704, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 670, - "end": 703, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 670, - "end": 694, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 670, - "end": 688, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 26 - } - }, - "object": { - "type": "CallExpression", - "start": 670, - "end": 685, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 670, - "end": 676, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 677, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 15 - }, - "end": { - "line": 24, - "column": 22 - }, - "identifierName": "context" - }, - "name": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 686, - "end": 688, - "loc": { - "start": { - "line": 24, - "column": 24 - }, - "end": { - "line": 24, - "column": 26 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 689, - "end": 694, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 32 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 695, - "end": 702, - "loc": { - "start": { - "line": 24, - "column": 33 - }, - "end": { - "line": 24, - "column": 40 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 16, - "_esdocTestName": "it16" - } - }, - { - "type": "ExpressionStatement", - "start": 717, - "end": 1310, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 46, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 717, - "end": 1309, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 46, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 717, - "end": 719, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 720, - "end": 771, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 58 - } - }, - "extra": { - "rawValue": "should bind only specified methods to the context", - "raw": "'should bind only specified methods to the context'" - }, - "value": "should bind only specified methods to the context" - }, - { - "type": "ArrowFunctionExpression", - "start": 773, - "end": 1308, - "loc": { - "start": { - "line": 26, - "column": 60 - }, - "end": { - "line": 46, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 779, - "end": 1308, - "loc": { - "start": { - "line": 26, - "column": 66 - }, - "end": { - "line": 46, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 789, - "end": 801, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 20 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 793, - "end": 800, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 19 - } - }, - "id": { - "type": "Identifier", - "start": 793, - "end": 800, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 19 - }, - "identifierName": "context" - }, - "name": "context" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 810, - "end": 899, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 32, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 816, - "end": 822, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 20 - }, - "identifierName": "Parent" - }, - "name": "Parent" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 823, - "end": 899, - "loc": { - "start": { - "line": 28, - "column": 21 - }, - "end": { - "line": 32, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 837, - "end": 889, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 31, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 837, - "end": 839, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 842, - "end": 889, - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 31, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 860, - "end": 875, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 860, - "end": 874, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 860, - "end": 867, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 23 - }, - "identifierName": "context" - }, - "name": "context" - }, - "right": { - "type": "ThisExpression", - "start": 870, - "end": 874, - "loc": { - "start": { - "line": 30, - "column": 26 - }, - "end": { - "line": 30, - "column": 30 - } - } - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 908, - "end": 1029, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 37, - "column": 10 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 912, - "end": 1028, - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 37, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 912, - "end": 919, - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 33, - "column": 19 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "init": { - "type": "ClassExpression", - "start": 922, - "end": 1028, - "loc": { - "start": { - "line": 33, - "column": 22 - }, - "end": { - "line": 37, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 928, - "end": 935, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": { - "type": "Identifier", - "start": 944, - "end": 950, - "loc": { - "start": { - "line": 33, - "column": 44 - }, - "end": { - "line": 33, - "column": 50 - }, - "identifierName": "Parent" - }, - "name": "Parent" - }, - "body": { - "type": "ClassBody", - "start": 951, - "end": 1028, - "loc": { - "start": { - "line": 33, - "column": 51 - }, - "end": { - "line": 37, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 965, - "end": 1018, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 36, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 965, - "end": 968, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 15 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 971, - "end": 1018, - "loc": { - "start": { - "line": 34, - "column": 18 - }, - "end": { - "line": 36, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 989, - "end": 1004, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 989, - "end": 1003, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 989, - "end": 996, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 23 - }, - "identifierName": "context" - }, - "name": "context" - }, - "right": { - "type": "ThisExpression", - "start": 999, - "end": 1003, - "loc": { - "start": { - "line": 35, - "column": 26 - }, - "end": { - "line": 35, - "column": 30 - } - } - } - } - } - ], - "directives": [] - } - } - ] - } - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 1038, - "end": 1117, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 40, - "column": 20 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1038, - "end": 1116, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 40, - "column": 19 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1038, - "end": 1045, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 15 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "right": { - "type": "CallExpression", - "start": 1048, - "end": 1116, - "loc": { - "start": { - "line": 38, - "column": 18 - }, - "end": { - "line": 40, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1048, - "end": 1066, - "loc": { - "start": { - "line": 38, - "column": 18 - }, - "end": { - "line": 38, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 1048, - "end": 1055, - "loc": { - "start": { - "line": 38, - "column": 18 - }, - "end": { - "line": 38, - "column": 25 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1056, - "end": 1066, - "loc": { - "start": { - "line": 38, - "column": 26 - }, - "end": { - "line": 38, - "column": 36 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1067, - "end": 1106, - "loc": { - "start": { - "line": 38, - "column": 37 - }, - "end": { - "line": 40, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1081, - "end": 1096, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 1081, - "end": 1088, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 19 - }, - "identifierName": "BindAll" - }, - "name": "BindAll" - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1089, - "end": 1095, - "loc": { - "start": { - "line": 39, - "column": 20 - }, - "end": { - "line": 39, - "column": 26 - } - }, - "elements": [ - { - "type": "StringLiteral", - "start": 1090, - "end": 1094, - "loc": { - "start": { - "line": 39, - "column": 21 - }, - "end": { - "line": 39, - "column": 25 - } - }, - "extra": { - "rawValue": "fn", - "raw": "'fn'" - }, - "value": "fn" - } - ] - } - ] - } - ] - }, - { - "type": "Identifier", - "start": 1108, - "end": 1115, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - } - ] - } - } - }, - { - "type": "VariableDeclaration", - "start": 1126, - "end": 1156, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1132, - "end": 1155, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1132, - "end": 1139, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1142, - "end": 1155, - "loc": { - "start": { - "line": 41, - "column": 24 - }, - "end": { - "line": 41, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1146, - "end": 1153, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1165, - "end": 1187, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 30 - } - }, - "expression": { - "type": "CallExpression", - "start": 1165, - "end": 1186, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1165, - "end": 1180, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 23 - } - }, - "object": { - "type": "MemberExpression", - "start": 1165, - "end": 1175, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 1165, - "end": 1172, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1173, - "end": 1175, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1176, - "end": 1180, - "loc": { - "start": { - "line": 42, - "column": 19 - }, - "end": { - "line": 42, - "column": 23 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 1181, - "end": 1185, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 28 - } - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1196, - "end": 1230, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 1196, - "end": 1229, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1196, - "end": 1220, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 1196, - "end": 1214, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 26 - } - }, - "object": { - "type": "CallExpression", - "start": 1196, - "end": 1211, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 1196, - "end": 1202, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1203, - "end": 1210, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 22 - }, - "identifierName": "context" - }, - "name": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1212, - "end": 1214, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 26 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1215, - "end": 1220, - "loc": { - "start": { - "line": 43, - "column": 27 - }, - "end": { - "line": 43, - "column": 32 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1221, - "end": 1228, - "loc": { - "start": { - "line": 43, - "column": 33 - }, - "end": { - "line": 43, - "column": 40 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1239, - "end": 1262, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 31 - } - }, - "expression": { - "type": "CallExpression", - "start": 1239, - "end": 1261, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1239, - "end": 1255, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 24 - } - }, - "object": { - "type": "MemberExpression", - "start": 1239, - "end": 1250, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 1239, - "end": 1246, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1247, - "end": 1250, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 19 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1251, - "end": 1255, - "loc": { - "start": { - "line": 44, - "column": 20 - }, - "end": { - "line": 44, - "column": 24 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 1256, - "end": 1260, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 44, - "column": 29 - } - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1271, - "end": 1302, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 39 - } - }, - "expression": { - "type": "CallExpression", - "start": 1271, - "end": 1301, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1271, - "end": 1295, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 1271, - "end": 1289, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 26 - } - }, - "object": { - "type": "CallExpression", - "start": 1271, - "end": 1286, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 1271, - "end": 1277, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1278, - "end": 1285, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 22 - }, - "identifierName": "context" - }, - "name": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1287, - "end": 1289, - "loc": { - "start": { - "line": 45, - "column": 24 - }, - "end": { - "line": 45, - "column": 26 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1290, - "end": 1295, - "loc": { - "start": { - "line": 45, - "column": 27 - }, - "end": { - "line": 45, - "column": 32 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 1296, - "end": 1300, - "loc": { - "start": { - "line": 45, - "column": 33 - }, - "end": { - "line": 45, - "column": 37 - } - } - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 17, - "_esdocTestName": "it17" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 15, - "_esdocTestName": "describe15" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "BindAll", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 82, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 17 - }, - "end": { - "line": 3, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 84, - "end": 88, - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./bindAll", - "start": 89, - "end": 100, - "loc": { - "start": { - "line": 3, - "column": 24 - }, - "end": { - "line": 3, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 100, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 102, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 110, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "bindAll", - "start": 111, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 120, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 123, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 128, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 134, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 136, - "end": 137, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should bind all method to the context", - "start": 137, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 46 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 176, - "end": 177, - "loc": { - "start": { - "line": 5, - "column": 46 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 178, - "end": 179, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 179, - "end": 180, - "loc": { - "start": { - "line": 5, - "column": 49 - }, - "end": { - "line": 5, - "column": 50 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 181, - "end": 183, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 53 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 184, - "end": 185, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 5, - "column": 55 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 194, - "end": 197, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 198, - "end": 205, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 205, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 19 - }, - "end": { - "line": 6, - "column": 20 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 215, - "end": 220, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Parent", - "start": 221, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 228, - "end": 229, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 242, - "end": 244, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 244, - "end": 245, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 245, - "end": 246, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 247, - "end": 248, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 265, - "end": 272, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 273, - "end": 274, - "loc": { - "start": { - "line": 9, - "column": 24 - }, - "end": { - "line": 9, - "column": 25 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 275, - "end": 279, - "loc": { - "start": { - "line": 9, - "column": 26 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 279, - "end": 280, - "loc": { - "start": { - "line": 9, - "column": 30 - }, - "end": { - "line": 9, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 293, - "end": 294, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 303, - "end": 304, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 313, - "end": 316, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 317, - "end": 324, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 325, - "end": 326, - "loc": { - "start": { - "line": 12, - "column": 20 - }, - "end": { - "line": 12, - "column": 21 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 327, - "end": 332, - "loc": { - "start": { - "line": 12, - "column": 22 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 333, - "end": 340, - "loc": { - "start": { - "line": 12, - "column": 28 - }, - "end": { - "line": 12, - "column": 35 - } - } - }, - { - "type": { - "label": "extends", - "keyword": "extends", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "extends", - "start": 341, - "end": 348, - "loc": { - "start": { - "line": 12, - "column": 36 - }, - "end": { - "line": 12, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Parent", - "start": 349, - "end": 355, - "loc": { - "start": { - "line": 12, - "column": 44 - }, - "end": { - "line": 12, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 356, - "end": 357, - "loc": { - "start": { - "line": 12, - "column": 51 - }, - "end": { - "line": 12, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 370, - "end": 373, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 373, - "end": 374, - "loc": { - "start": { - "line": 13, - "column": 15 - }, - "end": { - "line": 13, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 374, - "end": 375, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 376, - "end": 377, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 394, - "end": 401, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 402, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 25 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 404, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 408, - "end": 409, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 432, - "end": 433, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 433, - "end": 434, - "loc": { - "start": { - "line": 16, - "column": 9 - }, - "end": { - "line": 16, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 443, - "end": 450, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 451, - "end": 452, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 453, - "end": 460, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 460, - "end": 461, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 461, - "end": 471, - "loc": { - "start": { - "line": 17, - "column": 26 - }, - "end": { - "line": 17, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "BindAll", - "start": 486, - "end": 493, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 493, - "end": 494, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 494, - "end": 495, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 504, - "end": 505, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 505, - "end": 506, - "loc": { - "start": { - "line": 19, - "column": 9 - }, - "end": { - "line": 19, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 507, - "end": 514, - "loc": { - "start": { - "line": 19, - "column": 11 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 514, - "end": 515, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 515, - "end": 516, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 525, - "end": 530, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 531, - "end": 538, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 539, - "end": 540, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 541, - "end": 544, - "loc": { - "start": { - "line": 20, - "column": 24 - }, - "end": { - "line": 20, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 545, - "end": 552, - "loc": { - "start": { - "line": 20, - "column": 28 - }, - "end": { - "line": 20, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 552, - "end": 553, - "loc": { - "start": { - "line": 20, - "column": 35 - }, - "end": { - "line": 20, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 553, - "end": 554, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 554, - "end": 555, - "loc": { - "start": { - "line": 20, - "column": 37 - }, - "end": { - "line": 20, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 564, - "end": 571, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 571, - "end": 572, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 572, - "end": 574, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 574, - "end": 575, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 575, - "end": 579, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 579, - "end": 580, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 580, - "end": 584, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 584, - "end": 585, - "loc": { - "start": { - "line": 21, - "column": 28 - }, - "end": { - "line": 21, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 585, - "end": 586, - "loc": { - "start": { - "line": 21, - "column": 29 - }, - "end": { - "line": 21, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 595, - "end": 601, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 601, - "end": 602, - "loc": { - "start": { - "line": 22, - "column": 14 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 602, - "end": 609, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 609, - "end": 610, - "loc": { - "start": { - "line": 22, - "column": 22 - }, - "end": { - "line": 22, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 610, - "end": 611, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 611, - "end": 613, - "loc": { - "start": { - "line": 22, - "column": 24 - }, - "end": { - "line": 22, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 613, - "end": 614, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 614, - "end": 619, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 619, - "end": 620, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 620, - "end": 627, - "loc": { - "start": { - "line": 22, - "column": 33 - }, - "end": { - "line": 22, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 627, - "end": 628, - "loc": { - "start": { - "line": 22, - "column": 40 - }, - "end": { - "line": 22, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 628, - "end": 629, - "loc": { - "start": { - "line": 22, - "column": 41 - }, - "end": { - "line": 22, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 638, - "end": 645, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 645, - "end": 646, - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 646, - "end": 649, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 649, - "end": 650, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 650, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 23, - "column": 24 - }, - "end": { - "line": 23, - "column": 25 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 655, - "end": 659, - "loc": { - "start": { - "line": 23, - "column": 25 - }, - "end": { - "line": 23, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 659, - "end": 660, - "loc": { - "start": { - "line": 23, - "column": 29 - }, - "end": { - "line": 23, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 23, - "column": 30 - }, - "end": { - "line": 23, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 670, - "end": 676, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 676, - "end": 677, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 677, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 15 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 684, - "end": 685, - "loc": { - "start": { - "line": 24, - "column": 22 - }, - "end": { - "line": 24, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 685, - "end": 686, - "loc": { - "start": { - "line": 24, - "column": 23 - }, - "end": { - "line": 24, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 686, - "end": 688, - "loc": { - "start": { - "line": 24, - "column": 24 - }, - "end": { - "line": 24, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 688, - "end": 689, - "loc": { - "start": { - "line": 24, - "column": 26 - }, - "end": { - "line": 24, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 689, - "end": 694, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 694, - "end": 695, - "loc": { - "start": { - "line": 24, - "column": 32 - }, - "end": { - "line": 24, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 695, - "end": 702, - "loc": { - "start": { - "line": 24, - "column": 33 - }, - "end": { - "line": 24, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 702, - "end": 703, - "loc": { - "start": { - "line": 24, - "column": 40 - }, - "end": { - "line": 24, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 703, - "end": 704, - "loc": { - "start": { - "line": 24, - "column": 41 - }, - "end": { - "line": 24, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 709, - "end": 710, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 710, - "end": 711, - "loc": { - "start": { - "line": 25, - "column": 5 - }, - "end": { - "line": 25, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 711, - "end": 712, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 717, - "end": 719, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 719, - "end": 720, - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should bind only specified methods to the context", - "start": 720, - "end": 771, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 58 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 771, - "end": 772, - "loc": { - "start": { - "line": 26, - "column": 58 - }, - "end": { - "line": 26, - "column": 59 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 773, - "end": 774, - "loc": { - "start": { - "line": 26, - "column": 60 - }, - "end": { - "line": 26, - "column": 61 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 774, - "end": 775, - "loc": { - "start": { - "line": 26, - "column": 61 - }, - "end": { - "line": 26, - "column": 62 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 776, - "end": 778, - "loc": { - "start": { - "line": 26, - "column": 63 - }, - "end": { - "line": 26, - "column": 65 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 779, - "end": 780, - "loc": { - "start": { - "line": 26, - "column": 66 - }, - "end": { - "line": 26, - "column": 67 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 789, - "end": 792, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 793, - "end": 800, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 800, - "end": 801, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 810, - "end": 815, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Parent", - "start": 816, - "end": 822, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 823, - "end": 824, - "loc": { - "start": { - "line": 28, - "column": 21 - }, - "end": { - "line": 28, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 837, - "end": 839, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 839, - "end": 840, - "loc": { - "start": { - "line": 29, - "column": 14 - }, - "end": { - "line": 29, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 840, - "end": 841, - "loc": { - "start": { - "line": 29, - "column": 15 - }, - "end": { - "line": 29, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 842, - "end": 843, - "loc": { - "start": { - "line": 29, - "column": 17 - }, - "end": { - "line": 29, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 860, - "end": 867, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 868, - "end": 869, - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 25 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 870, - "end": 874, - "loc": { - "start": { - "line": 30, - "column": 26 - }, - "end": { - "line": 30, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 874, - "end": 875, - "loc": { - "start": { - "line": 30, - "column": 30 - }, - "end": { - "line": 30, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 888, - "end": 889, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 898, - "end": 899, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 9 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 908, - "end": 911, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 912, - "end": 919, - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 33, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 920, - "end": 921, - "loc": { - "start": { - "line": 33, - "column": 20 - }, - "end": { - "line": 33, - "column": 21 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 922, - "end": 927, - "loc": { - "start": { - "line": 33, - "column": 22 - }, - "end": { - "line": 33, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 928, - "end": 935, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 35 - } - } - }, - { - "type": { - "label": "extends", - "keyword": "extends", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "extends", - "start": 936, - "end": 943, - "loc": { - "start": { - "line": 33, - "column": 36 - }, - "end": { - "line": 33, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Parent", - "start": 944, - "end": 950, - "loc": { - "start": { - "line": 33, - "column": 44 - }, - "end": { - "line": 33, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 951, - "end": 952, - "loc": { - "start": { - "line": 33, - "column": 51 - }, - "end": { - "line": 33, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 965, - "end": 968, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 968, - "end": 969, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 969, - "end": 970, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 971, - "end": 972, - "loc": { - "start": { - "line": 34, - "column": 18 - }, - "end": { - "line": 34, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 989, - "end": 996, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 997, - "end": 998, - "loc": { - "start": { - "line": 35, - "column": 24 - }, - "end": { - "line": 35, - "column": 25 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 999, - "end": 1003, - "loc": { - "start": { - "line": 35, - "column": 26 - }, - "end": { - "line": 35, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1003, - "end": 1004, - "loc": { - "start": { - "line": 35, - "column": 30 - }, - "end": { - "line": 35, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1017, - "end": 1018, - "loc": { - "start": { - "line": 36, - "column": 12 - }, - "end": { - "line": 36, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1027, - "end": 1028, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 9 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1028, - "end": 1029, - "loc": { - "start": { - "line": 37, - "column": 9 - }, - "end": { - "line": 37, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1038, - "end": 1045, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1046, - "end": 1047, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1048, - "end": 1055, - "loc": { - "start": { - "line": 38, - "column": 18 - }, - "end": { - "line": 38, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1055, - "end": 1056, - "loc": { - "start": { - "line": 38, - "column": 25 - }, - "end": { - "line": 38, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1056, - "end": 1066, - "loc": { - "start": { - "line": 38, - "column": 26 - }, - "end": { - "line": 38, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1066, - "end": 1067, - "loc": { - "start": { - "line": 38, - "column": 36 - }, - "end": { - "line": 38, - "column": 37 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1067, - "end": 1068, - "loc": { - "start": { - "line": 38, - "column": 37 - }, - "end": { - "line": 38, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "BindAll", - "start": 1081, - "end": 1088, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1088, - "end": 1089, - "loc": { - "start": { - "line": 39, - "column": 19 - }, - "end": { - "line": 39, - "column": 20 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1089, - "end": 1090, - "loc": { - "start": { - "line": 39, - "column": 20 - }, - "end": { - "line": 39, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 1090, - "end": 1094, - "loc": { - "start": { - "line": 39, - "column": 21 - }, - "end": { - "line": 39, - "column": 25 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1094, - "end": 1095, - "loc": { - "start": { - "line": 39, - "column": 25 - }, - "end": { - "line": 39, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1095, - "end": 1096, - "loc": { - "start": { - "line": 39, - "column": 26 - }, - "end": { - "line": 39, - "column": 27 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1105, - "end": 1106, - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1106, - "end": 1107, - "loc": { - "start": { - "line": 40, - "column": 9 - }, - "end": { - "line": 40, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1108, - "end": 1115, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1115, - "end": 1116, - "loc": { - "start": { - "line": 40, - "column": 18 - }, - "end": { - "line": 40, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1116, - "end": 1117, - "loc": { - "start": { - "line": 40, - "column": 19 - }, - "end": { - "line": 40, - "column": 20 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1126, - "end": 1131, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1132, - "end": 1139, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1140, - "end": 1141, - "loc": { - "start": { - "line": 41, - "column": 22 - }, - "end": { - "line": 41, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1142, - "end": 1145, - "loc": { - "start": { - "line": 41, - "column": 24 - }, - "end": { - "line": 41, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1146, - "end": 1153, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1153, - "end": 1154, - "loc": { - "start": { - "line": 41, - "column": 35 - }, - "end": { - "line": 41, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1154, - "end": 1155, - "loc": { - "start": { - "line": 41, - "column": 36 - }, - "end": { - "line": 41, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1155, - "end": 1156, - "loc": { - "start": { - "line": 41, - "column": 37 - }, - "end": { - "line": 41, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1165, - "end": 1172, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1172, - "end": 1173, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1173, - "end": 1175, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1175, - "end": 1176, - "loc": { - "start": { - "line": 42, - "column": 18 - }, - "end": { - "line": 42, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 1176, - "end": 1180, - "loc": { - "start": { - "line": 42, - "column": 19 - }, - "end": { - "line": 42, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1180, - "end": 1181, - "loc": { - "start": { - "line": 42, - "column": 23 - }, - "end": { - "line": 42, - "column": 24 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1181, - "end": 1185, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1185, - "end": 1186, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1186, - "end": 1187, - "loc": { - "start": { - "line": 42, - "column": 29 - }, - "end": { - "line": 42, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1196, - "end": 1202, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1202, - "end": 1203, - "loc": { - "start": { - "line": 43, - "column": 14 - }, - "end": { - "line": 43, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 1203, - "end": 1210, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1210, - "end": 1211, - "loc": { - "start": { - "line": 43, - "column": 22 - }, - "end": { - "line": 43, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1211, - "end": 1212, - "loc": { - "start": { - "line": 43, - "column": 23 - }, - "end": { - "line": 43, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1212, - "end": 1214, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1214, - "end": 1215, - "loc": { - "start": { - "line": 43, - "column": 26 - }, - "end": { - "line": 43, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1215, - "end": 1220, - "loc": { - "start": { - "line": 43, - "column": 27 - }, - "end": { - "line": 43, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1220, - "end": 1221, - "loc": { - "start": { - "line": 43, - "column": 32 - }, - "end": { - "line": 43, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1221, - "end": 1228, - "loc": { - "start": { - "line": 43, - "column": 33 - }, - "end": { - "line": 43, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1228, - "end": 1229, - "loc": { - "start": { - "line": 43, - "column": 40 - }, - "end": { - "line": 43, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1229, - "end": 1230, - "loc": { - "start": { - "line": 43, - "column": 41 - }, - "end": { - "line": 43, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1239, - "end": 1246, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1246, - "end": 1247, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 1247, - "end": 1250, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1250, - "end": 1251, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 1251, - "end": 1255, - "loc": { - "start": { - "line": 44, - "column": 20 - }, - "end": { - "line": 44, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1255, - "end": 1256, - "loc": { - "start": { - "line": 44, - "column": 24 - }, - "end": { - "line": 44, - "column": 25 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1256, - "end": 1260, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 44, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1260, - "end": 1261, - "loc": { - "start": { - "line": 44, - "column": 29 - }, - "end": { - "line": 44, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1261, - "end": 1262, - "loc": { - "start": { - "line": 44, - "column": 30 - }, - "end": { - "line": 44, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1271, - "end": 1277, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1277, - "end": 1278, - "loc": { - "start": { - "line": 45, - "column": 14 - }, - "end": { - "line": 45, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "context", - "start": 1278, - "end": 1285, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1285, - "end": 1286, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 45, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1286, - "end": 1287, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1287, - "end": 1289, - "loc": { - "start": { - "line": 45, - "column": 24 - }, - "end": { - "line": 45, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1289, - "end": 1290, - "loc": { - "start": { - "line": 45, - "column": 26 - }, - "end": { - "line": 45, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1290, - "end": 1295, - "loc": { - "start": { - "line": 45, - "column": 27 - }, - "end": { - "line": 45, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1295, - "end": 1296, - "loc": { - "start": { - "line": 45, - "column": 32 - }, - "end": { - "line": 45, - "column": 33 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1296, - "end": 1300, - "loc": { - "start": { - "line": 45, - "column": 33 - }, - "end": { - "line": 45, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1300, - "end": 1301, - "loc": { - "start": { - "line": 45, - "column": 37 - }, - "end": { - "line": 45, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1301, - "end": 1302, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1307, - "end": 1308, - "loc": { - "start": { - "line": 46, - "column": 4 - }, - "end": { - "line": 46, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1308, - "end": 1309, - "loc": { - "start": { - "line": 46, - "column": 5 - }, - "end": { - "line": 46, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1309, - "end": 1310, - "loc": { - "start": { - "line": 46, - "column": 6 - }, - "end": { - "line": 46, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1311, - "end": 1312, - "loc": { - "start": { - "line": 47, - "column": 0 - }, - "end": { - "line": 47, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1312, - "end": 1313, - "loc": { - "start": { - "line": 47, - "column": 1 - }, - "end": { - "line": 47, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1313, - "end": 1314, - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1315, - "end": 1315, - "loc": { - "start": { - "line": 48, - "column": 0 - }, - "end": { - "line": 48, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/combinationTest.spec.js.json b/docs/ast/test/combinationTest.spec.js.json deleted file mode 100644 index efd3857..0000000 --- a/docs/ast/test/combinationTest.spec.js.json +++ /dev/null @@ -1,21137 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 2658, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 77, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 2658, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 77, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 28 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "extra": { - "rawValue": "sinon", - "raw": "'sinon'" - }, - "value": "sinon" - } - }, - { - "type": "ImportDeclaration", - "start": 94, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 103, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 103, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 13 - }, - "identifierName": "Bind" - }, - "name": "Bind" - }, - "local": { - "type": "Identifier", - "start": 103, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 13 - }, - "identifierName": "Bind" - }, - "name": "Bind" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 115, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 29 - } - }, - "extra": { - "rawValue": "./bind", - "raw": "'./bind'" - }, - "value": "./bind" - } - }, - { - "type": "ImportDeclaration", - "start": 125, - "end": 161, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 36 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 134, - "end": 141, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - } - }, - "imported": { - "type": "Identifier", - "start": 134, - "end": 141, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - }, - "local": { - "type": "Identifier", - "start": 134, - "end": 141, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 149, - "end": 160, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 35 - } - }, - "extra": { - "rawValue": "./memoize", - "raw": "'./memoize'" - }, - "value": "./memoize" - } - }, - { - "type": "ImportDeclaration", - "start": 162, - "end": 194, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 171, - "end": 176, - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 171, - "end": 176, - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 14 - }, - "identifierName": "Curry" - }, - "name": "Curry" - }, - "local": { - "type": "Identifier", - "start": 171, - "end": 176, - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 14 - }, - "identifierName": "Curry" - }, - "name": "Curry" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 184, - "end": 193, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 31 - } - }, - "extra": { - "rawValue": "./curry", - "raw": "'./curry'" - }, - "value": "./curry" - } - }, - { - "type": "ImportDeclaration", - "start": 195, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 204, - "end": 209, - "loc": { - "start": { - "line": 7, - "column": 9 - }, - "end": { - "line": 7, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 204, - "end": 209, - "loc": { - "start": { - "line": 7, - "column": 9 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "Delay" - }, - "name": "Delay" - }, - "local": { - "type": "Identifier", - "start": 204, - "end": 209, - "loc": { - "start": { - "line": 7, - "column": 9 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "Delay" - }, - "name": "Delay" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 217, - "end": 226, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 31 - } - }, - "extra": { - "rawValue": "./delay", - "raw": "'./delay'" - }, - "value": "./delay" - } - }, - { - "type": "ExpressionStatement", - "start": 228, - "end": 2657, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 76, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 228, - "end": 2656, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 76, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 228, - "end": 236, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 237, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 9 - }, - "end": { - "line": 8, - "column": 30 - } - }, - "extra": { - "rawValue": "multiple decorators", - "raw": "'multiple decorators'" - }, - "value": "multiple decorators" - }, - { - "type": "ArrowFunctionExpression", - "start": 260, - "end": 2655, - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 76, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 266, - "end": 2655, - "loc": { - "start": { - "line": 8, - "column": 38 - }, - "end": { - "line": 76, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 272, - "end": 971, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 29, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 272, - "end": 970, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 29, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 272, - "end": 280, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 9, - "column": 12 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 281, - "end": 322, - "loc": { - "start": { - "line": 9, - "column": 13 - }, - "end": { - "line": 9, - "column": 54 - } - }, - "extra": { - "rawValue": "when using multiple instance decorators", - "raw": "'when using multiple instance decorators'" - }, - "value": "when using multiple instance decorators" - }, - { - "type": "ArrowFunctionExpression", - "start": 324, - "end": 969, - "loc": { - "start": { - "line": 9, - "column": 56 - }, - "end": { - "line": 29, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 330, - "end": 969, - "loc": { - "start": { - "line": 9, - "column": 62 - }, - "end": { - "line": 29, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 340, - "end": 963, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 28, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 340, - "end": 962, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 28, - "column": 10 - } - }, - "callee": { - "type": "Identifier", - "start": 340, - "end": 342, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 10 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 343, - "end": 373, - "loc": { - "start": { - "line": 10, - "column": 11 - }, - "end": { - "line": 10, - "column": 41 - } - }, - "extra": { - "rawValue": "should apply both decorators", - "raw": "'should apply both decorators'" - }, - "value": "should apply both decorators" - }, - { - "type": "ArrowFunctionExpression", - "start": 375, - "end": 961, - "loc": { - "start": { - "line": 10, - "column": 43 - }, - "end": { - "line": 28, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 381, - "end": 961, - "loc": { - "start": { - "line": 10, - "column": 49 - }, - "end": { - "line": 28, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 395, - "end": 414, - "loc": { - "start": { - "line": 11, - "column": 12 - }, - "end": { - "line": 11, - "column": 31 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 401, - "end": 413, - "loc": { - "start": { - "line": 11, - "column": 18 - }, - "end": { - "line": 11, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 401, - "end": 405, - "loc": { - "start": { - "line": 11, - "column": 18 - }, - "end": { - "line": 11, - "column": 22 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 408, - "end": 413, - "loc": { - "start": { - "line": 11, - "column": 25 - }, - "end": { - "line": 11, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 408, - "end": 411, - "loc": { - "start": { - "line": 11, - "column": 25 - }, - "end": { - "line": 11, - "column": 28 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ClassDeclaration", - "start": 427, - "end": 578, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 17, - "column": 13 - } - }, - "id": { - "type": "Identifier", - "start": 433, - "end": 440, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 25 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 441, - "end": 578, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 17, - "column": 13 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 459, - "end": 564, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 16, - "column": 17 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 459, - "end": 461, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 20 - }, - "identifierName": "n" - }, - "name": "n" - } - ], - "body": { - "type": "BlockStatement", - "start": 465, - "end": 564, - "loc": { - "start": { - "line": 13, - "column": 22 - }, - "end": { - "line": 16, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 487, - "end": 518, - "loc": { - "start": { - "line": 14, - "column": 20 - }, - "end": { - "line": 14, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 487, - "end": 517, - "loc": { - "start": { - "line": 14, - "column": 20 - }, - "end": { - "line": 14, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 487, - "end": 508, - "loc": { - "start": { - "line": 14, - "column": 20 - }, - "end": { - "line": 14, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 487, - "end": 502, - "loc": { - "start": { - "line": 14, - "column": 20 - }, - "end": { - "line": 14, - "column": 35 - } - }, - "object": { - "type": "CallExpression", - "start": 487, - "end": 499, - "loc": { - "start": { - "line": 14, - "column": 20 - }, - "end": { - "line": 14, - "column": 32 - } - }, - "callee": { - "type": "Identifier", - "start": 487, - "end": 493, - "loc": { - "start": { - "line": 14, - "column": 20 - }, - "end": { - "line": 14, - "column": 26 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 494, - "end": 498, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 31 - } - } - } - ] - }, - "property": { - "type": "Identifier", - "start": 500, - "end": 502, - "loc": { - "start": { - "line": 14, - "column": 33 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 503, - "end": 508, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 41 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 509, - "end": 516, - "loc": { - "start": { - "line": 14, - "column": 42 - }, - "end": { - "line": 14, - "column": 49 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 539, - "end": 546, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 27 - } - }, - "expression": { - "type": "CallExpression", - "start": 539, - "end": 545, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 26 - } - }, - "callee": { - "type": "Identifier", - "start": 539, - "end": 543, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 24 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 591, - "end": 708, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 21, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 591, - "end": 707, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 21, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 591, - "end": 609, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 591, - "end": 598, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 599, - "end": 609, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 30 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 610, - "end": 675, - "loc": { - "start": { - "line": 18, - "column": 31 - }, - "end": { - "line": 21, - "column": 13 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 628, - "end": 634, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 22 - } - }, - "callee": { - "type": "Identifier", - "start": 628, - "end": 632, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 20 - }, - "identifierName": "Bind" - }, - "name": "Bind" - }, - "arguments": [] - }, - { - "type": "CallExpression", - "start": 652, - "end": 661, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 25 - } - }, - "callee": { - "type": "Identifier", - "start": 652, - "end": 659, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 23 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 677, - "end": 694, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 677, - "end": 684, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 22 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 685, - "end": 694, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 32 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 696, - "end": 700, - "loc": { - "start": { - "line": 21, - "column": 34 - }, - "end": { - "line": 21, - "column": 38 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 702, - "end": 706, - "loc": { - "start": { - "line": 21, - "column": 40 - }, - "end": { - "line": 21, - "column": 44 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 721, - "end": 751, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 42 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 727, - "end": 750, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 727, - "end": 734, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 25 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 737, - "end": 750, - "loc": { - "start": { - "line": 22, - "column": 28 - }, - "end": { - "line": 22, - "column": 41 - } - }, - "callee": { - "type": "Identifier", - "start": 741, - "end": 748, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 39 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 764, - "end": 789, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 764, - "end": 788, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 764, - "end": 779, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 764, - "end": 774, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 764, - "end": 771, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 772, - "end": 774, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 775, - "end": 779, - "loc": { - "start": { - "line": 23, - "column": 23 - }, - "end": { - "line": 23, - "column": 27 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 780, - "end": 784, - "loc": { - "start": { - "line": 23, - "column": 28 - }, - "end": { - "line": 23, - "column": 32 - } - } - }, - { - "type": "NumericLiteral", - "start": 786, - "end": 787, - "loc": { - "start": { - "line": 23, - "column": 34 - }, - "end": { - "line": 23, - "column": 35 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 802, - "end": 827, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 802, - "end": 826, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 802, - "end": 817, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 802, - "end": 812, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 802, - "end": 809, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 810, - "end": 812, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 813, - "end": 817, - "loc": { - "start": { - "line": 24, - "column": 23 - }, - "end": { - "line": 24, - "column": 27 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 818, - "end": 822, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 32 - } - } - }, - { - "type": "NumericLiteral", - "start": 824, - "end": 825, - "loc": { - "start": { - "line": 24, - "column": 34 - }, - "end": { - "line": 24, - "column": 35 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 840, - "end": 865, - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 840, - "end": 864, - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 840, - "end": 855, - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 840, - "end": 850, - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 840, - "end": 847, - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 848, - "end": 850, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 851, - "end": 855, - "loc": { - "start": { - "line": 25, - "column": 23 - }, - "end": { - "line": 25, - "column": 27 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 856, - "end": 860, - "loc": { - "start": { - "line": 25, - "column": 28 - }, - "end": { - "line": 25, - "column": 32 - } - } - }, - { - "type": "NumericLiteral", - "start": 862, - "end": 863, - "loc": { - "start": { - "line": 25, - "column": 34 - }, - "end": { - "line": 25, - "column": 35 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 878, - "end": 903, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 878, - "end": 902, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 878, - "end": 893, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 878, - "end": 888, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 878, - "end": 885, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 886, - "end": 888, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 889, - "end": 893, - "loc": { - "start": { - "line": 26, - "column": 23 - }, - "end": { - "line": 26, - "column": 27 - }, - "identifierName": "call" - }, - "name": "call" - }, - "computed": false - }, - "arguments": [ - { - "type": "NullLiteral", - "start": 894, - "end": 898, - "loc": { - "start": { - "line": 26, - "column": 28 - }, - "end": { - "line": 26, - "column": 32 - } - } - }, - { - "type": "NumericLiteral", - "start": 900, - "end": 901, - "loc": { - "start": { - "line": 26, - "column": 34 - }, - "end": { - "line": 26, - "column": 35 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 916, - "end": 951, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 916, - "end": 950, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 916, - "end": 947, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 916, - "end": 941, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 916, - "end": 938, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 916, - "end": 922, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 923, - "end": 937, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 923, - "end": 927, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 928, - "end": 937, - "loc": { - "start": { - "line": 27, - "column": 24 - }, - "end": { - "line": 27, - "column": 33 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 939, - "end": 941, - "loc": { - "start": { - "line": 27, - "column": 35 - }, - "end": { - "line": 27, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 942, - "end": 947, - "loc": { - "start": { - "line": 27, - "column": 38 - }, - "end": { - "line": 27, - "column": 43 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 948, - "end": 949, - "loc": { - "start": { - "line": 27, - "column": 44 - }, - "end": { - "line": 27, - "column": 45 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 20, - "_esdocTestName": "it20" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 19, - "_esdocTestName": "describe19" - } - }, - { - "type": "ExpressionStatement", - "start": 976, - "end": 2653, - "loc": { - "start": { - "line": 30, - "column": 4 - }, - "end": { - "line": 75, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 976, - "end": 2652, - "loc": { - "start": { - "line": 30, - "column": 4 - }, - "end": { - "line": 75, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 976, - "end": 984, - "loc": { - "start": { - "line": 30, - "column": 4 - }, - "end": { - "line": 30, - "column": 12 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 985, - "end": 1031, - "loc": { - "start": { - "line": 30, - "column": 13 - }, - "end": { - "line": 30, - "column": 59 - } - }, - "extra": { - "rawValue": "when combining proto and instance decorators", - "raw": "'when combining proto and instance decorators'" - }, - "value": "when combining proto and instance decorators" - }, - { - "type": "ArrowFunctionExpression", - "start": 1033, - "end": 2651, - "loc": { - "start": { - "line": 30, - "column": 61 - }, - "end": { - "line": 75, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1039, - "end": 2651, - "loc": { - "start": { - "line": 30, - "column": 67 - }, - "end": { - "line": 75, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1049, - "end": 1831, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 53, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 1049, - "end": 1830, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 53, - "column": 10 - } - }, - "callee": { - "type": "Identifier", - "start": 1049, - "end": 1051, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 10 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1052, - "end": 1082, - "loc": { - "start": { - "line": 31, - "column": 11 - }, - "end": { - "line": 31, - "column": 41 - } - }, - "extra": { - "rawValue": "should apply both decorators", - "raw": "'should apply both decorators'" - }, - "value": "should apply both decorators" - }, - { - "type": "ArrowFunctionExpression", - "start": 1084, - "end": 1829, - "loc": { - "start": { - "line": 31, - "column": 43 - }, - "end": { - "line": 53, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1084, - "end": 1088, - "loc": { - "start": { - "line": 31, - "column": 43 - }, - "end": { - "line": 31, - "column": 47 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 1092, - "end": 1829, - "loc": { - "start": { - "line": 31, - "column": 51 - }, - "end": { - "line": 53, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1106, - "end": 1125, - "loc": { - "start": { - "line": 32, - "column": 12 - }, - "end": { - "line": 32, - "column": 31 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1112, - "end": 1124, - "loc": { - "start": { - "line": 32, - "column": 18 - }, - "end": { - "line": 32, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 1112, - "end": 1116, - "loc": { - "start": { - "line": 32, - "column": 18 - }, - "end": { - "line": 32, - "column": 22 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 1119, - "end": 1124, - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 1119, - "end": 1122, - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 28 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ClassDeclaration", - "start": 1138, - "end": 1298, - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 38, - "column": 13 - } - }, - "id": { - "type": "Identifier", - "start": 1144, - "end": 1151, - "loc": { - "start": { - "line": 33, - "column": 18 - }, - "end": { - "line": 33, - "column": 25 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 1152, - "end": 1298, - "loc": { - "start": { - "line": 33, - "column": 26 - }, - "end": { - "line": 38, - "column": 13 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 1170, - "end": 1284, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 37, - "column": 17 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1170, - "end": 1172, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1173, - "end": 1174, - "loc": { - "start": { - "line": 34, - "column": 19 - }, - "end": { - "line": 34, - "column": 20 - }, - "identifierName": "n" - }, - "name": "n" - }, - { - "type": "Identifier", - "start": 1176, - "end": 1178, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 34, - "column": 24 - }, - "identifierName": "n2" - }, - "name": "n2" - } - ], - "body": { - "type": "BlockStatement", - "start": 1180, - "end": 1284, - "loc": { - "start": { - "line": 34, - "column": 26 - }, - "end": { - "line": 37, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1202, - "end": 1233, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 1202, - "end": 1232, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1202, - "end": 1223, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 1202, - "end": 1217, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 35 - } - }, - "object": { - "type": "CallExpression", - "start": 1202, - "end": 1214, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 32 - } - }, - "callee": { - "type": "Identifier", - "start": 1202, - "end": 1208, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 26 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 1209, - "end": 1213, - "loc": { - "start": { - "line": 35, - "column": 27 - }, - "end": { - "line": 35, - "column": 31 - } - } - } - ] - }, - "property": { - "type": "Identifier", - "start": 1215, - "end": 1217, - "loc": { - "start": { - "line": 35, - "column": 33 - }, - "end": { - "line": 35, - "column": 35 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1218, - "end": 1223, - "loc": { - "start": { - "line": 35, - "column": 36 - }, - "end": { - "line": 35, - "column": 41 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1224, - "end": 1231, - "loc": { - "start": { - "line": 35, - "column": 42 - }, - "end": { - "line": 35, - "column": 49 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1254, - "end": 1266, - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 32 - } - }, - "expression": { - "type": "CallExpression", - "start": 1254, - "end": 1265, - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 31 - } - }, - "callee": { - "type": "Identifier", - "start": 1254, - "end": 1258, - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 24 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1259, - "end": 1260, - "loc": { - "start": { - "line": 36, - "column": 25 - }, - "end": { - "line": 36, - "column": 26 - }, - "identifierName": "n" - }, - "name": "n" - }, - { - "type": "Identifier", - "start": 1262, - "end": 1264, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 30 - }, - "identifierName": "n2" - }, - "name": "n2" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1311, - "end": 1430, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 42, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 1311, - "end": 1429, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 42, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1311, - "end": 1329, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 1311, - "end": 1318, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1319, - "end": 1329, - "loc": { - "start": { - "line": 39, - "column": 20 - }, - "end": { - "line": 39, - "column": 30 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1330, - "end": 1397, - "loc": { - "start": { - "line": 39, - "column": 31 - }, - "end": { - "line": 42, - "column": 13 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1348, - "end": 1356, - "loc": { - "start": { - "line": 40, - "column": 16 - }, - "end": { - "line": 40, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 1348, - "end": 1353, - "loc": { - "start": { - "line": 40, - "column": 16 - }, - "end": { - "line": 40, - "column": 21 - }, - "identifierName": "Curry" - }, - "name": "Curry" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1354, - "end": 1355, - "loc": { - "start": { - "line": 40, - "column": 22 - }, - "end": { - "line": 40, - "column": 23 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - }, - { - "type": "CallExpression", - "start": 1374, - "end": 1383, - "loc": { - "start": { - "line": 41, - "column": 16 - }, - "end": { - "line": 41, - "column": 25 - } - }, - "callee": { - "type": "Identifier", - "start": 1374, - "end": 1379, - "loc": { - "start": { - "line": 41, - "column": 16 - }, - "end": { - "line": 41, - "column": 21 - }, - "identifierName": "Delay" - }, - "name": "Delay" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1380, - "end": 1382, - "loc": { - "start": { - "line": 41, - "column": 22 - }, - "end": { - "line": 41, - "column": 24 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1399, - "end": 1416, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 1399, - "end": 1406, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 22 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1407, - "end": 1416, - "loc": { - "start": { - "line": 42, - "column": 23 - }, - "end": { - "line": 42, - "column": 32 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1418, - "end": 1422, - "loc": { - "start": { - "line": 42, - "column": 34 - }, - "end": { - "line": 42, - "column": 38 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 1424, - "end": 1428, - "loc": { - "start": { - "line": 42, - "column": 40 - }, - "end": { - "line": 42, - "column": 44 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1443, - "end": 1473, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 42 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1449, - "end": 1472, - "loc": { - "start": { - "line": 43, - "column": 18 - }, - "end": { - "line": 43, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 1449, - "end": 1456, - "loc": { - "start": { - "line": 43, - "column": 18 - }, - "end": { - "line": 43, - "column": 25 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1459, - "end": 1472, - "loc": { - "start": { - "line": 43, - "column": 28 - }, - "end": { - "line": 43, - "column": 41 - } - }, - "callee": { - "type": "Identifier", - "start": 1463, - "end": 1470, - "loc": { - "start": { - "line": 43, - "column": 32 - }, - "end": { - "line": 43, - "column": 39 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1486, - "end": 1515, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 41 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1492, - "end": 1514, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 1492, - "end": 1497, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 23 - }, - "identifierName": "add10" - }, - "name": "add10" - }, - "init": { - "type": "CallExpression", - "start": 1500, - "end": 1514, - "loc": { - "start": { - "line": 44, - "column": 26 - }, - "end": { - "line": 44, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1500, - "end": 1510, - "loc": { - "start": { - "line": 44, - "column": 26 - }, - "end": { - "line": 44, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 1500, - "end": 1507, - "loc": { - "start": { - "line": 44, - "column": 26 - }, - "end": { - "line": 44, - "column": 33 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1508, - "end": 1510, - "loc": { - "start": { - "line": 44, - "column": 34 - }, - "end": { - "line": 44, - "column": 36 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1511, - "end": 1513, - "loc": { - "start": { - "line": 44, - "column": 37 - }, - "end": { - "line": 44, - "column": 39 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1528, - "end": 1560, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 44 - } - }, - "expression": { - "type": "MemberExpression", - "start": 1528, - "end": 1559, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 1528, - "end": 1553, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 1528, - "end": 1550, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 34 - } - }, - "object": { - "type": "CallExpression", - "start": 1528, - "end": 1547, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 31 - } - }, - "callee": { - "type": "Identifier", - "start": 1528, - "end": 1534, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1535, - "end": 1546, - "loc": { - "start": { - "line": 45, - "column": 19 - }, - "end": { - "line": 45, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 1535, - "end": 1539, - "loc": { - "start": { - "line": 45, - "column": 19 - }, - "end": { - "line": 45, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 1540, - "end": 1546, - "loc": { - "start": { - "line": 45, - "column": 24 - }, - "end": { - "line": 45, - "column": 30 - }, - "identifierName": "called" - }, - "name": "called" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1548, - "end": 1550, - "loc": { - "start": { - "line": 45, - "column": 32 - }, - "end": { - "line": 45, - "column": 34 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1551, - "end": 1553, - "loc": { - "start": { - "line": 45, - "column": 35 - }, - "end": { - "line": 45, - "column": 37 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1554, - "end": 1559, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 43 - }, - "identifierName": "false" - }, - "name": "false" - }, - "computed": false - } - }, - { - "type": "ExpressionStatement", - "start": 1573, - "end": 1582, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 1573, - "end": 1581, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 1573, - "end": 1578, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 17 - }, - "identifierName": "add10" - }, - "name": "add10" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1579, - "end": 1580, - "loc": { - "start": { - "line": 46, - "column": 18 - }, - "end": { - "line": 46, - "column": 19 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1595, - "end": 1627, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 44 - } - }, - "expression": { - "type": "MemberExpression", - "start": 1595, - "end": 1626, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 1595, - "end": 1620, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 1595, - "end": 1617, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 34 - } - }, - "object": { - "type": "CallExpression", - "start": 1595, - "end": 1614, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 31 - } - }, - "callee": { - "type": "Identifier", - "start": 1595, - "end": 1601, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1602, - "end": 1613, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 1602, - "end": 1606, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 1607, - "end": 1613, - "loc": { - "start": { - "line": 47, - "column": 24 - }, - "end": { - "line": 47, - "column": 30 - }, - "identifierName": "called" - }, - "name": "called" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1615, - "end": 1617, - "loc": { - "start": { - "line": 47, - "column": 32 - }, - "end": { - "line": 47, - "column": 34 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1618, - "end": 1620, - "loc": { - "start": { - "line": 47, - "column": 35 - }, - "end": { - "line": 47, - "column": 37 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1621, - "end": 1626, - "loc": { - "start": { - "line": 47, - "column": 38 - }, - "end": { - "line": 47, - "column": 43 - }, - "identifierName": "false" - }, - "name": "false" - }, - "computed": false - } - }, - { - "type": "ExpressionStatement", - "start": 1640, - "end": 1819, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 52, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 1640, - "end": 1818, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 52, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 1640, - "end": 1650, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 22 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1651, - "end": 1813, - "loc": { - "start": { - "line": 48, - "column": 23 - }, - "end": { - "line": 52, - "column": 13 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1657, - "end": 1813, - "loc": { - "start": { - "line": 48, - "column": 29 - }, - "end": { - "line": 52, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1675, - "end": 1710, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 1675, - "end": 1709, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1675, - "end": 1706, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 47 - } - }, - "object": { - "type": "MemberExpression", - "start": 1675, - "end": 1700, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 41 - } - }, - "object": { - "type": "CallExpression", - "start": 1675, - "end": 1697, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 1675, - "end": 1681, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1682, - "end": 1696, - "loc": { - "start": { - "line": 49, - "column": 23 - }, - "end": { - "line": 49, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 1682, - "end": 1686, - "loc": { - "start": { - "line": 49, - "column": 23 - }, - "end": { - "line": 49, - "column": 27 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 1687, - "end": 1696, - "loc": { - "start": { - "line": 49, - "column": 28 - }, - "end": { - "line": 49, - "column": 37 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1698, - "end": 1700, - "loc": { - "start": { - "line": 49, - "column": 39 - }, - "end": { - "line": 49, - "column": 41 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1701, - "end": 1706, - "loc": { - "start": { - "line": 49, - "column": 42 - }, - "end": { - "line": 49, - "column": 47 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1707, - "end": 1708, - "loc": { - "start": { - "line": 49, - "column": 48 - }, - "end": { - "line": 49, - "column": 49 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1727, - "end": 1775, - "loc": { - "start": { - "line": 50, - "column": 16 - }, - "end": { - "line": 50, - "column": 64 - } - }, - "expression": { - "type": "CallExpression", - "start": 1727, - "end": 1774, - "loc": { - "start": { - "line": 50, - "column": 16 - }, - "end": { - "line": 50, - "column": 63 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1727, - "end": 1765, - "loc": { - "start": { - "line": 50, - "column": 16 - }, - "end": { - "line": 50, - "column": 54 - } - }, - "object": { - "type": "MemberExpression", - "start": 1727, - "end": 1761, - "loc": { - "start": { - "line": 50, - "column": 16 - }, - "end": { - "line": 50, - "column": 50 - } - }, - "object": { - "type": "CallExpression", - "start": 1727, - "end": 1758, - "loc": { - "start": { - "line": 50, - "column": 16 - }, - "end": { - "line": 50, - "column": 47 - } - }, - "callee": { - "type": "Identifier", - "start": 1727, - "end": 1733, - "loc": { - "start": { - "line": 50, - "column": 16 - }, - "end": { - "line": 50, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1734, - "end": 1757, - "loc": { - "start": { - "line": 50, - "column": 23 - }, - "end": { - "line": 50, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 1734, - "end": 1752, - "loc": { - "start": { - "line": 50, - "column": 23 - }, - "end": { - "line": 50, - "column": 41 - } - }, - "object": { - "type": "CallExpression", - "start": 1734, - "end": 1749, - "loc": { - "start": { - "line": 50, - "column": 23 - }, - "end": { - "line": 50, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1734, - "end": 1747, - "loc": { - "start": { - "line": 50, - "column": 23 - }, - "end": { - "line": 50, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 1734, - "end": 1738, - "loc": { - "start": { - "line": 50, - "column": 23 - }, - "end": { - "line": 50, - "column": 27 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 1739, - "end": 1747, - "loc": { - "start": { - "line": 50, - "column": 28 - }, - "end": { - "line": 50, - "column": 36 - }, - "identifierName": "getCalls" - }, - "name": "getCalls" - }, - "computed": false - }, - "arguments": [] - }, - "property": { - "type": "NumericLiteral", - "start": 1750, - "end": 1751, - "loc": { - "start": { - "line": 50, - "column": 39 - }, - "end": { - "line": 50, - "column": 40 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 1753, - "end": 1757, - "loc": { - "start": { - "line": 50, - "column": 42 - }, - "end": { - "line": 50, - "column": 46 - }, - "identifierName": "args" - }, - "name": "args" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1759, - "end": 1761, - "loc": { - "start": { - "line": 50, - "column": 48 - }, - "end": { - "line": 50, - "column": 50 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1762, - "end": 1765, - "loc": { - "start": { - "line": 50, - "column": 51 - }, - "end": { - "line": 50, - "column": 54 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1766, - "end": 1773, - "loc": { - "start": { - "line": 50, - "column": 55 - }, - "end": { - "line": 50, - "column": 62 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 1767, - "end": 1769, - "loc": { - "start": { - "line": 50, - "column": 56 - }, - "end": { - "line": 50, - "column": 58 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "NumericLiteral", - "start": 1771, - "end": 1772, - "loc": { - "start": { - "line": 50, - "column": 60 - }, - "end": { - "line": 50, - "column": 61 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1792, - "end": 1799, - "loc": { - "start": { - "line": 51, - "column": 16 - }, - "end": { - "line": 51, - "column": 23 - } - }, - "expression": { - "type": "CallExpression", - "start": 1792, - "end": 1798, - "loc": { - "start": { - "line": 51, - "column": 16 - }, - "end": { - "line": 51, - "column": 22 - } - }, - "callee": { - "type": "Identifier", - "start": 1792, - "end": 1796, - "loc": { - "start": { - "line": 51, - "column": 16 - }, - "end": { - "line": 51, - "column": 20 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 1815, - "end": 1817, - "loc": { - "start": { - "line": 52, - "column": 15 - }, - "end": { - "line": 52, - "column": 17 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 22, - "_esdocTestName": "it22" - } - }, - { - "type": "ExpressionStatement", - "start": 1840, - "end": 2645, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 74, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 1840, - "end": 2644, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 74, - "column": 10 - } - }, - "callee": { - "type": "Identifier", - "start": 1840, - "end": 1848, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 16 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1849, - "end": 1879, - "loc": { - "start": { - "line": 54, - "column": 17 - }, - "end": { - "line": 54, - "column": 47 - } - }, - "extra": { - "rawValue": "when proto is after instance", - "raw": "'when proto is after instance'" - }, - "value": "when proto is after instance" - }, - { - "type": "ArrowFunctionExpression", - "start": 1881, - "end": 2643, - "loc": { - "start": { - "line": 54, - "column": 49 - }, - "end": { - "line": 74, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1887, - "end": 2643, - "loc": { - "start": { - "line": 54, - "column": 55 - }, - "end": { - "line": 74, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1901, - "end": 2633, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 73, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 1901, - "end": 2632, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 73, - "column": 14 - } - }, - "callee": { - "type": "Identifier", - "start": 1901, - "end": 1903, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 14 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1904, - "end": 1946, - "loc": { - "start": { - "line": 55, - "column": 15 - }, - "end": { - "line": 55, - "column": 57 - } - }, - "extra": { - "rawValue": "should only apply the instance decorator", - "raw": "'should only apply the instance decorator'" - }, - "value": "should only apply the instance decorator" - }, - { - "type": "ArrowFunctionExpression", - "start": 1948, - "end": 2631, - "loc": { - "start": { - "line": 55, - "column": 59 - }, - "end": { - "line": 73, - "column": 13 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1954, - "end": 2631, - "loc": { - "start": { - "line": 55, - "column": 65 - }, - "end": { - "line": 73, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1972, - "end": 1991, - "loc": { - "start": { - "line": 56, - "column": 16 - }, - "end": { - "line": 56, - "column": 35 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1978, - "end": 1990, - "loc": { - "start": { - "line": 56, - "column": 22 - }, - "end": { - "line": 56, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 1978, - "end": 1982, - "loc": { - "start": { - "line": 56, - "column": 22 - }, - "end": { - "line": 56, - "column": 26 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 1985, - "end": 1990, - "loc": { - "start": { - "line": 56, - "column": 29 - }, - "end": { - "line": 56, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 1985, - "end": 1988, - "loc": { - "start": { - "line": 56, - "column": 29 - }, - "end": { - "line": 56, - "column": 32 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ClassDeclaration", - "start": 2008, - "end": 2188, - "loc": { - "start": { - "line": 57, - "column": 16 - }, - "end": { - "line": 62, - "column": 17 - } - }, - "id": { - "type": "Identifier", - "start": 2014, - "end": 2021, - "loc": { - "start": { - "line": 57, - "column": 22 - }, - "end": { - "line": 57, - "column": 29 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 2022, - "end": 2188, - "loc": { - "start": { - "line": 57, - "column": 30 - }, - "end": { - "line": 62, - "column": 17 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 2044, - "end": 2170, - "loc": { - "start": { - "line": 58, - "column": 20 - }, - "end": { - "line": 61, - "column": 21 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 2044, - "end": 2046, - "loc": { - "start": { - "line": 58, - "column": 20 - }, - "end": { - "line": 58, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2047, - "end": 2048, - "loc": { - "start": { - "line": 58, - "column": 23 - }, - "end": { - "line": 58, - "column": 24 - }, - "identifierName": "n" - }, - "name": "n" - }, - { - "type": "Identifier", - "start": 2050, - "end": 2052, - "loc": { - "start": { - "line": 58, - "column": 26 - }, - "end": { - "line": 58, - "column": 28 - }, - "identifierName": "n2" - }, - "name": "n2" - } - ], - "body": { - "type": "BlockStatement", - "start": 2054, - "end": 2170, - "loc": { - "start": { - "line": 58, - "column": 30 - }, - "end": { - "line": 61, - "column": 21 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2080, - "end": 2111, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 55 - } - }, - "expression": { - "type": "CallExpression", - "start": 2080, - "end": 2110, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 54 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2080, - "end": 2101, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 45 - } - }, - "object": { - "type": "MemberExpression", - "start": 2080, - "end": 2095, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 39 - } - }, - "object": { - "type": "CallExpression", - "start": 2080, - "end": 2092, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 36 - } - }, - "callee": { - "type": "Identifier", - "start": 2080, - "end": 2086, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 30 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 2087, - "end": 2091, - "loc": { - "start": { - "line": 59, - "column": 31 - }, - "end": { - "line": 59, - "column": 35 - } - } - } - ] - }, - "property": { - "type": "Identifier", - "start": 2093, - "end": 2095, - "loc": { - "start": { - "line": 59, - "column": 37 - }, - "end": { - "line": 59, - "column": 39 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2096, - "end": 2101, - "loc": { - "start": { - "line": 59, - "column": 40 - }, - "end": { - "line": 59, - "column": 45 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2102, - "end": 2109, - "loc": { - "start": { - "line": 59, - "column": 46 - }, - "end": { - "line": 59, - "column": 53 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2136, - "end": 2148, - "loc": { - "start": { - "line": 60, - "column": 24 - }, - "end": { - "line": 60, - "column": 36 - } - }, - "expression": { - "type": "CallExpression", - "start": 2136, - "end": 2147, - "loc": { - "start": { - "line": 60, - "column": 24 - }, - "end": { - "line": 60, - "column": 35 - } - }, - "callee": { - "type": "Identifier", - "start": 2136, - "end": 2140, - "loc": { - "start": { - "line": 60, - "column": 24 - }, - "end": { - "line": 60, - "column": 28 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2141, - "end": 2142, - "loc": { - "start": { - "line": 60, - "column": 29 - }, - "end": { - "line": 60, - "column": 30 - }, - "identifierName": "n" - }, - "name": "n" - }, - { - "type": "Identifier", - "start": 2144, - "end": 2146, - "loc": { - "start": { - "line": 60, - "column": 32 - }, - "end": { - "line": 60, - "column": 34 - }, - "identifierName": "n2" - }, - "name": "n2" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2205, - "end": 2336, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 66, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 2205, - "end": 2335, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 66, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2205, - "end": 2223, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 2205, - "end": 2212, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 23 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 2213, - "end": 2223, - "loc": { - "start": { - "line": 63, - "column": 24 - }, - "end": { - "line": 63, - "column": 34 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 2224, - "end": 2303, - "loc": { - "start": { - "line": 63, - "column": 35 - }, - "end": { - "line": 66, - "column": 17 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 2246, - "end": 2255, - "loc": { - "start": { - "line": 64, - "column": 20 - }, - "end": { - "line": 64, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 2246, - "end": 2251, - "loc": { - "start": { - "line": 64, - "column": 20 - }, - "end": { - "line": 64, - "column": 25 - }, - "identifierName": "Delay" - }, - "name": "Delay" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2252, - "end": 2254, - "loc": { - "start": { - "line": 64, - "column": 26 - }, - "end": { - "line": 64, - "column": 28 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - }, - { - "type": "CallExpression", - "start": 2277, - "end": 2285, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 2277, - "end": 2282, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 25 - }, - "identifierName": "Curry" - }, - "name": "Curry" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2283, - "end": 2284, - "loc": { - "start": { - "line": 65, - "column": 26 - }, - "end": { - "line": 65, - "column": 27 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 2305, - "end": 2322, - "loc": { - "start": { - "line": 66, - "column": 19 - }, - "end": { - "line": 66, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 2305, - "end": 2312, - "loc": { - "start": { - "line": 66, - "column": 19 - }, - "end": { - "line": 66, - "column": 26 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 2313, - "end": 2322, - "loc": { - "start": { - "line": 66, - "column": 27 - }, - "end": { - "line": 66, - "column": 36 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 2324, - "end": 2328, - "loc": { - "start": { - "line": 66, - "column": 38 - }, - "end": { - "line": 66, - "column": 42 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 2330, - "end": 2334, - "loc": { - "start": { - "line": 66, - "column": 44 - }, - "end": { - "line": 66, - "column": 48 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 2353, - "end": 2383, - "loc": { - "start": { - "line": 67, - "column": 16 - }, - "end": { - "line": 67, - "column": 46 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2359, - "end": 2382, - "loc": { - "start": { - "line": 67, - "column": 22 - }, - "end": { - "line": 67, - "column": 45 - } - }, - "id": { - "type": "Identifier", - "start": 2359, - "end": 2366, - "loc": { - "start": { - "line": 67, - "column": 22 - }, - "end": { - "line": 67, - "column": 29 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 2369, - "end": 2382, - "loc": { - "start": { - "line": 67, - "column": 32 - }, - "end": { - "line": 67, - "column": 45 - } - }, - "callee": { - "type": "Identifier", - "start": 2373, - "end": 2380, - "loc": { - "start": { - "line": 67, - "column": 36 - }, - "end": { - "line": 67, - "column": 43 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 2400, - "end": 2429, - "loc": { - "start": { - "line": 68, - "column": 16 - }, - "end": { - "line": 68, - "column": 45 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2406, - "end": 2428, - "loc": { - "start": { - "line": 68, - "column": 22 - }, - "end": { - "line": 68, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 2406, - "end": 2411, - "loc": { - "start": { - "line": 68, - "column": 22 - }, - "end": { - "line": 68, - "column": 27 - }, - "identifierName": "add10" - }, - "name": "add10" - }, - "init": { - "type": "CallExpression", - "start": 2414, - "end": 2428, - "loc": { - "start": { - "line": 68, - "column": 30 - }, - "end": { - "line": 68, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2414, - "end": 2424, - "loc": { - "start": { - "line": 68, - "column": 30 - }, - "end": { - "line": 68, - "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 2414, - "end": 2421, - "loc": { - "start": { - "line": 68, - "column": 30 - }, - "end": { - "line": 68, - "column": 37 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2422, - "end": 2424, - "loc": { - "start": { - "line": 68, - "column": 38 - }, - "end": { - "line": 68, - "column": 40 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2425, - "end": 2427, - "loc": { - "start": { - "line": 68, - "column": 41 - }, - "end": { - "line": 68, - "column": 43 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 2446, - "end": 2478, - "loc": { - "start": { - "line": 69, - "column": 16 - }, - "end": { - "line": 69, - "column": 48 - } - }, - "expression": { - "type": "MemberExpression", - "start": 2446, - "end": 2477, - "loc": { - "start": { - "line": 69, - "column": 16 - }, - "end": { - "line": 69, - "column": 47 - } - }, - "object": { - "type": "MemberExpression", - "start": 2446, - "end": 2471, - "loc": { - "start": { - "line": 69, - "column": 16 - }, - "end": { - "line": 69, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 2446, - "end": 2468, - "loc": { - "start": { - "line": 69, - "column": 16 - }, - "end": { - "line": 69, - "column": 38 - } - }, - "object": { - "type": "CallExpression", - "start": 2446, - "end": 2465, - "loc": { - "start": { - "line": 69, - "column": 16 - }, - "end": { - "line": 69, - "column": 35 - } - }, - "callee": { - "type": "Identifier", - "start": 2446, - "end": 2452, - "loc": { - "start": { - "line": 69, - "column": 16 - }, - "end": { - "line": 69, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2453, - "end": 2464, - "loc": { - "start": { - "line": 69, - "column": 23 - }, - "end": { - "line": 69, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 2453, - "end": 2457, - "loc": { - "start": { - "line": 69, - "column": 23 - }, - "end": { - "line": 69, - "column": 27 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 2458, - "end": 2464, - "loc": { - "start": { - "line": 69, - "column": 28 - }, - "end": { - "line": 69, - "column": 34 - }, - "identifierName": "called" - }, - "name": "called" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 2466, - "end": 2468, - "loc": { - "start": { - "line": 69, - "column": 36 - }, - "end": { - "line": 69, - "column": 38 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2469, - "end": 2471, - "loc": { - "start": { - "line": 69, - "column": 39 - }, - "end": { - "line": 69, - "column": 41 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2472, - "end": 2477, - "loc": { - "start": { - "line": 69, - "column": 42 - }, - "end": { - "line": 69, - "column": 47 - }, - "identifierName": "false" - }, - "name": "false" - }, - "computed": false - } - }, - { - "type": "ExpressionStatement", - "start": 2495, - "end": 2504, - "loc": { - "start": { - "line": 70, - "column": 16 - }, - "end": { - "line": 70, - "column": 25 - } - }, - "expression": { - "type": "CallExpression", - "start": 2495, - "end": 2503, - "loc": { - "start": { - "line": 70, - "column": 16 - }, - "end": { - "line": 70, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 2495, - "end": 2500, - "loc": { - "start": { - "line": 70, - "column": 16 - }, - "end": { - "line": 70, - "column": 21 - }, - "identifierName": "add10" - }, - "name": "add10" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2501, - "end": 2502, - "loc": { - "start": { - "line": 70, - "column": 22 - }, - "end": { - "line": 70, - "column": 23 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2521, - "end": 2552, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 47 - } - }, - "expression": { - "type": "MemberExpression", - "start": 2521, - "end": 2551, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 2521, - "end": 2546, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 2521, - "end": 2543, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 38 - } - }, - "object": { - "type": "CallExpression", - "start": 2521, - "end": 2540, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 35 - } - }, - "callee": { - "type": "Identifier", - "start": 2521, - "end": 2527, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2528, - "end": 2539, - "loc": { - "start": { - "line": 71, - "column": 23 - }, - "end": { - "line": 71, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 2528, - "end": 2532, - "loc": { - "start": { - "line": 71, - "column": 23 - }, - "end": { - "line": 71, - "column": 27 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 2533, - "end": 2539, - "loc": { - "start": { - "line": 71, - "column": 28 - }, - "end": { - "line": 71, - "column": 34 - }, - "identifierName": "called" - }, - "name": "called" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 2541, - "end": 2543, - "loc": { - "start": { - "line": 71, - "column": 36 - }, - "end": { - "line": 71, - "column": 38 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2544, - "end": 2546, - "loc": { - "start": { - "line": 71, - "column": 39 - }, - "end": { - "line": 71, - "column": 41 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2547, - "end": 2551, - "loc": { - "start": { - "line": 71, - "column": 42 - }, - "end": { - "line": 71, - "column": 46 - }, - "identifierName": "true" - }, - "name": "true" - }, - "computed": false - } - }, - { - "type": "ExpressionStatement", - "start": 2569, - "end": 2617, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 64 - } - }, - "expression": { - "type": "CallExpression", - "start": 2569, - "end": 2616, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 63 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2569, - "end": 2607, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 54 - } - }, - "object": { - "type": "MemberExpression", - "start": 2569, - "end": 2603, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 50 - } - }, - "object": { - "type": "CallExpression", - "start": 2569, - "end": 2600, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 47 - } - }, - "callee": { - "type": "Identifier", - "start": 2569, - "end": 2575, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2576, - "end": 2599, - "loc": { - "start": { - "line": 72, - "column": 23 - }, - "end": { - "line": 72, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 2576, - "end": 2594, - "loc": { - "start": { - "line": 72, - "column": 23 - }, - "end": { - "line": 72, - "column": 41 - } - }, - "object": { - "type": "CallExpression", - "start": 2576, - "end": 2591, - "loc": { - "start": { - "line": 72, - "column": 23 - }, - "end": { - "line": 72, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2576, - "end": 2589, - "loc": { - "start": { - "line": 72, - "column": 23 - }, - "end": { - "line": 72, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 2576, - "end": 2580, - "loc": { - "start": { - "line": 72, - "column": 23 - }, - "end": { - "line": 72, - "column": 27 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 2581, - "end": 2589, - "loc": { - "start": { - "line": 72, - "column": 28 - }, - "end": { - "line": 72, - "column": 36 - }, - "identifierName": "getCalls" - }, - "name": "getCalls" - }, - "computed": false - }, - "arguments": [] - }, - "property": { - "type": "NumericLiteral", - "start": 2592, - "end": 2593, - "loc": { - "start": { - "line": 72, - "column": 39 - }, - "end": { - "line": 72, - "column": 40 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 2595, - "end": 2599, - "loc": { - "start": { - "line": 72, - "column": 42 - }, - "end": { - "line": 72, - "column": 46 - }, - "identifierName": "args" - }, - "name": "args" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 2601, - "end": 2603, - "loc": { - "start": { - "line": 72, - "column": 48 - }, - "end": { - "line": 72, - "column": 50 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2604, - "end": 2607, - "loc": { - "start": { - "line": 72, - "column": 51 - }, - "end": { - "line": 72, - "column": 54 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 2608, - "end": 2615, - "loc": { - "start": { - "line": 72, - "column": 55 - }, - "end": { - "line": 72, - "column": 62 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 2609, - "end": 2611, - "loc": { - "start": { - "line": 72, - "column": 56 - }, - "end": { - "line": 72, - "column": 58 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "NumericLiteral", - "start": 2613, - "end": 2614, - "loc": { - "start": { - "line": 72, - "column": 60 - }, - "end": { - "line": 72, - "column": 61 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 24, - "_esdocTestName": "it24" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 23, - "_esdocTestName": "describe23" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 21, - "_esdocTestName": "describe21" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 18, - "_esdocTestName": "describe18" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "sinon", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 94, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 101, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Bind", - "start": 103, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 108, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 110, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./bind", - "start": 115, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 123, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 125, - "end": 131, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 132, - "end": 133, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Memoize", - "start": 134, - "end": 141, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 142, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 17 - }, - "end": { - "line": 5, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 144, - "end": 148, - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./memoize", - "start": 149, - "end": 160, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 160, - "end": 161, - "loc": { - "start": { - "line": 5, - "column": 35 - }, - "end": { - "line": 5, - "column": 36 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 162, - "end": 168, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 169, - "end": 170, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Curry", - "start": 171, - "end": 176, - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 177, - "end": 178, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 179, - "end": 183, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./curry", - "start": 184, - "end": 193, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 193, - "end": 194, - "loc": { - "start": { - "line": 6, - "column": 31 - }, - "end": { - "line": 6, - "column": 32 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 195, - "end": 201, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 202, - "end": 203, - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Delay", - "start": 204, - "end": 209, - "loc": { - "start": { - "line": 7, - "column": 9 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 210, - "end": 211, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 212, - "end": 216, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./delay", - "start": 217, - "end": 226, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 31 - }, - "end": { - "line": 7, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 228, - "end": 236, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 236, - "end": 237, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "multiple decorators", - "start": 237, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 9 - }, - "end": { - "line": 8, - "column": 30 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 258, - "end": 259, - "loc": { - "start": { - "line": 8, - "column": 30 - }, - "end": { - "line": 8, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 260, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 8, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 33 - }, - "end": { - "line": 8, - "column": 34 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 263, - "end": 265, - "loc": { - "start": { - "line": 8, - "column": 35 - }, - "end": { - "line": 8, - "column": 37 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 266, - "end": 267, - "loc": { - "start": { - "line": 8, - "column": 38 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 272, - "end": 280, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 9, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 280, - "end": 281, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "when using multiple instance decorators", - "start": 281, - "end": 322, - "loc": { - "start": { - "line": 9, - "column": 13 - }, - "end": { - "line": 9, - "column": 54 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 322, - "end": 323, - "loc": { - "start": { - "line": 9, - "column": 54 - }, - "end": { - "line": 9, - "column": 55 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 324, - "end": 325, - "loc": { - "start": { - "line": 9, - "column": 56 - }, - "end": { - "line": 9, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 325, - "end": 326, - "loc": { - "start": { - "line": 9, - "column": 57 - }, - "end": { - "line": 9, - "column": 58 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 327, - "end": 329, - "loc": { - "start": { - "line": 9, - "column": 59 - }, - "end": { - "line": 9, - "column": 61 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 330, - "end": 331, - "loc": { - "start": { - "line": 9, - "column": 62 - }, - "end": { - "line": 9, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 340, - "end": 342, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 342, - "end": 343, - "loc": { - "start": { - "line": 10, - "column": 10 - }, - "end": { - "line": 10, - "column": 11 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should apply both decorators", - "start": 343, - "end": 373, - "loc": { - "start": { - "line": 10, - "column": 11 - }, - "end": { - "line": 10, - "column": 41 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 373, - "end": 374, - "loc": { - "start": { - "line": 10, - "column": 41 - }, - "end": { - "line": 10, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 375, - "end": 376, - "loc": { - "start": { - "line": 10, - "column": 43 - }, - "end": { - "line": 10, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 376, - "end": 377, - "loc": { - "start": { - "line": 10, - "column": 44 - }, - "end": { - "line": 10, - "column": 45 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 378, - "end": 380, - "loc": { - "start": { - "line": 10, - "column": 46 - }, - "end": { - "line": 10, - "column": 48 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 381, - "end": 382, - "loc": { - "start": { - "line": 10, - "column": 49 - }, - "end": { - "line": 10, - "column": 50 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 395, - "end": 400, - "loc": { - "start": { - "line": 11, - "column": 12 - }, - "end": { - "line": 11, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 401, - "end": 405, - "loc": { - "start": { - "line": 11, - "column": 18 - }, - "end": { - "line": 11, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 406, - "end": 407, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 408, - "end": 411, - "loc": { - "start": { - "line": 11, - "column": 25 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 411, - "end": 412, - "loc": { - "start": { - "line": 11, - "column": 28 - }, - "end": { - "line": 11, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 412, - "end": 413, - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 413, - "end": 414, - "loc": { - "start": { - "line": 11, - "column": 30 - }, - "end": { - "line": 11, - "column": 31 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 427, - "end": 432, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 433, - "end": 440, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 441, - "end": 442, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 459, - "end": 461, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 461, - "end": 462, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 465, - "end": 466, - "loc": { - "start": { - "line": 13, - "column": 22 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 487, - "end": 493, - "loc": { - "start": { - "line": 14, - "column": 20 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 493, - "end": 494, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 494, - "end": 498, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 498, - "end": 499, - "loc": { - "start": { - "line": 14, - "column": 31 - }, - "end": { - "line": 14, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 499, - "end": 500, - "loc": { - "start": { - "line": 14, - "column": 32 - }, - "end": { - "line": 14, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 500, - "end": 502, - "loc": { - "start": { - "line": 14, - "column": 33 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 502, - "end": 503, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 503, - "end": 508, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 508, - "end": 509, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 509, - "end": 516, - "loc": { - "start": { - "line": 14, - "column": 42 - }, - "end": { - "line": 14, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 516, - "end": 517, - "loc": { - "start": { - "line": 14, - "column": 49 - }, - "end": { - "line": 14, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 517, - "end": 518, - "loc": { - "start": { - "line": 14, - "column": 50 - }, - "end": { - "line": 14, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 539, - "end": 543, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 543, - "end": 544, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 544, - "end": 545, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 545, - "end": 546, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 563, - "end": 564, - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 16, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 577, - "end": 578, - "loc": { - "start": { - "line": 17, - "column": 12 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 591, - "end": 598, - "loc": { - "start": { - "line": 18, - "column": 12 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 598, - "end": 599, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 599, - "end": 609, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 609, - "end": 610, - "loc": { - "start": { - "line": 18, - "column": 30 - }, - "end": { - "line": 18, - "column": 31 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 610, - "end": 611, - "loc": { - "start": { - "line": 18, - "column": 31 - }, - "end": { - "line": 18, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Bind", - "start": 628, - "end": 632, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 632, - "end": 633, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 633, - "end": 634, - "loc": { - "start": { - "line": 19, - "column": 21 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 634, - "end": 635, - "loc": { - "start": { - "line": 19, - "column": 22 - }, - "end": { - "line": 19, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Memoize", - "start": 652, - "end": 659, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 659, - "end": 660, - "loc": { - "start": { - "line": 20, - "column": 23 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 20, - "column": 24 - }, - "end": { - "line": 20, - "column": 25 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 674, - "end": 675, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 675, - "end": 676, - "loc": { - "start": { - "line": 21, - "column": 13 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 677, - "end": 684, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 684, - "end": 685, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 685, - "end": 694, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 694, - "end": 695, - "loc": { - "start": { - "line": 21, - "column": 32 - }, - "end": { - "line": 21, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 696, - "end": 700, - "loc": { - "start": { - "line": 21, - "column": 34 - }, - "end": { - "line": 21, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 21, - "column": 38 - }, - "end": { - "line": 21, - "column": 39 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 702, - "end": 706, - "loc": { - "start": { - "line": 21, - "column": 40 - }, - "end": { - "line": 21, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 706, - "end": 707, - "loc": { - "start": { - "line": 21, - "column": 44 - }, - "end": { - "line": 21, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 707, - "end": 708, - "loc": { - "start": { - "line": 21, - "column": 45 - }, - "end": { - "line": 21, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 721, - "end": 726, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 727, - "end": 734, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 735, - "end": 736, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 27 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 737, - "end": 740, - "loc": { - "start": { - "line": 22, - "column": 28 - }, - "end": { - "line": 22, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 741, - "end": 748, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 748, - "end": 749, - "loc": { - "start": { - "line": 22, - "column": 39 - }, - "end": { - "line": 22, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 749, - "end": 750, - "loc": { - "start": { - "line": 22, - "column": 40 - }, - "end": { - "line": 22, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 750, - "end": 751, - "loc": { - "start": { - "line": 22, - "column": 41 - }, - "end": { - "line": 22, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 764, - "end": 771, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 771, - "end": 772, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 772, - "end": 774, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 774, - "end": 775, - "loc": { - "start": { - "line": 23, - "column": 22 - }, - "end": { - "line": 23, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 775, - "end": 779, - "loc": { - "start": { - "line": 23, - "column": 23 - }, - "end": { - "line": 23, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 779, - "end": 780, - "loc": { - "start": { - "line": 23, - "column": 27 - }, - "end": { - "line": 23, - "column": 28 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 780, - "end": 784, - "loc": { - "start": { - "line": 23, - "column": 28 - }, - "end": { - "line": 23, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 784, - "end": 785, - "loc": { - "start": { - "line": 23, - "column": 32 - }, - "end": { - "line": 23, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 786, - "end": 787, - "loc": { - "start": { - "line": 23, - "column": 34 - }, - "end": { - "line": 23, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 787, - "end": 788, - "loc": { - "start": { - "line": 23, - "column": 35 - }, - "end": { - "line": 23, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 788, - "end": 789, - "loc": { - "start": { - "line": 23, - "column": 36 - }, - "end": { - "line": 23, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 802, - "end": 809, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 809, - "end": 810, - "loc": { - "start": { - "line": 24, - "column": 19 - }, - "end": { - "line": 24, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 810, - "end": 812, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 812, - "end": 813, - "loc": { - "start": { - "line": 24, - "column": 22 - }, - "end": { - "line": 24, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 813, - "end": 817, - "loc": { - "start": { - "line": 24, - "column": 23 - }, - "end": { - "line": 24, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 817, - "end": 818, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 28 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 818, - "end": 822, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 822, - "end": 823, - "loc": { - "start": { - "line": 24, - "column": 32 - }, - "end": { - "line": 24, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 824, - "end": 825, - "loc": { - "start": { - "line": 24, - "column": 34 - }, - "end": { - "line": 24, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 825, - "end": 826, - "loc": { - "start": { - "line": 24, - "column": 35 - }, - "end": { - "line": 24, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 826, - "end": 827, - "loc": { - "start": { - "line": 24, - "column": 36 - }, - "end": { - "line": 24, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 840, - "end": 847, - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 847, - "end": 848, - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 848, - "end": 850, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 850, - "end": 851, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 25, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 851, - "end": 855, - "loc": { - "start": { - "line": 25, - "column": 23 - }, - "end": { - "line": 25, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 855, - "end": 856, - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 25, - "column": 28 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 856, - "end": 860, - "loc": { - "start": { - "line": 25, - "column": 28 - }, - "end": { - "line": 25, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 860, - "end": 861, - "loc": { - "start": { - "line": 25, - "column": 32 - }, - "end": { - "line": 25, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 862, - "end": 863, - "loc": { - "start": { - "line": 25, - "column": 34 - }, - "end": { - "line": 25, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 863, - "end": 864, - "loc": { - "start": { - "line": 25, - "column": 35 - }, - "end": { - "line": 25, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 864, - "end": 865, - "loc": { - "start": { - "line": 25, - "column": 36 - }, - "end": { - "line": 25, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 878, - "end": 885, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 885, - "end": 886, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 886, - "end": 888, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 888, - "end": 889, - "loc": { - "start": { - "line": 26, - "column": 22 - }, - "end": { - "line": 26, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "call", - "start": 889, - "end": 893, - "loc": { - "start": { - "line": 26, - "column": 23 - }, - "end": { - "line": 26, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 893, - "end": 894, - "loc": { - "start": { - "line": 26, - "column": 27 - }, - "end": { - "line": 26, - "column": 28 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 894, - "end": 898, - "loc": { - "start": { - "line": 26, - "column": 28 - }, - "end": { - "line": 26, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 898, - "end": 899, - "loc": { - "start": { - "line": 26, - "column": 32 - }, - "end": { - "line": 26, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 900, - "end": 901, - "loc": { - "start": { - "line": 26, - "column": 34 - }, - "end": { - "line": 26, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 901, - "end": 902, - "loc": { - "start": { - "line": 26, - "column": 35 - }, - "end": { - "line": 26, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 902, - "end": 903, - "loc": { - "start": { - "line": 26, - "column": 36 - }, - "end": { - "line": 26, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 916, - "end": 922, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 922, - "end": 923, - "loc": { - "start": { - "line": 27, - "column": 18 - }, - "end": { - "line": 27, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 923, - "end": 927, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 927, - "end": 928, - "loc": { - "start": { - "line": 27, - "column": 23 - }, - "end": { - "line": 27, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 928, - "end": 937, - "loc": { - "start": { - "line": 27, - "column": 24 - }, - "end": { - "line": 27, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 937, - "end": 938, - "loc": { - "start": { - "line": 27, - "column": 33 - }, - "end": { - "line": 27, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 938, - "end": 939, - "loc": { - "start": { - "line": 27, - "column": 34 - }, - "end": { - "line": 27, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 939, - "end": 941, - "loc": { - "start": { - "line": 27, - "column": 35 - }, - "end": { - "line": 27, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 941, - "end": 942, - "loc": { - "start": { - "line": 27, - "column": 37 - }, - "end": { - "line": 27, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 942, - "end": 947, - "loc": { - "start": { - "line": 27, - "column": 38 - }, - "end": { - "line": 27, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 947, - "end": 948, - "loc": { - "start": { - "line": 27, - "column": 43 - }, - "end": { - "line": 27, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 948, - "end": 949, - "loc": { - "start": { - "line": 27, - "column": 44 - }, - "end": { - "line": 27, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 949, - "end": 950, - "loc": { - "start": { - "line": 27, - "column": 45 - }, - "end": { - "line": 27, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 950, - "end": 951, - "loc": { - "start": { - "line": 27, - "column": 46 - }, - "end": { - "line": 27, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 960, - "end": 961, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 961, - "end": 962, - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 962, - "end": 963, - "loc": { - "start": { - "line": 28, - "column": 10 - }, - "end": { - "line": 28, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 968, - "end": 969, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 29, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 969, - "end": 970, - "loc": { - "start": { - "line": 29, - "column": 5 - }, - "end": { - "line": 29, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 970, - "end": 971, - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 976, - "end": 984, - "loc": { - "start": { - "line": 30, - "column": 4 - }, - "end": { - "line": 30, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 984, - "end": 985, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "when combining proto and instance decorators", - "start": 985, - "end": 1031, - "loc": { - "start": { - "line": 30, - "column": 13 - }, - "end": { - "line": 30, - "column": 59 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1031, - "end": 1032, - "loc": { - "start": { - "line": 30, - "column": 59 - }, - "end": { - "line": 30, - "column": 60 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1033, - "end": 1034, - "loc": { - "start": { - "line": 30, - "column": 61 - }, - "end": { - "line": 30, - "column": 62 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1034, - "end": 1035, - "loc": { - "start": { - "line": 30, - "column": 62 - }, - "end": { - "line": 30, - "column": 63 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1036, - "end": 1038, - "loc": { - "start": { - "line": 30, - "column": 64 - }, - "end": { - "line": 30, - "column": 66 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1039, - "end": 1040, - "loc": { - "start": { - "line": 30, - "column": 67 - }, - "end": { - "line": 30, - "column": 68 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 1049, - "end": 1051, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1051, - "end": 1052, - "loc": { - "start": { - "line": 31, - "column": 10 - }, - "end": { - "line": 31, - "column": 11 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should apply both decorators", - "start": 1052, - "end": 1082, - "loc": { - "start": { - "line": 31, - "column": 11 - }, - "end": { - "line": 31, - "column": 41 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1082, - "end": 1083, - "loc": { - "start": { - "line": 31, - "column": 41 - }, - "end": { - "line": 31, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 1084, - "end": 1088, - "loc": { - "start": { - "line": 31, - "column": 43 - }, - "end": { - "line": 31, - "column": 47 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1089, - "end": 1091, - "loc": { - "start": { - "line": 31, - "column": 48 - }, - "end": { - "line": 31, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1092, - "end": 1093, - "loc": { - "start": { - "line": 31, - "column": 51 - }, - "end": { - "line": 31, - "column": 52 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1106, - "end": 1111, - "loc": { - "start": { - "line": 32, - "column": 12 - }, - "end": { - "line": 32, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1112, - "end": 1116, - "loc": { - "start": { - "line": 32, - "column": 18 - }, - "end": { - "line": 32, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1117, - "end": 1118, - "loc": { - "start": { - "line": 32, - "column": 23 - }, - "end": { - "line": 32, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 1119, - "end": 1122, - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1122, - "end": 1123, - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1123, - "end": 1124, - "loc": { - "start": { - "line": 32, - "column": 29 - }, - "end": { - "line": 32, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1124, - "end": 1125, - "loc": { - "start": { - "line": 32, - "column": 30 - }, - "end": { - "line": 32, - "column": 31 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 1138, - "end": 1143, - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 33, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1144, - "end": 1151, - "loc": { - "start": { - "line": 33, - "column": 18 - }, - "end": { - "line": 33, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1152, - "end": 1153, - "loc": { - "start": { - "line": 33, - "column": 26 - }, - "end": { - "line": 33, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1170, - "end": 1172, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1172, - "end": 1173, - "loc": { - "start": { - "line": 34, - "column": 18 - }, - "end": { - "line": 34, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 1173, - "end": 1174, - "loc": { - "start": { - "line": 34, - "column": 19 - }, - "end": { - "line": 34, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1174, - "end": 1175, - "loc": { - "start": { - "line": 34, - "column": 20 - }, - "end": { - "line": 34, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n2", - "start": 1176, - "end": 1178, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 34, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1178, - "end": 1179, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 34, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1180, - "end": 1181, - "loc": { - "start": { - "line": 34, - "column": 26 - }, - "end": { - "line": 34, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1202, - "end": 1208, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1208, - "end": 1209, - "loc": { - "start": { - "line": 35, - "column": 26 - }, - "end": { - "line": 35, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1209, - "end": 1213, - "loc": { - "start": { - "line": 35, - "column": 27 - }, - "end": { - "line": 35, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1213, - "end": 1214, - "loc": { - "start": { - "line": 35, - "column": 31 - }, - "end": { - "line": 35, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1214, - "end": 1215, - "loc": { - "start": { - "line": 35, - "column": 32 - }, - "end": { - "line": 35, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1215, - "end": 1217, - "loc": { - "start": { - "line": 35, - "column": 33 - }, - "end": { - "line": 35, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1217, - "end": 1218, - "loc": { - "start": { - "line": 35, - "column": 35 - }, - "end": { - "line": 35, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1218, - "end": 1223, - "loc": { - "start": { - "line": 35, - "column": 36 - }, - "end": { - "line": 35, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1223, - "end": 1224, - "loc": { - "start": { - "line": 35, - "column": 41 - }, - "end": { - "line": 35, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1224, - "end": 1231, - "loc": { - "start": { - "line": 35, - "column": 42 - }, - "end": { - "line": 35, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1231, - "end": 1232, - "loc": { - "start": { - "line": 35, - "column": 49 - }, - "end": { - "line": 35, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1232, - "end": 1233, - "loc": { - "start": { - "line": 35, - "column": 50 - }, - "end": { - "line": 35, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1254, - "end": 1258, - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1258, - "end": 1259, - "loc": { - "start": { - "line": 36, - "column": 24 - }, - "end": { - "line": 36, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 1259, - "end": 1260, - "loc": { - "start": { - "line": 36, - "column": 25 - }, - "end": { - "line": 36, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1260, - "end": 1261, - "loc": { - "start": { - "line": 36, - "column": 26 - }, - "end": { - "line": 36, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n2", - "start": 1262, - "end": 1264, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1264, - "end": 1265, - "loc": { - "start": { - "line": 36, - "column": 30 - }, - "end": { - "line": 36, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1265, - "end": 1266, - "loc": { - "start": { - "line": 36, - "column": 31 - }, - "end": { - "line": 36, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1283, - "end": 1284, - "loc": { - "start": { - "line": 37, - "column": 16 - }, - "end": { - "line": 37, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1297, - "end": 1298, - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 38, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1311, - "end": 1318, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1318, - "end": 1319, - "loc": { - "start": { - "line": 39, - "column": 19 - }, - "end": { - "line": 39, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1319, - "end": 1329, - "loc": { - "start": { - "line": 39, - "column": 20 - }, - "end": { - "line": 39, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1329, - "end": 1330, - "loc": { - "start": { - "line": 39, - "column": 30 - }, - "end": { - "line": 39, - "column": 31 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1330, - "end": 1331, - "loc": { - "start": { - "line": 39, - "column": 31 - }, - "end": { - "line": 39, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Curry", - "start": 1348, - "end": 1353, - "loc": { - "start": { - "line": 40, - "column": 16 - }, - "end": { - "line": 40, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1353, - "end": 1354, - "loc": { - "start": { - "line": 40, - "column": 21 - }, - "end": { - "line": 40, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 1354, - "end": 1355, - "loc": { - "start": { - "line": 40, - "column": 22 - }, - "end": { - "line": 40, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1355, - "end": 1356, - "loc": { - "start": { - "line": 40, - "column": 23 - }, - "end": { - "line": 40, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1356, - "end": 1357, - "loc": { - "start": { - "line": 40, - "column": 24 - }, - "end": { - "line": 40, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Delay", - "start": 1374, - "end": 1379, - "loc": { - "start": { - "line": 41, - "column": 16 - }, - "end": { - "line": 41, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1379, - "end": 1380, - "loc": { - "start": { - "line": 41, - "column": 21 - }, - "end": { - "line": 41, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1380, - "end": 1382, - "loc": { - "start": { - "line": 41, - "column": 22 - }, - "end": { - "line": 41, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1382, - "end": 1383, - "loc": { - "start": { - "line": 41, - "column": 24 - }, - "end": { - "line": 41, - "column": 25 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1396, - "end": 1397, - "loc": { - "start": { - "line": 42, - "column": 12 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1397, - "end": 1398, - "loc": { - "start": { - "line": 42, - "column": 13 - }, - "end": { - "line": 42, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1399, - "end": 1406, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1406, - "end": 1407, - "loc": { - "start": { - "line": 42, - "column": 22 - }, - "end": { - "line": 42, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1407, - "end": 1416, - "loc": { - "start": { - "line": 42, - "column": 23 - }, - "end": { - "line": 42, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1416, - "end": 1417, - "loc": { - "start": { - "line": 42, - "column": 32 - }, - "end": { - "line": 42, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 1418, - "end": 1422, - "loc": { - "start": { - "line": 42, - "column": 34 - }, - "end": { - "line": 42, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1422, - "end": 1423, - "loc": { - "start": { - "line": 42, - "column": 38 - }, - "end": { - "line": 42, - "column": 39 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1424, - "end": 1428, - "loc": { - "start": { - "line": 42, - "column": 40 - }, - "end": { - "line": 42, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1428, - "end": 1429, - "loc": { - "start": { - "line": 42, - "column": 44 - }, - "end": { - "line": 42, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1429, - "end": 1430, - "loc": { - "start": { - "line": 42, - "column": 45 - }, - "end": { - "line": 42, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1443, - "end": 1448, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1449, - "end": 1456, - "loc": { - "start": { - "line": 43, - "column": 18 - }, - "end": { - "line": 43, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1457, - "end": 1458, - "loc": { - "start": { - "line": 43, - "column": 26 - }, - "end": { - "line": 43, - "column": 27 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1459, - "end": 1462, - "loc": { - "start": { - "line": 43, - "column": 28 - }, - "end": { - "line": 43, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1463, - "end": 1470, - "loc": { - "start": { - "line": 43, - "column": 32 - }, - "end": { - "line": 43, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1470, - "end": 1471, - "loc": { - "start": { - "line": 43, - "column": 39 - }, - "end": { - "line": 43, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1471, - "end": 1472, - "loc": { - "start": { - "line": 43, - "column": 40 - }, - "end": { - "line": 43, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1472, - "end": 1473, - "loc": { - "start": { - "line": 43, - "column": 41 - }, - "end": { - "line": 43, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1486, - "end": 1491, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add10", - "start": 1492, - "end": 1497, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1498, - "end": 1499, - "loc": { - "start": { - "line": 44, - "column": 24 - }, - "end": { - "line": 44, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1500, - "end": 1507, - "loc": { - "start": { - "line": 44, - "column": 26 - }, - "end": { - "line": 44, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1507, - "end": 1508, - "loc": { - "start": { - "line": 44, - "column": 33 - }, - "end": { - "line": 44, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1508, - "end": 1510, - "loc": { - "start": { - "line": 44, - "column": 34 - }, - "end": { - "line": 44, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1510, - "end": 1511, - "loc": { - "start": { - "line": 44, - "column": 36 - }, - "end": { - "line": 44, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1511, - "end": 1513, - "loc": { - "start": { - "line": 44, - "column": 37 - }, - "end": { - "line": 44, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1513, - "end": 1514, - "loc": { - "start": { - "line": 44, - "column": 39 - }, - "end": { - "line": 44, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1514, - "end": 1515, - "loc": { - "start": { - "line": 44, - "column": 40 - }, - "end": { - "line": 44, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1528, - "end": 1534, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1534, - "end": 1535, - "loc": { - "start": { - "line": 45, - "column": 18 - }, - "end": { - "line": 45, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1535, - "end": 1539, - "loc": { - "start": { - "line": 45, - "column": 19 - }, - "end": { - "line": 45, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1539, - "end": 1540, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "called", - "start": 1540, - "end": 1546, - "loc": { - "start": { - "line": 45, - "column": 24 - }, - "end": { - "line": 45, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1546, - "end": 1547, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1547, - "end": 1548, - "loc": { - "start": { - "line": 45, - "column": 31 - }, - "end": { - "line": 45, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1548, - "end": 1550, - "loc": { - "start": { - "line": 45, - "column": 32 - }, - "end": { - "line": 45, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1550, - "end": 1551, - "loc": { - "start": { - "line": 45, - "column": 34 - }, - "end": { - "line": 45, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 1551, - "end": 1553, - "loc": { - "start": { - "line": 45, - "column": 35 - }, - "end": { - "line": 45, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1553, - "end": 1554, - "loc": { - "start": { - "line": 45, - "column": 37 - }, - "end": { - "line": 45, - "column": 38 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 1554, - "end": 1559, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1559, - "end": 1560, - "loc": { - "start": { - "line": 45, - "column": 43 - }, - "end": { - "line": 45, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add10", - "start": 1573, - "end": 1578, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1578, - "end": 1579, - "loc": { - "start": { - "line": 46, - "column": 17 - }, - "end": { - "line": 46, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1579, - "end": 1580, - "loc": { - "start": { - "line": 46, - "column": 18 - }, - "end": { - "line": 46, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1580, - "end": 1581, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 46, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1581, - "end": 1582, - "loc": { - "start": { - "line": 46, - "column": 20 - }, - "end": { - "line": 46, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1595, - "end": 1601, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1601, - "end": 1602, - "loc": { - "start": { - "line": 47, - "column": 18 - }, - "end": { - "line": 47, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1602, - "end": 1606, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1606, - "end": 1607, - "loc": { - "start": { - "line": 47, - "column": 23 - }, - "end": { - "line": 47, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "called", - "start": 1607, - "end": 1613, - "loc": { - "start": { - "line": 47, - "column": 24 - }, - "end": { - "line": 47, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1613, - "end": 1614, - "loc": { - "start": { - "line": 47, - "column": 30 - }, - "end": { - "line": 47, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1614, - "end": 1615, - "loc": { - "start": { - "line": 47, - "column": 31 - }, - "end": { - "line": 47, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1615, - "end": 1617, - "loc": { - "start": { - "line": 47, - "column": 32 - }, - "end": { - "line": 47, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1617, - "end": 1618, - "loc": { - "start": { - "line": 47, - "column": 34 - }, - "end": { - "line": 47, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 1618, - "end": 1620, - "loc": { - "start": { - "line": 47, - "column": 35 - }, - "end": { - "line": 47, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1620, - "end": 1621, - "loc": { - "start": { - "line": 47, - "column": 37 - }, - "end": { - "line": 47, - "column": 38 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 1621, - "end": 1626, - "loc": { - "start": { - "line": 47, - "column": 38 - }, - "end": { - "line": 47, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1626, - "end": 1627, - "loc": { - "start": { - "line": 47, - "column": 43 - }, - "end": { - "line": 47, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 1640, - "end": 1650, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1650, - "end": 1651, - "loc": { - "start": { - "line": 48, - "column": 22 - }, - "end": { - "line": 48, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1651, - "end": 1652, - "loc": { - "start": { - "line": 48, - "column": 23 - }, - "end": { - "line": 48, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1652, - "end": 1653, - "loc": { - "start": { - "line": 48, - "column": 24 - }, - "end": { - "line": 48, - "column": 25 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1654, - "end": 1656, - "loc": { - "start": { - "line": 48, - "column": 26 - }, - "end": { - "line": 48, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1657, - "end": 1658, - "loc": { - "start": { - "line": 48, - "column": 29 - }, - "end": { - "line": 48, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1675, - "end": 1681, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1681, - "end": 1682, - "loc": { - "start": { - "line": 49, - "column": 22 - }, - "end": { - "line": 49, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1682, - "end": 1686, - "loc": { - "start": { - "line": 49, - "column": 23 - }, - "end": { - "line": 49, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1686, - "end": 1687, - "loc": { - "start": { - "line": 49, - "column": 27 - }, - "end": { - "line": 49, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 1687, - "end": 1696, - "loc": { - "start": { - "line": 49, - "column": 28 - }, - "end": { - "line": 49, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1696, - "end": 1697, - "loc": { - "start": { - "line": 49, - "column": 37 - }, - "end": { - "line": 49, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1697, - "end": 1698, - "loc": { - "start": { - "line": 49, - "column": 38 - }, - "end": { - "line": 49, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1698, - "end": 1700, - "loc": { - "start": { - "line": 49, - "column": 39 - }, - "end": { - "line": 49, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1700, - "end": 1701, - "loc": { - "start": { - "line": 49, - "column": 41 - }, - "end": { - "line": 49, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1701, - "end": 1706, - "loc": { - "start": { - "line": 49, - "column": 42 - }, - "end": { - "line": 49, - "column": 47 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1706, - "end": 1707, - "loc": { - "start": { - "line": 49, - "column": 47 - }, - "end": { - "line": 49, - "column": 48 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1707, - "end": 1708, - "loc": { - "start": { - "line": 49, - "column": 48 - }, - "end": { - "line": 49, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1708, - "end": 1709, - "loc": { - "start": { - "line": 49, - "column": 49 - }, - "end": { - "line": 49, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1709, - "end": 1710, - "loc": { - "start": { - "line": 49, - "column": 50 - }, - "end": { - "line": 49, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1727, - "end": 1733, - "loc": { - "start": { - "line": 50, - "column": 16 - }, - "end": { - "line": 50, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1733, - "end": 1734, - "loc": { - "start": { - "line": 50, - "column": 22 - }, - "end": { - "line": 50, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1734, - "end": 1738, - "loc": { - "start": { - "line": 50, - "column": 23 - }, - "end": { - "line": 50, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1738, - "end": 1739, - "loc": { - "start": { - "line": 50, - "column": 27 - }, - "end": { - "line": 50, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCalls", - "start": 1739, - "end": 1747, - "loc": { - "start": { - "line": 50, - "column": 28 - }, - "end": { - "line": 50, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1747, - "end": 1748, - "loc": { - "start": { - "line": 50, - "column": 36 - }, - "end": { - "line": 50, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1748, - "end": 1749, - "loc": { - "start": { - "line": 50, - "column": 37 - }, - "end": { - "line": 50, - "column": 38 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1749, - "end": 1750, - "loc": { - "start": { - "line": 50, - "column": 38 - }, - "end": { - "line": 50, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 1750, - "end": 1751, - "loc": { - "start": { - "line": 50, - "column": 39 - }, - "end": { - "line": 50, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1751, - "end": 1752, - "loc": { - "start": { - "line": 50, - "column": 40 - }, - "end": { - "line": 50, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1752, - "end": 1753, - "loc": { - "start": { - "line": 50, - "column": 41 - }, - "end": { - "line": 50, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 1753, - "end": 1757, - "loc": { - "start": { - "line": 50, - "column": 42 - }, - "end": { - "line": 50, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1757, - "end": 1758, - "loc": { - "start": { - "line": 50, - "column": 46 - }, - "end": { - "line": 50, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1758, - "end": 1759, - "loc": { - "start": { - "line": 50, - "column": 47 - }, - "end": { - "line": 50, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1759, - "end": 1761, - "loc": { - "start": { - "line": 50, - "column": 48 - }, - "end": { - "line": 50, - "column": 50 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1761, - "end": 1762, - "loc": { - "start": { - "line": 50, - "column": 50 - }, - "end": { - "line": 50, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 1762, - "end": 1765, - "loc": { - "start": { - "line": 50, - "column": 51 - }, - "end": { - "line": 50, - "column": 54 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1765, - "end": 1766, - "loc": { - "start": { - "line": 50, - "column": 54 - }, - "end": { - "line": 50, - "column": 55 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1766, - "end": 1767, - "loc": { - "start": { - "line": 50, - "column": 55 - }, - "end": { - "line": 50, - "column": 56 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1767, - "end": 1769, - "loc": { - "start": { - "line": 50, - "column": 56 - }, - "end": { - "line": 50, - "column": 58 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1769, - "end": 1770, - "loc": { - "start": { - "line": 50, - "column": 58 - }, - "end": { - "line": 50, - "column": 59 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1771, - "end": 1772, - "loc": { - "start": { - "line": 50, - "column": 60 - }, - "end": { - "line": 50, - "column": 61 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1772, - "end": 1773, - "loc": { - "start": { - "line": 50, - "column": 61 - }, - "end": { - "line": 50, - "column": 62 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1773, - "end": 1774, - "loc": { - "start": { - "line": 50, - "column": 62 - }, - "end": { - "line": 50, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1774, - "end": 1775, - "loc": { - "start": { - "line": 50, - "column": 63 - }, - "end": { - "line": 50, - "column": 64 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 1792, - "end": 1796, - "loc": { - "start": { - "line": 51, - "column": 16 - }, - "end": { - "line": 51, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1796, - "end": 1797, - "loc": { - "start": { - "line": 51, - "column": 20 - }, - "end": { - "line": 51, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1797, - "end": 1798, - "loc": { - "start": { - "line": 51, - "column": 21 - }, - "end": { - "line": 51, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1798, - "end": 1799, - "loc": { - "start": { - "line": 51, - "column": 22 - }, - "end": { - "line": 51, - "column": 23 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1812, - "end": 1813, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 13 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1813, - "end": 1814, - "loc": { - "start": { - "line": 52, - "column": 13 - }, - "end": { - "line": 52, - "column": 14 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 1815, - "end": 1817, - "loc": { - "start": { - "line": 52, - "column": 15 - }, - "end": { - "line": 52, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1817, - "end": 1818, - "loc": { - "start": { - "line": 52, - "column": 17 - }, - "end": { - "line": 52, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1818, - "end": 1819, - "loc": { - "start": { - "line": 52, - "column": 18 - }, - "end": { - "line": 52, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1828, - "end": 1829, - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1829, - "end": 1830, - "loc": { - "start": { - "line": 53, - "column": 9 - }, - "end": { - "line": 53, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1830, - "end": 1831, - "loc": { - "start": { - "line": 53, - "column": 10 - }, - "end": { - "line": 53, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 1840, - "end": 1848, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1848, - "end": 1849, - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, - "column": 17 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "when proto is after instance", - "start": 1849, - "end": 1879, - "loc": { - "start": { - "line": 54, - "column": 17 - }, - "end": { - "line": 54, - "column": 47 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1879, - "end": 1880, - "loc": { - "start": { - "line": 54, - "column": 47 - }, - "end": { - "line": 54, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1881, - "end": 1882, - "loc": { - "start": { - "line": 54, - "column": 49 - }, - "end": { - "line": 54, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1882, - "end": 1883, - "loc": { - "start": { - "line": 54, - "column": 50 - }, - "end": { - "line": 54, - "column": 51 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1884, - "end": 1886, - "loc": { - "start": { - "line": 54, - "column": 52 - }, - "end": { - "line": 54, - "column": 54 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1887, - "end": 1888, - "loc": { - "start": { - "line": 54, - "column": 55 - }, - "end": { - "line": 54, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 1901, - "end": 1903, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1903, - "end": 1904, - "loc": { - "start": { - "line": 55, - "column": 14 - }, - "end": { - "line": 55, - "column": 15 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should only apply the instance decorator", - "start": 1904, - "end": 1946, - "loc": { - "start": { - "line": 55, - "column": 15 - }, - "end": { - "line": 55, - "column": 57 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1946, - "end": 1947, - "loc": { - "start": { - "line": 55, - "column": 57 - }, - "end": { - "line": 55, - "column": 58 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1948, - "end": 1949, - "loc": { - "start": { - "line": 55, - "column": 59 - }, - "end": { - "line": 55, - "column": 60 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1949, - "end": 1950, - "loc": { - "start": { - "line": 55, - "column": 60 - }, - "end": { - "line": 55, - "column": 61 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1951, - "end": 1953, - "loc": { - "start": { - "line": 55, - "column": 62 - }, - "end": { - "line": 55, - "column": 64 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1954, - "end": 1955, - "loc": { - "start": { - "line": 55, - "column": 65 - }, - "end": { - "line": 55, - "column": 66 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1972, - "end": 1977, - "loc": { - "start": { - "line": 56, - "column": 16 - }, - "end": { - "line": 56, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1978, - "end": 1982, - "loc": { - "start": { - "line": 56, - "column": 22 - }, - "end": { - "line": 56, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1983, - "end": 1984, - "loc": { - "start": { - "line": 56, - "column": 27 - }, - "end": { - "line": 56, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 1985, - "end": 1988, - "loc": { - "start": { - "line": 56, - "column": 29 - }, - "end": { - "line": 56, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1988, - "end": 1989, - "loc": { - "start": { - "line": 56, - "column": 32 - }, - "end": { - "line": 56, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1989, - "end": 1990, - "loc": { - "start": { - "line": 56, - "column": 33 - }, - "end": { - "line": 56, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1990, - "end": 1991, - "loc": { - "start": { - "line": 56, - "column": 34 - }, - "end": { - "line": 56, - "column": 35 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 2008, - "end": 2013, - "loc": { - "start": { - "line": 57, - "column": 16 - }, - "end": { - "line": 57, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 2014, - "end": 2021, - "loc": { - "start": { - "line": 57, - "column": 22 - }, - "end": { - "line": 57, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2022, - "end": 2023, - "loc": { - "start": { - "line": 57, - "column": 30 - }, - "end": { - "line": 57, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2044, - "end": 2046, - "loc": { - "start": { - "line": 58, - "column": 20 - }, - "end": { - "line": 58, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2046, - "end": 2047, - "loc": { - "start": { - "line": 58, - "column": 22 - }, - "end": { - "line": 58, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 2047, - "end": 2048, - "loc": { - "start": { - "line": 58, - "column": 23 - }, - "end": { - "line": 58, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2048, - "end": 2049, - "loc": { - "start": { - "line": 58, - "column": 24 - }, - "end": { - "line": 58, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n2", - "start": 2050, - "end": 2052, - "loc": { - "start": { - "line": 58, - "column": 26 - }, - "end": { - "line": 58, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2052, - "end": 2053, - "loc": { - "start": { - "line": 58, - "column": 28 - }, - "end": { - "line": 58, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2054, - "end": 2055, - "loc": { - "start": { - "line": 58, - "column": 30 - }, - "end": { - "line": 58, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2080, - "end": 2086, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2086, - "end": 2087, - "loc": { - "start": { - "line": 59, - "column": 30 - }, - "end": { - "line": 59, - "column": 31 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2087, - "end": 2091, - "loc": { - "start": { - "line": 59, - "column": 31 - }, - "end": { - "line": 59, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2091, - "end": 2092, - "loc": { - "start": { - "line": 59, - "column": 35 - }, - "end": { - "line": 59, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2092, - "end": 2093, - "loc": { - "start": { - "line": 59, - "column": 36 - }, - "end": { - "line": 59, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2093, - "end": 2095, - "loc": { - "start": { - "line": 59, - "column": 37 - }, - "end": { - "line": 59, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2095, - "end": 2096, - "loc": { - "start": { - "line": 59, - "column": 39 - }, - "end": { - "line": 59, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 2096, - "end": 2101, - "loc": { - "start": { - "line": 59, - "column": 40 - }, - "end": { - "line": 59, - "column": 45 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2101, - "end": 2102, - "loc": { - "start": { - "line": 59, - "column": 45 - }, - "end": { - "line": 59, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2102, - "end": 2109, - "loc": { - "start": { - "line": 59, - "column": 46 - }, - "end": { - "line": 59, - "column": 53 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2109, - "end": 2110, - "loc": { - "start": { - "line": 59, - "column": 53 - }, - "end": { - "line": 59, - "column": 54 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2110, - "end": 2111, - "loc": { - "start": { - "line": 59, - "column": 54 - }, - "end": { - "line": 59, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 2136, - "end": 2140, - "loc": { - "start": { - "line": 60, - "column": 24 - }, - "end": { - "line": 60, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2140, - "end": 2141, - "loc": { - "start": { - "line": 60, - "column": 28 - }, - "end": { - "line": 60, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 2141, - "end": 2142, - "loc": { - "start": { - "line": 60, - "column": 29 - }, - "end": { - "line": 60, - "column": 30 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2142, - "end": 2143, - "loc": { - "start": { - "line": 60, - "column": 30 - }, - "end": { - "line": 60, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n2", - "start": 2144, - "end": 2146, - "loc": { - "start": { - "line": 60, - "column": 32 - }, - "end": { - "line": 60, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2146, - "end": 2147, - "loc": { - "start": { - "line": 60, - "column": 34 - }, - "end": { - "line": 60, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2147, - "end": 2148, - "loc": { - "start": { - "line": 60, - "column": 35 - }, - "end": { - "line": 60, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2169, - "end": 2170, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 21 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2187, - "end": 2188, - "loc": { - "start": { - "line": 62, - "column": 16 - }, - "end": { - "line": 62, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 2205, - "end": 2212, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2212, - "end": 2213, - "loc": { - "start": { - "line": 63, - "column": 23 - }, - "end": { - "line": 63, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 2213, - "end": 2223, - "loc": { - "start": { - "line": 63, - "column": 24 - }, - "end": { - "line": 63, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2223, - "end": 2224, - "loc": { - "start": { - "line": 63, - "column": 34 - }, - "end": { - "line": 63, - "column": 35 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2224, - "end": 2225, - "loc": { - "start": { - "line": 63, - "column": 35 - }, - "end": { - "line": 63, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Delay", - "start": 2246, - "end": 2251, - "loc": { - "start": { - "line": 64, - "column": 20 - }, - "end": { - "line": 64, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2251, - "end": 2252, - "loc": { - "start": { - "line": 64, - "column": 25 - }, - "end": { - "line": 64, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 2252, - "end": 2254, - "loc": { - "start": { - "line": 64, - "column": 26 - }, - "end": { - "line": 64, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2254, - "end": 2255, - "loc": { - "start": { - "line": 64, - "column": 28 - }, - "end": { - "line": 64, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2255, - "end": 2256, - "loc": { - "start": { - "line": 64, - "column": 29 - }, - "end": { - "line": 64, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Curry", - "start": 2277, - "end": 2282, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2282, - "end": 2283, - "loc": { - "start": { - "line": 65, - "column": 25 - }, - "end": { - "line": 65, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 2283, - "end": 2284, - "loc": { - "start": { - "line": 65, - "column": 26 - }, - "end": { - "line": 65, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2284, - "end": 2285, - "loc": { - "start": { - "line": 65, - "column": 27 - }, - "end": { - "line": 65, - "column": 28 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2302, - "end": 2303, - "loc": { - "start": { - "line": 66, - "column": 16 - }, - "end": { - "line": 66, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2303, - "end": 2304, - "loc": { - "start": { - "line": 66, - "column": 17 - }, - "end": { - "line": 66, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 2305, - "end": 2312, - "loc": { - "start": { - "line": 66, - "column": 19 - }, - "end": { - "line": 66, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2312, - "end": 2313, - "loc": { - "start": { - "line": 66, - "column": 26 - }, - "end": { - "line": 66, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 2313, - "end": 2322, - "loc": { - "start": { - "line": 66, - "column": 27 - }, - "end": { - "line": 66, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2322, - "end": 2323, - "loc": { - "start": { - "line": 66, - "column": 36 - }, - "end": { - "line": 66, - "column": 37 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 2324, - "end": 2328, - "loc": { - "start": { - "line": 66, - "column": 38 - }, - "end": { - "line": 66, - "column": 42 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2328, - "end": 2329, - "loc": { - "start": { - "line": 66, - "column": 42 - }, - "end": { - "line": 66, - "column": 43 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 2330, - "end": 2334, - "loc": { - "start": { - "line": 66, - "column": 44 - }, - "end": { - "line": 66, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2334, - "end": 2335, - "loc": { - "start": { - "line": 66, - "column": 48 - }, - "end": { - "line": 66, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2335, - "end": 2336, - "loc": { - "start": { - "line": 66, - "column": 49 - }, - "end": { - "line": 66, - "column": 50 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 2353, - "end": 2358, - "loc": { - "start": { - "line": 67, - "column": 16 - }, - "end": { - "line": 67, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2359, - "end": 2366, - "loc": { - "start": { - "line": 67, - "column": 22 - }, - "end": { - "line": 67, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2367, - "end": 2368, - "loc": { - "start": { - "line": 67, - "column": 30 - }, - "end": { - "line": 67, - "column": 31 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 2369, - "end": 2372, - "loc": { - "start": { - "line": 67, - "column": 32 - }, - "end": { - "line": 67, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 2373, - "end": 2380, - "loc": { - "start": { - "line": 67, - "column": 36 - }, - "end": { - "line": 67, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2380, - "end": 2381, - "loc": { - "start": { - "line": 67, - "column": 43 - }, - "end": { - "line": 67, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2381, - "end": 2382, - "loc": { - "start": { - "line": 67, - "column": 44 - }, - "end": { - "line": 67, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2382, - "end": 2383, - "loc": { - "start": { - "line": 67, - "column": 45 - }, - "end": { - "line": 67, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 2400, - "end": 2405, - "loc": { - "start": { - "line": 68, - "column": 16 - }, - "end": { - "line": 68, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add10", - "start": 2406, - "end": 2411, - "loc": { - "start": { - "line": 68, - "column": 22 - }, - "end": { - "line": 68, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2412, - "end": 2413, - "loc": { - "start": { - "line": 68, - "column": 28 - }, - "end": { - "line": 68, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2414, - "end": 2421, - "loc": { - "start": { - "line": 68, - "column": 30 - }, - "end": { - "line": 68, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2421, - "end": 2422, - "loc": { - "start": { - "line": 68, - "column": 37 - }, - "end": { - "line": 68, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2422, - "end": 2424, - "loc": { - "start": { - "line": 68, - "column": 38 - }, - "end": { - "line": 68, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2424, - "end": 2425, - "loc": { - "start": { - "line": 68, - "column": 40 - }, - "end": { - "line": 68, - "column": 41 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 2425, - "end": 2427, - "loc": { - "start": { - "line": 68, - "column": 41 - }, - "end": { - "line": 68, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2427, - "end": 2428, - "loc": { - "start": { - "line": 68, - "column": 43 - }, - "end": { - "line": 68, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2428, - "end": 2429, - "loc": { - "start": { - "line": 68, - "column": 44 - }, - "end": { - "line": 68, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2446, - "end": 2452, - "loc": { - "start": { - "line": 69, - "column": 16 - }, - "end": { - "line": 69, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2452, - "end": 2453, - "loc": { - "start": { - "line": 69, - "column": 22 - }, - "end": { - "line": 69, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 2453, - "end": 2457, - "loc": { - "start": { - "line": 69, - "column": 23 - }, - "end": { - "line": 69, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2457, - "end": 2458, - "loc": { - "start": { - "line": 69, - "column": 27 - }, - "end": { - "line": 69, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "called", - "start": 2458, - "end": 2464, - "loc": { - "start": { - "line": 69, - "column": 28 - }, - "end": { - "line": 69, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2464, - "end": 2465, - "loc": { - "start": { - "line": 69, - "column": 34 - }, - "end": { - "line": 69, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2465, - "end": 2466, - "loc": { - "start": { - "line": 69, - "column": 35 - }, - "end": { - "line": 69, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2466, - "end": 2468, - "loc": { - "start": { - "line": 69, - "column": 36 - }, - "end": { - "line": 69, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2468, - "end": 2469, - "loc": { - "start": { - "line": 69, - "column": 38 - }, - "end": { - "line": 69, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 2469, - "end": 2471, - "loc": { - "start": { - "line": 69, - "column": 39 - }, - "end": { - "line": 69, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2471, - "end": 2472, - "loc": { - "start": { - "line": 69, - "column": 41 - }, - "end": { - "line": 69, - "column": 42 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 2472, - "end": 2477, - "loc": { - "start": { - "line": 69, - "column": 42 - }, - "end": { - "line": 69, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2477, - "end": 2478, - "loc": { - "start": { - "line": 69, - "column": 47 - }, - "end": { - "line": 69, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add10", - "start": 2495, - "end": 2500, - "loc": { - "start": { - "line": 70, - "column": 16 - }, - "end": { - "line": 70, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2500, - "end": 2501, - "loc": { - "start": { - "line": 70, - "column": 21 - }, - "end": { - "line": 70, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 2501, - "end": 2502, - "loc": { - "start": { - "line": 70, - "column": 22 - }, - "end": { - "line": 70, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2502, - "end": 2503, - "loc": { - "start": { - "line": 70, - "column": 23 - }, - "end": { - "line": 70, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2503, - "end": 2504, - "loc": { - "start": { - "line": 70, - "column": 24 - }, - "end": { - "line": 70, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2521, - "end": 2527, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2527, - "end": 2528, - "loc": { - "start": { - "line": 71, - "column": 22 - }, - "end": { - "line": 71, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 2528, - "end": 2532, - "loc": { - "start": { - "line": 71, - "column": 23 - }, - "end": { - "line": 71, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2532, - "end": 2533, - "loc": { - "start": { - "line": 71, - "column": 27 - }, - "end": { - "line": 71, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "called", - "start": 2533, - "end": 2539, - "loc": { - "start": { - "line": 71, - "column": 28 - }, - "end": { - "line": 71, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2539, - "end": 2540, - "loc": { - "start": { - "line": 71, - "column": 34 - }, - "end": { - "line": 71, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2540, - "end": 2541, - "loc": { - "start": { - "line": 71, - "column": 35 - }, - "end": { - "line": 71, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2541, - "end": 2543, - "loc": { - "start": { - "line": 71, - "column": 36 - }, - "end": { - "line": 71, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2543, - "end": 2544, - "loc": { - "start": { - "line": 71, - "column": 38 - }, - "end": { - "line": 71, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 2544, - "end": 2546, - "loc": { - "start": { - "line": 71, - "column": 39 - }, - "end": { - "line": 71, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2546, - "end": 2547, - "loc": { - "start": { - "line": 71, - "column": 41 - }, - "end": { - "line": 71, - "column": 42 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 2547, - "end": 2551, - "loc": { - "start": { - "line": 71, - "column": 42 - }, - "end": { - "line": 71, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2551, - "end": 2552, - "loc": { - "start": { - "line": 71, - "column": 46 - }, - "end": { - "line": 71, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2569, - "end": 2575, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2575, - "end": 2576, - "loc": { - "start": { - "line": 72, - "column": 22 - }, - "end": { - "line": 72, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 2576, - "end": 2580, - "loc": { - "start": { - "line": 72, - "column": 23 - }, - "end": { - "line": 72, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2580, - "end": 2581, - "loc": { - "start": { - "line": 72, - "column": 27 - }, - "end": { - "line": 72, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCalls", - "start": 2581, - "end": 2589, - "loc": { - "start": { - "line": 72, - "column": 28 - }, - "end": { - "line": 72, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2589, - "end": 2590, - "loc": { - "start": { - "line": 72, - "column": 36 - }, - "end": { - "line": 72, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2590, - "end": 2591, - "loc": { - "start": { - "line": 72, - "column": 37 - }, - "end": { - "line": 72, - "column": 38 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2591, - "end": 2592, - "loc": { - "start": { - "line": 72, - "column": 38 - }, - "end": { - "line": 72, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 2592, - "end": 2593, - "loc": { - "start": { - "line": 72, - "column": 39 - }, - "end": { - "line": 72, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2593, - "end": 2594, - "loc": { - "start": { - "line": 72, - "column": 40 - }, - "end": { - "line": 72, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2594, - "end": 2595, - "loc": { - "start": { - "line": 72, - "column": 41 - }, - "end": { - "line": 72, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 2595, - "end": 2599, - "loc": { - "start": { - "line": 72, - "column": 42 - }, - "end": { - "line": 72, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2599, - "end": 2600, - "loc": { - "start": { - "line": 72, - "column": 46 - }, - "end": { - "line": 72, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2600, - "end": 2601, - "loc": { - "start": { - "line": 72, - "column": 47 - }, - "end": { - "line": 72, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2601, - "end": 2603, - "loc": { - "start": { - "line": 72, - "column": 48 - }, - "end": { - "line": 72, - "column": 50 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2603, - "end": 2604, - "loc": { - "start": { - "line": 72, - "column": 50 - }, - "end": { - "line": 72, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 2604, - "end": 2607, - "loc": { - "start": { - "line": 72, - "column": 51 - }, - "end": { - "line": 72, - "column": 54 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2607, - "end": 2608, - "loc": { - "start": { - "line": 72, - "column": 54 - }, - "end": { - "line": 72, - "column": 55 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2608, - "end": 2609, - "loc": { - "start": { - "line": 72, - "column": 55 - }, - "end": { - "line": 72, - "column": 56 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 2609, - "end": 2611, - "loc": { - "start": { - "line": 72, - "column": 56 - }, - "end": { - "line": 72, - "column": 58 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2611, - "end": 2612, - "loc": { - "start": { - "line": 72, - "column": 58 - }, - "end": { - "line": 72, - "column": 59 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 2613, - "end": 2614, - "loc": { - "start": { - "line": 72, - "column": 60 - }, - "end": { - "line": 72, - "column": 61 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2614, - "end": 2615, - "loc": { - "start": { - "line": 72, - "column": 61 - }, - "end": { - "line": 72, - "column": 62 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2615, - "end": 2616, - "loc": { - "start": { - "line": 72, - "column": 62 - }, - "end": { - "line": 72, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2616, - "end": 2617, - "loc": { - "start": { - "line": 72, - "column": 63 - }, - "end": { - "line": 72, - "column": 64 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2630, - "end": 2631, - "loc": { - "start": { - "line": 73, - "column": 12 - }, - "end": { - "line": 73, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2631, - "end": 2632, - "loc": { - "start": { - "line": 73, - "column": 13 - }, - "end": { - "line": 73, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2632, - "end": 2633, - "loc": { - "start": { - "line": 73, - "column": 14 - }, - "end": { - "line": 73, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2642, - "end": 2643, - "loc": { - "start": { - "line": 74, - "column": 8 - }, - "end": { - "line": 74, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2643, - "end": 2644, - "loc": { - "start": { - "line": 74, - "column": 9 - }, - "end": { - "line": 74, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2644, - "end": 2645, - "loc": { - "start": { - "line": 74, - "column": 10 - }, - "end": { - "line": 74, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2650, - "end": 2651, - "loc": { - "start": { - "line": 75, - "column": 4 - }, - "end": { - "line": 75, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2651, - "end": 2652, - "loc": { - "start": { - "line": 75, - "column": 5 - }, - "end": { - "line": 75, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2652, - "end": 2653, - "loc": { - "start": { - "line": 75, - "column": 6 - }, - "end": { - "line": 75, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2654, - "end": 2655, - "loc": { - "start": { - "line": 76, - "column": 0 - }, - "end": { - "line": 76, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2655, - "end": 2656, - "loc": { - "start": { - "line": 76, - "column": 1 - }, - "end": { - "line": 76, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2656, - "end": 2657, - "loc": { - "start": { - "line": 76, - "column": 2 - }, - "end": { - "line": 76, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2658, - "end": 2658, - "loc": { - "start": { - "line": 77, - "column": 0 - }, - "end": { - "line": 77, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/curry.spec.js.json b/docs/ast/test/curry.spec.js.json deleted file mode 100644 index df5fb3f..0000000 --- a/docs/ast/test/curry.spec.js.json +++ /dev/null @@ -1,12580 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1456, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 50, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1456, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 50, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "Curry" - }, - "name": "Curry" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "Curry" - }, - "name": "Curry" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - }, - "extra": { - "rawValue": "./curry", - "raw": "'./curry'" - }, - "value": "./curry" - } - }, - { - "type": "ExpressionStatement", - "start": 98, - "end": 1455, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 49, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 98, - "end": 1454, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 49, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - }, - "extra": { - "rawValue": "curry", - "raw": "'curry'" - }, - "value": "curry" - }, - { - "type": "ArrowFunctionExpression", - "start": 116, - "end": 1453, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 49, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 122, - "end": 1453, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 49, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 128, - "end": 554, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 18, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 128, - "end": 553, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 18, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 131, - "end": 175, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - }, - "extra": { - "rawValue": "should curry the method with default arity", - "raw": "'should curry the method with default arity'" - }, - "value": "should curry the method with default arity" - }, - { - "type": "ArrowFunctionExpression", - "start": 177, - "end": 552, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 18, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 183, - "end": 552, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 18, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 193, - "end": 286, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 199, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 207, - "end": 286, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 221, - "end": 276, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 221, - "end": 224, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - }, - "identifierName": "add" - }, - "name": "add" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 225, - "end": 226, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 228, - "end": 229, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - }, - "identifierName": "b" - }, - "name": "b" - } - ], - "body": { - "type": "BlockStatement", - "start": 231, - "end": 276, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 249, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 29 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 256, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 28 - } - }, - "left": { - "type": "Identifier", - "start": 256, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 24 - }, - "identifierName": "a" - }, - "name": "a" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 260, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 295, - "end": 379, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 295, - "end": 378, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 295, - "end": 313, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 295, - "end": 302, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 303, - "end": 313, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 314, - "end": 345, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 328, - "end": 335, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 19 - } - }, - "callee": { - "type": "Identifier", - "start": 328, - "end": 333, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 17 - }, - "identifierName": "Curry" - }, - "name": "Curry" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 347, - "end": 364, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 347, - "end": 354, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 355, - "end": 364, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 366, - "end": 371, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 35 - } - }, - "extra": { - "rawValue": "add", - "raw": "\"add\"" - }, - "value": "add" - }, - { - "type": "NullLiteral", - "start": 373, - "end": 377, - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 388, - "end": 418, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 394, - "end": 417, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 394, - "end": 401, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 404, - "end": 417, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 427, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 433, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 433, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 18 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "init": { - "type": "CallExpression", - "start": 440, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 440, - "end": 451, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 440, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 28 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 448, - "end": 451, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 32 - }, - "identifierName": "add" - }, - "name": "add" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 452, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 464, - "end": 507, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 464, - "end": 506, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 464, - "end": 496, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 464, - "end": 485, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 464, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 26 - } - }, - "object": { - "type": "MemberExpression", - "start": 464, - "end": 479, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 23 - } - }, - "object": { - "type": "CallExpression", - "start": 464, - "end": 476, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 464, - "end": 470, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 471, - "end": 475, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 19 - }, - "identifierName": "add5" - }, - "name": "add5" - } - ] - }, - "property": { - "type": "Identifier", - "start": 477, - "end": 479, - "loc": { - "start": { - "line": 16, - "column": 21 - }, - "end": { - "line": 16, - "column": 23 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 480, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 26 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 483, - "end": 485, - "loc": { - "start": { - "line": 16, - "column": 27 - }, - "end": { - "line": 16, - "column": 29 - }, - "identifierName": "an" - }, - "name": "an" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 486, - "end": 496, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 40 - }, - "identifierName": "instanceOf" - }, - "name": "instanceOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 497, - "end": 505, - "loc": { - "start": { - "line": 16, - "column": 41 - }, - "end": { - "line": 16, - "column": 49 - }, - "identifierName": "Function" - }, - "name": "Function" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 516, - "end": 546, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 516, - "end": 545, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 516, - "end": 541, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 516, - "end": 535, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 27 - } - }, - "object": { - "type": "CallExpression", - "start": 516, - "end": 532, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 516, - "end": 522, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 523, - "end": 531, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 523, - "end": 527, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 19 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 528, - "end": 530, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 22 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 533, - "end": 535, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 27 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 536, - "end": 541, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 33 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 542, - "end": 544, - "loc": { - "start": { - "line": 17, - "column": 34 - }, - "end": { - "line": 17, - "column": 36 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 26, - "_esdocTestName": "it26" - } - }, - { - "type": "ExpressionStatement", - "start": 559, - "end": 994, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 32, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 559, - "end": 993, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 32, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 559, - "end": 561, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 562, - "end": 604, - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 49 - } - }, - "extra": { - "rawValue": "should curry the method with fixed arity", - "raw": "'should curry the method with fixed arity'" - }, - "value": "should curry the method with fixed arity" - }, - { - "type": "ArrowFunctionExpression", - "start": 606, - "end": 992, - "loc": { - "start": { - "line": 19, - "column": 51 - }, - "end": { - "line": 32, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 612, - "end": 992, - "loc": { - "start": { - "line": 19, - "column": 57 - }, - "end": { - "line": 32, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 622, - "end": 722, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 628, - "end": 635, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 636, - "end": 722, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 650, - "end": 712, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 23, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 650, - "end": 653, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 15 - }, - "identifierName": "add" - }, - "name": "add" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 17 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 657, - "end": 658, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - }, - "identifierName": "b" - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 23 - }, - "identifierName": "c" - }, - "name": "c" - } - ], - "body": { - "type": "BlockStatement", - "start": 663, - "end": 712, - "loc": { - "start": { - "line": 21, - "column": 25 - }, - "end": { - "line": 23, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 681, - "end": 698, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 33 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 688, - "end": 697, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 32 - } - }, - "left": { - "type": "Identifier", - "start": 688, - "end": 689, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 24 - }, - "identifierName": "a" - }, - "name": "a" - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 692, - "end": 697, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 32 - } - }, - "left": { - "type": "Identifier", - "start": 692, - "end": 693, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - }, - "operator": "*", - "right": { - "type": "Identifier", - "start": 696, - "end": 697, - "loc": { - "start": { - "line": 22, - "column": 31 - }, - "end": { - "line": 22, - "column": 32 - }, - "identifierName": "c" - }, - "name": "c" - } - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 731, - "end": 816, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 27, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 731, - "end": 815, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 27, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 731, - "end": 749, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 731, - "end": 738, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 739, - "end": 749, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 750, - "end": 782, - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 27, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 764, - "end": 772, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 764, - "end": 769, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 17 - }, - "identifierName": "Curry" - }, - "name": "Curry" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 770, - "end": 771, - "loc": { - "start": { - "line": 26, - "column": 18 - }, - "end": { - "line": 26, - "column": 19 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 784, - "end": 801, - "loc": { - "start": { - "line": 27, - "column": 11 - }, - "end": { - "line": 27, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 784, - "end": 791, - "loc": { - "start": { - "line": 27, - "column": 11 - }, - "end": { - "line": 27, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 792, - "end": 801, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 803, - "end": 808, - "loc": { - "start": { - "line": 27, - "column": 30 - }, - "end": { - "line": 27, - "column": 35 - } - }, - "extra": { - "rawValue": "add", - "raw": "\"add\"" - }, - "value": "add" - }, - { - "type": "NullLiteral", - "start": 810, - "end": 814, - "loc": { - "start": { - "line": 27, - "column": 37 - }, - "end": { - "line": 27, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 825, - "end": 855, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 831, - "end": 854, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 831, - "end": 838, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 841, - "end": 854, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 28, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 845, - "end": 852, - "loc": { - "start": { - "line": 28, - "column": 28 - }, - "end": { - "line": 28, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 864, - "end": 892, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 870, - "end": 891, - "loc": { - "start": { - "line": 29, - "column": 14 - }, - "end": { - "line": 29, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 870, - "end": 874, - "loc": { - "start": { - "line": 29, - "column": 14 - }, - "end": { - "line": 29, - "column": 18 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "init": { - "type": "CallExpression", - "start": 877, - "end": 891, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 877, - "end": 888, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 877, - "end": 884, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 28 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 885, - "end": 888, - "loc": { - "start": { - "line": 29, - "column": 29 - }, - "end": { - "line": 29, - "column": 32 - }, - "identifierName": "add" - }, - "name": "add" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 889, - "end": 890, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 34 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 901, - "end": 944, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 901, - "end": 943, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 901, - "end": 933, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 901, - "end": 922, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 901, - "end": 919, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 26 - } - }, - "object": { - "type": "MemberExpression", - "start": 901, - "end": 916, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 23 - } - }, - "object": { - "type": "CallExpression", - "start": 901, - "end": 913, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 901, - "end": 907, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 908, - "end": 912, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 19 - }, - "identifierName": "add5" - }, - "name": "add5" - } - ] - }, - "property": { - "type": "Identifier", - "start": 914, - "end": 916, - "loc": { - "start": { - "line": 30, - "column": 21 - }, - "end": { - "line": 30, - "column": 23 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 917, - "end": 919, - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 26 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 920, - "end": 922, - "loc": { - "start": { - "line": 30, - "column": 27 - }, - "end": { - "line": 30, - "column": 29 - }, - "identifierName": "an" - }, - "name": "an" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 923, - "end": 933, - "loc": { - "start": { - "line": 30, - "column": 30 - }, - "end": { - "line": 30, - "column": 40 - }, - "identifierName": "instanceOf" - }, - "name": "instanceOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 934, - "end": 942, - "loc": { - "start": { - "line": 30, - "column": 41 - }, - "end": { - "line": 30, - "column": 49 - }, - "identifierName": "Function" - }, - "name": "Function" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 953, - "end": 986, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 953, - "end": 985, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 953, - "end": 981, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 953, - "end": 975, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 30 - } - }, - "object": { - "type": "CallExpression", - "start": 953, - "end": 972, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 953, - "end": 959, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 960, - "end": 971, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 26 - } - }, - "callee": { - "type": "Identifier", - "start": 960, - "end": 964, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 19 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 965, - "end": 967, - "loc": { - "start": { - "line": 31, - "column": 20 - }, - "end": { - "line": 31, - "column": 22 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "NumericLiteral", - "start": 969, - "end": 970, - "loc": { - "start": { - "line": 31, - "column": 24 - }, - "end": { - "line": 31, - "column": 25 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 973, - "end": 975, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 30 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 976, - "end": 981, - "loc": { - "start": { - "line": 31, - "column": 31 - }, - "end": { - "line": 31, - "column": 36 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 982, - "end": 984, - "loc": { - "start": { - "line": 31, - "column": 37 - }, - "end": { - "line": 31, - "column": 39 - } - }, - "extra": { - "rawValue": 25, - "raw": "25" - }, - "value": 25 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 27, - "_esdocTestName": "it27" - } - }, - { - "type": "ExpressionStatement", - "start": 999, - "end": 1451, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 48, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 999, - "end": 1450, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 48, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 999, - "end": 1001, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1002, - "end": 1035, - "loc": { - "start": { - "line": 33, - "column": 7 - }, - "end": { - "line": 33, - "column": 40 - } - }, - "extra": { - "rawValue": "should retain the class context", - "raw": "'should retain the class context'" - }, - "value": "should retain the class context" - }, - { - "type": "ArrowFunctionExpression", - "start": 1037, - "end": 1449, - "loc": { - "start": { - "line": 33, - "column": 42 - }, - "end": { - "line": 48, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1043, - "end": 1449, - "loc": { - "start": { - "line": 33, - "column": 48 - }, - "end": { - "line": 48, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 1053, - "end": 1236, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 41, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 1059, - "end": 1066, - "loc": { - "start": { - "line": 34, - "column": 14 - }, - "end": { - "line": 34, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 1067, - "end": 1236, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 41, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 1081, - "end": 1143, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1081, - "end": 1092, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1095, - "end": 1143, - "loc": { - "start": { - "line": 35, - "column": 26 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1113, - "end": 1129, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 32 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1113, - "end": 1128, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 31 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1113, - "end": 1123, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 1113, - "end": 1117, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 1118, - "end": 1123, - "loc": { - "start": { - "line": 36, - "column": 21 - }, - "end": { - "line": 36, - "column": 26 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1126, - "end": 1128, - "loc": { - "start": { - "line": 36, - "column": 29 - }, - "end": { - "line": 36, - "column": 31 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 1156, - "end": 1226, - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 40, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1156, - "end": 1159, - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 38, - "column": 15 - }, - "identifierName": "add" - }, - "name": "add" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1160, - "end": 1161, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 17 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 1163, - "end": 1164, - "loc": { - "start": { - "line": 38, - "column": 19 - }, - "end": { - "line": 38, - "column": 20 - }, - "identifierName": "b" - }, - "name": "b" - } - ], - "body": { - "type": "BlockStatement", - "start": 1166, - "end": 1226, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 40, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1184, - "end": 1212, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 44 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 1191, - "end": 1211, - "loc": { - "start": { - "line": 39, - "column": 23 - }, - "end": { - "line": 39, - "column": 43 - } - }, - "left": { - "type": "BinaryExpression", - "start": 1192, - "end": 1197, - "loc": { - "start": { - "line": 39, - "column": 24 - }, - "end": { - "line": 39, - "column": 29 - } - }, - "left": { - "type": "Identifier", - "start": 1192, - "end": 1193, - "loc": { - "start": { - "line": 39, - "column": 24 - }, - "end": { - "line": 39, - "column": 25 - }, - "identifierName": "a" - }, - "name": "a" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 1196, - "end": 1197, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 29 - }, - "identifierName": "b" - }, - "name": "b" - }, - "extra": { - "parenthesized": true, - "parenStart": 1191 - } - }, - "operator": "*", - "right": { - "type": "MemberExpression", - "start": 1201, - "end": 1211, - "loc": { - "start": { - "line": 39, - "column": 33 - }, - "end": { - "line": 39, - "column": 43 - } - }, - "object": { - "type": "ThisExpression", - "start": 1201, - "end": 1205, - "loc": { - "start": { - "line": 39, - "column": 33 - }, - "end": { - "line": 39, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "start": 1206, - "end": 1211, - "loc": { - "start": { - "line": 39, - "column": 38 - }, - "end": { - "line": 39, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1245, - "end": 1329, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 44, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 1245, - "end": 1328, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 44, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1245, - "end": 1263, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1245, - "end": 1252, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1253, - "end": 1263, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1264, - "end": 1295, - "loc": { - "start": { - "line": 42, - "column": 27 - }, - "end": { - "line": 44, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1278, - "end": 1285, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 19 - } - }, - "callee": { - "type": "Identifier", - "start": 1278, - "end": 1283, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 17 - }, - "identifierName": "Curry" - }, - "name": "Curry" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 1297, - "end": 1314, - "loc": { - "start": { - "line": 44, - "column": 11 - }, - "end": { - "line": 44, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1297, - "end": 1304, - "loc": { - "start": { - "line": 44, - "column": 11 - }, - "end": { - "line": 44, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1305, - "end": 1314, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1316, - "end": 1321, - "loc": { - "start": { - "line": 44, - "column": 30 - }, - "end": { - "line": 44, - "column": 35 - } - }, - "extra": { - "rawValue": "add", - "raw": "\"add\"" - }, - "value": "add" - }, - { - "type": "NullLiteral", - "start": 1323, - "end": 1327, - "loc": { - "start": { - "line": 44, - "column": 37 - }, - "end": { - "line": 44, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1338, - "end": 1368, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1344, - "end": 1367, - "loc": { - "start": { - "line": 45, - "column": 14 - }, - "end": { - "line": 45, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1344, - "end": 1351, - "loc": { - "start": { - "line": 45, - "column": 14 - }, - "end": { - "line": 45, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1354, - "end": 1367, - "loc": { - "start": { - "line": 45, - "column": 24 - }, - "end": { - "line": 45, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1358, - "end": 1365, - "loc": { - "start": { - "line": 45, - "column": 28 - }, - "end": { - "line": 45, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1377, - "end": 1405, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1383, - "end": 1404, - "loc": { - "start": { - "line": 46, - "column": 14 - }, - "end": { - "line": 46, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 1383, - "end": 1387, - "loc": { - "start": { - "line": 46, - "column": 14 - }, - "end": { - "line": 46, - "column": 18 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "init": { - "type": "CallExpression", - "start": 1390, - "end": 1404, - "loc": { - "start": { - "line": 46, - "column": 21 - }, - "end": { - "line": 46, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1390, - "end": 1401, - "loc": { - "start": { - "line": 46, - "column": 21 - }, - "end": { - "line": 46, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 1390, - "end": 1397, - "loc": { - "start": { - "line": 46, - "column": 21 - }, - "end": { - "line": 46, - "column": 28 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1398, - "end": 1401, - "loc": { - "start": { - "line": 46, - "column": 29 - }, - "end": { - "line": 46, - "column": 32 - }, - "identifierName": "add" - }, - "name": "add" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1402, - "end": 1403, - "loc": { - "start": { - "line": 46, - "column": 33 - }, - "end": { - "line": 46, - "column": 34 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1414, - "end": 1443, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 1414, - "end": 1442, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1414, - "end": 1438, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 1414, - "end": 1432, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 26 - } - }, - "object": { - "type": "CallExpression", - "start": 1414, - "end": 1429, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 1414, - "end": 1420, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 1421, - "end": 1428, - "loc": { - "start": { - "line": 47, - "column": 15 - }, - "end": { - "line": 47, - "column": 22 - } - }, - "callee": { - "type": "Identifier", - "start": 1421, - "end": 1425, - "loc": { - "start": { - "line": 47, - "column": 15 - }, - "end": { - "line": 47, - "column": 19 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1426, - "end": 1427, - "loc": { - "start": { - "line": 47, - "column": 20 - }, - "end": { - "line": 47, - "column": 21 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 1430, - "end": 1432, - "loc": { - "start": { - "line": 47, - "column": 24 - }, - "end": { - "line": 47, - "column": 26 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1433, - "end": 1438, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 32 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1439, - "end": 1441, - "loc": { - "start": { - "line": 47, - "column": 33 - }, - "end": { - "line": 47, - "column": 35 - } - }, - "extra": { - "rawValue": 70, - "raw": "70" - }, - "value": 70 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 28, - "_esdocTestName": "it28" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 25, - "_esdocTestName": "describe25" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Curry", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 80, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 82, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 17 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./curry", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 96, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 106, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "curry", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 119, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 130, - "end": 131, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should curry the method with default arity", - "start": 131, - "end": 175, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 175, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 177, - "end": 178, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 178, - "end": 179, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 5, - "column": 55 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 180, - "end": 182, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 183, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 5, - "column": 60 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 193, - "end": 198, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 199, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 207, - "end": 208, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 221, - "end": 224, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 224, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 225, - "end": 226, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 228, - "end": 229, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 229, - "end": 230, - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 231, - "end": 232, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 249, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 256, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 258, - "end": 259, - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 260, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 275, - "end": 276, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 285, - "end": 286, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 295, - "end": 302, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 302, - "end": 303, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 303, - "end": 313, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 313, - "end": 314, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 314, - "end": 315, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Curry", - "start": 328, - "end": 333, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 333, - "end": 334, - "loc": { - "start": { - "line": 12, - "column": 17 - }, - "end": { - "line": 12, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 334, - "end": 335, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 344, - "end": 345, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 345, - "end": 346, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 347, - "end": 354, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 354, - "end": 355, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 355, - "end": 364, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 364, - "end": 365, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "add", - "start": 366, - "end": 371, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 371, - "end": 372, - "loc": { - "start": { - "line": 13, - "column": 35 - }, - "end": { - "line": 13, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 373, - "end": 377, - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 377, - "end": 378, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 378, - "end": 379, - "loc": { - "start": { - "line": 13, - "column": 42 - }, - "end": { - "line": 13, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 388, - "end": 393, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 394, - "end": 401, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 402, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 404, - "end": 407, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 415, - "end": 416, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 416, - "end": 417, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 417, - "end": 418, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 427, - "end": 432, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 433, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 438, - "end": 439, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 440, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 447, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 448, - "end": 451, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 451, - "end": 452, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 452, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 453, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 454, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 464, - "end": 470, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 471, - "end": 475, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 475, - "end": 476, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 476, - "end": 477, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 477, - "end": 479, - "loc": { - "start": { - "line": 16, - "column": 21 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 479, - "end": 480, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 480, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 482, - "end": 483, - "loc": { - "start": { - "line": 16, - "column": 26 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "an", - "start": 483, - "end": 485, - "loc": { - "start": { - "line": 16, - "column": 27 - }, - "end": { - "line": 16, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 485, - "end": 486, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "instanceOf", - "start": 486, - "end": 496, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 496, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 40 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Function", - "start": 497, - "end": 505, - "loc": { - "start": { - "line": 16, - "column": 41 - }, - "end": { - "line": 16, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 505, - "end": 506, - "loc": { - "start": { - "line": 16, - "column": 49 - }, - "end": { - "line": 16, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 506, - "end": 507, - "loc": { - "start": { - "line": 16, - "column": 50 - }, - "end": { - "line": 16, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 516, - "end": 522, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 523, - "end": 527, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 527, - "end": 528, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 528, - "end": 530, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 530, - "end": 531, - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 531, - "end": 532, - "loc": { - "start": { - "line": 17, - "column": 23 - }, - "end": { - "line": 17, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 532, - "end": 533, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 533, - "end": 535, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 535, - "end": 536, - "loc": { - "start": { - "line": 17, - "column": 27 - }, - "end": { - "line": 17, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 536, - "end": 541, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 541, - "end": 542, - "loc": { - "start": { - "line": 17, - "column": 33 - }, - "end": { - "line": 17, - "column": 34 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 542, - "end": 544, - "loc": { - "start": { - "line": 17, - "column": 34 - }, - "end": { - "line": 17, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 544, - "end": 545, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 545, - "end": 546, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 551, - "end": 552, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 552, - "end": 553, - "loc": { - "start": { - "line": 18, - "column": 5 - }, - "end": { - "line": 18, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 553, - "end": 554, - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 559, - "end": 561, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 561, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should curry the method with fixed arity", - "start": 562, - "end": 604, - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 49 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 604, - "end": 605, - "loc": { - "start": { - "line": 19, - "column": 49 - }, - "end": { - "line": 19, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 606, - "end": 607, - "loc": { - "start": { - "line": 19, - "column": 51 - }, - "end": { - "line": 19, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 607, - "end": 608, - "loc": { - "start": { - "line": 19, - "column": 52 - }, - "end": { - "line": 19, - "column": 53 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 609, - "end": 611, - "loc": { - "start": { - "line": 19, - "column": 54 - }, - "end": { - "line": 19, - "column": 56 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 612, - "end": 613, - "loc": { - "start": { - "line": 19, - "column": 57 - }, - "end": { - "line": 19, - "column": 58 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 622, - "end": 627, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 628, - "end": 635, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 636, - "end": 637, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 650, - "end": 653, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 653, - "end": 654, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 655, - "end": 656, - "loc": { - "start": { - "line": 21, - "column": 17 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 657, - "end": 658, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 658, - "end": 659, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "c", - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 661, - "end": 662, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 663, - "end": 664, - "loc": { - "start": { - "line": 21, - "column": 25 - }, - "end": { - "line": 21, - "column": 26 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 681, - "end": 687, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 688, - "end": 689, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 24 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 690, - "end": 691, - "loc": { - "start": { - "line": 22, - "column": 25 - }, - "end": { - "line": 22, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 692, - "end": 693, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 694, - "end": 695, - "loc": { - "start": { - "line": 22, - "column": 29 - }, - "end": { - "line": 22, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "c", - "start": 696, - "end": 697, - "loc": { - "start": { - "line": 22, - "column": 31 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 697, - "end": 698, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 711, - "end": 712, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 721, - "end": 722, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 731, - "end": 738, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 738, - "end": 739, - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 25, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 739, - "end": 749, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 749, - "end": 750, - "loc": { - "start": { - "line": 25, - "column": 26 - }, - "end": { - "line": 25, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 750, - "end": 751, - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 25, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Curry", - "start": 764, - "end": 769, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 769, - "end": 770, - "loc": { - "start": { - "line": 26, - "column": 17 - }, - "end": { - "line": 26, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 770, - "end": 771, - "loc": { - "start": { - "line": 26, - "column": 18 - }, - "end": { - "line": 26, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 771, - "end": 772, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 20 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 781, - "end": 782, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 782, - "end": 783, - "loc": { - "start": { - "line": 27, - "column": 9 - }, - "end": { - "line": 27, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 784, - "end": 791, - "loc": { - "start": { - "line": 27, - "column": 11 - }, - "end": { - "line": 27, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 791, - "end": 792, - "loc": { - "start": { - "line": 27, - "column": 18 - }, - "end": { - "line": 27, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 792, - "end": 801, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 801, - "end": 802, - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "add", - "start": 803, - "end": 808, - "loc": { - "start": { - "line": 27, - "column": 30 - }, - "end": { - "line": 27, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 808, - "end": 809, - "loc": { - "start": { - "line": 27, - "column": 35 - }, - "end": { - "line": 27, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 810, - "end": 814, - "loc": { - "start": { - "line": 27, - "column": 37 - }, - "end": { - "line": 27, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 814, - "end": 815, - "loc": { - "start": { - "line": 27, - "column": 41 - }, - "end": { - "line": 27, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 815, - "end": 816, - "loc": { - "start": { - "line": 27, - "column": 42 - }, - "end": { - "line": 27, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 825, - "end": 830, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 831, - "end": 838, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 839, - "end": 840, - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 841, - "end": 844, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 28, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 845, - "end": 852, - "loc": { - "start": { - "line": 28, - "column": 28 - }, - "end": { - "line": 28, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 852, - "end": 853, - "loc": { - "start": { - "line": 28, - "column": 35 - }, - "end": { - "line": 28, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 853, - "end": 854, - "loc": { - "start": { - "line": 28, - "column": 36 - }, - "end": { - "line": 28, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 854, - "end": 855, - "loc": { - "start": { - "line": 28, - "column": 37 - }, - "end": { - "line": 28, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 864, - "end": 869, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 870, - "end": 874, - "loc": { - "start": { - "line": 29, - "column": 14 - }, - "end": { - "line": 29, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 875, - "end": 876, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 877, - "end": 884, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 884, - "end": 885, - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 29, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 885, - "end": 888, - "loc": { - "start": { - "line": 29, - "column": 29 - }, - "end": { - "line": 29, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 888, - "end": 889, - "loc": { - "start": { - "line": 29, - "column": 32 - }, - "end": { - "line": 29, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 889, - "end": 890, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 890, - "end": 891, - "loc": { - "start": { - "line": 29, - "column": 34 - }, - "end": { - "line": 29, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 891, - "end": 892, - "loc": { - "start": { - "line": 29, - "column": 35 - }, - "end": { - "line": 29, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 901, - "end": 907, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 907, - "end": 908, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 908, - "end": 912, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 912, - "end": 913, - "loc": { - "start": { - "line": 30, - "column": 19 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 913, - "end": 914, - "loc": { - "start": { - "line": 30, - "column": 20 - }, - "end": { - "line": 30, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 914, - "end": 916, - "loc": { - "start": { - "line": 30, - "column": 21 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 916, - "end": 917, - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 917, - "end": 919, - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 919, - "end": 920, - "loc": { - "start": { - "line": 30, - "column": 26 - }, - "end": { - "line": 30, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "an", - "start": 920, - "end": 922, - "loc": { - "start": { - "line": 30, - "column": 27 - }, - "end": { - "line": 30, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 922, - "end": 923, - "loc": { - "start": { - "line": 30, - "column": 29 - }, - "end": { - "line": 30, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "instanceOf", - "start": 923, - "end": 933, - "loc": { - "start": { - "line": 30, - "column": 30 - }, - "end": { - "line": 30, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 933, - "end": 934, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Function", - "start": 934, - "end": 942, - "loc": { - "start": { - "line": 30, - "column": 41 - }, - "end": { - "line": 30, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 942, - "end": 943, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 943, - "end": 944, - "loc": { - "start": { - "line": 30, - "column": 50 - }, - "end": { - "line": 30, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 953, - "end": 959, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 959, - "end": 960, - "loc": { - "start": { - "line": 31, - "column": 14 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 960, - "end": 964, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 964, - "end": 965, - "loc": { - "start": { - "line": 31, - "column": 19 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 965, - "end": 967, - "loc": { - "start": { - "line": 31, - "column": 20 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 967, - "end": 968, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 969, - "end": 970, - "loc": { - "start": { - "line": 31, - "column": 24 - }, - "end": { - "line": 31, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 970, - "end": 971, - "loc": { - "start": { - "line": 31, - "column": 25 - }, - "end": { - "line": 31, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 971, - "end": 972, - "loc": { - "start": { - "line": 31, - "column": 26 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 972, - "end": 973, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 973, - "end": 975, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 975, - "end": 976, - "loc": { - "start": { - "line": 31, - "column": 30 - }, - "end": { - "line": 31, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 976, - "end": 981, - "loc": { - "start": { - "line": 31, - "column": 31 - }, - "end": { - "line": 31, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 981, - "end": 982, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 25, - "start": 982, - "end": 984, - "loc": { - "start": { - "line": 31, - "column": 37 - }, - "end": { - "line": 31, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 984, - "end": 985, - "loc": { - "start": { - "line": 31, - "column": 39 - }, - "end": { - "line": 31, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 985, - "end": 986, - "loc": { - "start": { - "line": 31, - "column": 40 - }, - "end": { - "line": 31, - "column": 41 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 991, - "end": 992, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 992, - "end": 993, - "loc": { - "start": { - "line": 32, - "column": 5 - }, - "end": { - "line": 32, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 993, - "end": 994, - "loc": { - "start": { - "line": 32, - "column": 6 - }, - "end": { - "line": 32, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 999, - "end": 1001, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1001, - "end": 1002, - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should retain the class context", - "start": 1002, - "end": 1035, - "loc": { - "start": { - "line": 33, - "column": 7 - }, - "end": { - "line": 33, - "column": 40 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1035, - "end": 1036, - "loc": { - "start": { - "line": 33, - "column": 40 - }, - "end": { - "line": 33, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1037, - "end": 1038, - "loc": { - "start": { - "line": 33, - "column": 42 - }, - "end": { - "line": 33, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1038, - "end": 1039, - "loc": { - "start": { - "line": 33, - "column": 43 - }, - "end": { - "line": 33, - "column": 44 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1040, - "end": 1042, - "loc": { - "start": { - "line": 33, - "column": 45 - }, - "end": { - "line": 33, - "column": 47 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1043, - "end": 1044, - "loc": { - "start": { - "line": 33, - "column": 48 - }, - "end": { - "line": 33, - "column": 49 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 1053, - "end": 1058, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1059, - "end": 1066, - "loc": { - "start": { - "line": 34, - "column": 14 - }, - "end": { - "line": 34, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1067, - "end": 1068, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 34, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 1081, - "end": 1092, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1092, - "end": 1093, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1093, - "end": 1094, - "loc": { - "start": { - "line": 35, - "column": 24 - }, - "end": { - "line": 35, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1095, - "end": 1096, - "loc": { - "start": { - "line": 35, - "column": 26 - }, - "end": { - "line": 35, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1113, - "end": 1117, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1117, - "end": 1118, - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1118, - "end": 1123, - "loc": { - "start": { - "line": 36, - "column": 21 - }, - "end": { - "line": 36, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1124, - "end": 1125, - "loc": { - "start": { - "line": 36, - "column": 27 - }, - "end": { - "line": 36, - "column": 28 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1126, - "end": 1128, - "loc": { - "start": { - "line": 36, - "column": 29 - }, - "end": { - "line": 36, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1128, - "end": 1129, - "loc": { - "start": { - "line": 36, - "column": 31 - }, - "end": { - "line": 36, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1142, - "end": 1143, - "loc": { - "start": { - "line": 37, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 1156, - "end": 1159, - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 38, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1159, - "end": 1160, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 1160, - "end": 1161, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1161, - "end": 1162, - "loc": { - "start": { - "line": 38, - "column": 17 - }, - "end": { - "line": 38, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 1163, - "end": 1164, - "loc": { - "start": { - "line": 38, - "column": 19 - }, - "end": { - "line": 38, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1164, - "end": 1165, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1166, - "end": 1167, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 38, - "column": 23 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 1184, - "end": 1190, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1191, - "end": 1192, - "loc": { - "start": { - "line": 39, - "column": 23 - }, - "end": { - "line": 39, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 1192, - "end": 1193, - "loc": { - "start": { - "line": 39, - "column": 24 - }, - "end": { - "line": 39, - "column": 25 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 1194, - "end": 1195, - "loc": { - "start": { - "line": 39, - "column": 26 - }, - "end": { - "line": 39, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 1196, - "end": 1197, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1197, - "end": 1198, - "loc": { - "start": { - "line": 39, - "column": 29 - }, - "end": { - "line": 39, - "column": 30 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 1199, - "end": 1200, - "loc": { - "start": { - "line": 39, - "column": 31 - }, - "end": { - "line": 39, - "column": 32 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1201, - "end": 1205, - "loc": { - "start": { - "line": 39, - "column": 33 - }, - "end": { - "line": 39, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1205, - "end": 1206, - "loc": { - "start": { - "line": 39, - "column": 37 - }, - "end": { - "line": 39, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1206, - "end": 1211, - "loc": { - "start": { - "line": 39, - "column": 38 - }, - "end": { - "line": 39, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1211, - "end": 1212, - "loc": { - "start": { - "line": 39, - "column": 43 - }, - "end": { - "line": 39, - "column": 44 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1225, - "end": 1226, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1235, - "end": 1236, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1245, - "end": 1252, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1252, - "end": 1253, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1253, - "end": 1263, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1263, - "end": 1264, - "loc": { - "start": { - "line": 42, - "column": 26 - }, - "end": { - "line": 42, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1264, - "end": 1265, - "loc": { - "start": { - "line": 42, - "column": 27 - }, - "end": { - "line": 42, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Curry", - "start": 1278, - "end": 1283, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1283, - "end": 1284, - "loc": { - "start": { - "line": 43, - "column": 17 - }, - "end": { - "line": 43, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1284, - "end": 1285, - "loc": { - "start": { - "line": 43, - "column": 18 - }, - "end": { - "line": 43, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1294, - "end": 1295, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1295, - "end": 1296, - "loc": { - "start": { - "line": 44, - "column": 9 - }, - "end": { - "line": 44, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1297, - "end": 1304, - "loc": { - "start": { - "line": 44, - "column": 11 - }, - "end": { - "line": 44, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1304, - "end": 1305, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1305, - "end": 1314, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1314, - "end": 1315, - "loc": { - "start": { - "line": 44, - "column": 28 - }, - "end": { - "line": 44, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "add", - "start": 1316, - "end": 1321, - "loc": { - "start": { - "line": 44, - "column": 30 - }, - "end": { - "line": 44, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1321, - "end": 1322, - "loc": { - "start": { - "line": 44, - "column": 35 - }, - "end": { - "line": 44, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1323, - "end": 1327, - "loc": { - "start": { - "line": 44, - "column": 37 - }, - "end": { - "line": 44, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1327, - "end": 1328, - "loc": { - "start": { - "line": 44, - "column": 41 - }, - "end": { - "line": 44, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1328, - "end": 1329, - "loc": { - "start": { - "line": 44, - "column": 42 - }, - "end": { - "line": 44, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1338, - "end": 1343, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1344, - "end": 1351, - "loc": { - "start": { - "line": 45, - "column": 14 - }, - "end": { - "line": 45, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1352, - "end": 1353, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 45, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1354, - "end": 1357, - "loc": { - "start": { - "line": 45, - "column": 24 - }, - "end": { - "line": 45, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1358, - "end": 1365, - "loc": { - "start": { - "line": 45, - "column": 28 - }, - "end": { - "line": 45, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1365, - "end": 1366, - "loc": { - "start": { - "line": 45, - "column": 35 - }, - "end": { - "line": 45, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1366, - "end": 1367, - "loc": { - "start": { - "line": 45, - "column": 36 - }, - "end": { - "line": 45, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1367, - "end": 1368, - "loc": { - "start": { - "line": 45, - "column": 37 - }, - "end": { - "line": 45, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1377, - "end": 1382, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 1383, - "end": 1387, - "loc": { - "start": { - "line": 46, - "column": 14 - }, - "end": { - "line": 46, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1388, - "end": 1389, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 46, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1390, - "end": 1397, - "loc": { - "start": { - "line": 46, - "column": 21 - }, - "end": { - "line": 46, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1397, - "end": 1398, - "loc": { - "start": { - "line": 46, - "column": 28 - }, - "end": { - "line": 46, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 1398, - "end": 1401, - "loc": { - "start": { - "line": 46, - "column": 29 - }, - "end": { - "line": 46, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1401, - "end": 1402, - "loc": { - "start": { - "line": 46, - "column": 32 - }, - "end": { - "line": 46, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1402, - "end": 1403, - "loc": { - "start": { - "line": 46, - "column": 33 - }, - "end": { - "line": 46, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1403, - "end": 1404, - "loc": { - "start": { - "line": 46, - "column": 34 - }, - "end": { - "line": 46, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1404, - "end": 1405, - "loc": { - "start": { - "line": 46, - "column": 35 - }, - "end": { - "line": 46, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1414, - "end": 1420, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1420, - "end": 1421, - "loc": { - "start": { - "line": 47, - "column": 14 - }, - "end": { - "line": 47, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 1421, - "end": 1425, - "loc": { - "start": { - "line": 47, - "column": 15 - }, - "end": { - "line": 47, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1425, - "end": 1426, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 1426, - "end": 1427, - "loc": { - "start": { - "line": 47, - "column": 20 - }, - "end": { - "line": 47, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1427, - "end": 1428, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1428, - "end": 1429, - "loc": { - "start": { - "line": 47, - "column": 22 - }, - "end": { - "line": 47, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1429, - "end": 1430, - "loc": { - "start": { - "line": 47, - "column": 23 - }, - "end": { - "line": 47, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1430, - "end": 1432, - "loc": { - "start": { - "line": 47, - "column": 24 - }, - "end": { - "line": 47, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1432, - "end": 1433, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1433, - "end": 1438, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1438, - "end": 1439, - "loc": { - "start": { - "line": 47, - "column": 32 - }, - "end": { - "line": 47, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 70, - "start": 1439, - "end": 1441, - "loc": { - "start": { - "line": 47, - "column": 33 - }, - "end": { - "line": 47, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1441, - "end": 1442, - "loc": { - "start": { - "line": 47, - "column": 35 - }, - "end": { - "line": 47, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1442, - "end": 1443, - "loc": { - "start": { - "line": 47, - "column": 36 - }, - "end": { - "line": 47, - "column": 37 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1448, - "end": 1449, - "loc": { - "start": { - "line": 48, - "column": 4 - }, - "end": { - "line": 48, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1449, - "end": 1450, - "loc": { - "start": { - "line": 48, - "column": 5 - }, - "end": { - "line": 48, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1450, - "end": 1451, - "loc": { - "start": { - "line": 48, - "column": 6 - }, - "end": { - "line": 48, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1452, - "end": 1453, - "loc": { - "start": { - "line": 49, - "column": 0 - }, - "end": { - "line": 49, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1453, - "end": 1454, - "loc": { - "start": { - "line": 49, - "column": 1 - }, - "end": { - "line": 49, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1454, - "end": 1455, - "loc": { - "start": { - "line": 49, - "column": 2 - }, - "end": { - "line": 49, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1456, - "end": 1456, - "loc": { - "start": { - "line": 50, - "column": 0 - }, - "end": { - "line": 50, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/curryAll.spec.js.json b/docs/ast/test/curryAll.spec.js.json deleted file mode 100644 index 659169d..0000000 --- a/docs/ast/test/curryAll.spec.js.json +++ /dev/null @@ -1,11794 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1385, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 47, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1385, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 47, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 38 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - }, - "identifierName": "CurryAll" - }, - "name": "CurryAll" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - }, - "identifierName": "CurryAll" - }, - "name": "CurryAll" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 90, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 37 - } - }, - "extra": { - "rawValue": "./curryAll", - "raw": "'./curryAll'" - }, - "value": "./curryAll" - } - }, - { - "type": "ExpressionStatement", - "start": 104, - "end": 1384, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 46, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 104, - "end": 1383, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 46, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 104, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 113, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - } - }, - "extra": { - "rawValue": "curryAll", - "raw": "'curryAll'" - }, - "value": "curryAll" - }, - { - "type": "ArrowFunctionExpression", - "start": 125, - "end": 1382, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 46, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 131, - "end": 1382, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 46, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 137, - "end": 566, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 18, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 137, - "end": 565, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 18, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 137, - "end": 139, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 140, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - }, - "extra": { - "rawValue": "should curry the method with default arity", - "raw": "'should curry the method with default arity'" - }, - "value": "should curry the method with default arity" - }, - { - "type": "ArrowFunctionExpression", - "start": 186, - "end": 564, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 18, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 192, - "end": 564, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 18, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 202, - "end": 295, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 208, - "end": 215, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 216, - "end": 295, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 230, - "end": 285, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 230, - "end": 233, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - }, - "identifierName": "add" - }, - "name": "add" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 234, - "end": 235, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 237, - "end": 238, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - }, - "identifierName": "b" - }, - "name": "b" - } - ], - "body": { - "type": "BlockStatement", - "start": 240, - "end": 285, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 258, - "end": 271, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 29 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 265, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 28 - } - }, - "left": { - "type": "Identifier", - "start": 265, - "end": 266, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 24 - }, - "identifierName": "a" - }, - "name": "a" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 269, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 304, - "end": 391, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 304, - "end": 390, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 304, - "end": 322, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 304, - "end": 311, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 312, - "end": 322, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 323, - "end": 357, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 337, - "end": 347, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 22 - } - }, - "callee": { - "type": "Identifier", - "start": 337, - "end": 345, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 20 - }, - "identifierName": "CurryAll" - }, - "name": "CurryAll" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 359, - "end": 376, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 359, - "end": 366, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 367, - "end": 376, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 378, - "end": 383, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 35 - } - }, - "extra": { - "rawValue": "add", - "raw": "\"add\"" - }, - "value": "add" - }, - { - "type": "NullLiteral", - "start": 385, - "end": 389, - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 400, - "end": 430, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 406, - "end": 429, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 406, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 416, - "end": 429, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 420, - "end": 427, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 439, - "end": 467, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 445, - "end": 466, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 445, - "end": 449, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 18 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "init": { - "type": "CallExpression", - "start": 452, - "end": 466, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 452, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 452, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 28 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 460, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 32 - }, - "identifierName": "add" - }, - "name": "add" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 464, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 476, - "end": 519, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 476, - "end": 518, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 476, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 476, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 476, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 26 - } - }, - "object": { - "type": "MemberExpression", - "start": 476, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 23 - } - }, - "object": { - "type": "CallExpression", - "start": 476, - "end": 488, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 476, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 483, - "end": 487, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 19 - }, - "identifierName": "add5" - }, - "name": "add5" - } - ] - }, - "property": { - "type": "Identifier", - "start": 489, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 21 - }, - "end": { - "line": 16, - "column": 23 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 492, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 26 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 495, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 27 - }, - "end": { - "line": 16, - "column": 29 - }, - "identifierName": "an" - }, - "name": "an" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 498, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 40 - }, - "identifierName": "instanceOf" - }, - "name": "instanceOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 509, - "end": 517, - "loc": { - "start": { - "line": 16, - "column": 41 - }, - "end": { - "line": 16, - "column": 49 - }, - "identifierName": "Function" - }, - "name": "Function" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 528, - "end": 558, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 528, - "end": 557, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 528, - "end": 553, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 528, - "end": 547, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 27 - } - }, - "object": { - "type": "CallExpression", - "start": 528, - "end": 544, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 528, - "end": 534, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 535, - "end": 543, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 535, - "end": 539, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 19 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 540, - "end": 542, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 22 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 545, - "end": 547, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 27 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 548, - "end": 553, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 33 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 554, - "end": 556, - "loc": { - "start": { - "line": 17, - "column": 34 - }, - "end": { - "line": 17, - "column": 36 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 30, - "_esdocTestName": "it30" - } - }, - { - "type": "ExpressionStatement", - "start": 571, - "end": 1009, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 32, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 571, - "end": 1008, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 32, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 571, - "end": 573, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 574, - "end": 616, - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 49 - } - }, - "extra": { - "rawValue": "should curry the method with fixed arity", - "raw": "'should curry the method with fixed arity'" - }, - "value": "should curry the method with fixed arity" - }, - { - "type": "ArrowFunctionExpression", - "start": 618, - "end": 1007, - "loc": { - "start": { - "line": 19, - "column": 51 - }, - "end": { - "line": 32, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 624, - "end": 1007, - "loc": { - "start": { - "line": 19, - "column": 57 - }, - "end": { - "line": 32, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 634, - "end": 734, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 640, - "end": 647, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 648, - "end": 734, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 662, - "end": 724, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 23, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 662, - "end": 665, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 15 - }, - "identifierName": "add" - }, - "name": "add" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 666, - "end": 667, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 17 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 669, - "end": 670, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - }, - "identifierName": "b" - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 672, - "end": 673, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 23 - }, - "identifierName": "c" - }, - "name": "c" - } - ], - "body": { - "type": "BlockStatement", - "start": 675, - "end": 724, - "loc": { - "start": { - "line": 21, - "column": 25 - }, - "end": { - "line": 23, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 693, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 33 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 700, - "end": 709, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 32 - } - }, - "left": { - "type": "Identifier", - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 24 - }, - "identifierName": "a" - }, - "name": "a" - }, - "operator": "+", - "right": { - "type": "BinaryExpression", - "start": 704, - "end": 709, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 32 - } - }, - "left": { - "type": "Identifier", - "start": 704, - "end": 705, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - }, - "operator": "*", - "right": { - "type": "Identifier", - "start": 708, - "end": 709, - "loc": { - "start": { - "line": 22, - "column": 31 - }, - "end": { - "line": 22, - "column": 32 - }, - "identifierName": "c" - }, - "name": "c" - } - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 743, - "end": 831, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 27, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 743, - "end": 830, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 27, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 743, - "end": 761, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 743, - "end": 750, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 751, - "end": 761, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 762, - "end": 797, - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 27, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 776, - "end": 787, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 776, - "end": 784, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 20 - }, - "identifierName": "CurryAll" - }, - "name": "CurryAll" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 785, - "end": 786, - "loc": { - "start": { - "line": 26, - "column": 21 - }, - "end": { - "line": 26, - "column": 22 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 799, - "end": 816, - "loc": { - "start": { - "line": 27, - "column": 11 - }, - "end": { - "line": 27, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 799, - "end": 806, - "loc": { - "start": { - "line": 27, - "column": 11 - }, - "end": { - "line": 27, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 807, - "end": 816, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 818, - "end": 823, - "loc": { - "start": { - "line": 27, - "column": 30 - }, - "end": { - "line": 27, - "column": 35 - } - }, - "extra": { - "rawValue": "add", - "raw": "\"add\"" - }, - "value": "add" - }, - { - "type": "NullLiteral", - "start": 825, - "end": 829, - "loc": { - "start": { - "line": 27, - "column": 37 - }, - "end": { - "line": 27, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 840, - "end": 870, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 846, - "end": 869, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 846, - "end": 853, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 856, - "end": 869, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 28, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 860, - "end": 867, - "loc": { - "start": { - "line": 28, - "column": 28 - }, - "end": { - "line": 28, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 879, - "end": 907, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 885, - "end": 906, - "loc": { - "start": { - "line": 29, - "column": 14 - }, - "end": { - "line": 29, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 885, - "end": 889, - "loc": { - "start": { - "line": 29, - "column": 14 - }, - "end": { - "line": 29, - "column": 18 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "init": { - "type": "CallExpression", - "start": 892, - "end": 906, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 892, - "end": 903, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 892, - "end": 899, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 28 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 900, - "end": 903, - "loc": { - "start": { - "line": 29, - "column": 29 - }, - "end": { - "line": 29, - "column": 32 - }, - "identifierName": "add" - }, - "name": "add" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 904, - "end": 905, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 34 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 916, - "end": 959, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 916, - "end": 958, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 916, - "end": 948, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 916, - "end": 937, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 916, - "end": 934, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 26 - } - }, - "object": { - "type": "MemberExpression", - "start": 916, - "end": 931, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 23 - } - }, - "object": { - "type": "CallExpression", - "start": 916, - "end": 928, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 916, - "end": 922, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 923, - "end": 927, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 19 - }, - "identifierName": "add5" - }, - "name": "add5" - } - ] - }, - "property": { - "type": "Identifier", - "start": 929, - "end": 931, - "loc": { - "start": { - "line": 30, - "column": 21 - }, - "end": { - "line": 30, - "column": 23 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 932, - "end": 934, - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 26 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 935, - "end": 937, - "loc": { - "start": { - "line": 30, - "column": 27 - }, - "end": { - "line": 30, - "column": 29 - }, - "identifierName": "an" - }, - "name": "an" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 938, - "end": 948, - "loc": { - "start": { - "line": 30, - "column": 30 - }, - "end": { - "line": 30, - "column": 40 - }, - "identifierName": "instanceOf" - }, - "name": "instanceOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 949, - "end": 957, - "loc": { - "start": { - "line": 30, - "column": 41 - }, - "end": { - "line": 30, - "column": 49 - }, - "identifierName": "Function" - }, - "name": "Function" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 968, - "end": 1001, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 968, - "end": 1000, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 968, - "end": 996, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 968, - "end": 990, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 30 - } - }, - "object": { - "type": "CallExpression", - "start": 968, - "end": 987, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 968, - "end": 974, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 975, - "end": 986, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 26 - } - }, - "callee": { - "type": "Identifier", - "start": 975, - "end": 979, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 19 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 980, - "end": 982, - "loc": { - "start": { - "line": 31, - "column": 20 - }, - "end": { - "line": 31, - "column": 22 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "NumericLiteral", - "start": 984, - "end": 985, - "loc": { - "start": { - "line": 31, - "column": 24 - }, - "end": { - "line": 31, - "column": 25 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 988, - "end": 990, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 30 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 991, - "end": 996, - "loc": { - "start": { - "line": 31, - "column": 31 - }, - "end": { - "line": 31, - "column": 36 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 997, - "end": 999, - "loc": { - "start": { - "line": 31, - "column": 37 - }, - "end": { - "line": 31, - "column": 39 - } - }, - "extra": { - "rawValue": 25, - "raw": "25" - }, - "value": 25 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 31, - "_esdocTestName": "it31" - } - }, - { - "type": "ExpressionStatement", - "start": 1014, - "end": 1380, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 45, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 1014, - "end": 1379, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 45, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 1014, - "end": 1016, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1017, - "end": 1054, - "loc": { - "start": { - "line": 33, - "column": 7 - }, - "end": { - "line": 33, - "column": 44 - } - }, - "extra": { - "rawValue": "should not retain the class context", - "raw": "'should not retain the class context'" - }, - "value": "should not retain the class context" - }, - { - "type": "ArrowFunctionExpression", - "start": 1056, - "end": 1378, - "loc": { - "start": { - "line": 33, - "column": 46 - }, - "end": { - "line": 45, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1062, - "end": 1378, - "loc": { - "start": { - "line": 33, - "column": 52 - }, - "end": { - "line": 45, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 1072, - "end": 1182, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 38, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 1078, - "end": 1085, - "loc": { - "start": { - "line": 34, - "column": 14 - }, - "end": { - "line": 34, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 1086, - "end": 1182, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 38, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 1100, - "end": 1172, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1100, - "end": 1103, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 15 - }, - "identifierName": "add" - }, - "name": "add" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1104, - "end": 1105, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 17 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 1107, - "end": 1108, - "loc": { - "start": { - "line": 35, - "column": 19 - }, - "end": { - "line": 35, - "column": 20 - }, - "identifierName": "b" - }, - "name": "b" - } - ], - "body": { - "type": "BlockStatement", - "start": 1110, - "end": 1172, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1128, - "end": 1158, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 1128, - "end": 1157, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1128, - "end": 1149, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 1128, - "end": 1143, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 31 - } - }, - "object": { - "type": "CallExpression", - "start": 1128, - "end": 1140, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 1128, - "end": 1134, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 1135, - "end": 1139, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 27 - } - } - } - ] - }, - "property": { - "type": "Identifier", - "start": 1141, - "end": 1143, - "loc": { - "start": { - "line": 36, - "column": 29 - }, - "end": { - "line": 36, - "column": 31 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1144, - "end": 1149, - "loc": { - "start": { - "line": 36, - "column": 32 - }, - "end": { - "line": 36, - "column": 37 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1150, - "end": 1156, - "loc": { - "start": { - "line": 36, - "column": 38 - }, - "end": { - "line": 36, - "column": 44 - }, - "identifierName": "global" - }, - "name": "global" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1191, - "end": 1278, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 41, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 1191, - "end": 1277, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 41, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1191, - "end": 1209, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1191, - "end": 1198, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1199, - "end": 1209, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1210, - "end": 1244, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 41, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1224, - "end": 1234, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 22 - } - }, - "callee": { - "type": "Identifier", - "start": 1224, - "end": 1232, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 20 - }, - "identifierName": "CurryAll" - }, - "name": "CurryAll" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 1246, - "end": 1263, - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1246, - "end": 1253, - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1254, - "end": 1263, - "loc": { - "start": { - "line": 41, - "column": 19 - }, - "end": { - "line": 41, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1265, - "end": 1270, - "loc": { - "start": { - "line": 41, - "column": 30 - }, - "end": { - "line": 41, - "column": 35 - } - }, - "extra": { - "rawValue": "add", - "raw": "\"add\"" - }, - "value": "add" - }, - { - "type": "NullLiteral", - "start": 1272, - "end": 1276, - "loc": { - "start": { - "line": 41, - "column": 37 - }, - "end": { - "line": 41, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1287, - "end": 1317, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1293, - "end": 1316, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1293, - "end": 1300, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1303, - "end": 1316, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1307, - "end": 1314, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1326, - "end": 1354, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1332, - "end": 1353, - "loc": { - "start": { - "line": 43, - "column": 14 - }, - "end": { - "line": 43, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 1332, - "end": 1336, - "loc": { - "start": { - "line": 43, - "column": 14 - }, - "end": { - "line": 43, - "column": 18 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "init": { - "type": "CallExpression", - "start": 1339, - "end": 1353, - "loc": { - "start": { - "line": 43, - "column": 21 - }, - "end": { - "line": 43, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1339, - "end": 1350, - "loc": { - "start": { - "line": 43, - "column": 21 - }, - "end": { - "line": 43, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 1339, - "end": 1346, - "loc": { - "start": { - "line": 43, - "column": 21 - }, - "end": { - "line": 43, - "column": 28 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1347, - "end": 1350, - "loc": { - "start": { - "line": 43, - "column": 29 - }, - "end": { - "line": 43, - "column": 32 - }, - "identifierName": "add" - }, - "name": "add" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1351, - "end": 1352, - "loc": { - "start": { - "line": 43, - "column": 33 - }, - "end": { - "line": 43, - "column": 34 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1363, - "end": 1372, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 17 - } - }, - "expression": { - "type": "CallExpression", - "start": 1363, - "end": 1371, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 16 - } - }, - "callee": { - "type": "Identifier", - "start": 1363, - "end": 1367, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 12 - }, - "identifierName": "add5" - }, - "name": "add5" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1368, - "end": 1370, - "loc": { - "start": { - "line": 44, - "column": 13 - }, - "end": { - "line": 44, - "column": 15 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 32, - "_esdocTestName": "it32" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 29, - "_esdocTestName": "describe29" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CurryAll", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 83, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 18 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 85, - "end": 89, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./curryAll", - "start": 90, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 37 - }, - "end": { - "line": 3, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 104, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 112, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "curryAll", - "start": 113, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 123, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 131, - "end": 132, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 137, - "end": 139, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 139, - "end": 140, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should curry the method with default arity", - "start": 140, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 184, - "end": 185, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 186, - "end": 187, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 187, - "end": 188, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 5, - "column": 55 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 189, - "end": 191, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 192, - "end": 193, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 5, - "column": 60 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 202, - "end": 207, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 208, - "end": 215, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 216, - "end": 217, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 230, - "end": 233, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 233, - "end": 234, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 234, - "end": 235, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 235, - "end": 236, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 237, - "end": 238, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 238, - "end": 239, - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 240, - "end": 241, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 258, - "end": 264, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 265, - "end": 266, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 267, - "end": 268, - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 269, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 270, - "end": 271, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 284, - "end": 285, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 294, - "end": 295, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 304, - "end": 311, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 311, - "end": 312, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 312, - "end": 322, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 322, - "end": 323, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 323, - "end": 324, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CurryAll", - "start": 337, - "end": 345, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 345, - "end": 346, - "loc": { - "start": { - "line": 12, - "column": 20 - }, - "end": { - "line": 12, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 346, - "end": 347, - "loc": { - "start": { - "line": 12, - "column": 21 - }, - "end": { - "line": 12, - "column": 22 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 356, - "end": 357, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 357, - "end": 358, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 359, - "end": 366, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 367, - "end": 376, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 376, - "end": 377, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "add", - "start": 378, - "end": 383, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 383, - "end": 384, - "loc": { - "start": { - "line": 13, - "column": 35 - }, - "end": { - "line": 13, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 385, - "end": 389, - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 389, - "end": 390, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 390, - "end": 391, - "loc": { - "start": { - "line": 13, - "column": 42 - }, - "end": { - "line": 13, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 400, - "end": 405, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 406, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 414, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 416, - "end": 419, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 420, - "end": 427, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 427, - "end": 428, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 428, - "end": 429, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 429, - "end": 430, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 439, - "end": 444, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 445, - "end": 449, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 450, - "end": 451, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 452, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 459, - "end": 460, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 460, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 464, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 465, - "end": 466, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 466, - "end": 467, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 476, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 482, - "end": 483, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 483, - "end": 487, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 487, - "end": 488, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 488, - "end": 489, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 489, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 21 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 491, - "end": 492, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 492, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 494, - "end": 495, - "loc": { - "start": { - "line": 16, - "column": 26 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "an", - "start": 495, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 27 - }, - "end": { - "line": 16, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 497, - "end": 498, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "instanceOf", - "start": 498, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 508, - "end": 509, - "loc": { - "start": { - "line": 16, - "column": 40 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Function", - "start": 509, - "end": 517, - "loc": { - "start": { - "line": 16, - "column": 41 - }, - "end": { - "line": 16, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 517, - "end": 518, - "loc": { - "start": { - "line": 16, - "column": 49 - }, - "end": { - "line": 16, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 518, - "end": 519, - "loc": { - "start": { - "line": 16, - "column": 50 - }, - "end": { - "line": 16, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 528, - "end": 534, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 534, - "end": 535, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 535, - "end": 539, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 539, - "end": 540, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 540, - "end": 542, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 542, - "end": 543, - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 543, - "end": 544, - "loc": { - "start": { - "line": 17, - "column": 23 - }, - "end": { - "line": 17, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 544, - "end": 545, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 545, - "end": 547, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 547, - "end": 548, - "loc": { - "start": { - "line": 17, - "column": 27 - }, - "end": { - "line": 17, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 548, - "end": 553, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 553, - "end": 554, - "loc": { - "start": { - "line": 17, - "column": 33 - }, - "end": { - "line": 17, - "column": 34 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 554, - "end": 556, - "loc": { - "start": { - "line": 17, - "column": 34 - }, - "end": { - "line": 17, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 556, - "end": 557, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 557, - "end": 558, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 563, - "end": 564, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 564, - "end": 565, - "loc": { - "start": { - "line": 18, - "column": 5 - }, - "end": { - "line": 18, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 565, - "end": 566, - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 571, - "end": 573, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 573, - "end": 574, - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should curry the method with fixed arity", - "start": 574, - "end": 616, - "loc": { - "start": { - "line": 19, - "column": 7 - }, - "end": { - "line": 19, - "column": 49 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 616, - "end": 617, - "loc": { - "start": { - "line": 19, - "column": 49 - }, - "end": { - "line": 19, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 618, - "end": 619, - "loc": { - "start": { - "line": 19, - "column": 51 - }, - "end": { - "line": 19, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 619, - "end": 620, - "loc": { - "start": { - "line": 19, - "column": 52 - }, - "end": { - "line": 19, - "column": 53 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 621, - "end": 623, - "loc": { - "start": { - "line": 19, - "column": 54 - }, - "end": { - "line": 19, - "column": 56 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 624, - "end": 625, - "loc": { - "start": { - "line": 19, - "column": 57 - }, - "end": { - "line": 19, - "column": 58 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 634, - "end": 639, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 640, - "end": 647, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 648, - "end": 649, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 662, - "end": 665, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 665, - "end": 666, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 666, - "end": 667, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 667, - "end": 668, - "loc": { - "start": { - "line": 21, - "column": 17 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 669, - "end": 670, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 670, - "end": 671, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "c", - "start": 672, - "end": 673, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 673, - "end": 674, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 675, - "end": 676, - "loc": { - "start": { - "line": 21, - "column": 25 - }, - "end": { - "line": 21, - "column": 26 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 693, - "end": 699, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 24 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 702, - "end": 703, - "loc": { - "start": { - "line": 22, - "column": 25 - }, - "end": { - "line": 22, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 704, - "end": 705, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 706, - "end": 707, - "loc": { - "start": { - "line": 22, - "column": 29 - }, - "end": { - "line": 22, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "c", - "start": 708, - "end": 709, - "loc": { - "start": { - "line": 22, - "column": 31 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 709, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 723, - "end": 724, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 733, - "end": 734, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 743, - "end": 750, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 750, - "end": 751, - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 25, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 751, - "end": 761, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 761, - "end": 762, - "loc": { - "start": { - "line": 25, - "column": 26 - }, - "end": { - "line": 25, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 762, - "end": 763, - "loc": { - "start": { - "line": 25, - "column": 27 - }, - "end": { - "line": 25, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CurryAll", - "start": 776, - "end": 784, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 784, - "end": 785, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 785, - "end": 786, - "loc": { - "start": { - "line": 26, - "column": 21 - }, - "end": { - "line": 26, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 786, - "end": 787, - "loc": { - "start": { - "line": 26, - "column": 22 - }, - "end": { - "line": 26, - "column": 23 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 796, - "end": 797, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 797, - "end": 798, - "loc": { - "start": { - "line": 27, - "column": 9 - }, - "end": { - "line": 27, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 799, - "end": 806, - "loc": { - "start": { - "line": 27, - "column": 11 - }, - "end": { - "line": 27, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 806, - "end": 807, - "loc": { - "start": { - "line": 27, - "column": 18 - }, - "end": { - "line": 27, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 807, - "end": 816, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 816, - "end": 817, - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "add", - "start": 818, - "end": 823, - "loc": { - "start": { - "line": 27, - "column": 30 - }, - "end": { - "line": 27, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 823, - "end": 824, - "loc": { - "start": { - "line": 27, - "column": 35 - }, - "end": { - "line": 27, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 825, - "end": 829, - "loc": { - "start": { - "line": 27, - "column": 37 - }, - "end": { - "line": 27, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 829, - "end": 830, - "loc": { - "start": { - "line": 27, - "column": 41 - }, - "end": { - "line": 27, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 830, - "end": 831, - "loc": { - "start": { - "line": 27, - "column": 42 - }, - "end": { - "line": 27, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 840, - "end": 845, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 846, - "end": 853, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 854, - "end": 855, - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 856, - "end": 859, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 28, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 860, - "end": 867, - "loc": { - "start": { - "line": 28, - "column": 28 - }, - "end": { - "line": 28, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 867, - "end": 868, - "loc": { - "start": { - "line": 28, - "column": 35 - }, - "end": { - "line": 28, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 868, - "end": 869, - "loc": { - "start": { - "line": 28, - "column": 36 - }, - "end": { - "line": 28, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 869, - "end": 870, - "loc": { - "start": { - "line": 28, - "column": 37 - }, - "end": { - "line": 28, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 879, - "end": 884, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 885, - "end": 889, - "loc": { - "start": { - "line": 29, - "column": 14 - }, - "end": { - "line": 29, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 890, - "end": 891, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 892, - "end": 899, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 899, - "end": 900, - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 29, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 900, - "end": 903, - "loc": { - "start": { - "line": 29, - "column": 29 - }, - "end": { - "line": 29, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 903, - "end": 904, - "loc": { - "start": { - "line": 29, - "column": 32 - }, - "end": { - "line": 29, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 904, - "end": 905, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 905, - "end": 906, - "loc": { - "start": { - "line": 29, - "column": 34 - }, - "end": { - "line": 29, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 906, - "end": 907, - "loc": { - "start": { - "line": 29, - "column": 35 - }, - "end": { - "line": 29, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 916, - "end": 922, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 922, - "end": 923, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 923, - "end": 927, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 927, - "end": 928, - "loc": { - "start": { - "line": 30, - "column": 19 - }, - "end": { - "line": 30, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 928, - "end": 929, - "loc": { - "start": { - "line": 30, - "column": 20 - }, - "end": { - "line": 30, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 929, - "end": 931, - "loc": { - "start": { - "line": 30, - "column": 21 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 931, - "end": 932, - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 932, - "end": 934, - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 934, - "end": 935, - "loc": { - "start": { - "line": 30, - "column": 26 - }, - "end": { - "line": 30, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "an", - "start": 935, - "end": 937, - "loc": { - "start": { - "line": 30, - "column": 27 - }, - "end": { - "line": 30, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 937, - "end": 938, - "loc": { - "start": { - "line": 30, - "column": 29 - }, - "end": { - "line": 30, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "instanceOf", - "start": 938, - "end": 948, - "loc": { - "start": { - "line": 30, - "column": 30 - }, - "end": { - "line": 30, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 948, - "end": 949, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Function", - "start": 949, - "end": 957, - "loc": { - "start": { - "line": 30, - "column": 41 - }, - "end": { - "line": 30, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 957, - "end": 958, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 958, - "end": 959, - "loc": { - "start": { - "line": 30, - "column": 50 - }, - "end": { - "line": 30, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 968, - "end": 974, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 974, - "end": 975, - "loc": { - "start": { - "line": 31, - "column": 14 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 975, - "end": 979, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 979, - "end": 980, - "loc": { - "start": { - "line": 31, - "column": 19 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 980, - "end": 982, - "loc": { - "start": { - "line": 31, - "column": 20 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 982, - "end": 983, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 984, - "end": 985, - "loc": { - "start": { - "line": 31, - "column": 24 - }, - "end": { - "line": 31, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 985, - "end": 986, - "loc": { - "start": { - "line": 31, - "column": 25 - }, - "end": { - "line": 31, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 986, - "end": 987, - "loc": { - "start": { - "line": 31, - "column": 26 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 987, - "end": 988, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 988, - "end": 990, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 990, - "end": 991, - "loc": { - "start": { - "line": 31, - "column": 30 - }, - "end": { - "line": 31, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 991, - "end": 996, - "loc": { - "start": { - "line": 31, - "column": 31 - }, - "end": { - "line": 31, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 996, - "end": 997, - "loc": { - "start": { - "line": 31, - "column": 36 - }, - "end": { - "line": 31, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 25, - "start": 997, - "end": 999, - "loc": { - "start": { - "line": 31, - "column": 37 - }, - "end": { - "line": 31, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 999, - "end": 1000, - "loc": { - "start": { - "line": 31, - "column": 39 - }, - "end": { - "line": 31, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1000, - "end": 1001, - "loc": { - "start": { - "line": 31, - "column": 40 - }, - "end": { - "line": 31, - "column": 41 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1006, - "end": 1007, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1007, - "end": 1008, - "loc": { - "start": { - "line": 32, - "column": 5 - }, - "end": { - "line": 32, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1008, - "end": 1009, - "loc": { - "start": { - "line": 32, - "column": 6 - }, - "end": { - "line": 32, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 1014, - "end": 1016, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1016, - "end": 1017, - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should not retain the class context", - "start": 1017, - "end": 1054, - "loc": { - "start": { - "line": 33, - "column": 7 - }, - "end": { - "line": 33, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1054, - "end": 1055, - "loc": { - "start": { - "line": 33, - "column": 44 - }, - "end": { - "line": 33, - "column": 45 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1056, - "end": 1057, - "loc": { - "start": { - "line": 33, - "column": 46 - }, - "end": { - "line": 33, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1057, - "end": 1058, - "loc": { - "start": { - "line": 33, - "column": 47 - }, - "end": { - "line": 33, - "column": 48 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1059, - "end": 1061, - "loc": { - "start": { - "line": 33, - "column": 49 - }, - "end": { - "line": 33, - "column": 51 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1062, - "end": 1063, - "loc": { - "start": { - "line": 33, - "column": 52 - }, - "end": { - "line": 33, - "column": 53 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 1072, - "end": 1077, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1078, - "end": 1085, - "loc": { - "start": { - "line": 34, - "column": 14 - }, - "end": { - "line": 34, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1086, - "end": 1087, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 34, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 1100, - "end": 1103, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1103, - "end": 1104, - "loc": { - "start": { - "line": 35, - "column": 15 - }, - "end": { - "line": 35, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 1104, - "end": 1105, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1105, - "end": 1106, - "loc": { - "start": { - "line": 35, - "column": 17 - }, - "end": { - "line": 35, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 1107, - "end": 1108, - "loc": { - "start": { - "line": 35, - "column": 19 - }, - "end": { - "line": 35, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1108, - "end": 1109, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1110, - "end": 1111, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1128, - "end": 1134, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1134, - "end": 1135, - "loc": { - "start": { - "line": 36, - "column": 22 - }, - "end": { - "line": 36, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1135, - "end": 1139, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1139, - "end": 1140, - "loc": { - "start": { - "line": 36, - "column": 27 - }, - "end": { - "line": 36, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1140, - "end": 1141, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1141, - "end": 1143, - "loc": { - "start": { - "line": 36, - "column": 29 - }, - "end": { - "line": 36, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1143, - "end": 1144, - "loc": { - "start": { - "line": 36, - "column": 31 - }, - "end": { - "line": 36, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1144, - "end": 1149, - "loc": { - "start": { - "line": 36, - "column": 32 - }, - "end": { - "line": 36, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1149, - "end": 1150, - "loc": { - "start": { - "line": 36, - "column": 37 - }, - "end": { - "line": 36, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "global", - "start": 1150, - "end": 1156, - "loc": { - "start": { - "line": 36, - "column": 38 - }, - "end": { - "line": 36, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1156, - "end": 1157, - "loc": { - "start": { - "line": 36, - "column": 44 - }, - "end": { - "line": 36, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1157, - "end": 1158, - "loc": { - "start": { - "line": 36, - "column": 45 - }, - "end": { - "line": 36, - "column": 46 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1171, - "end": 1172, - "loc": { - "start": { - "line": 37, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1181, - "end": 1182, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1191, - "end": 1198, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1198, - "end": 1199, - "loc": { - "start": { - "line": 39, - "column": 15 - }, - "end": { - "line": 39, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1199, - "end": 1209, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1209, - "end": 1210, - "loc": { - "start": { - "line": 39, - "column": 26 - }, - "end": { - "line": 39, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1210, - "end": 1211, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 39, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CurryAll", - "start": 1224, - "end": 1232, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1232, - "end": 1233, - "loc": { - "start": { - "line": 40, - "column": 20 - }, - "end": { - "line": 40, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1233, - "end": 1234, - "loc": { - "start": { - "line": 40, - "column": 21 - }, - "end": { - "line": 40, - "column": 22 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1243, - "end": 1244, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1244, - "end": 1245, - "loc": { - "start": { - "line": 41, - "column": 9 - }, - "end": { - "line": 41, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1246, - "end": 1253, - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1253, - "end": 1254, - "loc": { - "start": { - "line": 41, - "column": 18 - }, - "end": { - "line": 41, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1254, - "end": 1263, - "loc": { - "start": { - "line": 41, - "column": 19 - }, - "end": { - "line": 41, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1263, - "end": 1264, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "add", - "start": 1265, - "end": 1270, - "loc": { - "start": { - "line": 41, - "column": 30 - }, - "end": { - "line": 41, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1270, - "end": 1271, - "loc": { - "start": { - "line": 41, - "column": 35 - }, - "end": { - "line": 41, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1272, - "end": 1276, - "loc": { - "start": { - "line": 41, - "column": 37 - }, - "end": { - "line": 41, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1276, - "end": 1277, - "loc": { - "start": { - "line": 41, - "column": 41 - }, - "end": { - "line": 41, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1277, - "end": 1278, - "loc": { - "start": { - "line": 41, - "column": 42 - }, - "end": { - "line": 41, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1287, - "end": 1292, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1293, - "end": 1300, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1301, - "end": 1302, - "loc": { - "start": { - "line": 42, - "column": 22 - }, - "end": { - "line": 42, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1303, - "end": 1306, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1307, - "end": 1314, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1314, - "end": 1315, - "loc": { - "start": { - "line": 42, - "column": 35 - }, - "end": { - "line": 42, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1315, - "end": 1316, - "loc": { - "start": { - "line": 42, - "column": 36 - }, - "end": { - "line": 42, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1316, - "end": 1317, - "loc": { - "start": { - "line": 42, - "column": 37 - }, - "end": { - "line": 42, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1326, - "end": 1331, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 1332, - "end": 1336, - "loc": { - "start": { - "line": 43, - "column": 14 - }, - "end": { - "line": 43, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1337, - "end": 1338, - "loc": { - "start": { - "line": 43, - "column": 19 - }, - "end": { - "line": 43, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1339, - "end": 1346, - "loc": { - "start": { - "line": 43, - "column": 21 - }, - "end": { - "line": 43, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1346, - "end": 1347, - "loc": { - "start": { - "line": 43, - "column": 28 - }, - "end": { - "line": 43, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 1347, - "end": 1350, - "loc": { - "start": { - "line": 43, - "column": 29 - }, - "end": { - "line": 43, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1350, - "end": 1351, - "loc": { - "start": { - "line": 43, - "column": 32 - }, - "end": { - "line": 43, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1351, - "end": 1352, - "loc": { - "start": { - "line": 43, - "column": 33 - }, - "end": { - "line": 43, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1352, - "end": 1353, - "loc": { - "start": { - "line": 43, - "column": 34 - }, - "end": { - "line": 43, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1353, - "end": 1354, - "loc": { - "start": { - "line": 43, - "column": 35 - }, - "end": { - "line": 43, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add5", - "start": 1363, - "end": 1367, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1367, - "end": 1368, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 13 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1368, - "end": 1370, - "loc": { - "start": { - "line": 44, - "column": 13 - }, - "end": { - "line": 44, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1370, - "end": 1371, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 16 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1371, - "end": 1372, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1377, - "end": 1378, - "loc": { - "start": { - "line": 45, - "column": 4 - }, - "end": { - "line": 45, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1378, - "end": 1379, - "loc": { - "start": { - "line": 45, - "column": 5 - }, - "end": { - "line": 45, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1379, - "end": 1380, - "loc": { - "start": { - "line": 45, - "column": 6 - }, - "end": { - "line": 45, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1381, - "end": 1382, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1382, - "end": 1383, - "loc": { - "start": { - "line": 46, - "column": 1 - }, - "end": { - "line": 46, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1383, - "end": 1384, - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1385, - "end": 1385, - "loc": { - "start": { - "line": 47, - "column": 0 - }, - "end": { - "line": 47, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/curryRight.spec.js.json b/docs/ast/test/curryRight.spec.js.json deleted file mode 100644 index cf266cb..0000000 --- a/docs/ast/test/curryRight.spec.js.json +++ /dev/null @@ -1,8372 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1009, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 35, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1009, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 35, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 107, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 42 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 19 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 19 - }, - "identifierName": "CurryRight" - }, - "name": "CurryRight" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 19 - }, - "identifierName": "CurryRight" - }, - "name": "CurryRight" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 92, - "end": 106, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 41 - } - }, - "extra": { - "rawValue": "./curryRight", - "raw": "'./curryRight'" - }, - "value": "./curryRight" - } - }, - { - "type": "ExpressionStatement", - "start": 108, - "end": 1008, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 34, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 108, - "end": 1007, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 34, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 108, - "end": 116, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 117, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 21 - } - }, - "extra": { - "rawValue": "curryRight", - "raw": "'curryRight'" - }, - "value": "curryRight" - }, - { - "type": "ArrowFunctionExpression", - "start": 131, - "end": 1006, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 34, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 137, - "end": 1006, - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 34, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 143, - "end": 526, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 17, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 143, - "end": 525, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 17, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 143, - "end": 145, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 146, - "end": 190, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - }, - "extra": { - "rawValue": "should curry the method with default arity", - "raw": "'should curry the method with default arity'" - }, - "value": "should curry the method with default arity" - }, - { - "type": "ArrowFunctionExpression", - "start": 192, - "end": 524, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 198, - "end": 524, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 208, - "end": 302, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 214, - "end": 221, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 222, - "end": 302, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 236, - "end": 292, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 236, - "end": 239, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - }, - "identifierName": "add" - }, - "name": "add" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 240, - "end": 241, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 243, - "end": 244, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - }, - "identifierName": "b" - }, - "name": "b" - } - ], - "body": { - "type": "BlockStatement", - "start": 246, - "end": 292, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 264, - "end": 278, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 30 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 271, - "end": 277, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 29 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 272, - "end": 273, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 275, - "end": 276, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 311, - "end": 400, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 311, - "end": 399, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 311, - "end": 329, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 311, - "end": 318, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 319, - "end": 329, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 330, - "end": 366, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 344, - "end": 356, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 344, - "end": 354, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 22 - }, - "identifierName": "CurryRight" - }, - "name": "CurryRight" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 368, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 368, - "end": 375, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 376, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 387, - "end": 392, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 35 - } - }, - "extra": { - "rawValue": "add", - "raw": "\"add\"" - }, - "value": "add" - }, - { - "type": "NullLiteral", - "start": 394, - "end": 398, - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 409, - "end": 439, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 415, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 415, - "end": 422, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 425, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 429, - "end": 436, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 448, - "end": 476, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 454, - "end": 475, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 454, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 18 - }, - "identifierName": "set5" - }, - "name": "set5" - }, - "init": { - "type": "CallExpression", - "start": 461, - "end": 475, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 461, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 461, - "end": 468, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 28 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 469, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 32 - }, - "identifierName": "add" - }, - "name": "add" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 473, - "end": 474, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 485, - "end": 518, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 485, - "end": 517, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 485, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 485, - "end": 504, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 27 - } - }, - "object": { - "type": "CallExpression", - "start": 485, - "end": 501, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 485, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 492, - "end": 500, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 492, - "end": 496, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 19 - }, - "identifierName": "set5" - }, - "name": "set5" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 497, - "end": 499, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 22 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 502, - "end": 504, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 27 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 505, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 31 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 509, - "end": 516, - "loc": { - "start": { - "line": 16, - "column": 32 - }, - "end": { - "line": 16, - "column": 39 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 510, - "end": 512, - "loc": { - "start": { - "line": 16, - "column": 33 - }, - "end": { - "line": 16, - "column": 35 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "NumericLiteral", - "start": 514, - "end": 515, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 34, - "_esdocTestName": "it34" - } - }, - { - "type": "ExpressionStatement", - "start": 531, - "end": 1004, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 33, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 531, - "end": 1003, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 33, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 531, - "end": 533, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 534, - "end": 567, - "loc": { - "start": { - "line": 18, - "column": 7 - }, - "end": { - "line": 18, - "column": 40 - } - }, - "extra": { - "rawValue": "should retain the class context", - "raw": "'should retain the class context'" - }, - "value": "should retain the class context" - }, - { - "type": "ArrowFunctionExpression", - "start": 569, - "end": 1002, - "loc": { - "start": { - "line": 18, - "column": 42 - }, - "end": { - "line": 33, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 575, - "end": 1002, - "loc": { - "start": { - "line": 18, - "column": 48 - }, - "end": { - "line": 33, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 585, - "end": 771, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 26, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 591, - "end": 598, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 599, - "end": 771, - "loc": { - "start": { - "line": 19, - "column": 22 - }, - "end": { - "line": 26, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 613, - "end": 680, - "loc": { - "start": { - "line": 20, - "column": 12 - }, - "end": { - "line": 22, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 613, - "end": 624, - "loc": { - "start": { - "line": 20, - "column": 12 - }, - "end": { - "line": 20, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 627, - "end": 680, - "loc": { - "start": { - "line": 20, - "column": 26 - }, - "end": { - "line": 22, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 645, - "end": 666, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 37 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 645, - "end": 665, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 36 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 645, - "end": 655, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 645, - "end": 649, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 650, - "end": 655, - "loc": { - "start": { - "line": 21, - "column": 21 - }, - "end": { - "line": 21, - "column": 26 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 658, - "end": 665, - "loc": { - "start": { - "line": 21, - "column": 29 - }, - "end": { - "line": 21, - "column": 36 - } - }, - "extra": { - "rawValue": "blorg", - "raw": "'blorg'" - }, - "value": "blorg" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 693, - "end": 761, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 25, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 693, - "end": 696, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 15 - }, - "identifierName": "add" - }, - "name": "add" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 697, - "end": 698, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - }, - "identifierName": "b" - }, - "name": "b" - } - ], - "body": { - "type": "BlockStatement", - "start": 703, - "end": 761, - "loc": { - "start": { - "line": 23, - "column": 22 - }, - "end": { - "line": 25, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 721, - "end": 747, - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 42 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 728, - "end": 746, - "loc": { - "start": { - "line": 24, - "column": 23 - }, - "end": { - "line": 24, - "column": 41 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 729, - "end": 730, - "loc": { - "start": { - "line": 24, - "column": 24 - }, - "end": { - "line": 24, - "column": 25 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 732, - "end": 733, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - }, - { - "type": "MemberExpression", - "start": 735, - "end": 745, - "loc": { - "start": { - "line": 24, - "column": 30 - }, - "end": { - "line": 24, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 735, - "end": 739, - "loc": { - "start": { - "line": 24, - "column": 30 - }, - "end": { - "line": 24, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 740, - "end": 745, - "loc": { - "start": { - "line": 24, - "column": 35 - }, - "end": { - "line": 24, - "column": 40 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 780, - "end": 869, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 29, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 780, - "end": 868, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 29, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 780, - "end": 798, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 780, - "end": 787, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 788, - "end": 798, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 799, - "end": 835, - "loc": { - "start": { - "line": 27, - "column": 27 - }, - "end": { - "line": 29, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 813, - "end": 825, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 813, - "end": 823, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 22 - }, - "identifierName": "CurryRight" - }, - "name": "CurryRight" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 837, - "end": 854, - "loc": { - "start": { - "line": 29, - "column": 11 - }, - "end": { - "line": 29, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 837, - "end": 844, - "loc": { - "start": { - "line": 29, - "column": 11 - }, - "end": { - "line": 29, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 845, - "end": 854, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 856, - "end": 861, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 35 - } - }, - "extra": { - "rawValue": "add", - "raw": "\"add\"" - }, - "value": "add" - }, - { - "type": "NullLiteral", - "start": 863, - "end": 867, - "loc": { - "start": { - "line": 29, - "column": 37 - }, - "end": { - "line": 29, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 878, - "end": 908, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 884, - "end": 907, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 884, - "end": 891, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 894, - "end": 907, - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 898, - "end": 905, - "loc": { - "start": { - "line": 30, - "column": 28 - }, - "end": { - "line": 30, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 917, - "end": 945, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 923, - "end": 944, - "loc": { - "start": { - "line": 31, - "column": 14 - }, - "end": { - "line": 31, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 923, - "end": 927, - "loc": { - "start": { - "line": 31, - "column": 14 - }, - "end": { - "line": 31, - "column": 18 - }, - "identifierName": "set5" - }, - "name": "set5" - }, - "init": { - "type": "CallExpression", - "start": 930, - "end": 944, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 930, - "end": 941, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 930, - "end": 937, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 28 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 938, - "end": 941, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 31, - "column": 32 - }, - "identifierName": "add" - }, - "name": "add" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 942, - "end": 943, - "loc": { - "start": { - "line": 31, - "column": 33 - }, - "end": { - "line": 31, - "column": 34 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 954, - "end": 996, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 954, - "end": 995, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 954, - "end": 977, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 954, - "end": 973, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 27 - } - }, - "object": { - "type": "CallExpression", - "start": 954, - "end": 970, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 954, - "end": 960, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 961, - "end": 969, - "loc": { - "start": { - "line": 32, - "column": 15 - }, - "end": { - "line": 32, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 961, - "end": 965, - "loc": { - "start": { - "line": 32, - "column": 15 - }, - "end": { - "line": 32, - "column": 19 - }, - "identifierName": "set5" - }, - "name": "set5" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 966, - "end": 968, - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 22 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 971, - "end": 973, - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 27 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 974, - "end": 977, - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 31 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 978, - "end": 994, - "loc": { - "start": { - "line": 32, - "column": 32 - }, - "end": { - "line": 32, - "column": 48 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 979, - "end": 981, - "loc": { - "start": { - "line": 32, - "column": 33 - }, - "end": { - "line": 32, - "column": 35 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "NumericLiteral", - "start": 983, - "end": 984, - "loc": { - "start": { - "line": 32, - "column": 37 - }, - "end": { - "line": 32, - "column": 38 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - }, - { - "type": "StringLiteral", - "start": 986, - "end": 993, - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 47 - } - }, - "extra": { - "rawValue": "blorg", - "raw": "'blorg'" - }, - "value": "blorg" - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 35, - "_esdocTestName": "it35" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 33, - "_esdocTestName": "describe33" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CurryRight", - "start": 74, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 85, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 87, - "end": 91, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./curryRight", - "start": 92, - "end": 106, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 106, - "end": 107, - "loc": { - "start": { - "line": 3, - "column": 41 - }, - "end": { - "line": 3, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 108, - "end": 116, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "curryRight", - "start": 117, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 129, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 131, - "end": 132, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 132, - "end": 133, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 134, - "end": 136, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 137, - "end": 138, - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 143, - "end": 145, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 145, - "end": 146, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should curry the method with default arity", - "start": 146, - "end": 190, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 190, - "end": 191, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 192, - "end": 193, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 193, - "end": 194, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 5, - "column": 55 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 195, - "end": 197, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 198, - "end": 199, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 5, - "column": 60 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 208, - "end": 213, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 214, - "end": 221, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 222, - "end": 223, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 236, - "end": 239, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 239, - "end": 240, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 240, - "end": 241, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 241, - "end": 242, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 243, - "end": 244, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 244, - "end": 245, - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 246, - "end": 247, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 264, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 272, - "end": 273, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 273, - "end": 274, - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 275, - "end": 276, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 276, - "end": 277, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 277, - "end": 278, - "loc": { - "start": { - "line": 8, - "column": 29 - }, - "end": { - "line": 8, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 291, - "end": 292, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 301, - "end": 302, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 311, - "end": 318, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 318, - "end": 319, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 319, - "end": 329, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 330, - "end": 331, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CurryRight", - "start": 344, - "end": 354, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 354, - "end": 355, - "loc": { - "start": { - "line": 12, - "column": 22 - }, - "end": { - "line": 12, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 355, - "end": 356, - "loc": { - "start": { - "line": 12, - "column": 23 - }, - "end": { - "line": 12, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 365, - "end": 366, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 368, - "end": 375, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 375, - "end": 376, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 376, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "add", - "start": 387, - "end": 392, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 392, - "end": 393, - "loc": { - "start": { - "line": 13, - "column": 35 - }, - "end": { - "line": 13, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 394, - "end": 398, - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 398, - "end": 399, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 399, - "end": 400, - "loc": { - "start": { - "line": 13, - "column": 42 - }, - "end": { - "line": 13, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 409, - "end": 414, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 415, - "end": 422, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 423, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 425, - "end": 428, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 429, - "end": 436, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 436, - "end": 437, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 437, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 438, - "end": 439, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 448, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set5", - "start": 454, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 459, - "end": 460, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 461, - "end": 468, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 468, - "end": 469, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 469, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 473, - "end": 474, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 474, - "end": 475, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 475, - "end": 476, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 485, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 491, - "end": 492, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set5", - "start": 492, - "end": 496, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 496, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 497, - "end": 499, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 499, - "end": 500, - "loc": { - "start": { - "line": 16, - "column": 22 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 500, - "end": 501, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 501, - "end": 502, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 502, - "end": 504, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 504, - "end": 505, - "loc": { - "start": { - "line": 16, - "column": 27 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 505, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 508, - "end": 509, - "loc": { - "start": { - "line": 16, - "column": 31 - }, - "end": { - "line": 16, - "column": 32 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 509, - "end": 510, - "loc": { - "start": { - "line": 16, - "column": 32 - }, - "end": { - "line": 16, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 510, - "end": 512, - "loc": { - "start": { - "line": 16, - "column": 33 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 512, - "end": 513, - "loc": { - "start": { - "line": 16, - "column": 35 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 514, - "end": 515, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 515, - "end": 516, - "loc": { - "start": { - "line": 16, - "column": 38 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 516, - "end": 517, - "loc": { - "start": { - "line": 16, - "column": 39 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 517, - "end": 518, - "loc": { - "start": { - "line": 16, - "column": 40 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 523, - "end": 524, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 525, - "end": 526, - "loc": { - "start": { - "line": 17, - "column": 6 - }, - "end": { - "line": 17, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 531, - "end": 533, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 533, - "end": 534, - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should retain the class context", - "start": 534, - "end": 567, - "loc": { - "start": { - "line": 18, - "column": 7 - }, - "end": { - "line": 18, - "column": 40 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 567, - "end": 568, - "loc": { - "start": { - "line": 18, - "column": 40 - }, - "end": { - "line": 18, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 569, - "end": 570, - "loc": { - "start": { - "line": 18, - "column": 42 - }, - "end": { - "line": 18, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 570, - "end": 571, - "loc": { - "start": { - "line": 18, - "column": 43 - }, - "end": { - "line": 18, - "column": 44 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 572, - "end": 574, - "loc": { - "start": { - "line": 18, - "column": 45 - }, - "end": { - "line": 18, - "column": 47 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 575, - "end": 576, - "loc": { - "start": { - "line": 18, - "column": 48 - }, - "end": { - "line": 18, - "column": 49 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 585, - "end": 590, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 591, - "end": 598, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 599, - "end": 600, - "loc": { - "start": { - "line": 19, - "column": 22 - }, - "end": { - "line": 19, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 613, - "end": 624, - "loc": { - "start": { - "line": 20, - "column": 12 - }, - "end": { - "line": 20, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 624, - "end": 625, - "loc": { - "start": { - "line": 20, - "column": 23 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 625, - "end": 626, - "loc": { - "start": { - "line": 20, - "column": 24 - }, - "end": { - "line": 20, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 627, - "end": 628, - "loc": { - "start": { - "line": 20, - "column": 26 - }, - "end": { - "line": 20, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 645, - "end": 649, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 649, - "end": 650, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 650, - "end": 655, - "loc": { - "start": { - "line": 21, - "column": 21 - }, - "end": { - "line": 21, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 656, - "end": 657, - "loc": { - "start": { - "line": 21, - "column": 27 - }, - "end": { - "line": 21, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "blorg", - "start": 658, - "end": 665, - "loc": { - "start": { - "line": 21, - "column": 29 - }, - "end": { - "line": 21, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 665, - "end": 666, - "loc": { - "start": { - "line": 21, - "column": 36 - }, - "end": { - "line": 21, - "column": 37 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 679, - "end": 680, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 693, - "end": 696, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 696, - "end": 697, - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 697, - "end": 698, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 701, - "end": 702, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 703, - "end": 704, - "loc": { - "start": { - "line": 23, - "column": 22 - }, - "end": { - "line": 23, - "column": 23 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 721, - "end": 727, - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 728, - "end": 729, - "loc": { - "start": { - "line": 24, - "column": 23 - }, - "end": { - "line": 24, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 729, - "end": 730, - "loc": { - "start": { - "line": 24, - "column": 24 - }, - "end": { - "line": 24, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 730, - "end": 731, - "loc": { - "start": { - "line": 24, - "column": 25 - }, - "end": { - "line": 24, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 732, - "end": 733, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 733, - "end": 734, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 29 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 735, - "end": 739, - "loc": { - "start": { - "line": 24, - "column": 30 - }, - "end": { - "line": 24, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 739, - "end": 740, - "loc": { - "start": { - "line": 24, - "column": 34 - }, - "end": { - "line": 24, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 740, - "end": 745, - "loc": { - "start": { - "line": 24, - "column": 35 - }, - "end": { - "line": 24, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 745, - "end": 746, - "loc": { - "start": { - "line": 24, - "column": 40 - }, - "end": { - "line": 24, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 746, - "end": 747, - "loc": { - "start": { - "line": 24, - "column": 41 - }, - "end": { - "line": 24, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 760, - "end": 761, - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 770, - "end": 771, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 780, - "end": 787, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 787, - "end": 788, - "loc": { - "start": { - "line": 27, - "column": 15 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 788, - "end": 798, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 798, - "end": 799, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 799, - "end": 800, - "loc": { - "start": { - "line": 27, - "column": 27 - }, - "end": { - "line": 27, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CurryRight", - "start": 813, - "end": 823, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 823, - "end": 824, - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 824, - "end": 825, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 834, - "end": 835, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 835, - "end": 836, - "loc": { - "start": { - "line": 29, - "column": 9 - }, - "end": { - "line": 29, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 837, - "end": 844, - "loc": { - "start": { - "line": 29, - "column": 11 - }, - "end": { - "line": 29, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 844, - "end": 845, - "loc": { - "start": { - "line": 29, - "column": 18 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 845, - "end": 854, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 854, - "end": 855, - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 29, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "add", - "start": 856, - "end": 861, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 861, - "end": 862, - "loc": { - "start": { - "line": 29, - "column": 35 - }, - "end": { - "line": 29, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 863, - "end": 867, - "loc": { - "start": { - "line": 29, - "column": 37 - }, - "end": { - "line": 29, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 867, - "end": 868, - "loc": { - "start": { - "line": 29, - "column": 41 - }, - "end": { - "line": 29, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 868, - "end": 869, - "loc": { - "start": { - "line": 29, - "column": 42 - }, - "end": { - "line": 29, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 878, - "end": 883, - "loc": { - "start": { - "line": 30, - "column": 8 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 884, - "end": 891, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 892, - "end": 893, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 894, - "end": 897, - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 898, - "end": 905, - "loc": { - "start": { - "line": 30, - "column": 28 - }, - "end": { - "line": 30, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 905, - "end": 906, - "loc": { - "start": { - "line": 30, - "column": 35 - }, - "end": { - "line": 30, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 906, - "end": 907, - "loc": { - "start": { - "line": 30, - "column": 36 - }, - "end": { - "line": 30, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 907, - "end": 908, - "loc": { - "start": { - "line": 30, - "column": 37 - }, - "end": { - "line": 30, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 917, - "end": 922, - "loc": { - "start": { - "line": 31, - "column": 8 - }, - "end": { - "line": 31, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set5", - "start": 923, - "end": 927, - "loc": { - "start": { - "line": 31, - "column": 14 - }, - "end": { - "line": 31, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 928, - "end": 929, - "loc": { - "start": { - "line": 31, - "column": 19 - }, - "end": { - "line": 31, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 930, - "end": 937, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 937, - "end": 938, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 938, - "end": 941, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 31, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 941, - "end": 942, - "loc": { - "start": { - "line": 31, - "column": 32 - }, - "end": { - "line": 31, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 942, - "end": 943, - "loc": { - "start": { - "line": 31, - "column": 33 - }, - "end": { - "line": 31, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 943, - "end": 944, - "loc": { - "start": { - "line": 31, - "column": 34 - }, - "end": { - "line": 31, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 944, - "end": 945, - "loc": { - "start": { - "line": 31, - "column": 35 - }, - "end": { - "line": 31, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 954, - "end": 960, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 960, - "end": 961, - "loc": { - "start": { - "line": 32, - "column": 14 - }, - "end": { - "line": 32, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set5", - "start": 961, - "end": 965, - "loc": { - "start": { - "line": 32, - "column": 15 - }, - "end": { - "line": 32, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 965, - "end": 966, - "loc": { - "start": { - "line": 32, - "column": 19 - }, - "end": { - "line": 32, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 966, - "end": 968, - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 968, - "end": 969, - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 969, - "end": 970, - "loc": { - "start": { - "line": 32, - "column": 23 - }, - "end": { - "line": 32, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 970, - "end": 971, - "loc": { - "start": { - "line": 32, - "column": 24 - }, - "end": { - "line": 32, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 971, - "end": 973, - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 973, - "end": 974, - "loc": { - "start": { - "line": 32, - "column": 27 - }, - "end": { - "line": 32, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 974, - "end": 977, - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 977, - "end": 978, - "loc": { - "start": { - "line": 32, - "column": 31 - }, - "end": { - "line": 32, - "column": 32 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 978, - "end": 979, - "loc": { - "start": { - "line": 32, - "column": 32 - }, - "end": { - "line": 32, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 979, - "end": 981, - "loc": { - "start": { - "line": 32, - "column": 33 - }, - "end": { - "line": 32, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 981, - "end": 982, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 36 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 983, - "end": 984, - "loc": { - "start": { - "line": 32, - "column": 37 - }, - "end": { - "line": 32, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 984, - "end": 985, - "loc": { - "start": { - "line": 32, - "column": 38 - }, - "end": { - "line": 32, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "blorg", - "start": 986, - "end": 993, - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 47 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 993, - "end": 994, - "loc": { - "start": { - "line": 32, - "column": 47 - }, - "end": { - "line": 32, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 994, - "end": 995, - "loc": { - "start": { - "line": 32, - "column": 48 - }, - "end": { - "line": 32, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 995, - "end": 996, - "loc": { - "start": { - "line": 32, - "column": 49 - }, - "end": { - "line": 32, - "column": 50 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1001, - "end": 1002, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1002, - "end": 1003, - "loc": { - "start": { - "line": 33, - "column": 5 - }, - "end": { - "line": 33, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1003, - "end": 1004, - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1005, - "end": 1006, - "loc": { - "start": { - "line": 34, - "column": 0 - }, - "end": { - "line": 34, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1006, - "end": 1007, - "loc": { - "start": { - "line": 34, - "column": 1 - }, - "end": { - "line": 34, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1007, - "end": 1008, - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1009, - "end": 1009, - "loc": { - "start": { - "line": 35, - "column": 0 - }, - "end": { - "line": 35, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/curryRightAll.spec.js.json b/docs/ast/test/curryRightAll.spec.js.json deleted file mode 100644 index b08be61..0000000 --- a/docs/ast/test/curryRightAll.spec.js.json +++ /dev/null @@ -1,4474 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 543, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 19, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 543, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 19, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 113, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 48 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 22 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 22 - }, - "identifierName": "CurryRightAll" - }, - "name": "CurryRightAll" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 22 - }, - "identifierName": "CurryRightAll" - }, - "name": "CurryRightAll" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 95, - "end": 112, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 47 - } - }, - "extra": { - "rawValue": "./curryRightAll", - "raw": "'./curryRightAll'" - }, - "value": "./curryRightAll" - } - }, - { - "type": "ExpressionStatement", - "start": 114, - "end": 542, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 18, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 114, - "end": 541, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 18, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 114, - "end": 122, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 123, - "end": 138, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 24 - } - }, - "extra": { - "rawValue": "curryRightAll", - "raw": "'curryRightAll'" - }, - "value": "curryRightAll" - }, - { - "type": "ArrowFunctionExpression", - "start": 140, - "end": 540, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 18, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 146, - "end": 540, - "loc": { - "start": { - "line": 4, - "column": 32 - }, - "end": { - "line": 18, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 152, - "end": 538, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 17, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 152, - "end": 537, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 17, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 152, - "end": 154, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 155, - "end": 199, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - }, - "extra": { - "rawValue": "should curry the method with default arity", - "raw": "'should curry the method with default arity'" - }, - "value": "should curry the method with default arity" - }, - { - "type": "ArrowFunctionExpression", - "start": 201, - "end": 536, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 207, - "end": 536, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 217, - "end": 311, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 223, - "end": 230, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 231, - "end": 311, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 245, - "end": 301, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 245, - "end": 248, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - }, - "identifierName": "add" - }, - "name": "add" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 249, - "end": 250, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - }, - "identifierName": "b" - }, - "name": "b" - } - ], - "body": { - "type": "BlockStatement", - "start": 255, - "end": 301, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 273, - "end": 287, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 30 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 280, - "end": 286, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 29 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 284, - "end": 285, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 320, - "end": 412, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 320, - "end": 411, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 320, - "end": 338, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 320, - "end": 327, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 328, - "end": 338, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 339, - "end": 378, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 353, - "end": 368, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 353, - "end": 366, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 25 - }, - "identifierName": "CurryRightAll" - }, - "name": "CurryRightAll" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 380, - "end": 397, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 380, - "end": 387, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 388, - "end": 397, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 399, - "end": 404, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 35 - } - }, - "extra": { - "rawValue": "add", - "raw": "\"add\"" - }, - "value": "add" - }, - { - "type": "NullLiteral", - "start": 406, - "end": 410, - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 41 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 421, - "end": 451, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 427, - "end": 450, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 427, - "end": 434, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 437, - "end": 450, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 441, - "end": 448, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 460, - "end": 488, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 466, - "end": 487, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 466, - "end": 470, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 18 - }, - "identifierName": "set5" - }, - "name": "set5" - }, - "init": { - "type": "CallExpression", - "start": 473, - "end": 487, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 473, - "end": 484, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 473, - "end": 480, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 28 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 481, - "end": 484, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 32 - }, - "identifierName": "add" - }, - "name": "add" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 485, - "end": 486, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 497, - "end": 530, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 497, - "end": 529, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 497, - "end": 520, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 497, - "end": 516, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 27 - } - }, - "object": { - "type": "CallExpression", - "start": 497, - "end": 513, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 497, - "end": 503, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 504, - "end": 512, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 504, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 19 - }, - "identifierName": "set5" - }, - "name": "set5" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 509, - "end": 511, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 22 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 514, - "end": 516, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 27 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 517, - "end": 520, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 31 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 521, - "end": 528, - "loc": { - "start": { - "line": 16, - "column": 32 - }, - "end": { - "line": 16, - "column": 39 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 522, - "end": 524, - "loc": { - "start": { - "line": 16, - "column": 33 - }, - "end": { - "line": 16, - "column": 35 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "NumericLiteral", - "start": 526, - "end": 527, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 37, - "_esdocTestName": "it37" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 36, - "_esdocTestName": "describe36" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CurryRightAll", - "start": 74, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 88, - "end": 89, - "loc": { - "start": { - "line": 3, - "column": 23 - }, - "end": { - "line": 3, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 90, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./curryRightAll", - "start": 95, - "end": 112, - "loc": { - "start": { - "line": 3, - "column": 30 - }, - "end": { - "line": 3, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 112, - "end": 113, - "loc": { - "start": { - "line": 3, - "column": 47 - }, - "end": { - "line": 3, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 114, - "end": 122, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "curryRightAll", - "start": 123, - "end": 138, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 138, - "end": 139, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 140, - "end": 141, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 141, - "end": 142, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 28 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 143, - "end": 145, - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 31 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 146, - "end": 147, - "loc": { - "start": { - "line": 4, - "column": 32 - }, - "end": { - "line": 4, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 152, - "end": 154, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 154, - "end": 155, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should curry the method with default arity", - "start": 155, - "end": 199, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 199, - "end": 200, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 201, - "end": 202, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 202, - "end": 203, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 5, - "column": 55 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 204, - "end": 206, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 207, - "end": 208, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 5, - "column": 60 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 217, - "end": 222, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 223, - "end": 230, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 231, - "end": 232, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 245, - "end": 248, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 248, - "end": 249, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 249, - "end": 250, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 250, - "end": 251, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 253, - "end": 254, - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 255, - "end": 256, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 273, - "end": 279, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 280, - "end": 281, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 282, - "end": 283, - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 284, - "end": 285, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 285, - "end": 286, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 286, - "end": 287, - "loc": { - "start": { - "line": 8, - "column": 29 - }, - "end": { - "line": 8, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 300, - "end": 301, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 310, - "end": 311, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 320, - "end": 327, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 327, - "end": 328, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 328, - "end": 338, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 338, - "end": 339, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 339, - "end": 340, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CurryRightAll", - "start": 353, - "end": 366, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 12, - "column": 25 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 367, - "end": 368, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 377, - "end": 378, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 378, - "end": 379, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 380, - "end": 387, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 387, - "end": 388, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 388, - "end": 397, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 397, - "end": 398, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "add", - "start": 399, - "end": 404, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 404, - "end": 405, - "loc": { - "start": { - "line": 13, - "column": 35 - }, - "end": { - "line": 13, - "column": 36 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 406, - "end": 410, - "loc": { - "start": { - "line": 13, - "column": 37 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 410, - "end": 411, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 411, - "end": 412, - "loc": { - "start": { - "line": 13, - "column": 42 - }, - "end": { - "line": 13, - "column": 43 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 421, - "end": 426, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 427, - "end": 434, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 435, - "end": 436, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 437, - "end": 440, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 441, - "end": 448, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 448, - "end": 449, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 449, - "end": 450, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 450, - "end": 451, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 460, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set5", - "start": 466, - "end": 470, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 473, - "end": 480, - "loc": { - "start": { - "line": 15, - "column": 21 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 480, - "end": 481, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 481, - "end": 484, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 484, - "end": 485, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 485, - "end": 486, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 486, - "end": 487, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 487, - "end": 488, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 497, - "end": 503, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 503, - "end": 504, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set5", - "start": 504, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 508, - "end": 509, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 509, - "end": 511, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 511, - "end": 512, - "loc": { - "start": { - "line": 16, - "column": 22 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 512, - "end": 513, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 513, - "end": 514, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 514, - "end": 516, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 516, - "end": 517, - "loc": { - "start": { - "line": 16, - "column": 27 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 517, - "end": 520, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 520, - "end": 521, - "loc": { - "start": { - "line": 16, - "column": 31 - }, - "end": { - "line": 16, - "column": 32 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 521, - "end": 522, - "loc": { - "start": { - "line": 16, - "column": 32 - }, - "end": { - "line": 16, - "column": 33 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 522, - "end": 524, - "loc": { - "start": { - "line": 16, - "column": 33 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 16, - "column": 35 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 526, - "end": 527, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 527, - "end": 528, - "loc": { - "start": { - "line": 16, - "column": 38 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 528, - "end": 529, - "loc": { - "start": { - "line": 16, - "column": 39 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 529, - "end": 530, - "loc": { - "start": { - "line": 16, - "column": 40 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 535, - "end": 536, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 536, - "end": 537, - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 537, - "end": 538, - "loc": { - "start": { - "line": 17, - "column": 6 - }, - "end": { - "line": 17, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 539, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 540, - "end": 541, - "loc": { - "start": { - "line": 18, - "column": 1 - }, - "end": { - "line": 18, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 541, - "end": 542, - "loc": { - "start": { - "line": 18, - "column": 2 - }, - "end": { - "line": 18, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 543, - "end": 543, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/debounce.spec.js.json b/docs/ast/test/debounce.spec.js.json deleted file mode 100644 index 06a184c..0000000 --- a/docs/ast/test/debounce.spec.js.json +++ /dev/null @@ -1,13918 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1708, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 62, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1708, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 62, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 38 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - }, - "identifierName": "Debounce" - }, - "name": "Debounce" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - }, - "identifierName": "Debounce" - }, - "name": "Debounce" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 90, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 37 - } - }, - "extra": { - "rawValue": "./debounce", - "raw": "'./debounce'" - }, - "value": "./debounce" - } - }, - { - "type": "ExpressionStatement", - "start": 104, - "end": 1707, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 61, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 104, - "end": 1706, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 61, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 104, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 113, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - } - }, - "extra": { - "rawValue": "debounce", - "raw": "'debounce'" - }, - "value": "debounce" - }, - { - "type": "ArrowFunctionExpression", - "start": 125, - "end": 1705, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 61, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 131, - "end": 1705, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 61, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 137, - "end": 650, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 25, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 137, - "end": 649, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 25, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 137, - "end": 139, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 140, - "end": 168, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 35 - } - }, - "extra": { - "rawValue": "should debounce the method", - "raw": "'should debounce the method'" - }, - "value": "should debounce the method" - }, - { - "type": "ArrowFunctionExpression", - "start": 170, - "end": 648, - "loc": { - "start": { - "line": 5, - "column": 37 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 170, - "end": 174, - "loc": { - "start": { - "line": 5, - "column": 37 - }, - "end": { - "line": 5, - "column": 41 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 178, - "end": 648, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 188, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 192, - "end": 201, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 192, - "end": 197, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - "init": { - "type": "NumericLiteral", - "start": 200, - "end": 201, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 211, - "end": 294, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 217, - "end": 224, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 225, - "end": 294, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 239, - "end": 284, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 239, - "end": 241, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 244, - "end": 284, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 262, - "end": 270, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 24 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 262, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 23 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 262, - "end": 267, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - }, - "identifierName": "calls" - }, - "name": "calls" - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 303, - "end": 391, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 303, - "end": 390, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 303, - "end": 321, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 303, - "end": 310, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 311, - "end": 321, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 322, - "end": 358, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 336, - "end": 348, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 336, - "end": 344, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 20 - }, - "identifierName": "Debounce" - }, - "name": "Debounce" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 345, - "end": 347, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 23 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 360, - "end": 377, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 360, - "end": 367, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 368, - "end": 377, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 379, - "end": 383, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 385, - "end": 389, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 400, - "end": 430, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 406, - "end": 429, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 406, - "end": 413, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 416, - "end": 429, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 420, - "end": 427, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 439, - "end": 452, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 439, - "end": 451, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 439, - "end": 449, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 439, - "end": 446, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 447, - "end": 449, - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 16, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 461, - "end": 474, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 461, - "end": 473, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 461, - "end": 471, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 461, - "end": 468, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 469, - "end": 471, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 483, - "end": 496, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 483, - "end": 495, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 483, - "end": 493, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 483, - "end": 490, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 491, - "end": 493, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 505, - "end": 518, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 505, - "end": 517, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 505, - "end": 515, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 505, - "end": 512, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 513, - "end": 515, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 527, - "end": 540, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 527, - "end": 539, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 527, - "end": 537, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 527, - "end": 534, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 535, - "end": 537, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 549, - "end": 642, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 24, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 549, - "end": 641, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - } - }, - "callee": { - "type": "Identifier", - "start": 549, - "end": 559, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 560, - "end": 636, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 566, - "end": 636, - "loc": { - "start": { - "line": 21, - "column": 25 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 580, - "end": 606, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 580, - "end": 605, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 580, - "end": 602, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 580, - "end": 596, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 28 - } - }, - "object": { - "type": "CallExpression", - "start": 580, - "end": 593, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 25 - } - }, - "callee": { - "type": "Identifier", - "start": 580, - "end": 586, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 587, - "end": 592, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 24 - }, - "identifierName": "calls" - }, - "name": "calls" - } - ] - }, - "property": { - "type": "Identifier", - "start": 594, - "end": 596, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 28 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 597, - "end": 602, - "loc": { - "start": { - "line": 22, - "column": 29 - }, - "end": { - "line": 22, - "column": 34 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 603, - "end": 604, - "loc": { - "start": { - "line": 22, - "column": 35 - }, - "end": { - "line": 22, - "column": 36 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 619, - "end": 626, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 619, - "end": 625, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 619, - "end": 623, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 638, - "end": 640, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 13 - } - }, - "extra": { - "rawValue": 11, - "raw": "11" - }, - "value": 11 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 39, - "_esdocTestName": "it39" - } - }, - { - "type": "ExpressionStatement", - "start": 655, - "end": 1333, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 49, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 655, - "end": 1332, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 49, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 655, - "end": 657, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 658, - "end": 695, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 44 - } - }, - "extra": { - "rawValue": "should debounce the property setter", - "raw": "'should debounce the property setter'" - }, - "value": "should debounce the property setter" - }, - { - "type": "ArrowFunctionExpression", - "start": 697, - "end": 1331, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 49, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 697, - "end": 701, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 26, - "column": 50 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 705, - "end": 1331, - "loc": { - "start": { - "line": 26, - "column": 54 - }, - "end": { - "line": 49, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 715, - "end": 975, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 37, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 721, - "end": 728, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 729, - "end": 975, - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 37, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 743, - "end": 807, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 743, - "end": 754, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 757, - "end": 807, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 30, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 775, - "end": 793, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 775, - "end": 792, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 775, - "end": 786, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 775, - "end": 779, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 780, - "end": 786, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 27 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 789, - "end": 792, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 820, - "end": 889, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 33, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 824, - "end": 829, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "static": false, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 830, - "end": 835, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - }, - "identifierName": "value" - }, - "name": "value" - } - ], - "body": { - "type": "BlockStatement", - "start": 837, - "end": 889, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 33, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 855, - "end": 875, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 855, - "end": 874, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 855, - "end": 866, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 855, - "end": 859, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 860, - "end": 866, - "loc": { - "start": { - "line": 32, - "column": 21 - }, - "end": { - "line": 32, - "column": 27 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 869, - "end": 874, - "loc": { - "start": { - "line": 32, - "column": 30 - }, - "end": { - "line": 32, - "column": 35 - }, - "identifierName": "value" - }, - "name": "value" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 902, - "end": 965, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 36, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 906, - "end": 911, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "static": false, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 914, - "end": 965, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 36, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 932, - "end": 951, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 35 - } - }, - "argument": { - "type": "MemberExpression", - "start": 939, - "end": 950, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 939, - "end": 943, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 944, - "end": 950, - "loc": { - "start": { - "line": 35, - "column": 28 - }, - "end": { - "line": 35, - "column": 34 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 984, - "end": 1075, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 40, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 984, - "end": 1074, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 40, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 984, - "end": 1002, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 984, - "end": 991, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 992, - "end": 1002, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1003, - "end": 1039, - "loc": { - "start": { - "line": 38, - "column": 27 - }, - "end": { - "line": 40, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1017, - "end": 1029, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 1017, - "end": 1025, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 20 - }, - "identifierName": "Debounce" - }, - "name": "Debounce" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1026, - "end": 1028, - "loc": { - "start": { - "line": 39, - "column": 21 - }, - "end": { - "line": 39, - "column": 23 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1041, - "end": 1058, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1041, - "end": 1048, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1049, - "end": 1058, - "loc": { - "start": { - "line": 40, - "column": 19 - }, - "end": { - "line": 40, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1060, - "end": 1067, - "loc": { - "start": { - "line": 40, - "column": 30 - }, - "end": { - "line": 40, - "column": 37 - } - }, - "extra": { - "rawValue": "value", - "raw": "\"value\"" - }, - "value": "value" - }, - { - "type": "NullLiteral", - "start": 1069, - "end": 1073, - "loc": { - "start": { - "line": 40, - "column": 39 - }, - "end": { - "line": 40, - "column": 43 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1084, - "end": 1114, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1090, - "end": 1113, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1090, - "end": 1097, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1100, - "end": 1113, - "loc": { - "start": { - "line": 41, - "column": 24 - }, - "end": { - "line": 41, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1104, - "end": 1111, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1123, - "end": 1141, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1123, - "end": 1140, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1123, - "end": 1136, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 1123, - "end": 1130, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1131, - "end": 1136, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1139, - "end": 1140, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 25 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1150, - "end": 1169, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 27 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1150, - "end": 1168, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 26 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1150, - "end": 1163, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 1150, - "end": 1157, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1158, - "end": 1163, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1166, - "end": 1168, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 26 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1178, - "end": 1214, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 1178, - "end": 1213, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1178, - "end": 1208, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 1178, - "end": 1202, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 1178, - "end": 1199, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 1178, - "end": 1184, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1185, - "end": 1198, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1185, - "end": 1192, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1193, - "end": 1198, - "loc": { - "start": { - "line": 44, - "column": 23 - }, - "end": { - "line": 44, - "column": 28 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1200, - "end": 1202, - "loc": { - "start": { - "line": 44, - "column": 30 - }, - "end": { - "line": 44, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1203, - "end": 1208, - "loc": { - "start": { - "line": 44, - "column": 33 - }, - "end": { - "line": 44, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1209, - "end": 1212, - "loc": { - "start": { - "line": 44, - "column": 39 - }, - "end": { - "line": 44, - "column": 42 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1223, - "end": 1325, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 48, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 1223, - "end": 1324, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 48, - "column": 14 - } - }, - "callee": { - "type": "Identifier", - "start": 1223, - "end": 1233, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1234, - "end": 1319, - "loc": { - "start": { - "line": 45, - "column": 19 - }, - "end": { - "line": 48, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1240, - "end": 1319, - "loc": { - "start": { - "line": 45, - "column": 25 - }, - "end": { - "line": 48, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1254, - "end": 1289, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 1254, - "end": 1288, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1254, - "end": 1284, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 1254, - "end": 1278, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 1254, - "end": 1275, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 1254, - "end": 1260, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1261, - "end": 1274, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 46, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 1261, - "end": 1268, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 46, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1269, - "end": 1274, - "loc": { - "start": { - "line": 46, - "column": 27 - }, - "end": { - "line": 46, - "column": 32 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1276, - "end": 1278, - "loc": { - "start": { - "line": 46, - "column": 34 - }, - "end": { - "line": 46, - "column": 36 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1279, - "end": 1284, - "loc": { - "start": { - "line": 46, - "column": 37 - }, - "end": { - "line": 46, - "column": 42 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1285, - "end": 1287, - "loc": { - "start": { - "line": 46, - "column": 43 - }, - "end": { - "line": 46, - "column": 45 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1302, - "end": 1309, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 1302, - "end": 1308, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 1302, - "end": 1306, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 1321, - "end": 1323, - "loc": { - "start": { - "line": 48, - "column": 11 - }, - "end": { - "line": 48, - "column": 13 - } - }, - "extra": { - "rawValue": 11, - "raw": "11" - }, - "value": 11 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 40, - "_esdocTestName": "it40" - } - }, - { - "type": "ExpressionStatement", - "start": 1338, - "end": 1703, - "loc": { - "start": { - "line": 50, - "column": 4 - }, - "end": { - "line": 60, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 1338, - "end": 1702, - "loc": { - "start": { - "line": 50, - "column": 4 - }, - "end": { - "line": 60, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 1338, - "end": 1340, - "loc": { - "start": { - "line": 50, - "column": 4 - }, - "end": { - "line": 50, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1341, - "end": 1386, - "loc": { - "start": { - "line": 50, - "column": 7 - }, - "end": { - "line": 50, - "column": 52 - } - }, - "extra": { - "rawValue": "should contain the flush and cancel methods", - "raw": "'should contain the flush and cancel methods'" - }, - "value": "should contain the flush and cancel methods" - }, - { - "type": "ArrowFunctionExpression", - "start": 1388, - "end": 1701, - "loc": { - "start": { - "line": 50, - "column": 54 - }, - "end": { - "line": 60, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1394, - "end": 1701, - "loc": { - "start": { - "line": 50, - "column": 60 - }, - "end": { - "line": 60, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 1404, - "end": 1450, - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 53, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 1410, - "end": 1417, - "loc": { - "start": { - "line": 51, - "column": 14 - }, - "end": { - "line": 51, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 1418, - "end": 1450, - "loc": { - "start": { - "line": 51, - "column": 22 - }, - "end": { - "line": 53, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 1432, - "end": 1440, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 20 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1432, - "end": 1434, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1437, - "end": 1440, - "loc": { - "start": { - "line": 52, - "column": 17 - }, - "end": { - "line": 52, - "column": 20 - } - }, - "body": [], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1459, - "end": 1547, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 56, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 1459, - "end": 1546, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 56, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1459, - "end": 1477, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1459, - "end": 1466, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1467, - "end": 1477, - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1478, - "end": 1514, - "loc": { - "start": { - "line": 54, - "column": 27 - }, - "end": { - "line": 56, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1492, - "end": 1504, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 1492, - "end": 1500, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 20 - }, - "identifierName": "Debounce" - }, - "name": "Debounce" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1501, - "end": 1503, - "loc": { - "start": { - "line": 55, - "column": 21 - }, - "end": { - "line": 55, - "column": 23 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1516, - "end": 1533, - "loc": { - "start": { - "line": 56, - "column": 11 - }, - "end": { - "line": 56, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1516, - "end": 1523, - "loc": { - "start": { - "line": 56, - "column": 11 - }, - "end": { - "line": 56, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1524, - "end": 1533, - "loc": { - "start": { - "line": 56, - "column": 19 - }, - "end": { - "line": 56, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1535, - "end": 1539, - "loc": { - "start": { - "line": 56, - "column": 30 - }, - "end": { - "line": 56, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 1541, - "end": 1545, - "loc": { - "start": { - "line": 56, - "column": 36 - }, - "end": { - "line": 56, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1556, - "end": 1586, - "loc": { - "start": { - "line": 57, - "column": 8 - }, - "end": { - "line": 57, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1562, - "end": 1585, - "loc": { - "start": { - "line": 57, - "column": 14 - }, - "end": { - "line": 57, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1562, - "end": 1569, - "loc": { - "start": { - "line": 57, - "column": 14 - }, - "end": { - "line": 57, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1572, - "end": 1585, - "loc": { - "start": { - "line": 57, - "column": 24 - }, - "end": { - "line": 57, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1576, - "end": 1583, - "loc": { - "start": { - "line": 57, - "column": 28 - }, - "end": { - "line": 57, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1595, - "end": 1641, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 54 - } - }, - "expression": { - "type": "CallExpression", - "start": 1595, - "end": 1640, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1595, - "end": 1628, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 1595, - "end": 1626, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 1595, - "end": 1623, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 1595, - "end": 1620, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 1595, - "end": 1601, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1602, - "end": 1619, - "loc": { - "start": { - "line": 58, - "column": 15 - }, - "end": { - "line": 58, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 1602, - "end": 1612, - "loc": { - "start": { - "line": 58, - "column": 15 - }, - "end": { - "line": 58, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 1602, - "end": 1609, - "loc": { - "start": { - "line": 58, - "column": 15 - }, - "end": { - "line": 58, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1610, - "end": 1612, - "loc": { - "start": { - "line": 58, - "column": 23 - }, - "end": { - "line": 58, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1613, - "end": 1619, - "loc": { - "start": { - "line": 58, - "column": 26 - }, - "end": { - "line": 58, - "column": 32 - }, - "identifierName": "cancel" - }, - "name": "cancel" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1621, - "end": 1623, - "loc": { - "start": { - "line": 58, - "column": 34 - }, - "end": { - "line": 58, - "column": 36 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1624, - "end": 1626, - "loc": { - "start": { - "line": 58, - "column": 37 - }, - "end": { - "line": 58, - "column": 39 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1627, - "end": 1628, - "loc": { - "start": { - "line": 58, - "column": 40 - }, - "end": { - "line": 58, - "column": 41 - }, - "identifierName": "a" - }, - "name": "a" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1629, - "end": 1639, - "loc": { - "start": { - "line": 58, - "column": 42 - }, - "end": { - "line": 58, - "column": 52 - } - }, - "extra": { - "rawValue": "function", - "raw": "'function'" - }, - "value": "function" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1650, - "end": 1695, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 53 - } - }, - "expression": { - "type": "CallExpression", - "start": 1650, - "end": 1694, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1650, - "end": 1682, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 1650, - "end": 1680, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 1650, - "end": 1677, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 35 - } - }, - "object": { - "type": "CallExpression", - "start": 1650, - "end": 1674, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 32 - } - }, - "callee": { - "type": "Identifier", - "start": 1650, - "end": 1656, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1657, - "end": 1673, - "loc": { - "start": { - "line": 59, - "column": 15 - }, - "end": { - "line": 59, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 1657, - "end": 1667, - "loc": { - "start": { - "line": 59, - "column": 15 - }, - "end": { - "line": 59, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 1657, - "end": 1664, - "loc": { - "start": { - "line": 59, - "column": 15 - }, - "end": { - "line": 59, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1665, - "end": 1667, - "loc": { - "start": { - "line": 59, - "column": 23 - }, - "end": { - "line": 59, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1668, - "end": 1673, - "loc": { - "start": { - "line": 59, - "column": 26 - }, - "end": { - "line": 59, - "column": 31 - }, - "identifierName": "flush" - }, - "name": "flush" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1675, - "end": 1677, - "loc": { - "start": { - "line": 59, - "column": 33 - }, - "end": { - "line": 59, - "column": 35 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1678, - "end": 1680, - "loc": { - "start": { - "line": 59, - "column": 36 - }, - "end": { - "line": 59, - "column": 38 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1681, - "end": 1682, - "loc": { - "start": { - "line": 59, - "column": 39 - }, - "end": { - "line": 59, - "column": 40 - }, - "identifierName": "a" - }, - "name": "a" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1683, - "end": 1693, - "loc": { - "start": { - "line": 59, - "column": 41 - }, - "end": { - "line": 59, - "column": 51 - } - }, - "extra": { - "rawValue": "function", - "raw": "'function'" - }, - "value": "function" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 41, - "_esdocTestName": "it41" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 38, - "_esdocTestName": "describe38" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Debounce", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 83, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 18 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 85, - "end": 89, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./debounce", - "start": 90, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 37 - }, - "end": { - "line": 3, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 104, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 112, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "debounce", - "start": 113, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 123, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 131, - "end": 132, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 137, - "end": 139, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 139, - "end": 140, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should debounce the method", - "start": 140, - "end": 168, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 168, - "end": 169, - "loc": { - "start": { - "line": 5, - "column": 35 - }, - "end": { - "line": 5, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 170, - "end": 174, - "loc": { - "start": { - "line": 5, - "column": 37 - }, - "end": { - "line": 5, - "column": 41 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 175, - "end": 177, - "loc": { - "start": { - "line": 5, - "column": 42 - }, - "end": { - "line": 5, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 178, - "end": 179, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 5, - "column": 46 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 188, - "end": 191, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 192, - "end": 197, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 198, - "end": 199, - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 200, - "end": 201, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 201, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 21 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 211, - "end": 216, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 217, - "end": 224, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 225, - "end": 226, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 239, - "end": 241, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 241, - "end": 242, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 242, - "end": 243, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 244, - "end": 245, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 262, - "end": 267, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 267, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 269, - "end": 270, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 283, - "end": 284, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 293, - "end": 294, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 303, - "end": 310, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 310, - "end": 311, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 311, - "end": 321, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 321, - "end": 322, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 322, - "end": 323, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Debounce", - "start": 336, - "end": 344, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 344, - "end": 345, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 345, - "end": 347, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 347, - "end": 348, - "loc": { - "start": { - "line": 13, - "column": 23 - }, - "end": { - "line": 13, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 357, - "end": 358, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 358, - "end": 359, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 360, - "end": 367, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 367, - "end": 368, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 368, - "end": 377, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 377, - "end": 378, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 379, - "end": 383, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 383, - "end": 384, - "loc": { - "start": { - "line": 14, - "column": 34 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 385, - "end": 389, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 389, - "end": 390, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 390, - "end": 391, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 400, - "end": 405, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 406, - "end": 413, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 414, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 416, - "end": 419, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 420, - "end": 427, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 427, - "end": 428, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 428, - "end": 429, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 429, - "end": 430, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 439, - "end": 446, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 446, - "end": 447, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 447, - "end": 449, - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 449, - "end": 450, - "loc": { - "start": { - "line": 16, - "column": 18 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 450, - "end": 451, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 451, - "end": 452, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 461, - "end": 468, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 468, - "end": 469, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 469, - "end": 471, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 473, - "end": 474, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 483, - "end": 490, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 490, - "end": 491, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 491, - "end": 493, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 493, - "end": 494, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 494, - "end": 495, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 495, - "end": 496, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 505, - "end": 512, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 512, - "end": 513, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 513, - "end": 515, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 515, - "end": 516, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 516, - "end": 517, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 517, - "end": 518, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 527, - "end": 534, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 534, - "end": 535, - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 535, - "end": 537, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 537, - "end": 538, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 538, - "end": 539, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 539, - "end": 540, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 549, - "end": 559, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 559, - "end": 560, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 560, - "end": 561, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 561, - "end": 562, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 563, - "end": 565, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 566, - "end": 567, - "loc": { - "start": { - "line": 21, - "column": 25 - }, - "end": { - "line": 21, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 580, - "end": 586, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 586, - "end": 587, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 587, - "end": 592, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 592, - "end": 593, - "loc": { - "start": { - "line": 22, - "column": 24 - }, - "end": { - "line": 22, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 593, - "end": 594, - "loc": { - "start": { - "line": 22, - "column": 25 - }, - "end": { - "line": 22, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 594, - "end": 596, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 596, - "end": 597, - "loc": { - "start": { - "line": 22, - "column": 28 - }, - "end": { - "line": 22, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 597, - "end": 602, - "loc": { - "start": { - "line": 22, - "column": 29 - }, - "end": { - "line": 22, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 602, - "end": 603, - "loc": { - "start": { - "line": 22, - "column": 34 - }, - "end": { - "line": 22, - "column": 35 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 603, - "end": 604, - "loc": { - "start": { - "line": 22, - "column": 35 - }, - "end": { - "line": 22, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 604, - "end": 605, - "loc": { - "start": { - "line": 22, - "column": 36 - }, - "end": { - "line": 22, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 605, - "end": 606, - "loc": { - "start": { - "line": 22, - "column": 37 - }, - "end": { - "line": 22, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 619, - "end": 623, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 623, - "end": 624, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 624, - "end": 625, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 625, - "end": 626, - "loc": { - "start": { - "line": 23, - "column": 18 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 635, - "end": 636, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 636, - "end": 637, - "loc": { - "start": { - "line": 24, - "column": 9 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 11, - "start": 638, - "end": 640, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 640, - "end": 641, - "loc": { - "start": { - "line": 24, - "column": 13 - }, - "end": { - "line": 24, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 641, - "end": 642, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 647, - "end": 648, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 648, - "end": 649, - "loc": { - "start": { - "line": 25, - "column": 5 - }, - "end": { - "line": 25, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 649, - "end": 650, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 655, - "end": 657, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 657, - "end": 658, - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should debounce the property setter", - "start": 658, - "end": 695, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 695, - "end": 696, - "loc": { - "start": { - "line": 26, - "column": 44 - }, - "end": { - "line": 26, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 697, - "end": 701, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 26, - "column": 50 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 702, - "end": 704, - "loc": { - "start": { - "line": 26, - "column": 51 - }, - "end": { - "line": 26, - "column": 53 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 705, - "end": 706, - "loc": { - "start": { - "line": 26, - "column": 54 - }, - "end": { - "line": 26, - "column": 55 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 715, - "end": 720, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 721, - "end": 728, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 729, - "end": 730, - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 27, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 743, - "end": 754, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 754, - "end": 755, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 755, - "end": 756, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 28, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 757, - "end": 758, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 28, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 775, - "end": 779, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 779, - "end": 780, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 780, - "end": 786, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 787, - "end": 788, - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 29, - "column": 29 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 789, - "end": 792, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 792, - "end": 793, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 806, - "end": 807, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 820, - "end": 823, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 824, - "end": 829, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 829, - "end": 830, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 830, - "end": 835, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 835, - "end": 836, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 837, - "end": 838, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 31, - "column": 30 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 855, - "end": 859, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 859, - "end": 860, - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 860, - "end": 866, - "loc": { - "start": { - "line": 32, - "column": 21 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 867, - "end": 868, - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 869, - "end": 874, - "loc": { - "start": { - "line": 32, - "column": 30 - }, - "end": { - "line": 32, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 874, - "end": 875, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 888, - "end": 889, - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 33, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 902, - "end": 905, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 906, - "end": 911, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 911, - "end": 912, - "loc": { - "start": { - "line": 34, - "column": 21 - }, - "end": { - "line": 34, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 912, - "end": 913, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 34, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 914, - "end": 915, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 34, - "column": 25 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 932, - "end": 938, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 22 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 939, - "end": 943, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 943, - "end": 944, - "loc": { - "start": { - "line": 35, - "column": 27 - }, - "end": { - "line": 35, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 944, - "end": 950, - "loc": { - "start": { - "line": 35, - "column": 28 - }, - "end": { - "line": 35, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 950, - "end": 951, - "loc": { - "start": { - "line": 35, - "column": 34 - }, - "end": { - "line": 35, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 964, - "end": 965, - "loc": { - "start": { - "line": 36, - "column": 12 - }, - "end": { - "line": 36, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 974, - "end": 975, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 984, - "end": 991, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 991, - "end": 992, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 992, - "end": 1002, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1002, - "end": 1003, - "loc": { - "start": { - "line": 38, - "column": 26 - }, - "end": { - "line": 38, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1003, - "end": 1004, - "loc": { - "start": { - "line": 38, - "column": 27 - }, - "end": { - "line": 38, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Debounce", - "start": 1017, - "end": 1025, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1025, - "end": 1026, - "loc": { - "start": { - "line": 39, - "column": 20 - }, - "end": { - "line": 39, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1026, - "end": 1028, - "loc": { - "start": { - "line": 39, - "column": 21 - }, - "end": { - "line": 39, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1028, - "end": 1029, - "loc": { - "start": { - "line": 39, - "column": 23 - }, - "end": { - "line": 39, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1038, - "end": 1039, - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1039, - "end": 1040, - "loc": { - "start": { - "line": 40, - "column": 9 - }, - "end": { - "line": 40, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1041, - "end": 1048, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1048, - "end": 1049, - "loc": { - "start": { - "line": 40, - "column": 18 - }, - "end": { - "line": 40, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1049, - "end": 1058, - "loc": { - "start": { - "line": 40, - "column": 19 - }, - "end": { - "line": 40, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1058, - "end": 1059, - "loc": { - "start": { - "line": 40, - "column": 28 - }, - "end": { - "line": 40, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "value", - "start": 1060, - "end": 1067, - "loc": { - "start": { - "line": 40, - "column": 30 - }, - "end": { - "line": 40, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1067, - "end": 1068, - "loc": { - "start": { - "line": 40, - "column": 37 - }, - "end": { - "line": 40, - "column": 38 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1069, - "end": 1073, - "loc": { - "start": { - "line": 40, - "column": 39 - }, - "end": { - "line": 40, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1073, - "end": 1074, - "loc": { - "start": { - "line": 40, - "column": 43 - }, - "end": { - "line": 40, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1074, - "end": 1075, - "loc": { - "start": { - "line": 40, - "column": 44 - }, - "end": { - "line": 40, - "column": 45 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1084, - "end": 1089, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1090, - "end": 1097, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1098, - "end": 1099, - "loc": { - "start": { - "line": 41, - "column": 22 - }, - "end": { - "line": 41, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1100, - "end": 1103, - "loc": { - "start": { - "line": 41, - "column": 24 - }, - "end": { - "line": 41, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1104, - "end": 1111, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1111, - "end": 1112, - "loc": { - "start": { - "line": 41, - "column": 35 - }, - "end": { - "line": 41, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1112, - "end": 1113, - "loc": { - "start": { - "line": 41, - "column": 36 - }, - "end": { - "line": 41, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1113, - "end": 1114, - "loc": { - "start": { - "line": 41, - "column": 37 - }, - "end": { - "line": 41, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1123, - "end": 1130, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1130, - "end": 1131, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1131, - "end": 1136, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1137, - "end": 1138, - "loc": { - "start": { - "line": 42, - "column": 22 - }, - "end": { - "line": 42, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1139, - "end": 1140, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1140, - "end": 1141, - "loc": { - "start": { - "line": 42, - "column": 25 - }, - "end": { - "line": 42, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1150, - "end": 1157, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1157, - "end": 1158, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1158, - "end": 1163, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1164, - "end": 1165, - "loc": { - "start": { - "line": 43, - "column": 22 - }, - "end": { - "line": 43, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 1166, - "end": 1168, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1168, - "end": 1169, - "loc": { - "start": { - "line": 43, - "column": 26 - }, - "end": { - "line": 43, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1178, - "end": 1184, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1184, - "end": 1185, - "loc": { - "start": { - "line": 44, - "column": 14 - }, - "end": { - "line": 44, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1185, - "end": 1192, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1192, - "end": 1193, - "loc": { - "start": { - "line": 44, - "column": 22 - }, - "end": { - "line": 44, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1193, - "end": 1198, - "loc": { - "start": { - "line": 44, - "column": 23 - }, - "end": { - "line": 44, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1198, - "end": 1199, - "loc": { - "start": { - "line": 44, - "column": 28 - }, - "end": { - "line": 44, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1199, - "end": 1200, - "loc": { - "start": { - "line": 44, - "column": 29 - }, - "end": { - "line": 44, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1200, - "end": 1202, - "loc": { - "start": { - "line": 44, - "column": 30 - }, - "end": { - "line": 44, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1202, - "end": 1203, - "loc": { - "start": { - "line": 44, - "column": 32 - }, - "end": { - "line": 44, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1203, - "end": 1208, - "loc": { - "start": { - "line": 44, - "column": 33 - }, - "end": { - "line": 44, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1208, - "end": 1209, - "loc": { - "start": { - "line": 44, - "column": 38 - }, - "end": { - "line": 44, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 1209, - "end": 1212, - "loc": { - "start": { - "line": 44, - "column": 39 - }, - "end": { - "line": 44, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1212, - "end": 1213, - "loc": { - "start": { - "line": 44, - "column": 42 - }, - "end": { - "line": 44, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1213, - "end": 1214, - "loc": { - "start": { - "line": 44, - "column": 43 - }, - "end": { - "line": 44, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 1223, - "end": 1233, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1233, - "end": 1234, - "loc": { - "start": { - "line": 45, - "column": 18 - }, - "end": { - "line": 45, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1234, - "end": 1235, - "loc": { - "start": { - "line": 45, - "column": 19 - }, - "end": { - "line": 45, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1235, - "end": 1236, - "loc": { - "start": { - "line": 45, - "column": 20 - }, - "end": { - "line": 45, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1237, - "end": 1239, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 45, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1240, - "end": 1241, - "loc": { - "start": { - "line": 45, - "column": 25 - }, - "end": { - "line": 45, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1254, - "end": 1260, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1260, - "end": 1261, - "loc": { - "start": { - "line": 46, - "column": 18 - }, - "end": { - "line": 46, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1261, - "end": 1268, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 46, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1268, - "end": 1269, - "loc": { - "start": { - "line": 46, - "column": 26 - }, - "end": { - "line": 46, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1269, - "end": 1274, - "loc": { - "start": { - "line": 46, - "column": 27 - }, - "end": { - "line": 46, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1274, - "end": 1275, - "loc": { - "start": { - "line": 46, - "column": 32 - }, - "end": { - "line": 46, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1275, - "end": 1276, - "loc": { - "start": { - "line": 46, - "column": 33 - }, - "end": { - "line": 46, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1276, - "end": 1278, - "loc": { - "start": { - "line": 46, - "column": 34 - }, - "end": { - "line": 46, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1278, - "end": 1279, - "loc": { - "start": { - "line": 46, - "column": 36 - }, - "end": { - "line": 46, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1279, - "end": 1284, - "loc": { - "start": { - "line": 46, - "column": 37 - }, - "end": { - "line": 46, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1284, - "end": 1285, - "loc": { - "start": { - "line": 46, - "column": 42 - }, - "end": { - "line": 46, - "column": 43 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 1285, - "end": 1287, - "loc": { - "start": { - "line": 46, - "column": 43 - }, - "end": { - "line": 46, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1287, - "end": 1288, - "loc": { - "start": { - "line": 46, - "column": 45 - }, - "end": { - "line": 46, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1288, - "end": 1289, - "loc": { - "start": { - "line": 46, - "column": 46 - }, - "end": { - "line": 46, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 1302, - "end": 1306, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1306, - "end": 1307, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1307, - "end": 1308, - "loc": { - "start": { - "line": 47, - "column": 17 - }, - "end": { - "line": 47, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1308, - "end": 1309, - "loc": { - "start": { - "line": 47, - "column": 18 - }, - "end": { - "line": 47, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1318, - "end": 1319, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1319, - "end": 1320, - "loc": { - "start": { - "line": 48, - "column": 9 - }, - "end": { - "line": 48, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 11, - "start": 1321, - "end": 1323, - "loc": { - "start": { - "line": 48, - "column": 11 - }, - "end": { - "line": 48, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1323, - "end": 1324, - "loc": { - "start": { - "line": 48, - "column": 13 - }, - "end": { - "line": 48, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1324, - "end": 1325, - "loc": { - "start": { - "line": 48, - "column": 14 - }, - "end": { - "line": 48, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1330, - "end": 1331, - "loc": { - "start": { - "line": 49, - "column": 4 - }, - "end": { - "line": 49, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1331, - "end": 1332, - "loc": { - "start": { - "line": 49, - "column": 5 - }, - "end": { - "line": 49, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1332, - "end": 1333, - "loc": { - "start": { - "line": 49, - "column": 6 - }, - "end": { - "line": 49, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 1338, - "end": 1340, - "loc": { - "start": { - "line": 50, - "column": 4 - }, - "end": { - "line": 50, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1340, - "end": 1341, - "loc": { - "start": { - "line": 50, - "column": 6 - }, - "end": { - "line": 50, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should contain the flush and cancel methods", - "start": 1341, - "end": 1386, - "loc": { - "start": { - "line": 50, - "column": 7 - }, - "end": { - "line": 50, - "column": 52 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1386, - "end": 1387, - "loc": { - "start": { - "line": 50, - "column": 52 - }, - "end": { - "line": 50, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1388, - "end": 1389, - "loc": { - "start": { - "line": 50, - "column": 54 - }, - "end": { - "line": 50, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1389, - "end": 1390, - "loc": { - "start": { - "line": 50, - "column": 55 - }, - "end": { - "line": 50, - "column": 56 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1391, - "end": 1393, - "loc": { - "start": { - "line": 50, - "column": 57 - }, - "end": { - "line": 50, - "column": 59 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1394, - "end": 1395, - "loc": { - "start": { - "line": 50, - "column": 60 - }, - "end": { - "line": 50, - "column": 61 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 1404, - "end": 1409, - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 51, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1410, - "end": 1417, - "loc": { - "start": { - "line": 51, - "column": 14 - }, - "end": { - "line": 51, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1418, - "end": 1419, - "loc": { - "start": { - "line": 51, - "column": 22 - }, - "end": { - "line": 51, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1432, - "end": 1434, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1434, - "end": 1435, - "loc": { - "start": { - "line": 52, - "column": 14 - }, - "end": { - "line": 52, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1435, - "end": 1436, - "loc": { - "start": { - "line": 52, - "column": 15 - }, - "end": { - "line": 52, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1437, - "end": 1438, - "loc": { - "start": { - "line": 52, - "column": 17 - }, - "end": { - "line": 52, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1439, - "end": 1440, - "loc": { - "start": { - "line": 52, - "column": 19 - }, - "end": { - "line": 52, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1449, - "end": 1450, - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1459, - "end": 1466, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1466, - "end": 1467, - "loc": { - "start": { - "line": 54, - "column": 15 - }, - "end": { - "line": 54, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1467, - "end": 1477, - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1477, - "end": 1478, - "loc": { - "start": { - "line": 54, - "column": 26 - }, - "end": { - "line": 54, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1478, - "end": 1479, - "loc": { - "start": { - "line": 54, - "column": 27 - }, - "end": { - "line": 54, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Debounce", - "start": 1492, - "end": 1500, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1500, - "end": 1501, - "loc": { - "start": { - "line": 55, - "column": 20 - }, - "end": { - "line": 55, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1501, - "end": 1503, - "loc": { - "start": { - "line": 55, - "column": 21 - }, - "end": { - "line": 55, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1503, - "end": 1504, - "loc": { - "start": { - "line": 55, - "column": 23 - }, - "end": { - "line": 55, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1513, - "end": 1514, - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 56, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1514, - "end": 1515, - "loc": { - "start": { - "line": 56, - "column": 9 - }, - "end": { - "line": 56, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1516, - "end": 1523, - "loc": { - "start": { - "line": 56, - "column": 11 - }, - "end": { - "line": 56, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1523, - "end": 1524, - "loc": { - "start": { - "line": 56, - "column": 18 - }, - "end": { - "line": 56, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1524, - "end": 1533, - "loc": { - "start": { - "line": 56, - "column": 19 - }, - "end": { - "line": 56, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1533, - "end": 1534, - "loc": { - "start": { - "line": 56, - "column": 28 - }, - "end": { - "line": 56, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 1535, - "end": 1539, - "loc": { - "start": { - "line": 56, - "column": 30 - }, - "end": { - "line": 56, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1539, - "end": 1540, - "loc": { - "start": { - "line": 56, - "column": 34 - }, - "end": { - "line": 56, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1541, - "end": 1545, - "loc": { - "start": { - "line": 56, - "column": 36 - }, - "end": { - "line": 56, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1545, - "end": 1546, - "loc": { - "start": { - "line": 56, - "column": 40 - }, - "end": { - "line": 56, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1546, - "end": 1547, - "loc": { - "start": { - "line": 56, - "column": 41 - }, - "end": { - "line": 56, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1556, - "end": 1561, - "loc": { - "start": { - "line": 57, - "column": 8 - }, - "end": { - "line": 57, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1562, - "end": 1569, - "loc": { - "start": { - "line": 57, - "column": 14 - }, - "end": { - "line": 57, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1570, - "end": 1571, - "loc": { - "start": { - "line": 57, - "column": 22 - }, - "end": { - "line": 57, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1572, - "end": 1575, - "loc": { - "start": { - "line": 57, - "column": 24 - }, - "end": { - "line": 57, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1576, - "end": 1583, - "loc": { - "start": { - "line": 57, - "column": 28 - }, - "end": { - "line": 57, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1583, - "end": 1584, - "loc": { - "start": { - "line": 57, - "column": 35 - }, - "end": { - "line": 57, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1584, - "end": 1585, - "loc": { - "start": { - "line": 57, - "column": 36 - }, - "end": { - "line": 57, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1585, - "end": 1586, - "loc": { - "start": { - "line": 57, - "column": 37 - }, - "end": { - "line": 57, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1595, - "end": 1601, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1601, - "end": 1602, - "loc": { - "start": { - "line": 58, - "column": 14 - }, - "end": { - "line": 58, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1602, - "end": 1609, - "loc": { - "start": { - "line": 58, - "column": 15 - }, - "end": { - "line": 58, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1609, - "end": 1610, - "loc": { - "start": { - "line": 58, - "column": 22 - }, - "end": { - "line": 58, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1610, - "end": 1612, - "loc": { - "start": { - "line": 58, - "column": 23 - }, - "end": { - "line": 58, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1612, - "end": 1613, - "loc": { - "start": { - "line": 58, - "column": 25 - }, - "end": { - "line": 58, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cancel", - "start": 1613, - "end": 1619, - "loc": { - "start": { - "line": 58, - "column": 26 - }, - "end": { - "line": 58, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1619, - "end": 1620, - "loc": { - "start": { - "line": 58, - "column": 32 - }, - "end": { - "line": 58, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1620, - "end": 1621, - "loc": { - "start": { - "line": 58, - "column": 33 - }, - "end": { - "line": 58, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1621, - "end": 1623, - "loc": { - "start": { - "line": 58, - "column": 34 - }, - "end": { - "line": 58, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1623, - "end": 1624, - "loc": { - "start": { - "line": 58, - "column": 36 - }, - "end": { - "line": 58, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 1624, - "end": 1626, - "loc": { - "start": { - "line": 58, - "column": 37 - }, - "end": { - "line": 58, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1626, - "end": 1627, - "loc": { - "start": { - "line": 58, - "column": 39 - }, - "end": { - "line": 58, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 1627, - "end": 1628, - "loc": { - "start": { - "line": 58, - "column": 40 - }, - "end": { - "line": 58, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1628, - "end": 1629, - "loc": { - "start": { - "line": 58, - "column": 41 - }, - "end": { - "line": 58, - "column": 42 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 1629, - "end": 1639, - "loc": { - "start": { - "line": 58, - "column": 42 - }, - "end": { - "line": 58, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1639, - "end": 1640, - "loc": { - "start": { - "line": 58, - "column": 52 - }, - "end": { - "line": 58, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1640, - "end": 1641, - "loc": { - "start": { - "line": 58, - "column": 53 - }, - "end": { - "line": 58, - "column": 54 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1650, - "end": 1656, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1656, - "end": 1657, - "loc": { - "start": { - "line": 59, - "column": 14 - }, - "end": { - "line": 59, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1657, - "end": 1664, - "loc": { - "start": { - "line": 59, - "column": 15 - }, - "end": { - "line": 59, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1664, - "end": 1665, - "loc": { - "start": { - "line": 59, - "column": 22 - }, - "end": { - "line": 59, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1665, - "end": 1667, - "loc": { - "start": { - "line": 59, - "column": 23 - }, - "end": { - "line": 59, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1667, - "end": 1668, - "loc": { - "start": { - "line": 59, - "column": 25 - }, - "end": { - "line": 59, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "flush", - "start": 1668, - "end": 1673, - "loc": { - "start": { - "line": 59, - "column": 26 - }, - "end": { - "line": 59, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1673, - "end": 1674, - "loc": { - "start": { - "line": 59, - "column": 31 - }, - "end": { - "line": 59, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1674, - "end": 1675, - "loc": { - "start": { - "line": 59, - "column": 32 - }, - "end": { - "line": 59, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1675, - "end": 1677, - "loc": { - "start": { - "line": 59, - "column": 33 - }, - "end": { - "line": 59, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1677, - "end": 1678, - "loc": { - "start": { - "line": 59, - "column": 35 - }, - "end": { - "line": 59, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 1678, - "end": 1680, - "loc": { - "start": { - "line": 59, - "column": 36 - }, - "end": { - "line": 59, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1680, - "end": 1681, - "loc": { - "start": { - "line": 59, - "column": 38 - }, - "end": { - "line": 59, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 1681, - "end": 1682, - "loc": { - "start": { - "line": 59, - "column": 39 - }, - "end": { - "line": 59, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1682, - "end": 1683, - "loc": { - "start": { - "line": 59, - "column": 40 - }, - "end": { - "line": 59, - "column": 41 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 1683, - "end": 1693, - "loc": { - "start": { - "line": 59, - "column": 41 - }, - "end": { - "line": 59, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1693, - "end": 1694, - "loc": { - "start": { - "line": 59, - "column": 51 - }, - "end": { - "line": 59, - "column": 52 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1694, - "end": 1695, - "loc": { - "start": { - "line": 59, - "column": 52 - }, - "end": { - "line": 59, - "column": 53 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1700, - "end": 1701, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1701, - "end": 1702, - "loc": { - "start": { - "line": 60, - "column": 5 - }, - "end": { - "line": 60, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1702, - "end": 1703, - "loc": { - "start": { - "line": 60, - "column": 6 - }, - "end": { - "line": 60, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1704, - "end": 1705, - "loc": { - "start": { - "line": 61, - "column": 0 - }, - "end": { - "line": 61, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1705, - "end": 1706, - "loc": { - "start": { - "line": 61, - "column": 1 - }, - "end": { - "line": 61, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1706, - "end": 1707, - "loc": { - "start": { - "line": 61, - "column": 2 - }, - "end": { - "line": 61, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1708, - "end": 1708, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 62, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/debounceAll.spec.js.json b/docs/ast/test/debounceAll.spec.js.json deleted file mode 100644 index 5ad62c7..0000000 --- a/docs/ast/test/debounceAll.spec.js.json +++ /dev/null @@ -1,6541 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 793, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 31, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 793, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 31, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 109, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 44 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 20 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 20 - }, - "identifierName": "DebounceAll" - }, - "name": "DebounceAll" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 20 - }, - "identifierName": "DebounceAll" - }, - "name": "DebounceAll" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 93, - "end": 108, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 43 - } - }, - "extra": { - "rawValue": "./debounceAll", - "raw": "'./debounceAll'" - }, - "value": "./debounceAll" - } - }, - { - "type": "ExpressionStatement", - "start": 110, - "end": 792, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 30, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 110, - "end": 791, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 30, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 110, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 119, - "end": 132, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 22 - } - }, - "extra": { - "rawValue": "debounceAll", - "raw": "'debounceAll'" - }, - "value": "debounceAll" - }, - { - "type": "ArrowFunctionExpression", - "start": 134, - "end": 790, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 30, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 140, - "end": 790, - "loc": { - "start": { - "line": 4, - "column": 30 - }, - "end": { - "line": 30, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 146, - "end": 788, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 29, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 146, - "end": 787, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 29, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 146, - "end": 148, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 149, - "end": 194, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 52 - } - }, - "extra": { - "rawValue": "should debounce the method across instances", - "raw": "'should debounce the method across instances'" - }, - "value": "should debounce the method across instances" - }, - { - "type": "ArrowFunctionExpression", - "start": 196, - "end": 786, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 29, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 196, - "end": 200, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 5, - "column": 58 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 204, - "end": 786, - "loc": { - "start": { - "line": 5, - "column": 62 - }, - "end": { - "line": 29, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 214, - "end": 228, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 218, - "end": 227, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 218, - "end": 223, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - "init": { - "type": "NumericLiteral", - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 237, - "end": 320, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 243, - "end": 250, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 251, - "end": 320, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 265, - "end": 310, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 265, - "end": 267, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 270, - "end": 310, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 288, - "end": 296, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 24 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 288, - "end": 295, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 23 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 288, - "end": 293, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - }, - "identifierName": "calls" - }, - "name": "calls" - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 329, - "end": 420, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 329, - "end": 419, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 329, - "end": 347, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 329, - "end": 336, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 337, - "end": 347, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 348, - "end": 387, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 362, - "end": 377, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 362, - "end": 373, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 23 - }, - "identifierName": "DebounceAll" - }, - "name": "DebounceAll" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 374, - "end": 376, - "loc": { - "start": { - "line": 13, - "column": 24 - }, - "end": { - "line": 13, - "column": 26 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 389, - "end": 406, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 389, - "end": 396, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 397, - "end": 406, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 408, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 414, - "end": 418, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 429, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 435, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 435, - "end": 442, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 445, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 449, - "end": 456, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 468, - "end": 499, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 474, - "end": 498, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 474, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 485, - "end": 498, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 489, - "end": 496, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 508, - "end": 521, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 508, - "end": 520, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 508, - "end": 518, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 508, - "end": 515, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 516, - "end": 518, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 530, - "end": 543, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 530, - "end": 542, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 530, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 530, - "end": 537, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 538, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 552, - "end": 565, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 552, - "end": 564, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 552, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 552, - "end": 559, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 560, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 574, - "end": 587, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 574, - "end": 586, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 574, - "end": 584, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 574, - "end": 581, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 582, - "end": 584, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 596, - "end": 609, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 596, - "end": 608, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 596, - "end": 606, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 596, - "end": 603, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 604, - "end": 606, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 618, - "end": 632, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 618, - "end": 631, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 618, - "end": 629, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 618, - "end": 626, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 627, - "end": 629, - "loc": { - "start": { - "line": 22, - "column": 17 - }, - "end": { - "line": 22, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 641, - "end": 655, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 641, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 641, - "end": 652, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 641, - "end": 649, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 650, - "end": 652, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 664, - "end": 678, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 664, - "end": 677, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 664, - "end": 675, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 664, - "end": 672, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 673, - "end": 675, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 687, - "end": 780, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 28, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 687, - "end": 779, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 28, - "column": 14 - } - }, - "callee": { - "type": "Identifier", - "start": 687, - "end": 697, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 698, - "end": 774, - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 28, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 704, - "end": 774, - "loc": { - "start": { - "line": 25, - "column": 25 - }, - "end": { - "line": 28, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 718, - "end": 744, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 718, - "end": 743, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 718, - "end": 740, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 718, - "end": 734, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 28 - } - }, - "object": { - "type": "CallExpression", - "start": 718, - "end": 731, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 25 - } - }, - "callee": { - "type": "Identifier", - "start": 718, - "end": 724, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 725, - "end": 730, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 24 - }, - "identifierName": "calls" - }, - "name": "calls" - } - ] - }, - "property": { - "type": "Identifier", - "start": 732, - "end": 734, - "loc": { - "start": { - "line": 26, - "column": 26 - }, - "end": { - "line": 26, - "column": 28 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 735, - "end": 740, - "loc": { - "start": { - "line": 26, - "column": 29 - }, - "end": { - "line": 26, - "column": 34 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 741, - "end": 742, - "loc": { - "start": { - "line": 26, - "column": 35 - }, - "end": { - "line": 26, - "column": 36 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 757, - "end": 764, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 757, - "end": 763, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 757, - "end": 761, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 776, - "end": 778, - "loc": { - "start": { - "line": 28, - "column": 11 - }, - "end": { - "line": 28, - "column": 13 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 43, - "_esdocTestName": "it43" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 42, - "_esdocTestName": "describe42" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DebounceAll", - "start": 74, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 86, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 88, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 23 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./debounceAll", - "start": 93, - "end": 108, - "loc": { - "start": { - "line": 3, - "column": 28 - }, - "end": { - "line": 3, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 108, - "end": 109, - "loc": { - "start": { - "line": 3, - "column": 43 - }, - "end": { - "line": 3, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 110, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 118, - "end": 119, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "debounceAll", - "start": 119, - "end": 132, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 132, - "end": 133, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 134, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 135, - "end": 136, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 137, - "end": 139, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 140, - "end": 141, - "loc": { - "start": { - "line": 4, - "column": 30 - }, - "end": { - "line": 4, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 146, - "end": 148, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 148, - "end": 149, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should debounce the method across instances", - "start": 149, - "end": 194, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 194, - "end": 195, - "loc": { - "start": { - "line": 5, - "column": 52 - }, - "end": { - "line": 5, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 196, - "end": 200, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 201, - "end": 203, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 5, - "column": 61 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 204, - "end": 205, - "loc": { - "start": { - "line": 5, - "column": 62 - }, - "end": { - "line": 5, - "column": 63 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 214, - "end": 217, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 218, - "end": 223, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 224, - "end": 225, - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 227, - "end": 228, - "loc": { - "start": { - "line": 6, - "column": 21 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 237, - "end": 242, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 243, - "end": 250, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 265, - "end": 267, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 267, - "end": 268, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 268, - "end": 269, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 270, - "end": 271, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 288, - "end": 293, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 293, - "end": 295, - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 295, - "end": 296, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 319, - "end": 320, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 329, - "end": 336, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 336, - "end": 337, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 337, - "end": 347, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 347, - "end": 348, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 348, - "end": 349, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DebounceAll", - "start": 362, - "end": 373, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 373, - "end": 374, - "loc": { - "start": { - "line": 13, - "column": 23 - }, - "end": { - "line": 13, - "column": 24 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 374, - "end": 376, - "loc": { - "start": { - "line": 13, - "column": 24 - }, - "end": { - "line": 13, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 376, - "end": 377, - "loc": { - "start": { - "line": 13, - "column": 26 - }, - "end": { - "line": 13, - "column": 27 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 386, - "end": 387, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 387, - "end": 388, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 389, - "end": 396, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 396, - "end": 397, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 397, - "end": 406, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 406, - "end": 407, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 408, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 412, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 34 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 414, - "end": 418, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 418, - "end": 419, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 419, - "end": 420, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 429, - "end": 434, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 435, - "end": 442, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 443, - "end": 444, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 445, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 449, - "end": 456, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 456, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 458, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 468, - "end": 473, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 474, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 483, - "end": 484, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 485, - "end": 488, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 489, - "end": 496, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 496, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 497, - "end": 498, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 498, - "end": 499, - "loc": { - "start": { - "line": 16, - "column": 38 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 508, - "end": 515, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 515, - "end": 516, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 516, - "end": 518, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 518, - "end": 519, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 519, - "end": 520, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 520, - "end": 521, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 530, - "end": 537, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 537, - "end": 538, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 538, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 540, - "end": 541, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 541, - "end": 542, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 542, - "end": 543, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 552, - "end": 559, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 559, - "end": 560, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 560, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 562, - "end": 563, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 563, - "end": 564, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 564, - "end": 565, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 574, - "end": 581, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 581, - "end": 582, - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 582, - "end": 584, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 584, - "end": 585, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 585, - "end": 586, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 586, - "end": 587, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 596, - "end": 603, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 603, - "end": 604, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 604, - "end": 606, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 606, - "end": 607, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 607, - "end": 608, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 608, - "end": 609, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 618, - "end": 626, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 626, - "end": 627, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 627, - "end": 629, - "loc": { - "start": { - "line": 22, - "column": 17 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 629, - "end": 630, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 630, - "end": 631, - "loc": { - "start": { - "line": 22, - "column": 20 - }, - "end": { - "line": 22, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 631, - "end": 632, - "loc": { - "start": { - "line": 22, - "column": 21 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 641, - "end": 649, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 649, - "end": 650, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 650, - "end": 652, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 652, - "end": 653, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 653, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 23, - "column": 21 - }, - "end": { - "line": 23, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 664, - "end": 672, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 672, - "end": 673, - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 673, - "end": 675, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 675, - "end": 676, - "loc": { - "start": { - "line": 24, - "column": 19 - }, - "end": { - "line": 24, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 676, - "end": 677, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 677, - "end": 678, - "loc": { - "start": { - "line": 24, - "column": 21 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 687, - "end": 697, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 697, - "end": 698, - "loc": { - "start": { - "line": 25, - "column": 18 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 699, - "end": 700, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 701, - "end": 703, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 25, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 704, - "end": 705, - "loc": { - "start": { - "line": 25, - "column": 25 - }, - "end": { - "line": 25, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 718, - "end": 724, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 724, - "end": 725, - "loc": { - "start": { - "line": 26, - "column": 18 - }, - "end": { - "line": 26, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 725, - "end": 730, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 730, - "end": 731, - "loc": { - "start": { - "line": 26, - "column": 24 - }, - "end": { - "line": 26, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 731, - "end": 732, - "loc": { - "start": { - "line": 26, - "column": 25 - }, - "end": { - "line": 26, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 732, - "end": 734, - "loc": { - "start": { - "line": 26, - "column": 26 - }, - "end": { - "line": 26, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 734, - "end": 735, - "loc": { - "start": { - "line": 26, - "column": 28 - }, - "end": { - "line": 26, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 735, - "end": 740, - "loc": { - "start": { - "line": 26, - "column": 29 - }, - "end": { - "line": 26, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 740, - "end": 741, - "loc": { - "start": { - "line": 26, - "column": 34 - }, - "end": { - "line": 26, - "column": 35 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 741, - "end": 742, - "loc": { - "start": { - "line": 26, - "column": 35 - }, - "end": { - "line": 26, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 742, - "end": 743, - "loc": { - "start": { - "line": 26, - "column": 36 - }, - "end": { - "line": 26, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 743, - "end": 744, - "loc": { - "start": { - "line": 26, - "column": 37 - }, - "end": { - "line": 26, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 757, - "end": 761, - "loc": { - "start": { - "line": 27, - "column": 12 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 761, - "end": 762, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 762, - "end": 763, - "loc": { - "start": { - "line": 27, - "column": 17 - }, - "end": { - "line": 27, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 763, - "end": 764, - "loc": { - "start": { - "line": 27, - "column": 18 - }, - "end": { - "line": 27, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 773, - "end": 774, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 774, - "end": 775, - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 776, - "end": 778, - "loc": { - "start": { - "line": 28, - "column": 11 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 778, - "end": 779, - "loc": { - "start": { - "line": 28, - "column": 13 - }, - "end": { - "line": 28, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 779, - "end": 780, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 785, - "end": 786, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 29, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 786, - "end": 787, - "loc": { - "start": { - "line": 29, - "column": 5 - }, - "end": { - "line": 29, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 787, - "end": 788, - "loc": { - "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 789, - "end": 790, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 30, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 790, - "end": 791, - "loc": { - "start": { - "line": 30, - "column": 1 - }, - "end": { - "line": 30, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 791, - "end": 792, - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 793, - "end": 793, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 31, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/defer.spec.js.json b/docs/ast/test/defer.spec.js.json deleted file mode 100644 index fc1257b..0000000 --- a/docs/ast/test/defer.spec.js.json +++ /dev/null @@ -1,12943 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1513, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 52, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1513, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 52, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 28 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "extra": { - "rawValue": "sinon", - "raw": "'sinon'" - }, - "value": "sinon" - } - }, - { - "type": "ImportDeclaration", - "start": 94, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - }, - "identifierName": "Defer" - }, - "name": "Defer" - }, - "local": { - "type": "Identifier", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - }, - "identifierName": "Defer" - }, - "name": "Defer" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 116, - "end": 125, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 31 - } - }, - "extra": { - "rawValue": "./defer", - "raw": "'./defer'" - }, - "value": "./defer" - } - }, - { - "type": "ExpressionStatement", - "start": 127, - "end": 1512, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 127, - "end": 1511, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 51, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 127, - "end": 135, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 136, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - } - }, - "extra": { - "rawValue": "defer", - "raw": "'defer'" - }, - "value": "defer" - }, - { - "type": "ArrowFunctionExpression", - "start": 145, - "end": 1510, - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 51, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 151, - "end": 1510, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 51, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 157, - "end": 772, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 25, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 157, - "end": 771, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 25, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 157, - "end": 159, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 160, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 32 - } - }, - "extra": { - "rawValue": "should defer the method", - "raw": "'should defer the method'" - }, - "value": "should defer the method" - }, - { - "type": "ArrowFunctionExpression", - "start": 187, - "end": 770, - "loc": { - "start": { - "line": 6, - "column": 34 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 187, - "end": 191, - "loc": { - "start": { - "line": 6, - "column": 34 - }, - "end": { - "line": 6, - "column": 38 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 195, - "end": 770, - "loc": { - "start": { - "line": 6, - "column": 42 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 205, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 25 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 209, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 24 - } - }, - "id": { - "type": "Identifier", - "start": 209, - "end": 213, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 16 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 216, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 216, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 22 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 231, - "end": 386, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 237, - "end": 244, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 245, - "end": 386, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 259, - "end": 376, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 259, - "end": 261, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 262, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 22 - } - }, - "argument": { - "type": "Identifier", - "start": 265, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 22 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 271, - "end": 376, - "loc": { - "start": { - "line": 9, - "column": 24 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 289, - "end": 331, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 289, - "end": 330, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 289, - "end": 321, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 289, - "end": 315, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 289, - "end": 312, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 289, - "end": 295, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 296, - "end": 300, - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 302, - "end": 311, - "loc": { - "start": { - "line": 10, - "column": 29 - }, - "end": { - "line": 10, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 313, - "end": 315, - "loc": { - "start": { - "line": 10, - "column": 40 - }, - "end": { - "line": 10, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 316, - "end": 321, - "loc": { - "start": { - "line": 10, - "column": 43 - }, - "end": { - "line": 10, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 322, - "end": 329, - "loc": { - "start": { - "line": 10, - "column": 49 - }, - "end": { - "line": 10, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 348, - "end": 362, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 30 - } - }, - "expression": { - "type": "CallExpression", - "start": 348, - "end": 361, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 348, - "end": 352, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 20 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [ - { - "type": "SpreadElement", - "start": 353, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 21 - }, - "end": { - "line": 11, - "column": 28 - } - }, - "argument": { - "type": "Identifier", - "start": 356, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 28 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 395, - "end": 484, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 395, - "end": 483, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 395, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 395, - "end": 402, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 403, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 414, - "end": 451, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 16, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 428, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 25 - } - }, - "callee": { - "type": "Identifier", - "start": 428, - "end": 433, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 17 - }, - "identifierName": "Defer" - }, - "name": "Defer" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 434, - "end": 440, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 24 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 453, - "end": 470, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 453, - "end": 460, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 461, - "end": 470, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 472, - "end": 476, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 478, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 493, - "end": 523, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 499, - "end": 522, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 499, - "end": 506, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 509, - "end": 522, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 513, - "end": 520, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 532, - "end": 547, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 23 - } - }, - "expression": { - "type": "CallExpression", - "start": 532, - "end": 546, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 22 - } - }, - "callee": { - "type": "MemberExpression", - "start": 532, - "end": 542, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 532, - "end": 539, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 540, - "end": 542, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 543, - "end": 545, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 556, - "end": 588, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 40 - } - }, - "expression": { - "type": "MemberExpression", - "start": 556, - "end": 587, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 556, - "end": 581, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 556, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 30 - } - }, - "object": { - "type": "CallExpression", - "start": 556, - "end": 575, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 556, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 563, - "end": 574, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 563, - "end": 567, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 19 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 568, - "end": 574, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 26 - }, - "identifierName": "called" - }, - "name": "called" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 576, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 30 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 579, - "end": 581, - "loc": { - "start": { - "line": 19, - "column": 31 - }, - "end": { - "line": 19, - "column": 33 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 582, - "end": 587, - "loc": { - "start": { - "line": 19, - "column": 34 - }, - "end": { - "line": 19, - "column": 39 - }, - "identifierName": "false" - }, - "name": "false" - }, - "computed": false - } - }, - { - "type": "ExpressionStatement", - "start": 597, - "end": 764, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - } - }, - "expression": { - "type": "CallExpression", - "start": 597, - "end": 763, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 24, - "column": 13 - } - }, - "callee": { - "type": "Identifier", - "start": 597, - "end": 607, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 608, - "end": 759, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 614, - "end": 759, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 628, - "end": 663, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 628, - "end": 662, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 628, - "end": 659, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 628, - "end": 653, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 628, - "end": 650, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 628, - "end": 634, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 635, - "end": 649, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 635, - "end": 639, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 640, - "end": 649, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 33 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 651, - "end": 653, - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 654, - "end": 659, - "loc": { - "start": { - "line": 21, - "column": 38 - }, - "end": { - "line": 21, - "column": 43 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 21, - "column": 44 - }, - "end": { - "line": 21, - "column": 45 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 676, - "end": 729, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 65 - } - }, - "expression": { - "type": "CallExpression", - "start": 676, - "end": 728, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 64 - } - }, - "callee": { - "type": "MemberExpression", - "start": 676, - "end": 714, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 50 - } - }, - "object": { - "type": "MemberExpression", - "start": 676, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 46 - } - }, - "object": { - "type": "CallExpression", - "start": 676, - "end": 707, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 43 - } - }, - "callee": { - "type": "Identifier", - "start": 676, - "end": 682, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 683, - "end": 706, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 683, - "end": 701, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 683, - "end": 698, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 683, - "end": 696, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 683, - "end": 687, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 688, - "end": 696, - "loc": { - "start": { - "line": 22, - "column": 24 - }, - "end": { - "line": 22, - "column": 32 - }, - "identifierName": "getCalls" - }, - "name": "getCalls" - }, - "computed": false - }, - "arguments": [] - }, - "property": { - "type": "NumericLiteral", - "start": 699, - "end": 700, - "loc": { - "start": { - "line": 22, - "column": 35 - }, - "end": { - "line": 22, - "column": 36 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 702, - "end": 706, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 42 - }, - "identifierName": "args" - }, - "name": "args" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 708, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 44 - }, - "end": { - "line": 22, - "column": 46 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 711, - "end": 714, - "loc": { - "start": { - "line": 22, - "column": 47 - }, - "end": { - "line": 22, - "column": 50 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 715, - "end": 727, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 63 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 716, - "end": 718, - "loc": { - "start": { - "line": 22, - "column": 52 - }, - "end": { - "line": 22, - "column": 54 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "StringLiteral", - "start": 720, - "end": 726, - "loc": { - "start": { - "line": 22, - "column": 56 - }, - "end": { - "line": 22, - "column": 62 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 742, - "end": 749, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 742, - "end": 748, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 742, - "end": 746, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 761, - "end": 762, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 12 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 45, - "_esdocTestName": "it45" - } - }, - { - "type": "ExpressionStatement", - "start": 777, - "end": 1508, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 50, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 777, - "end": 1507, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 50, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 777, - "end": 779, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 780, - "end": 817, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 44 - } - }, - "extra": { - "rawValue": "should debounce the property setter", - "raw": "'should debounce the property setter'" - }, - "value": "should debounce the property setter" - }, - { - "type": "ArrowFunctionExpression", - "start": 819, - "end": 1506, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 819, - "end": 823, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 26, - "column": 50 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 827, - "end": 1506, - "loc": { - "start": { - "line": 26, - "column": 54 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 837, - "end": 1156, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 38, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 843, - "end": 850, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 851, - "end": 1156, - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 38, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 865, - "end": 929, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 865, - "end": 876, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 879, - "end": 929, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 30, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 897, - "end": 915, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 897, - "end": 914, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 897, - "end": 908, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 897, - "end": 901, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 902, - "end": 908, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 27 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 911, - "end": 914, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 942, - "end": 1070, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 34, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 946, - "end": 951, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "static": false, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 952, - "end": 957, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - }, - "identifierName": "value" - }, - "name": "value" - } - ], - "body": { - "type": "BlockStatement", - "start": 959, - "end": 1070, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 34, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 977, - "end": 1019, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 977, - "end": 1018, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 977, - "end": 1009, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 977, - "end": 1003, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 977, - "end": 1000, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 977, - "end": 983, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 984, - "end": 988, - "loc": { - "start": { - "line": 32, - "column": 23 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 990, - "end": 999, - "loc": { - "start": { - "line": 32, - "column": 29 - }, - "end": { - "line": 32, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1001, - "end": 1003, - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1004, - "end": 1009, - "loc": { - "start": { - "line": 32, - "column": 43 - }, - "end": { - "line": 32, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1010, - "end": 1017, - "loc": { - "start": { - "line": 32, - "column": 49 - }, - "end": { - "line": 32, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1036, - "end": 1056, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1036, - "end": 1055, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1036, - "end": 1047, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 1036, - "end": 1040, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 1041, - "end": 1047, - "loc": { - "start": { - "line": 33, - "column": 21 - }, - "end": { - "line": 33, - "column": 27 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1050, - "end": 1055, - "loc": { - "start": { - "line": 33, - "column": 30 - }, - "end": { - "line": 33, - "column": 35 - }, - "identifierName": "value" - }, - "name": "value" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 1083, - "end": 1146, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1087, - "end": 1092, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "static": false, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1095, - "end": 1146, - "loc": { - "start": { - "line": 35, - "column": 24 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1113, - "end": 1132, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 35 - } - }, - "argument": { - "type": "MemberExpression", - "start": 1120, - "end": 1131, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 1120, - "end": 1124, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 1125, - "end": 1131, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 34 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1165, - "end": 1251, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 41, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 1165, - "end": 1250, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 41, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1165, - "end": 1183, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1165, - "end": 1172, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1173, - "end": 1183, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1184, - "end": 1215, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 41, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1198, - "end": 1205, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 19 - } - }, - "callee": { - "type": "Identifier", - "start": 1198, - "end": 1203, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 17 - }, - "identifierName": "Defer" - }, - "name": "Defer" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 1217, - "end": 1234, - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1217, - "end": 1224, - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1225, - "end": 1234, - "loc": { - "start": { - "line": 41, - "column": 19 - }, - "end": { - "line": 41, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1236, - "end": 1243, - "loc": { - "start": { - "line": 41, - "column": 30 - }, - "end": { - "line": 41, - "column": 37 - } - }, - "extra": { - "rawValue": "value", - "raw": "\"value\"" - }, - "value": "value" - }, - { - "type": "NullLiteral", - "start": 1245, - "end": 1249, - "loc": { - "start": { - "line": 41, - "column": 39 - }, - "end": { - "line": 41, - "column": 43 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1260, - "end": 1290, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1266, - "end": 1289, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1266, - "end": 1273, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1276, - "end": 1289, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1280, - "end": 1287, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1299, - "end": 1317, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1299, - "end": 1316, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1299, - "end": 1312, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 1299, - "end": 1306, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1307, - "end": 1312, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1315, - "end": 1316, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 25 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1326, - "end": 1345, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 27 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1326, - "end": 1344, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 26 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1326, - "end": 1339, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 1326, - "end": 1333, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1334, - "end": 1339, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1342, - "end": 1344, - "loc": { - "start": { - "line": 44, - "column": 24 - }, - "end": { - "line": 44, - "column": 26 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1354, - "end": 1390, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 1354, - "end": 1389, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1354, - "end": 1384, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 1354, - "end": 1378, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 1354, - "end": 1375, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 1354, - "end": 1360, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1361, - "end": 1374, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1361, - "end": 1368, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1369, - "end": 1374, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 28 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1376, - "end": 1378, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1379, - "end": 1384, - "loc": { - "start": { - "line": 45, - "column": 33 - }, - "end": { - "line": 45, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1385, - "end": 1388, - "loc": { - "start": { - "line": 45, - "column": 39 - }, - "end": { - "line": 45, - "column": 42 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1399, - "end": 1500, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 49, - "column": 14 - } - }, - "expression": { - "type": "CallExpression", - "start": 1399, - "end": 1499, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 49, - "column": 13 - } - }, - "callee": { - "type": "Identifier", - "start": 1399, - "end": 1409, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1410, - "end": 1495, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 49, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1416, - "end": 1495, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 49, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1430, - "end": 1465, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 1430, - "end": 1464, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1430, - "end": 1460, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 1430, - "end": 1454, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 1430, - "end": 1451, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 1430, - "end": 1436, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1437, - "end": 1450, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 1437, - "end": 1444, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1445, - "end": 1450, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 32 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1452, - "end": 1454, - "loc": { - "start": { - "line": 47, - "column": 34 - }, - "end": { - "line": 47, - "column": 36 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1455, - "end": 1460, - "loc": { - "start": { - "line": 47, - "column": 37 - }, - "end": { - "line": 47, - "column": 42 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1461, - "end": 1463, - "loc": { - "start": { - "line": 47, - "column": 43 - }, - "end": { - "line": 47, - "column": 45 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1478, - "end": 1485, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 1478, - "end": 1484, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 1478, - "end": 1482, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 1497, - "end": 1498, - "loc": { - "start": { - "line": 49, - "column": 11 - }, - "end": { - "line": 49, - "column": 12 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 46, - "_esdocTestName": "it46" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 44, - "_esdocTestName": "describe44" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "sinon", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 94, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 101, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Defer", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 109, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 111, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./defer", - "start": 116, - "end": 125, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 4, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 127, - "end": 135, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 135, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "defer", - "start": 136, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 143, - "end": 144, - "loc": { - "start": { - "line": 5, - "column": 16 - }, - "end": { - "line": 5, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 145, - "end": 146, - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 146, - "end": 147, - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 20 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 148, - "end": 150, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 151, - "end": 152, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 157, - "end": 159, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 159, - "end": 160, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should defer the method", - "start": 160, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 185, - "end": 186, - "loc": { - "start": { - "line": 6, - "column": 32 - }, - "end": { - "line": 6, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 187, - "end": 191, - "loc": { - "start": { - "line": 6, - "column": 34 - }, - "end": { - "line": 6, - "column": 38 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 192, - "end": 194, - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 41 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 195, - "end": 196, - "loc": { - "start": { - "line": 6, - "column": 42 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 205, - "end": 208, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 209, - "end": 213, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 214, - "end": 215, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 216, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 219, - "end": 220, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 220, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 23 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 231, - "end": 236, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 237, - "end": 244, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 245, - "end": 246, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 259, - "end": 261, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 15 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 262, - "end": 265, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 265, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 269, - "end": 270, - "loc": { - "start": { - "line": 9, - "column": 22 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 9, - "column": 24 - }, - "end": { - "line": 9, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 289, - "end": 295, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 295, - "end": 296, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 296, - "end": 300, - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 300, - "end": 301, - "loc": { - "start": { - "line": 10, - "column": 27 - }, - "end": { - "line": 10, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 302, - "end": 311, - "loc": { - "start": { - "line": 10, - "column": 29 - }, - "end": { - "line": 10, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 311, - "end": 312, - "loc": { - "start": { - "line": 10, - "column": 38 - }, - "end": { - "line": 10, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 312, - "end": 313, - "loc": { - "start": { - "line": 10, - "column": 39 - }, - "end": { - "line": 10, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 313, - "end": 315, - "loc": { - "start": { - "line": 10, - "column": 40 - }, - "end": { - "line": 10, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 10, - "column": 42 - }, - "end": { - "line": 10, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 316, - "end": 321, - "loc": { - "start": { - "line": 10, - "column": 43 - }, - "end": { - "line": 10, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 321, - "end": 322, - "loc": { - "start": { - "line": 10, - "column": 48 - }, - "end": { - "line": 10, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 322, - "end": 329, - "loc": { - "start": { - "line": 10, - "column": 49 - }, - "end": { - "line": 10, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 10, - "column": 56 - }, - "end": { - "line": 10, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 330, - "end": 331, - "loc": { - "start": { - "line": 10, - "column": 57 - }, - "end": { - "line": 10, - "column": 58 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 348, - "end": 352, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 352, - "end": 353, - "loc": { - "start": { - "line": 11, - "column": 20 - }, - "end": { - "line": 11, - "column": 21 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 353, - "end": 356, - "loc": { - "start": { - "line": 11, - "column": 21 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 356, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 360, - "end": 361, - "loc": { - "start": { - "line": 11, - "column": 28 - }, - "end": { - "line": 11, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 361, - "end": 362, - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 375, - "end": 376, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 395, - "end": 402, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 402, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 15 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 403, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 413, - "end": 414, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 414, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Defer", - "start": 428, - "end": 433, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 433, - "end": 434, - "loc": { - "start": { - "line": 15, - "column": 17 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 434, - "end": 440, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 440, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 25 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 450, - "end": 451, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 451, - "end": 452, - "loc": { - "start": { - "line": 16, - "column": 9 - }, - "end": { - "line": 16, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 453, - "end": 460, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 460, - "end": 461, - "loc": { - "start": { - "line": 16, - "column": 18 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 461, - "end": 470, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 472, - "end": 476, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 476, - "end": 477, - "loc": { - "start": { - "line": 16, - "column": 34 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 478, - "end": 482, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 482, - "end": 483, - "loc": { - "start": { - "line": 16, - "column": 40 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 483, - "end": 484, - "loc": { - "start": { - "line": 16, - "column": 41 - }, - "end": { - "line": 16, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 493, - "end": 498, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 499, - "end": 506, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 507, - "end": 508, - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 509, - "end": 512, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 513, - "end": 520, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 520, - "end": 521, - "loc": { - "start": { - "line": 17, - "column": 35 - }, - "end": { - "line": 17, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 521, - "end": 522, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 532, - "end": 539, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 539, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 540, - "end": 542, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 542, - "end": 543, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 543, - "end": 545, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 545, - "end": 546, - "loc": { - "start": { - "line": 18, - "column": 21 - }, - "end": { - "line": 18, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 546, - "end": 547, - "loc": { - "start": { - "line": 18, - "column": 22 - }, - "end": { - "line": 18, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 556, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 562, - "end": 563, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 563, - "end": 567, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 567, - "end": 568, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "called", - "start": 568, - "end": 574, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 574, - "end": 575, - "loc": { - "start": { - "line": 19, - "column": 26 - }, - "end": { - "line": 19, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 575, - "end": 576, - "loc": { - "start": { - "line": 19, - "column": 27 - }, - "end": { - "line": 19, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 576, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 578, - "end": 579, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 579, - "end": 581, - "loc": { - "start": { - "line": 19, - "column": 31 - }, - "end": { - "line": 19, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 581, - "end": 582, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 34 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 582, - "end": 587, - "loc": { - "start": { - "line": 19, - "column": 34 - }, - "end": { - "line": 19, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 587, - "end": 588, - "loc": { - "start": { - "line": 19, - "column": 39 - }, - "end": { - "line": 19, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 597, - "end": 607, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 607, - "end": 608, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 608, - "end": 609, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 609, - "end": 610, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 611, - "end": 613, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 614, - "end": 615, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 628, - "end": 634, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 634, - "end": 635, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 635, - "end": 639, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 639, - "end": 640, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 640, - "end": 649, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 649, - "end": 650, - "loc": { - "start": { - "line": 21, - "column": 33 - }, - "end": { - "line": 21, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 650, - "end": 651, - "loc": { - "start": { - "line": 21, - "column": 34 - }, - "end": { - "line": 21, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 651, - "end": 653, - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 653, - "end": 654, - "loc": { - "start": { - "line": 21, - "column": 37 - }, - "end": { - "line": 21, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 654, - "end": 659, - "loc": { - "start": { - "line": 21, - "column": 38 - }, - "end": { - "line": 21, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 659, - "end": 660, - "loc": { - "start": { - "line": 21, - "column": 43 - }, - "end": { - "line": 21, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 21, - "column": 44 - }, - "end": { - "line": 21, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 661, - "end": 662, - "loc": { - "start": { - "line": 21, - "column": 45 - }, - "end": { - "line": 21, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 662, - "end": 663, - "loc": { - "start": { - "line": 21, - "column": 46 - }, - "end": { - "line": 21, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 676, - "end": 682, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 682, - "end": 683, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 683, - "end": 687, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 687, - "end": 688, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCalls", - "start": 688, - "end": 696, - "loc": { - "start": { - "line": 22, - "column": 24 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 696, - "end": 697, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 697, - "end": 698, - "loc": { - "start": { - "line": 22, - "column": 33 - }, - "end": { - "line": 22, - "column": 34 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 22, - "column": 34 - }, - "end": { - "line": 22, - "column": 35 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 699, - "end": 700, - "loc": { - "start": { - "line": 22, - "column": 35 - }, - "end": { - "line": 22, - "column": 36 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 22, - "column": 36 - }, - "end": { - "line": 22, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 701, - "end": 702, - "loc": { - "start": { - "line": 22, - "column": 37 - }, - "end": { - "line": 22, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 702, - "end": 706, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 706, - "end": 707, - "loc": { - "start": { - "line": 22, - "column": 42 - }, - "end": { - "line": 22, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 707, - "end": 708, - "loc": { - "start": { - "line": 22, - "column": 43 - }, - "end": { - "line": 22, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 708, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 44 - }, - "end": { - "line": 22, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 710, - "end": 711, - "loc": { - "start": { - "line": 22, - "column": 46 - }, - "end": { - "line": 22, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 711, - "end": 714, - "loc": { - "start": { - "line": 22, - "column": 47 - }, - "end": { - "line": 22, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 714, - "end": 715, - "loc": { - "start": { - "line": 22, - "column": 50 - }, - "end": { - "line": 22, - "column": 51 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 715, - "end": 716, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 52 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 716, - "end": 718, - "loc": { - "start": { - "line": 22, - "column": 52 - }, - "end": { - "line": 22, - "column": 54 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 718, - "end": 719, - "loc": { - "start": { - "line": 22, - "column": 54 - }, - "end": { - "line": 22, - "column": 55 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 720, - "end": 726, - "loc": { - "start": { - "line": 22, - "column": 56 - }, - "end": { - "line": 22, - "column": 62 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 726, - "end": 727, - "loc": { - "start": { - "line": 22, - "column": 62 - }, - "end": { - "line": 22, - "column": 63 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 727, - "end": 728, - "loc": { - "start": { - "line": 22, - "column": 63 - }, - "end": { - "line": 22, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 728, - "end": 729, - "loc": { - "start": { - "line": 22, - "column": 64 - }, - "end": { - "line": 22, - "column": 65 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 742, - "end": 746, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 746, - "end": 747, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 747, - "end": 748, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 748, - "end": 749, - "loc": { - "start": { - "line": 23, - "column": 18 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 758, - "end": 759, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 759, - "end": 760, - "loc": { - "start": { - "line": 24, - "column": 9 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 761, - "end": 762, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 762, - "end": 763, - "loc": { - "start": { - "line": 24, - "column": 12 - }, - "end": { - "line": 24, - "column": 13 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 763, - "end": 764, - "loc": { - "start": { - "line": 24, - "column": 13 - }, - "end": { - "line": 24, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 769, - "end": 770, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 770, - "end": 771, - "loc": { - "start": { - "line": 25, - "column": 5 - }, - "end": { - "line": 25, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 771, - "end": 772, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 777, - "end": 779, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 779, - "end": 780, - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should debounce the property setter", - "start": 780, - "end": 817, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 817, - "end": 818, - "loc": { - "start": { - "line": 26, - "column": 44 - }, - "end": { - "line": 26, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 819, - "end": 823, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 26, - "column": 50 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 824, - "end": 826, - "loc": { - "start": { - "line": 26, - "column": 51 - }, - "end": { - "line": 26, - "column": 53 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 827, - "end": 828, - "loc": { - "start": { - "line": 26, - "column": 54 - }, - "end": { - "line": 26, - "column": 55 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 837, - "end": 842, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 843, - "end": 850, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 851, - "end": 852, - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 27, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 865, - "end": 876, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 876, - "end": 877, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 877, - "end": 878, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 28, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 879, - "end": 880, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 28, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 897, - "end": 901, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 901, - "end": 902, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 902, - "end": 908, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 909, - "end": 910, - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 29, - "column": 29 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 911, - "end": 914, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 914, - "end": 915, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 928, - "end": 929, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 942, - "end": 945, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 946, - "end": 951, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 951, - "end": 952, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 952, - "end": 957, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 957, - "end": 958, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 959, - "end": 960, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 31, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 977, - "end": 983, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 983, - "end": 984, - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 984, - "end": 988, - "loc": { - "start": { - "line": 32, - "column": 23 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 988, - "end": 989, - "loc": { - "start": { - "line": 32, - "column": 27 - }, - "end": { - "line": 32, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 990, - "end": 999, - "loc": { - "start": { - "line": 32, - "column": 29 - }, - "end": { - "line": 32, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 999, - "end": 1000, - "loc": { - "start": { - "line": 32, - "column": 38 - }, - "end": { - "line": 32, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1000, - "end": 1001, - "loc": { - "start": { - "line": 32, - "column": 39 - }, - "end": { - "line": 32, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1001, - "end": 1003, - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1003, - "end": 1004, - "loc": { - "start": { - "line": 32, - "column": 42 - }, - "end": { - "line": 32, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1004, - "end": 1009, - "loc": { - "start": { - "line": 32, - "column": 43 - }, - "end": { - "line": 32, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1009, - "end": 1010, - "loc": { - "start": { - "line": 32, - "column": 48 - }, - "end": { - "line": 32, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1010, - "end": 1017, - "loc": { - "start": { - "line": 32, - "column": 49 - }, - "end": { - "line": 32, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1017, - "end": 1018, - "loc": { - "start": { - "line": 32, - "column": 56 - }, - "end": { - "line": 32, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1018, - "end": 1019, - "loc": { - "start": { - "line": 32, - "column": 57 - }, - "end": { - "line": 32, - "column": 58 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1036, - "end": 1040, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1040, - "end": 1041, - "loc": { - "start": { - "line": 33, - "column": 20 - }, - "end": { - "line": 33, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 1041, - "end": 1047, - "loc": { - "start": { - "line": 33, - "column": 21 - }, - "end": { - "line": 33, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1048, - "end": 1049, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1050, - "end": 1055, - "loc": { - "start": { - "line": 33, - "column": 30 - }, - "end": { - "line": 33, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1055, - "end": 1056, - "loc": { - "start": { - "line": 33, - "column": 35 - }, - "end": { - "line": 33, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1069, - "end": 1070, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 1083, - "end": 1086, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1087, - "end": 1092, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1092, - "end": 1093, - "loc": { - "start": { - "line": 35, - "column": 21 - }, - "end": { - "line": 35, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1093, - "end": 1094, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1095, - "end": 1096, - "loc": { - "start": { - "line": 35, - "column": 24 - }, - "end": { - "line": 35, - "column": 25 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 1113, - "end": 1119, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 22 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1120, - "end": 1124, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1124, - "end": 1125, - "loc": { - "start": { - "line": 36, - "column": 27 - }, - "end": { - "line": 36, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 1125, - "end": 1131, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1131, - "end": 1132, - "loc": { - "start": { - "line": 36, - "column": 34 - }, - "end": { - "line": 36, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1145, - "end": 1146, - "loc": { - "start": { - "line": 37, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1155, - "end": 1156, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1165, - "end": 1172, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1172, - "end": 1173, - "loc": { - "start": { - "line": 39, - "column": 15 - }, - "end": { - "line": 39, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1173, - "end": 1183, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1183, - "end": 1184, - "loc": { - "start": { - "line": 39, - "column": 26 - }, - "end": { - "line": 39, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1184, - "end": 1185, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 39, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Defer", - "start": 1198, - "end": 1203, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1203, - "end": 1204, - "loc": { - "start": { - "line": 40, - "column": 17 - }, - "end": { - "line": 40, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1204, - "end": 1205, - "loc": { - "start": { - "line": 40, - "column": 18 - }, - "end": { - "line": 40, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1214, - "end": 1215, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1215, - "end": 1216, - "loc": { - "start": { - "line": 41, - "column": 9 - }, - "end": { - "line": 41, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1217, - "end": 1224, - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1224, - "end": 1225, - "loc": { - "start": { - "line": 41, - "column": 18 - }, - "end": { - "line": 41, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1225, - "end": 1234, - "loc": { - "start": { - "line": 41, - "column": 19 - }, - "end": { - "line": 41, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1234, - "end": 1235, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "value", - "start": 1236, - "end": 1243, - "loc": { - "start": { - "line": 41, - "column": 30 - }, - "end": { - "line": 41, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1243, - "end": 1244, - "loc": { - "start": { - "line": 41, - "column": 37 - }, - "end": { - "line": 41, - "column": 38 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1245, - "end": 1249, - "loc": { - "start": { - "line": 41, - "column": 39 - }, - "end": { - "line": 41, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1249, - "end": 1250, - "loc": { - "start": { - "line": 41, - "column": 43 - }, - "end": { - "line": 41, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1250, - "end": 1251, - "loc": { - "start": { - "line": 41, - "column": 44 - }, - "end": { - "line": 41, - "column": 45 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1260, - "end": 1265, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1266, - "end": 1273, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1274, - "end": 1275, - "loc": { - "start": { - "line": 42, - "column": 22 - }, - "end": { - "line": 42, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1276, - "end": 1279, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1280, - "end": 1287, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1287, - "end": 1288, - "loc": { - "start": { - "line": 42, - "column": 35 - }, - "end": { - "line": 42, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1288, - "end": 1289, - "loc": { - "start": { - "line": 42, - "column": 36 - }, - "end": { - "line": 42, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1289, - "end": 1290, - "loc": { - "start": { - "line": 42, - "column": 37 - }, - "end": { - "line": 42, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1299, - "end": 1306, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1306, - "end": 1307, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1307, - "end": 1312, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1313, - "end": 1314, - "loc": { - "start": { - "line": 43, - "column": 22 - }, - "end": { - "line": 43, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1315, - "end": 1316, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1316, - "end": 1317, - "loc": { - "start": { - "line": 43, - "column": 25 - }, - "end": { - "line": 43, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1326, - "end": 1333, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1333, - "end": 1334, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1334, - "end": 1339, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1340, - "end": 1341, - "loc": { - "start": { - "line": 44, - "column": 22 - }, - "end": { - "line": 44, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 1342, - "end": 1344, - "loc": { - "start": { - "line": 44, - "column": 24 - }, - "end": { - "line": 44, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1344, - "end": 1345, - "loc": { - "start": { - "line": 44, - "column": 26 - }, - "end": { - "line": 44, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1354, - "end": 1360, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1360, - "end": 1361, - "loc": { - "start": { - "line": 45, - "column": 14 - }, - "end": { - "line": 45, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1361, - "end": 1368, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1368, - "end": 1369, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 45, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1369, - "end": 1374, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1374, - "end": 1375, - "loc": { - "start": { - "line": 45, - "column": 28 - }, - "end": { - "line": 45, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1375, - "end": 1376, - "loc": { - "start": { - "line": 45, - "column": 29 - }, - "end": { - "line": 45, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1376, - "end": 1378, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1378, - "end": 1379, - "loc": { - "start": { - "line": 45, - "column": 32 - }, - "end": { - "line": 45, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1379, - "end": 1384, - "loc": { - "start": { - "line": 45, - "column": 33 - }, - "end": { - "line": 45, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1384, - "end": 1385, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 1385, - "end": 1388, - "loc": { - "start": { - "line": 45, - "column": 39 - }, - "end": { - "line": 45, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1388, - "end": 1389, - "loc": { - "start": { - "line": 45, - "column": 42 - }, - "end": { - "line": 45, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1389, - "end": 1390, - "loc": { - "start": { - "line": 45, - "column": 43 - }, - "end": { - "line": 45, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 1399, - "end": 1409, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1409, - "end": 1410, - "loc": { - "start": { - "line": 46, - "column": 18 - }, - "end": { - "line": 46, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1410, - "end": 1411, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 46, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1411, - "end": 1412, - "loc": { - "start": { - "line": 46, - "column": 20 - }, - "end": { - "line": 46, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1413, - "end": 1415, - "loc": { - "start": { - "line": 46, - "column": 22 - }, - "end": { - "line": 46, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1416, - "end": 1417, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1430, - "end": 1436, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1436, - "end": 1437, - "loc": { - "start": { - "line": 47, - "column": 18 - }, - "end": { - "line": 47, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1437, - "end": 1444, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1444, - "end": 1445, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1445, - "end": 1450, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1450, - "end": 1451, - "loc": { - "start": { - "line": 47, - "column": 32 - }, - "end": { - "line": 47, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1451, - "end": 1452, - "loc": { - "start": { - "line": 47, - "column": 33 - }, - "end": { - "line": 47, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1452, - "end": 1454, - "loc": { - "start": { - "line": 47, - "column": 34 - }, - "end": { - "line": 47, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1454, - "end": 1455, - "loc": { - "start": { - "line": 47, - "column": 36 - }, - "end": { - "line": 47, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1455, - "end": 1460, - "loc": { - "start": { - "line": 47, - "column": 37 - }, - "end": { - "line": 47, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1460, - "end": 1461, - "loc": { - "start": { - "line": 47, - "column": 42 - }, - "end": { - "line": 47, - "column": 43 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 1461, - "end": 1463, - "loc": { - "start": { - "line": 47, - "column": 43 - }, - "end": { - "line": 47, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1463, - "end": 1464, - "loc": { - "start": { - "line": 47, - "column": 45 - }, - "end": { - "line": 47, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1464, - "end": 1465, - "loc": { - "start": { - "line": 47, - "column": 46 - }, - "end": { - "line": 47, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 1478, - "end": 1482, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1482, - "end": 1483, - "loc": { - "start": { - "line": 48, - "column": 16 - }, - "end": { - "line": 48, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1483, - "end": 1484, - "loc": { - "start": { - "line": 48, - "column": 17 - }, - "end": { - "line": 48, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1484, - "end": 1485, - "loc": { - "start": { - "line": 48, - "column": 18 - }, - "end": { - "line": 48, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1494, - "end": 1495, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1495, - "end": 1496, - "loc": { - "start": { - "line": 49, - "column": 9 - }, - "end": { - "line": 49, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 1497, - "end": 1498, - "loc": { - "start": { - "line": 49, - "column": 11 - }, - "end": { - "line": 49, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1498, - "end": 1499, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 13 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1499, - "end": 1500, - "loc": { - "start": { - "line": 49, - "column": 13 - }, - "end": { - "line": 49, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1505, - "end": 1506, - "loc": { - "start": { - "line": 50, - "column": 4 - }, - "end": { - "line": 50, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1506, - "end": 1507, - "loc": { - "start": { - "line": 50, - "column": 5 - }, - "end": { - "line": 50, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1507, - "end": 1508, - "loc": { - "start": { - "line": 50, - "column": 6 - }, - "end": { - "line": 50, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1509, - "end": 1510, - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 51, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1510, - "end": 1511, - "loc": { - "start": { - "line": 51, - "column": 1 - }, - "end": { - "line": 51, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1511, - "end": 1512, - "loc": { - "start": { - "line": 51, - "column": 2 - }, - "end": { - "line": 51, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1513, - "end": 1513, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/delay.spec.js.json b/docs/ast/test/delay.spec.js.json deleted file mode 100644 index 1275677..0000000 --- a/docs/ast/test/delay.spec.js.json +++ /dev/null @@ -1,13064 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1521, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 52, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1521, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 52, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 28 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "extra": { - "rawValue": "sinon", - "raw": "'sinon'" - }, - "value": "sinon" - } - }, - { - "type": "ImportDeclaration", - "start": 94, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - }, - "identifierName": "Delay" - }, - "name": "Delay" - }, - "local": { - "type": "Identifier", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - }, - "identifierName": "Delay" - }, - "name": "Delay" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 116, - "end": 125, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 31 - } - }, - "extra": { - "rawValue": "./delay", - "raw": "'./delay'" - }, - "value": "./delay" - } - }, - { - "type": "ExpressionStatement", - "start": 127, - "end": 1520, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 51, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 127, - "end": 1519, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 51, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 127, - "end": 135, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 136, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - } - }, - "extra": { - "rawValue": "delay", - "raw": "'delay'" - }, - "value": "delay" - }, - { - "type": "ArrowFunctionExpression", - "start": 145, - "end": 1518, - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 51, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 151, - "end": 1518, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 51, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 157, - "end": 777, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 25, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 157, - "end": 776, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 25, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 157, - "end": 159, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 160, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 32 - } - }, - "extra": { - "rawValue": "should delay the method", - "raw": "'should delay the method'" - }, - "value": "should delay the method" - }, - { - "type": "ArrowFunctionExpression", - "start": 187, - "end": 775, - "loc": { - "start": { - "line": 6, - "column": 34 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 187, - "end": 191, - "loc": { - "start": { - "line": 6, - "column": 34 - }, - "end": { - "line": 6, - "column": 38 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 195, - "end": 775, - "loc": { - "start": { - "line": 6, - "column": 42 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 205, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 25 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 209, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 24 - } - }, - "id": { - "type": "Identifier", - "start": 209, - "end": 213, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 16 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 216, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 216, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 22 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 231, - "end": 386, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 237, - "end": 244, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 245, - "end": 386, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 259, - "end": 376, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 259, - "end": 261, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 262, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 22 - } - }, - "argument": { - "type": "Identifier", - "start": 265, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 22 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 271, - "end": 376, - "loc": { - "start": { - "line": 9, - "column": 24 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 289, - "end": 331, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 289, - "end": 330, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 289, - "end": 321, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 289, - "end": 315, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 289, - "end": 312, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 289, - "end": 295, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 296, - "end": 300, - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 302, - "end": 311, - "loc": { - "start": { - "line": 10, - "column": 29 - }, - "end": { - "line": 10, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 313, - "end": 315, - "loc": { - "start": { - "line": 10, - "column": 40 - }, - "end": { - "line": 10, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 316, - "end": 321, - "loc": { - "start": { - "line": 10, - "column": 43 - }, - "end": { - "line": 10, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 322, - "end": 329, - "loc": { - "start": { - "line": 10, - "column": 49 - }, - "end": { - "line": 10, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 348, - "end": 362, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 30 - } - }, - "expression": { - "type": "CallExpression", - "start": 348, - "end": 361, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 348, - "end": 352, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 20 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [ - { - "type": "SpreadElement", - "start": 353, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 21 - }, - "end": { - "line": 11, - "column": 28 - } - }, - "argument": { - "type": "Identifier", - "start": 356, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 28 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 395, - "end": 488, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 395, - "end": 487, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 395, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 395, - "end": 402, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 403, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 414, - "end": 455, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 16, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 428, - "end": 445, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 428, - "end": 433, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 17 - }, - "identifierName": "Delay" - }, - "name": "Delay" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 434, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 20 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - }, - { - "type": "StringLiteral", - "start": 438, - "end": 444, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 28 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 457, - "end": 474, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 457, - "end": 464, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 465, - "end": 474, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 476, - "end": 480, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 482, - "end": 486, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 497, - "end": 527, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 503, - "end": 526, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 503, - "end": 510, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 513, - "end": 526, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 517, - "end": 524, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 536, - "end": 551, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 23 - } - }, - "expression": { - "type": "CallExpression", - "start": 536, - "end": 550, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 22 - } - }, - "callee": { - "type": "MemberExpression", - "start": 536, - "end": 546, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 536, - "end": 543, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 544, - "end": 546, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 547, - "end": 549, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 560, - "end": 592, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 40 - } - }, - "expression": { - "type": "MemberExpression", - "start": 560, - "end": 591, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 560, - "end": 585, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 560, - "end": 582, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 30 - } - }, - "object": { - "type": "CallExpression", - "start": 560, - "end": 579, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 560, - "end": 566, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 567, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 567, - "end": 571, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 19 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 572, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 26 - }, - "identifierName": "called" - }, - "name": "called" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 580, - "end": 582, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 30 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 583, - "end": 585, - "loc": { - "start": { - "line": 19, - "column": 31 - }, - "end": { - "line": 19, - "column": 33 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 586, - "end": 591, - "loc": { - "start": { - "line": 19, - "column": 34 - }, - "end": { - "line": 19, - "column": 39 - }, - "identifierName": "false" - }, - "name": "false" - }, - "computed": false - } - }, - { - "type": "ExpressionStatement", - "start": 601, - "end": 769, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 24, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 601, - "end": 768, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - } - }, - "callee": { - "type": "Identifier", - "start": 601, - "end": 611, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 612, - "end": 763, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 618, - "end": 763, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 632, - "end": 667, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 632, - "end": 666, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 632, - "end": 663, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 632, - "end": 657, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 632, - "end": 654, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 632, - "end": 638, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 639, - "end": 653, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 639, - "end": 643, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 644, - "end": 653, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 33 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 655, - "end": 657, - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 658, - "end": 663, - "loc": { - "start": { - "line": 21, - "column": 38 - }, - "end": { - "line": 21, - "column": 43 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 664, - "end": 665, - "loc": { - "start": { - "line": 21, - "column": 44 - }, - "end": { - "line": 21, - "column": 45 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 680, - "end": 733, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 65 - } - }, - "expression": { - "type": "CallExpression", - "start": 680, - "end": 732, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 64 - } - }, - "callee": { - "type": "MemberExpression", - "start": 680, - "end": 718, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 50 - } - }, - "object": { - "type": "MemberExpression", - "start": 680, - "end": 714, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 46 - } - }, - "object": { - "type": "CallExpression", - "start": 680, - "end": 711, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 43 - } - }, - "callee": { - "type": "Identifier", - "start": 680, - "end": 686, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 687, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 687, - "end": 705, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 687, - "end": 702, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 687, - "end": 700, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 687, - "end": 691, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 692, - "end": 700, - "loc": { - "start": { - "line": 22, - "column": 24 - }, - "end": { - "line": 22, - "column": 32 - }, - "identifierName": "getCalls" - }, - "name": "getCalls" - }, - "computed": false - }, - "arguments": [] - }, - "property": { - "type": "NumericLiteral", - "start": 703, - "end": 704, - "loc": { - "start": { - "line": 22, - "column": 35 - }, - "end": { - "line": 22, - "column": 36 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 706, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 42 - }, - "identifierName": "args" - }, - "name": "args" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 712, - "end": 714, - "loc": { - "start": { - "line": 22, - "column": 44 - }, - "end": { - "line": 22, - "column": 46 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 715, - "end": 718, - "loc": { - "start": { - "line": 22, - "column": 47 - }, - "end": { - "line": 22, - "column": 50 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 719, - "end": 731, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 63 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 720, - "end": 722, - "loc": { - "start": { - "line": 22, - "column": 52 - }, - "end": { - "line": 22, - "column": 54 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "StringLiteral", - "start": 724, - "end": 730, - "loc": { - "start": { - "line": 22, - "column": 56 - }, - "end": { - "line": 22, - "column": 62 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 746, - "end": 753, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 746, - "end": 752, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 746, - "end": 750, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 765, - "end": 767, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 13 - } - }, - "extra": { - "rawValue": 16, - "raw": "16" - }, - "value": 16 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 48, - "_esdocTestName": "it48" - } - }, - { - "type": "ExpressionStatement", - "start": 782, - "end": 1516, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 50, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 782, - "end": 1515, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 50, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 782, - "end": 784, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 785, - "end": 822, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 44 - } - }, - "extra": { - "rawValue": "should debounce the property setter", - "raw": "'should debounce the property setter'" - }, - "value": "should debounce the property setter" - }, - { - "type": "ArrowFunctionExpression", - "start": 824, - "end": 1514, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 824, - "end": 828, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 26, - "column": 50 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 832, - "end": 1514, - "loc": { - "start": { - "line": 26, - "column": 54 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 842, - "end": 1161, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 38, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 848, - "end": 855, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 856, - "end": 1161, - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 38, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 870, - "end": 934, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 870, - "end": 881, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 884, - "end": 934, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 30, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 902, - "end": 920, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 902, - "end": 919, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 902, - "end": 913, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 902, - "end": 906, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 907, - "end": 913, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 27 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 916, - "end": 919, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 947, - "end": 1075, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 34, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 951, - "end": 956, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "static": false, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 957, - "end": 962, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - }, - "identifierName": "value" - }, - "name": "value" - } - ], - "body": { - "type": "BlockStatement", - "start": 964, - "end": 1075, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 34, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 982, - "end": 1024, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 982, - "end": 1023, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 982, - "end": 1014, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 982, - "end": 1008, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 982, - "end": 1005, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 982, - "end": 988, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 989, - "end": 993, - "loc": { - "start": { - "line": 32, - "column": 23 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 995, - "end": 1004, - "loc": { - "start": { - "line": 32, - "column": 29 - }, - "end": { - "line": 32, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1006, - "end": 1008, - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1009, - "end": 1014, - "loc": { - "start": { - "line": 32, - "column": 43 - }, - "end": { - "line": 32, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1015, - "end": 1022, - "loc": { - "start": { - "line": 32, - "column": 49 - }, - "end": { - "line": 32, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1041, - "end": 1061, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1041, - "end": 1060, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1041, - "end": 1052, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 1041, - "end": 1045, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 1046, - "end": 1052, - "loc": { - "start": { - "line": 33, - "column": 21 - }, - "end": { - "line": 33, - "column": 27 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1055, - "end": 1060, - "loc": { - "start": { - "line": 33, - "column": 30 - }, - "end": { - "line": 33, - "column": 35 - }, - "identifierName": "value" - }, - "name": "value" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 1088, - "end": 1151, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1092, - "end": 1097, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "static": false, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1100, - "end": 1151, - "loc": { - "start": { - "line": 35, - "column": 24 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1118, - "end": 1137, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 35 - } - }, - "argument": { - "type": "MemberExpression", - "start": 1125, - "end": 1136, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 1125, - "end": 1129, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 1130, - "end": 1136, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 34 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1170, - "end": 1258, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 41, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 1170, - "end": 1257, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 41, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1170, - "end": 1188, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1170, - "end": 1177, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1178, - "end": 1188, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1189, - "end": 1222, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 41, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1203, - "end": 1212, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 21 - } - }, - "callee": { - "type": "Identifier", - "start": 1203, - "end": 1208, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 17 - }, - "identifierName": "Delay" - }, - "name": "Delay" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1209, - "end": 1211, - "loc": { - "start": { - "line": 40, - "column": 18 - }, - "end": { - "line": 40, - "column": 20 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1224, - "end": 1241, - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1224, - "end": 1231, - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1232, - "end": 1241, - "loc": { - "start": { - "line": 41, - "column": 19 - }, - "end": { - "line": 41, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1243, - "end": 1250, - "loc": { - "start": { - "line": 41, - "column": 30 - }, - "end": { - "line": 41, - "column": 37 - } - }, - "extra": { - "rawValue": "value", - "raw": "\"value\"" - }, - "value": "value" - }, - { - "type": "NullLiteral", - "start": 1252, - "end": 1256, - "loc": { - "start": { - "line": 41, - "column": 39 - }, - "end": { - "line": 41, - "column": 43 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1267, - "end": 1297, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1273, - "end": 1296, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1273, - "end": 1280, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1283, - "end": 1296, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1287, - "end": 1294, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1306, - "end": 1324, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1306, - "end": 1323, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1306, - "end": 1319, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 1306, - "end": 1313, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1314, - "end": 1319, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1322, - "end": 1323, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 25 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1333, - "end": 1352, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 27 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1333, - "end": 1351, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 26 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1333, - "end": 1346, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 1333, - "end": 1340, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1341, - "end": 1346, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1349, - "end": 1351, - "loc": { - "start": { - "line": 44, - "column": 24 - }, - "end": { - "line": 44, - "column": 26 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1361, - "end": 1397, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 1361, - "end": 1396, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1361, - "end": 1391, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 1361, - "end": 1385, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 1361, - "end": 1382, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 1361, - "end": 1367, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1368, - "end": 1381, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1368, - "end": 1375, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1376, - "end": 1381, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 28 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1383, - "end": 1385, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1386, - "end": 1391, - "loc": { - "start": { - "line": 45, - "column": 33 - }, - "end": { - "line": 45, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1392, - "end": 1395, - "loc": { - "start": { - "line": 45, - "column": 39 - }, - "end": { - "line": 45, - "column": 42 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1406, - "end": 1508, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 49, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 1406, - "end": 1507, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 49, - "column": 14 - } - }, - "callee": { - "type": "Identifier", - "start": 1406, - "end": 1416, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1417, - "end": 1502, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 49, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1423, - "end": 1502, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 49, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1437, - "end": 1472, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 1437, - "end": 1471, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1437, - "end": 1467, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 1437, - "end": 1461, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 1437, - "end": 1458, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 1437, - "end": 1443, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1444, - "end": 1457, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 1444, - "end": 1451, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1452, - "end": 1457, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 32 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1459, - "end": 1461, - "loc": { - "start": { - "line": 47, - "column": 34 - }, - "end": { - "line": 47, - "column": 36 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1462, - "end": 1467, - "loc": { - "start": { - "line": 47, - "column": 37 - }, - "end": { - "line": 47, - "column": 42 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1468, - "end": 1470, - "loc": { - "start": { - "line": 47, - "column": 43 - }, - "end": { - "line": 47, - "column": 45 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1485, - "end": 1492, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 1485, - "end": 1491, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 1485, - "end": 1489, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 1504, - "end": 1506, - "loc": { - "start": { - "line": 49, - "column": 11 - }, - "end": { - "line": 49, - "column": 13 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 49, - "_esdocTestName": "it49" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 47, - "_esdocTestName": "describe47" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "sinon", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 94, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 101, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Delay", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 109, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 111, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./delay", - "start": 116, - "end": 125, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 4, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 127, - "end": 135, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 135, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "delay", - "start": 136, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 143, - "end": 144, - "loc": { - "start": { - "line": 5, - "column": 16 - }, - "end": { - "line": 5, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 145, - "end": 146, - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 146, - "end": 147, - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 20 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 148, - "end": 150, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 151, - "end": 152, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 157, - "end": 159, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 159, - "end": 160, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should delay the method", - "start": 160, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 185, - "end": 186, - "loc": { - "start": { - "line": 6, - "column": 32 - }, - "end": { - "line": 6, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 187, - "end": 191, - "loc": { - "start": { - "line": 6, - "column": 34 - }, - "end": { - "line": 6, - "column": 38 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 192, - "end": 194, - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 41 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 195, - "end": 196, - "loc": { - "start": { - "line": 6, - "column": 42 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 205, - "end": 208, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 209, - "end": 213, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 214, - "end": 215, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 216, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 219, - "end": 220, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 220, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 23 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 231, - "end": 236, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 237, - "end": 244, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 245, - "end": 246, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 259, - "end": 261, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 15 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 262, - "end": 265, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 265, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 269, - "end": 270, - "loc": { - "start": { - "line": 9, - "column": 22 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 9, - "column": 24 - }, - "end": { - "line": 9, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 289, - "end": 295, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 295, - "end": 296, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 296, - "end": 300, - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 300, - "end": 301, - "loc": { - "start": { - "line": 10, - "column": 27 - }, - "end": { - "line": 10, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 302, - "end": 311, - "loc": { - "start": { - "line": 10, - "column": 29 - }, - "end": { - "line": 10, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 311, - "end": 312, - "loc": { - "start": { - "line": 10, - "column": 38 - }, - "end": { - "line": 10, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 312, - "end": 313, - "loc": { - "start": { - "line": 10, - "column": 39 - }, - "end": { - "line": 10, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 313, - "end": 315, - "loc": { - "start": { - "line": 10, - "column": 40 - }, - "end": { - "line": 10, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 10, - "column": 42 - }, - "end": { - "line": 10, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 316, - "end": 321, - "loc": { - "start": { - "line": 10, - "column": 43 - }, - "end": { - "line": 10, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 321, - "end": 322, - "loc": { - "start": { - "line": 10, - "column": 48 - }, - "end": { - "line": 10, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 322, - "end": 329, - "loc": { - "start": { - "line": 10, - "column": 49 - }, - "end": { - "line": 10, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 10, - "column": 56 - }, - "end": { - "line": 10, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 330, - "end": 331, - "loc": { - "start": { - "line": 10, - "column": 57 - }, - "end": { - "line": 10, - "column": 58 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 348, - "end": 352, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 352, - "end": 353, - "loc": { - "start": { - "line": 11, - "column": 20 - }, - "end": { - "line": 11, - "column": 21 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 353, - "end": 356, - "loc": { - "start": { - "line": 11, - "column": 21 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 356, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 360, - "end": 361, - "loc": { - "start": { - "line": 11, - "column": 28 - }, - "end": { - "line": 11, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 361, - "end": 362, - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 375, - "end": 376, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 395, - "end": 402, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 402, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 15 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 403, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 413, - "end": 414, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 414, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Delay", - "start": 428, - "end": 433, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 433, - "end": 434, - "loc": { - "start": { - "line": 15, - "column": 17 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 434, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 436, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 438, - "end": 444, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 444, - "end": 445, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 454, - "end": 455, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 455, - "end": 456, - "loc": { - "start": { - "line": 16, - "column": 9 - }, - "end": { - "line": 16, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 457, - "end": 464, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 464, - "end": 465, - "loc": { - "start": { - "line": 16, - "column": 18 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 465, - "end": 474, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 474, - "end": 475, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 476, - "end": 480, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 480, - "end": 481, - "loc": { - "start": { - "line": 16, - "column": 34 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 482, - "end": 486, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 486, - "end": 487, - "loc": { - "start": { - "line": 16, - "column": 40 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 487, - "end": 488, - "loc": { - "start": { - "line": 16, - "column": 41 - }, - "end": { - "line": 16, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 497, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 503, - "end": 510, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 511, - "end": 512, - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 513, - "end": 516, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 517, - "end": 524, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 17, - "column": 35 - }, - "end": { - "line": 17, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 525, - "end": 526, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 526, - "end": 527, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 536, - "end": 543, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 543, - "end": 544, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 544, - "end": 546, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 546, - "end": 547, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 547, - "end": 549, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 549, - "end": 550, - "loc": { - "start": { - "line": 18, - "column": 21 - }, - "end": { - "line": 18, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 550, - "end": 551, - "loc": { - "start": { - "line": 18, - "column": 22 - }, - "end": { - "line": 18, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 560, - "end": 566, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 566, - "end": 567, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 567, - "end": 571, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 571, - "end": 572, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "called", - "start": 572, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 578, - "end": 579, - "loc": { - "start": { - "line": 19, - "column": 26 - }, - "end": { - "line": 19, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 579, - "end": 580, - "loc": { - "start": { - "line": 19, - "column": 27 - }, - "end": { - "line": 19, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 580, - "end": 582, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 582, - "end": 583, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 583, - "end": 585, - "loc": { - "start": { - "line": 19, - "column": 31 - }, - "end": { - "line": 19, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 585, - "end": 586, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 34 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 586, - "end": 591, - "loc": { - "start": { - "line": 19, - "column": 34 - }, - "end": { - "line": 19, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 591, - "end": 592, - "loc": { - "start": { - "line": 19, - "column": 39 - }, - "end": { - "line": 19, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 601, - "end": 611, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 611, - "end": 612, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 612, - "end": 613, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 613, - "end": 614, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 615, - "end": 617, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 618, - "end": 619, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 632, - "end": 638, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 638, - "end": 639, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 639, - "end": 643, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 643, - "end": 644, - "loc": { - "start": { - "line": 21, - "column": 23 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 644, - "end": 653, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 653, - "end": 654, - "loc": { - "start": { - "line": 21, - "column": 33 - }, - "end": { - "line": 21, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 21, - "column": 34 - }, - "end": { - "line": 21, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 655, - "end": 657, - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 657, - "end": 658, - "loc": { - "start": { - "line": 21, - "column": 37 - }, - "end": { - "line": 21, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 658, - "end": 663, - "loc": { - "start": { - "line": 21, - "column": 38 - }, - "end": { - "line": 21, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 663, - "end": 664, - "loc": { - "start": { - "line": 21, - "column": 43 - }, - "end": { - "line": 21, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 664, - "end": 665, - "loc": { - "start": { - "line": 21, - "column": 44 - }, - "end": { - "line": 21, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 665, - "end": 666, - "loc": { - "start": { - "line": 21, - "column": 45 - }, - "end": { - "line": 21, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 666, - "end": 667, - "loc": { - "start": { - "line": 21, - "column": 46 - }, - "end": { - "line": 21, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 680, - "end": 686, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 686, - "end": 687, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 687, - "end": 691, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 691, - "end": 692, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCalls", - "start": 692, - "end": 700, - "loc": { - "start": { - "line": 22, - "column": 24 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 701, - "end": 702, - "loc": { - "start": { - "line": 22, - "column": 33 - }, - "end": { - "line": 22, - "column": 34 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 702, - "end": 703, - "loc": { - "start": { - "line": 22, - "column": 34 - }, - "end": { - "line": 22, - "column": 35 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 703, - "end": 704, - "loc": { - "start": { - "line": 22, - "column": 35 - }, - "end": { - "line": 22, - "column": 36 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 704, - "end": 705, - "loc": { - "start": { - "line": 22, - "column": 36 - }, - "end": { - "line": 22, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 705, - "end": 706, - "loc": { - "start": { - "line": 22, - "column": 37 - }, - "end": { - "line": 22, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 706, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 710, - "end": 711, - "loc": { - "start": { - "line": 22, - "column": 42 - }, - "end": { - "line": 22, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 711, - "end": 712, - "loc": { - "start": { - "line": 22, - "column": 43 - }, - "end": { - "line": 22, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 712, - "end": 714, - "loc": { - "start": { - "line": 22, - "column": 44 - }, - "end": { - "line": 22, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 714, - "end": 715, - "loc": { - "start": { - "line": 22, - "column": 46 - }, - "end": { - "line": 22, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 715, - "end": 718, - "loc": { - "start": { - "line": 22, - "column": 47 - }, - "end": { - "line": 22, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 718, - "end": 719, - "loc": { - "start": { - "line": 22, - "column": 50 - }, - "end": { - "line": 22, - "column": 51 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 719, - "end": 720, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 52 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 720, - "end": 722, - "loc": { - "start": { - "line": 22, - "column": 52 - }, - "end": { - "line": 22, - "column": 54 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 722, - "end": 723, - "loc": { - "start": { - "line": 22, - "column": 54 - }, - "end": { - "line": 22, - "column": 55 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 724, - "end": 730, - "loc": { - "start": { - "line": 22, - "column": 56 - }, - "end": { - "line": 22, - "column": 62 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 730, - "end": 731, - "loc": { - "start": { - "line": 22, - "column": 62 - }, - "end": { - "line": 22, - "column": 63 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 731, - "end": 732, - "loc": { - "start": { - "line": 22, - "column": 63 - }, - "end": { - "line": 22, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 732, - "end": 733, - "loc": { - "start": { - "line": 22, - "column": 64 - }, - "end": { - "line": 22, - "column": 65 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 746, - "end": 750, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 750, - "end": 751, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 751, - "end": 752, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 752, - "end": 753, - "loc": { - "start": { - "line": 23, - "column": 18 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 762, - "end": 763, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 763, - "end": 764, - "loc": { - "start": { - "line": 24, - "column": 9 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 16, - "start": 765, - "end": 767, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 767, - "end": 768, - "loc": { - "start": { - "line": 24, - "column": 13 - }, - "end": { - "line": 24, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 768, - "end": 769, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 774, - "end": 775, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 775, - "end": 776, - "loc": { - "start": { - "line": 25, - "column": 5 - }, - "end": { - "line": 25, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 776, - "end": 777, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 782, - "end": 784, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 784, - "end": 785, - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should debounce the property setter", - "start": 785, - "end": 822, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 822, - "end": 823, - "loc": { - "start": { - "line": 26, - "column": 44 - }, - "end": { - "line": 26, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 824, - "end": 828, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 26, - "column": 50 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 829, - "end": 831, - "loc": { - "start": { - "line": 26, - "column": 51 - }, - "end": { - "line": 26, - "column": 53 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 832, - "end": 833, - "loc": { - "start": { - "line": 26, - "column": 54 - }, - "end": { - "line": 26, - "column": 55 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 842, - "end": 847, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 848, - "end": 855, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 856, - "end": 857, - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 27, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 870, - "end": 881, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 881, - "end": 882, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 882, - "end": 883, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 28, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 884, - "end": 885, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 28, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 902, - "end": 906, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 906, - "end": 907, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 907, - "end": 913, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 914, - "end": 915, - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 29, - "column": 29 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 916, - "end": 919, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 919, - "end": 920, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 933, - "end": 934, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 947, - "end": 950, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 951, - "end": 956, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 956, - "end": 957, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 957, - "end": 962, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 962, - "end": 963, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 964, - "end": 965, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 31, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 982, - "end": 988, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 988, - "end": 989, - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 989, - "end": 993, - "loc": { - "start": { - "line": 32, - "column": 23 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 993, - "end": 994, - "loc": { - "start": { - "line": 32, - "column": 27 - }, - "end": { - "line": 32, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 995, - "end": 1004, - "loc": { - "start": { - "line": 32, - "column": 29 - }, - "end": { - "line": 32, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1004, - "end": 1005, - "loc": { - "start": { - "line": 32, - "column": 38 - }, - "end": { - "line": 32, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1005, - "end": 1006, - "loc": { - "start": { - "line": 32, - "column": 39 - }, - "end": { - "line": 32, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1006, - "end": 1008, - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1008, - "end": 1009, - "loc": { - "start": { - "line": 32, - "column": 42 - }, - "end": { - "line": 32, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1009, - "end": 1014, - "loc": { - "start": { - "line": 32, - "column": 43 - }, - "end": { - "line": 32, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1014, - "end": 1015, - "loc": { - "start": { - "line": 32, - "column": 48 - }, - "end": { - "line": 32, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1015, - "end": 1022, - "loc": { - "start": { - "line": 32, - "column": 49 - }, - "end": { - "line": 32, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1022, - "end": 1023, - "loc": { - "start": { - "line": 32, - "column": 56 - }, - "end": { - "line": 32, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1023, - "end": 1024, - "loc": { - "start": { - "line": 32, - "column": 57 - }, - "end": { - "line": 32, - "column": 58 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1041, - "end": 1045, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1045, - "end": 1046, - "loc": { - "start": { - "line": 33, - "column": 20 - }, - "end": { - "line": 33, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 1046, - "end": 1052, - "loc": { - "start": { - "line": 33, - "column": 21 - }, - "end": { - "line": 33, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1053, - "end": 1054, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1055, - "end": 1060, - "loc": { - "start": { - "line": 33, - "column": 30 - }, - "end": { - "line": 33, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1060, - "end": 1061, - "loc": { - "start": { - "line": 33, - "column": 35 - }, - "end": { - "line": 33, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1074, - "end": 1075, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 1088, - "end": 1091, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1092, - "end": 1097, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1097, - "end": 1098, - "loc": { - "start": { - "line": 35, - "column": 21 - }, - "end": { - "line": 35, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1098, - "end": 1099, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1100, - "end": 1101, - "loc": { - "start": { - "line": 35, - "column": 24 - }, - "end": { - "line": 35, - "column": 25 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 1118, - "end": 1124, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 22 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1125, - "end": 1129, - "loc": { - "start": { - "line": 36, - "column": 23 - }, - "end": { - "line": 36, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1129, - "end": 1130, - "loc": { - "start": { - "line": 36, - "column": 27 - }, - "end": { - "line": 36, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 1130, - "end": 1136, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1136, - "end": 1137, - "loc": { - "start": { - "line": 36, - "column": 34 - }, - "end": { - "line": 36, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1150, - "end": 1151, - "loc": { - "start": { - "line": 37, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1160, - "end": 1161, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1170, - "end": 1177, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1177, - "end": 1178, - "loc": { - "start": { - "line": 39, - "column": 15 - }, - "end": { - "line": 39, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1178, - "end": 1188, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1188, - "end": 1189, - "loc": { - "start": { - "line": 39, - "column": 26 - }, - "end": { - "line": 39, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1189, - "end": 1190, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 39, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Delay", - "start": 1203, - "end": 1208, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1208, - "end": 1209, - "loc": { - "start": { - "line": 40, - "column": 17 - }, - "end": { - "line": 40, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 1209, - "end": 1211, - "loc": { - "start": { - "line": 40, - "column": 18 - }, - "end": { - "line": 40, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1211, - "end": 1212, - "loc": { - "start": { - "line": 40, - "column": 20 - }, - "end": { - "line": 40, - "column": 21 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1221, - "end": 1222, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1222, - "end": 1223, - "loc": { - "start": { - "line": 41, - "column": 9 - }, - "end": { - "line": 41, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1224, - "end": 1231, - "loc": { - "start": { - "line": 41, - "column": 11 - }, - "end": { - "line": 41, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1231, - "end": 1232, - "loc": { - "start": { - "line": 41, - "column": 18 - }, - "end": { - "line": 41, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1232, - "end": 1241, - "loc": { - "start": { - "line": 41, - "column": 19 - }, - "end": { - "line": 41, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1241, - "end": 1242, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "value", - "start": 1243, - "end": 1250, - "loc": { - "start": { - "line": 41, - "column": 30 - }, - "end": { - "line": 41, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1250, - "end": 1251, - "loc": { - "start": { - "line": 41, - "column": 37 - }, - "end": { - "line": 41, - "column": 38 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1252, - "end": 1256, - "loc": { - "start": { - "line": 41, - "column": 39 - }, - "end": { - "line": 41, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1256, - "end": 1257, - "loc": { - "start": { - "line": 41, - "column": 43 - }, - "end": { - "line": 41, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1257, - "end": 1258, - "loc": { - "start": { - "line": 41, - "column": 44 - }, - "end": { - "line": 41, - "column": 45 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1267, - "end": 1272, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1273, - "end": 1280, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1281, - "end": 1282, - "loc": { - "start": { - "line": 42, - "column": 22 - }, - "end": { - "line": 42, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1283, - "end": 1286, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1287, - "end": 1294, - "loc": { - "start": { - "line": 42, - "column": 28 - }, - "end": { - "line": 42, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1294, - "end": 1295, - "loc": { - "start": { - "line": 42, - "column": 35 - }, - "end": { - "line": 42, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1295, - "end": 1296, - "loc": { - "start": { - "line": 42, - "column": 36 - }, - "end": { - "line": 42, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1296, - "end": 1297, - "loc": { - "start": { - "line": 42, - "column": 37 - }, - "end": { - "line": 42, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1306, - "end": 1313, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1313, - "end": 1314, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1314, - "end": 1319, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1320, - "end": 1321, - "loc": { - "start": { - "line": 43, - "column": 22 - }, - "end": { - "line": 43, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1322, - "end": 1323, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1323, - "end": 1324, - "loc": { - "start": { - "line": 43, - "column": 25 - }, - "end": { - "line": 43, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1333, - "end": 1340, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1340, - "end": 1341, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1341, - "end": 1346, - "loc": { - "start": { - "line": 44, - "column": 16 - }, - "end": { - "line": 44, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1347, - "end": 1348, - "loc": { - "start": { - "line": 44, - "column": 22 - }, - "end": { - "line": 44, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 1349, - "end": 1351, - "loc": { - "start": { - "line": 44, - "column": 24 - }, - "end": { - "line": 44, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1351, - "end": 1352, - "loc": { - "start": { - "line": 44, - "column": 26 - }, - "end": { - "line": 44, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1361, - "end": 1367, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1367, - "end": 1368, - "loc": { - "start": { - "line": 45, - "column": 14 - }, - "end": { - "line": 45, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1368, - "end": 1375, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1375, - "end": 1376, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 45, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1376, - "end": 1381, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1381, - "end": 1382, - "loc": { - "start": { - "line": 45, - "column": 28 - }, - "end": { - "line": 45, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1382, - "end": 1383, - "loc": { - "start": { - "line": 45, - "column": 29 - }, - "end": { - "line": 45, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1383, - "end": 1385, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1385, - "end": 1386, - "loc": { - "start": { - "line": 45, - "column": 32 - }, - "end": { - "line": 45, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1386, - "end": 1391, - "loc": { - "start": { - "line": 45, - "column": 33 - }, - "end": { - "line": 45, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1391, - "end": 1392, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 1392, - "end": 1395, - "loc": { - "start": { - "line": 45, - "column": 39 - }, - "end": { - "line": 45, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1395, - "end": 1396, - "loc": { - "start": { - "line": 45, - "column": 42 - }, - "end": { - "line": 45, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1396, - "end": 1397, - "loc": { - "start": { - "line": 45, - "column": 43 - }, - "end": { - "line": 45, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 1406, - "end": 1416, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1416, - "end": 1417, - "loc": { - "start": { - "line": 46, - "column": 18 - }, - "end": { - "line": 46, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1417, - "end": 1418, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 46, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1418, - "end": 1419, - "loc": { - "start": { - "line": 46, - "column": 20 - }, - "end": { - "line": 46, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1420, - "end": 1422, - "loc": { - "start": { - "line": 46, - "column": 22 - }, - "end": { - "line": 46, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1423, - "end": 1424, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1437, - "end": 1443, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1443, - "end": 1444, - "loc": { - "start": { - "line": 47, - "column": 18 - }, - "end": { - "line": 47, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1444, - "end": 1451, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1451, - "end": 1452, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1452, - "end": 1457, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1457, - "end": 1458, - "loc": { - "start": { - "line": 47, - "column": 32 - }, - "end": { - "line": 47, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1458, - "end": 1459, - "loc": { - "start": { - "line": 47, - "column": 33 - }, - "end": { - "line": 47, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1459, - "end": 1461, - "loc": { - "start": { - "line": 47, - "column": 34 - }, - "end": { - "line": 47, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1461, - "end": 1462, - "loc": { - "start": { - "line": 47, - "column": 36 - }, - "end": { - "line": 47, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1462, - "end": 1467, - "loc": { - "start": { - "line": 47, - "column": 37 - }, - "end": { - "line": 47, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1467, - "end": 1468, - "loc": { - "start": { - "line": 47, - "column": 42 - }, - "end": { - "line": 47, - "column": 43 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 1468, - "end": 1470, - "loc": { - "start": { - "line": 47, - "column": 43 - }, - "end": { - "line": 47, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1470, - "end": 1471, - "loc": { - "start": { - "line": 47, - "column": 45 - }, - "end": { - "line": 47, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1471, - "end": 1472, - "loc": { - "start": { - "line": 47, - "column": 46 - }, - "end": { - "line": 47, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 1485, - "end": 1489, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1489, - "end": 1490, - "loc": { - "start": { - "line": 48, - "column": 16 - }, - "end": { - "line": 48, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1490, - "end": 1491, - "loc": { - "start": { - "line": 48, - "column": 17 - }, - "end": { - "line": 48, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1491, - "end": 1492, - "loc": { - "start": { - "line": 48, - "column": 18 - }, - "end": { - "line": 48, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1501, - "end": 1502, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1502, - "end": 1503, - "loc": { - "start": { - "line": 49, - "column": 9 - }, - "end": { - "line": 49, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 1504, - "end": 1506, - "loc": { - "start": { - "line": 49, - "column": 11 - }, - "end": { - "line": 49, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1506, - "end": 1507, - "loc": { - "start": { - "line": 49, - "column": 13 - }, - "end": { - "line": 49, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1507, - "end": 1508, - "loc": { - "start": { - "line": 49, - "column": 14 - }, - "end": { - "line": 49, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1513, - "end": 1514, - "loc": { - "start": { - "line": 50, - "column": 4 - }, - "end": { - "line": 50, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1514, - "end": 1515, - "loc": { - "start": { - "line": 50, - "column": 5 - }, - "end": { - "line": 50, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1515, - "end": 1516, - "loc": { - "start": { - "line": 50, - "column": 6 - }, - "end": { - "line": 50, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1517, - "end": 1518, - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 51, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1518, - "end": 1519, - "loc": { - "start": { - "line": 51, - "column": 1 - }, - "end": { - "line": 51, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1519, - "end": 1520, - "loc": { - "start": { - "line": 51, - "column": 2 - }, - "end": { - "line": 51, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1521, - "end": 1521, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/flip.spec.js.json b/docs/ast/test/flip.spec.js.json deleted file mode 100644 index 473aad6..0000000 --- a/docs/ast/test/flip.spec.js.json +++ /dev/null @@ -1,4233 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 478, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 478, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Flip" - }, - "name": "Flip" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Flip" - }, - "name": "Flip" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - }, - "extra": { - "rawValue": "./flip", - "raw": "'./flip'" - }, - "value": "./flip" - } - }, - { - "type": "ExpressionStatement", - "start": 96, - "end": 477, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 96, - "end": 476, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 96, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 105, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 15 - } - }, - "extra": { - "rawValue": "flip", - "raw": "'flip'" - }, - "value": "flip" - }, - { - "type": "ArrowFunctionExpression", - "start": 113, - "end": 475, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 119, - "end": 475, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 125, - "end": 473, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 125, - "end": 472, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 128, - "end": 171, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 50 - } - }, - "extra": { - "rawValue": "should flip the arguments of the function", - "raw": "'should flip the arguments of the function'" - }, - "value": "should flip the arguments of the function" - }, - { - "type": "ArrowFunctionExpression", - "start": 173, - "end": 471, - "loc": { - "start": { - "line": 5, - "column": 52 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 179, - "end": 471, - "loc": { - "start": { - "line": 5, - "column": 58 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 189, - "end": 282, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 195, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 203, - "end": 282, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 217, - "end": 272, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 217, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 220, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 223, - "end": 224, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 19 - }, - "identifierName": "b" - }, - "name": "b" - } - ], - "body": { - "type": "BlockStatement", - "start": 226, - "end": 272, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 244, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 30 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 251, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 29 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 255, - "end": 256, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 291, - "end": 373, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 291, - "end": 372, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 291, - "end": 309, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 291, - "end": 298, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 299, - "end": 309, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 310, - "end": 340, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 324, - "end": 330, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 324, - "end": 328, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 16 - }, - "identifierName": "Flip" - }, - "name": "Flip" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 342, - "end": 359, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 342, - "end": 349, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 350, - "end": 359, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 361, - "end": 365, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 367, - "end": 371, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 382, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 388, - "end": 411, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 388, - "end": 395, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 398, - "end": 411, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 402, - "end": 409, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 421, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 421, - "end": 464, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 421, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 421, - "end": 450, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 421, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 421, - "end": 427, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 428, - "end": 446, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 33 - } - }, - "callee": { - "type": "MemberExpression", - "start": 428, - "end": 438, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 428, - "end": 435, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 436, - "end": 438, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 439, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 28 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - }, - { - "type": "NumericLiteral", - "start": 443, - "end": 445, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 32 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 448, - "end": 450, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 451, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 38 - }, - "end": { - "line": 15, - "column": 41 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 455, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 42 - }, - "end": { - "line": 15, - "column": 50 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 456, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 43 - }, - "end": { - "line": 15, - "column": 45 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - }, - { - "type": "NumericLiteral", - "start": 460, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 47 - }, - "end": { - "line": 15, - "column": 49 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 51, - "_esdocTestName": "it51" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 50, - "_esdocTestName": "describe50" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Flip", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 79, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 81, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./flip", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 96, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 104, - "end": 105, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "flip", - "start": 105, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 111, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 113, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 116, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 119, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 127, - "end": 128, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should flip the arguments of the function", - "start": 128, - "end": 171, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 50 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 171, - "end": 172, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 173, - "end": 174, - "loc": { - "start": { - "line": 5, - "column": 52 - }, - "end": { - "line": 5, - "column": 53 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 174, - "end": 175, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 176, - "end": 178, - "loc": { - "start": { - "line": 5, - "column": 55 - }, - "end": { - "line": 5, - "column": 57 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 179, - "end": 180, - "loc": { - "start": { - "line": 5, - "column": 58 - }, - "end": { - "line": 5, - "column": 59 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 189, - "end": 194, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 195, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 203, - "end": 204, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 217, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 219, - "end": 220, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 220, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 223, - "end": 224, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 224, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 244, - "end": 250, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 253, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 255, - "end": 256, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 256, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 257, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 29 - }, - "end": { - "line": 8, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 291, - "end": 298, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 298, - "end": 299, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 299, - "end": 309, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 310, - "end": 311, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Flip", - "start": 324, - "end": 328, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 328, - "end": 329, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 12, - "column": 17 - }, - "end": { - "line": 12, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 339, - "end": 340, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 340, - "end": 341, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 342, - "end": 349, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 349, - "end": 350, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 350, - "end": 359, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 361, - "end": 365, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 365, - "end": 366, - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 367, - "end": 371, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 371, - "end": 372, - "loc": { - "start": { - "line": 13, - "column": 40 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 372, - "end": 373, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 382, - "end": 387, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 388, - "end": 395, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 396, - "end": 397, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 398, - "end": 401, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 402, - "end": 409, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 409, - "end": 410, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 410, - "end": 411, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 411, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 421, - "end": 427, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 427, - "end": 428, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 428, - "end": 435, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 435, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 436, - "end": 438, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 438, - "end": 439, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 439, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 441, - "end": 442, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 443, - "end": 445, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 445, - "end": 446, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 446, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 447, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 448, - "end": 450, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 450, - "end": 451, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 451, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 38 - }, - "end": { - "line": 15, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 454, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 41 - }, - "end": { - "line": 15, - "column": 42 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 455, - "end": 456, - "loc": { - "start": { - "line": 15, - "column": 42 - }, - "end": { - "line": 15, - "column": 43 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 456, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 43 - }, - "end": { - "line": 15, - "column": 45 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 458, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 45 - }, - "end": { - "line": 15, - "column": 46 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 460, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 47 - }, - "end": { - "line": 15, - "column": 49 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 49 - }, - "end": { - "line": 15, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 15, - "column": 50 - }, - "end": { - "line": 15, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 464, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 51 - }, - "end": { - "line": 15, - "column": 52 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 474, - "end": 475, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 475, - "end": 476, - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 476, - "end": 477, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 478, - "end": 478, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/flow.spec.js.json b/docs/ast/test/flow.spec.js.json deleted file mode 100644 index aeee013..0000000 --- a/docs/ast/test/flow.spec.js.json +++ /dev/null @@ -1,9706 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1228, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 41, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1228, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 41, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Flow" - }, - "name": "Flow" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Flow" - }, - "name": "Flow" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - }, - "extra": { - "rawValue": "./flow", - "raw": "'./flow'" - }, - "value": "./flow" - } - }, - { - "type": "ExpressionStatement", - "start": 96, - "end": 1227, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 96, - "end": 1226, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 40, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 96, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 105, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 15 - } - }, - "extra": { - "rawValue": "flow", - "raw": "'flow'" - }, - "value": "flow" - }, - { - "type": "ArrowFunctionExpression", - "start": 113, - "end": 1225, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 40, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 119, - "end": 1225, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 40, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 125, - "end": 700, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 23, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 125, - "end": 699, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 23, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 128, - "end": 158, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 37 - } - }, - "extra": { - "rawValue": "should compose the functions", - "raw": "'should compose the functions'" - }, - "value": "should compose the functions" - }, - { - "type": "ArrowFunctionExpression", - "start": 160, - "end": 698, - "loc": { - "start": { - "line": 5, - "column": 39 - }, - "end": { - "line": 23, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 166, - "end": 698, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 23, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 176, - "end": 482, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 182, - "end": 189, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 190, - "end": 482, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 17, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 204, - "end": 269, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 204, - "end": 215, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 218, - "end": 269, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 236, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 236, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 236, - "end": 245, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 25 - } - }, - "object": { - "type": "ThisExpression", - "start": 236, - "end": 240, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 241, - "end": 245, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 25 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 248, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - } - }, - "extra": { - "rawValue": "Avry", - "raw": "'Avry'" - }, - "value": "Avry" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 282, - "end": 341, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 282, - "end": 284, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 285, - "end": 292, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 22 - } - }, - "argument": { - "type": "Identifier", - "start": 288, - "end": 292, - "loc": { - "start": { - "line": 10, - "column": 18 - }, - "end": { - "line": 10, - "column": 22 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 294, - "end": 341, - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 312, - "end": 327, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 31 - } - }, - "argument": { - "type": "MemberExpression", - "start": 319, - "end": 326, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 319, - "end": 323, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 27 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 324, - "end": 325, - "loc": { - "start": { - "line": 11, - "column": 28 - }, - "end": { - "line": 11, - "column": 29 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 354, - "end": 472, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 16, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 354, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 19 - }, - "identifierName": "getName" - }, - "name": "getName" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 364, - "end": 472, - "loc": { - "start": { - "line": 13, - "column": 22 - }, - "end": { - "line": 16, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 382, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 382, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 382, - "end": 414, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 382, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 382, - "end": 405, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 382, - "end": 388, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 389, - "end": 393, - "loc": { - "start": { - "line": 14, - "column": 23 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 395, - "end": 404, - "loc": { - "start": { - "line": 14, - "column": 29 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 406, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 409, - "end": 414, - "loc": { - "start": { - "line": 14, - "column": 43 - }, - "end": { - "line": 14, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 415, - "end": 422, - "loc": { - "start": { - "line": 14, - "column": 49 - }, - "end": { - "line": 14, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 441, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 33 - } - }, - "argument": { - "type": "MemberExpression", - "start": 448, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 32 - } - }, - "object": { - "type": "ThisExpression", - "start": 448, - "end": 452, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 453, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 32 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 491, - "end": 606, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 20, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 491, - "end": 605, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 20, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 491, - "end": 509, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 491, - "end": 498, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 499, - "end": 509, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 510, - "end": 573, - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 20, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 524, - "end": 563, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 51 - } - }, - "callee": { - "type": "Identifier", - "start": 524, - "end": 528, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 16 - }, - "identifierName": "Flow" - }, - "name": "Flow" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 529, - "end": 538, - "loc": { - "start": { - "line": 19, - "column": 17 - }, - "end": { - "line": 19, - "column": 26 - } - }, - "extra": { - "rawValue": "getName", - "raw": "'getName'" - }, - "value": "getName" - }, - { - "type": "ArrowFunctionExpression", - "start": 540, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 50 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 541, - "end": 542, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 30 - }, - "identifierName": "v" - }, - "name": "v" - } - ], - "body": { - "type": "CallExpression", - "start": 547, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 35 - }, - "end": { - "line": 19, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 547, - "end": 560, - "loc": { - "start": { - "line": 19, - "column": 35 - }, - "end": { - "line": 19, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 547, - "end": 548, - "loc": { - "start": { - "line": 19, - "column": 35 - }, - "end": { - "line": 19, - "column": 36 - }, - "identifierName": "v" - }, - "name": "v" - }, - "property": { - "type": "Identifier", - "start": 549, - "end": 560, - "loc": { - "start": { - "line": 19, - "column": 37 - }, - "end": { - "line": 19, - "column": 48 - }, - "identifierName": "toUpperCase" - }, - "name": "toUpperCase" - }, - "computed": false - }, - "arguments": [] - } - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 575, - "end": 592, - "loc": { - "start": { - "line": 20, - "column": 11 - }, - "end": { - "line": 20, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 575, - "end": 582, - "loc": { - "start": { - "line": 20, - "column": 11 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 583, - "end": 592, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 594, - "end": 598, - "loc": { - "start": { - "line": 20, - "column": 30 - }, - "end": { - "line": 20, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 600, - "end": 604, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 615, - "end": 645, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 621, - "end": 644, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 621, - "end": 628, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 631, - "end": 644, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 635, - "end": 642, - "loc": { - "start": { - "line": 21, - "column": 28 - }, - "end": { - "line": 21, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 654, - "end": 692, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 654, - "end": 691, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 654, - "end": 683, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 654, - "end": 677, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 31 - } - }, - "object": { - "type": "CallExpression", - "start": 654, - "end": 674, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 654, - "end": 660, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 661, - "end": 673, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 27 - } - }, - "callee": { - "type": "MemberExpression", - "start": 661, - "end": 671, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 661, - "end": 668, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 669, - "end": 671, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - ] - }, - "property": { - "type": "Identifier", - "start": 675, - "end": 677, - "loc": { - "start": { - "line": 22, - "column": 29 - }, - "end": { - "line": 22, - "column": 31 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 678, - "end": 683, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 37 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 684, - "end": 690, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 44 - } - }, - "extra": { - "rawValue": "AVRY", - "raw": "'AVRY'" - }, - "value": "AVRY" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 53, - "_esdocTestName": "it53" - } - }, - { - "type": "ExpressionStatement", - "start": 705, - "end": 1223, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 39, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 705, - "end": 1222, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 39, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 705, - "end": 707, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 24, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 708, - "end": 751, - "loc": { - "start": { - "line": 24, - "column": 7 - }, - "end": { - "line": 24, - "column": 50 - } - }, - "extra": { - "rawValue": "should compose and assign to the property", - "raw": "'should compose and assign to the property'" - }, - "value": "should compose and assign to the property" - }, - { - "type": "ArrowFunctionExpression", - "start": 753, - "end": 1221, - "loc": { - "start": { - "line": 24, - "column": 52 - }, - "end": { - "line": 39, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 759, - "end": 1221, - "loc": { - "start": { - "line": 24, - "column": 58 - }, - "end": { - "line": 39, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 769, - "end": 1003, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 33, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 775, - "end": 782, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 783, - "end": 1003, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 33, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 797, - "end": 862, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 28, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 797, - "end": 808, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 811, - "end": 862, - "loc": { - "start": { - "line": 26, - "column": 26 - }, - "end": { - "line": 28, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 829, - "end": 848, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 829, - "end": 847, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 829, - "end": 838, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 25 - } - }, - "object": { - "type": "ThisExpression", - "start": 829, - "end": 833, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 834, - "end": 838, - "loc": { - "start": { - "line": 27, - "column": 21 - }, - "end": { - "line": 27, - "column": 25 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 841, - "end": 847, - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 34 - } - }, - "extra": { - "rawValue": "Avry", - "raw": "'Avry'" - }, - "value": "Avry" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 875, - "end": 993, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 32, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 875, - "end": 882, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 19 - }, - "identifierName": "getName" - }, - "name": "getName" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 885, - "end": 993, - "loc": { - "start": { - "line": 29, - "column": 22 - }, - "end": { - "line": 32, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 903, - "end": 945, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 903, - "end": 944, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 903, - "end": 935, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 903, - "end": 929, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 903, - "end": 926, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 903, - "end": 909, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 910, - "end": 914, - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 916, - "end": 925, - "loc": { - "start": { - "line": 30, - "column": 29 - }, - "end": { - "line": 30, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 927, - "end": 929, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 930, - "end": 935, - "loc": { - "start": { - "line": 30, - "column": 43 - }, - "end": { - "line": 30, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 936, - "end": 943, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 962, - "end": 979, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 33 - } - }, - "argument": { - "type": "MemberExpression", - "start": 969, - "end": 978, - "loc": { - "start": { - "line": 31, - "column": 23 - }, - "end": { - "line": 31, - "column": 32 - } - }, - "object": { - "type": "ThisExpression", - "start": 969, - "end": 973, - "loc": { - "start": { - "line": 31, - "column": 23 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 974, - "end": 978, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 32 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1012, - "end": 1129, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 36, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 1012, - "end": 1128, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 36, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1012, - "end": 1030, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1012, - "end": 1019, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1020, - "end": 1030, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1031, - "end": 1094, - "loc": { - "start": { - "line": 34, - "column": 27 - }, - "end": { - "line": 36, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1045, - "end": 1084, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 51 - } - }, - "callee": { - "type": "Identifier", - "start": 1045, - "end": 1049, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 16 - }, - "identifierName": "Flow" - }, - "name": "Flow" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1050, - "end": 1059, - "loc": { - "start": { - "line": 35, - "column": 17 - }, - "end": { - "line": 35, - "column": 26 - } - }, - "extra": { - "rawValue": "getName", - "raw": "'getName'" - }, - "value": "getName" - }, - { - "type": "ArrowFunctionExpression", - "start": 1061, - "end": 1083, - "loc": { - "start": { - "line": 35, - "column": 28 - }, - "end": { - "line": 35, - "column": 50 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1062, - "end": 1063, - "loc": { - "start": { - "line": 35, - "column": 29 - }, - "end": { - "line": 35, - "column": 30 - }, - "identifierName": "v" - }, - "name": "v" - } - ], - "body": { - "type": "CallExpression", - "start": 1068, - "end": 1083, - "loc": { - "start": { - "line": 35, - "column": 35 - }, - "end": { - "line": 35, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1068, - "end": 1081, - "loc": { - "start": { - "line": 35, - "column": 35 - }, - "end": { - "line": 35, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 1068, - "end": 1069, - "loc": { - "start": { - "line": 35, - "column": 35 - }, - "end": { - "line": 35, - "column": 36 - }, - "identifierName": "v" - }, - "name": "v" - }, - "property": { - "type": "Identifier", - "start": 1070, - "end": 1081, - "loc": { - "start": { - "line": 35, - "column": 37 - }, - "end": { - "line": 35, - "column": 48 - }, - "identifierName": "toUpperCase" - }, - "name": "toUpperCase" - }, - "computed": false - }, - "arguments": [] - } - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1096, - "end": 1113, - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1096, - "end": 1103, - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1104, - "end": 1113, - "loc": { - "start": { - "line": 36, - "column": 19 - }, - "end": { - "line": 36, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1115, - "end": 1119, - "loc": { - "start": { - "line": 36, - "column": 30 - }, - "end": { - "line": 36, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "UnaryExpression", - "start": 1121, - "end": 1127, - "loc": { - "start": { - "line": 36, - "column": 36 - }, - "end": { - "line": 36, - "column": 42 - } - }, - "operator": "void", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 1126, - "end": 1127, - "loc": { - "start": { - "line": 36, - "column": 41 - }, - "end": { - "line": 36, - "column": 42 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "extra": { - "parenthesizedArgument": false - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1138, - "end": 1168, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1144, - "end": 1167, - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1144, - "end": 1151, - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1154, - "end": 1167, - "loc": { - "start": { - "line": 37, - "column": 24 - }, - "end": { - "line": 37, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1158, - "end": 1165, - "loc": { - "start": { - "line": 37, - "column": 28 - }, - "end": { - "line": 37, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1177, - "end": 1215, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 1177, - "end": 1214, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1177, - "end": 1206, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 1177, - "end": 1200, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 31 - } - }, - "object": { - "type": "CallExpression", - "start": 1177, - "end": 1197, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 1177, - "end": 1183, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 1184, - "end": 1196, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 27 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1184, - "end": 1194, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 1184, - "end": 1191, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1192, - "end": 1194, - "loc": { - "start": { - "line": 38, - "column": 23 - }, - "end": { - "line": 38, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - ] - }, - "property": { - "type": "Identifier", - "start": 1198, - "end": 1200, - "loc": { - "start": { - "line": 38, - "column": 29 - }, - "end": { - "line": 38, - "column": 31 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1201, - "end": 1206, - "loc": { - "start": { - "line": 38, - "column": 32 - }, - "end": { - "line": 38, - "column": 37 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1207, - "end": 1213, - "loc": { - "start": { - "line": 38, - "column": 38 - }, - "end": { - "line": 38, - "column": 44 - } - }, - "extra": { - "rawValue": "AVRY", - "raw": "'AVRY'" - }, - "value": "AVRY" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 54, - "_esdocTestName": "it54" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 52, - "_esdocTestName": "describe52" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Flow", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 79, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 81, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./flow", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 96, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 104, - "end": 105, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "flow", - "start": 105, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 111, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 113, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 116, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 119, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 127, - "end": 128, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should compose the functions", - "start": 128, - "end": 158, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 158, - "end": 159, - "loc": { - "start": { - "line": 5, - "column": 37 - }, - "end": { - "line": 5, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 160, - "end": 161, - "loc": { - "start": { - "line": 5, - "column": 39 - }, - "end": { - "line": 5, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 161, - "end": 162, - "loc": { - "start": { - "line": 5, - "column": 40 - }, - "end": { - "line": 5, - "column": 41 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 163, - "end": 165, - "loc": { - "start": { - "line": 5, - "column": 42 - }, - "end": { - "line": 5, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 166, - "end": 167, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 5, - "column": 46 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 176, - "end": 181, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 182, - "end": 189, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 190, - "end": 191, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 204, - "end": 215, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 215, - "end": 216, - "loc": { - "start": { - "line": 7, - "column": 23 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 216, - "end": 217, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 218, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 236, - "end": 240, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 240, - "end": 241, - "loc": { - "start": { - "line": 8, - "column": 20 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 241, - "end": 245, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 246, - "end": 247, - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Avry", - "start": 248, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 34 - }, - "end": { - "line": 8, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 268, - "end": 269, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 282, - "end": 284, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 284, - "end": 285, - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 15 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 285, - "end": 288, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 288, - "end": 292, - "loc": { - "start": { - "line": 10, - "column": 18 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 292, - "end": 293, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 294, - "end": 295, - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 312, - "end": 318, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 319, - "end": 323, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 323, - "end": 324, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 324, - "end": 325, - "loc": { - "start": { - "line": 11, - "column": 28 - }, - "end": { - "line": 11, - "column": 29 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 325, - "end": 326, - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 326, - "end": 327, - "loc": { - "start": { - "line": 11, - "column": 30 - }, - "end": { - "line": 11, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 340, - "end": 341, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getName", - "start": 354, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 361, - "end": 362, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 362, - "end": 363, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 364, - "end": 365, - "loc": { - "start": { - "line": 13, - "column": 22 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 382, - "end": 388, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 388, - "end": 389, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 389, - "end": 393, - "loc": { - "start": { - "line": 14, - "column": 23 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 393, - "end": 394, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 395, - "end": 404, - "loc": { - "start": { - "line": 14, - "column": 29 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 404, - "end": 405, - "loc": { - "start": { - "line": 14, - "column": 38 - }, - "end": { - "line": 14, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 405, - "end": 406, - "loc": { - "start": { - "line": 14, - "column": 39 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 406, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 408, - "end": 409, - "loc": { - "start": { - "line": 14, - "column": 42 - }, - "end": { - "line": 14, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 409, - "end": 414, - "loc": { - "start": { - "line": 14, - "column": 43 - }, - "end": { - "line": 14, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 414, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 48 - }, - "end": { - "line": 14, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 415, - "end": 422, - "loc": { - "start": { - "line": 14, - "column": 49 - }, - "end": { - "line": 14, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 56 - }, - "end": { - "line": 14, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 423, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 57 - }, - "end": { - "line": 14, - "column": 58 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 441, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 22 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 448, - "end": 452, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 452, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 453, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 481, - "end": 482, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 491, - "end": 498, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 498, - "end": 499, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 499, - "end": 509, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 509, - "end": 510, - "loc": { - "start": { - "line": 18, - "column": 26 - }, - "end": { - "line": 18, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 510, - "end": 511, - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 18, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Flow", - "start": 524, - "end": 528, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 528, - "end": 529, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 17 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "getName", - "start": 529, - "end": 538, - "loc": { - "start": { - "line": 19, - "column": 17 - }, - "end": { - "line": 19, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 538, - "end": 539, - "loc": { - "start": { - "line": 19, - "column": 26 - }, - "end": { - "line": 19, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 540, - "end": 541, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 541, - "end": 542, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 542, - "end": 543, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 31 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 544, - "end": 546, - "loc": { - "start": { - "line": 19, - "column": 32 - }, - "end": { - "line": 19, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 547, - "end": 548, - "loc": { - "start": { - "line": 19, - "column": 35 - }, - "end": { - "line": 19, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 548, - "end": 549, - "loc": { - "start": { - "line": 19, - "column": 36 - }, - "end": { - "line": 19, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toUpperCase", - "start": 549, - "end": 560, - "loc": { - "start": { - "line": 19, - "column": 37 - }, - "end": { - "line": 19, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 560, - "end": 561, - "loc": { - "start": { - "line": 19, - "column": 48 - }, - "end": { - "line": 19, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 561, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 49 - }, - "end": { - "line": 19, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 562, - "end": 563, - "loc": { - "start": { - "line": 19, - "column": 50 - }, - "end": { - "line": 19, - "column": 51 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 572, - "end": 573, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 573, - "end": 574, - "loc": { - "start": { - "line": 20, - "column": 9 - }, - "end": { - "line": 20, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 575, - "end": 582, - "loc": { - "start": { - "line": 20, - "column": 11 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 582, - "end": 583, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 583, - "end": 592, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 592, - "end": 593, - "loc": { - "start": { - "line": 20, - "column": 28 - }, - "end": { - "line": 20, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 594, - "end": 598, - "loc": { - "start": { - "line": 20, - "column": 30 - }, - "end": { - "line": 20, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 598, - "end": 599, - "loc": { - "start": { - "line": 20, - "column": 34 - }, - "end": { - "line": 20, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 600, - "end": 604, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 604, - "end": 605, - "loc": { - "start": { - "line": 20, - "column": 40 - }, - "end": { - "line": 20, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 605, - "end": 606, - "loc": { - "start": { - "line": 20, - "column": 41 - }, - "end": { - "line": 20, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 615, - "end": 620, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 621, - "end": 628, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 629, - "end": 630, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 631, - "end": 634, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 635, - "end": 642, - "loc": { - "start": { - "line": 21, - "column": 28 - }, - "end": { - "line": 21, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 642, - "end": 643, - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 643, - "end": 644, - "loc": { - "start": { - "line": 21, - "column": 36 - }, - "end": { - "line": 21, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 644, - "end": 645, - "loc": { - "start": { - "line": 21, - "column": 37 - }, - "end": { - "line": 21, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 654, - "end": 660, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 22, - "column": 14 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 661, - "end": 668, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 668, - "end": 669, - "loc": { - "start": { - "line": 22, - "column": 22 - }, - "end": { - "line": 22, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 669, - "end": 671, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 671, - "end": 672, - "loc": { - "start": { - "line": 22, - "column": 25 - }, - "end": { - "line": 22, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 672, - "end": 673, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 673, - "end": 674, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 674, - "end": 675, - "loc": { - "start": { - "line": 22, - "column": 28 - }, - "end": { - "line": 22, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 675, - "end": 677, - "loc": { - "start": { - "line": 22, - "column": 29 - }, - "end": { - "line": 22, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 677, - "end": 678, - "loc": { - "start": { - "line": 22, - "column": 31 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 678, - "end": 683, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 683, - "end": 684, - "loc": { - "start": { - "line": 22, - "column": 37 - }, - "end": { - "line": 22, - "column": 38 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "AVRY", - "start": 684, - "end": 690, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 690, - "end": 691, - "loc": { - "start": { - "line": 22, - "column": 44 - }, - "end": { - "line": 22, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 691, - "end": 692, - "loc": { - "start": { - "line": 22, - "column": 45 - }, - "end": { - "line": 22, - "column": 46 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 697, - "end": 698, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 23, - "column": 5 - }, - "end": { - "line": 23, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 699, - "end": 700, - "loc": { - "start": { - "line": 23, - "column": 6 - }, - "end": { - "line": 23, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 705, - "end": 707, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 24, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 707, - "end": 708, - "loc": { - "start": { - "line": 24, - "column": 6 - }, - "end": { - "line": 24, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should compose and assign to the property", - "start": 708, - "end": 751, - "loc": { - "start": { - "line": 24, - "column": 7 - }, - "end": { - "line": 24, - "column": 50 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 751, - "end": 752, - "loc": { - "start": { - "line": 24, - "column": 50 - }, - "end": { - "line": 24, - "column": 51 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 753, - "end": 754, - "loc": { - "start": { - "line": 24, - "column": 52 - }, - "end": { - "line": 24, - "column": 53 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 754, - "end": 755, - "loc": { - "start": { - "line": 24, - "column": 53 - }, - "end": { - "line": 24, - "column": 54 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 756, - "end": 758, - "loc": { - "start": { - "line": 24, - "column": 55 - }, - "end": { - "line": 24, - "column": 57 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 759, - "end": 760, - "loc": { - "start": { - "line": 24, - "column": 58 - }, - "end": { - "line": 24, - "column": 59 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 769, - "end": 774, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 775, - "end": 782, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 783, - "end": 784, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 25, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 797, - "end": 808, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 808, - "end": 809, - "loc": { - "start": { - "line": 26, - "column": 23 - }, - "end": { - "line": 26, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 809, - "end": 810, - "loc": { - "start": { - "line": 26, - "column": 24 - }, - "end": { - "line": 26, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 811, - "end": 812, - "loc": { - "start": { - "line": 26, - "column": 26 - }, - "end": { - "line": 26, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 829, - "end": 833, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 833, - "end": 834, - "loc": { - "start": { - "line": 27, - "column": 20 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 834, - "end": 838, - "loc": { - "start": { - "line": 27, - "column": 21 - }, - "end": { - "line": 27, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 839, - "end": 840, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 27 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Avry", - "start": 841, - "end": 847, - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 847, - "end": 848, - "loc": { - "start": { - "line": 27, - "column": 34 - }, - "end": { - "line": 27, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 861, - "end": 862, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getName", - "start": 875, - "end": 882, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 882, - "end": 883, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 883, - "end": 884, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 885, - "end": 886, - "loc": { - "start": { - "line": 29, - "column": 22 - }, - "end": { - "line": 29, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 903, - "end": 909, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 909, - "end": 910, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 910, - "end": 914, - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 914, - "end": 915, - "loc": { - "start": { - "line": 30, - "column": 27 - }, - "end": { - "line": 30, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 916, - "end": 925, - "loc": { - "start": { - "line": 30, - "column": 29 - }, - "end": { - "line": 30, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 925, - "end": 926, - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 926, - "end": 927, - "loc": { - "start": { - "line": 30, - "column": 39 - }, - "end": { - "line": 30, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 927, - "end": 929, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 929, - "end": 930, - "loc": { - "start": { - "line": 30, - "column": 42 - }, - "end": { - "line": 30, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 930, - "end": 935, - "loc": { - "start": { - "line": 30, - "column": 43 - }, - "end": { - "line": 30, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 935, - "end": 936, - "loc": { - "start": { - "line": 30, - "column": 48 - }, - "end": { - "line": 30, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 936, - "end": 943, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 943, - "end": 944, - "loc": { - "start": { - "line": 30, - "column": 56 - }, - "end": { - "line": 30, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 944, - "end": 945, - "loc": { - "start": { - "line": 30, - "column": 57 - }, - "end": { - "line": 30, - "column": 58 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 962, - "end": 968, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 969, - "end": 973, - "loc": { - "start": { - "line": 31, - "column": 23 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 973, - "end": 974, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 974, - "end": 978, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 978, - "end": 979, - "loc": { - "start": { - "line": 31, - "column": 32 - }, - "end": { - "line": 31, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 992, - "end": 993, - "loc": { - "start": { - "line": 32, - "column": 12 - }, - "end": { - "line": 32, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1002, - "end": 1003, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1012, - "end": 1019, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1019, - "end": 1020, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1020, - "end": 1030, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1030, - "end": 1031, - "loc": { - "start": { - "line": 34, - "column": 26 - }, - "end": { - "line": 34, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1031, - "end": 1032, - "loc": { - "start": { - "line": 34, - "column": 27 - }, - "end": { - "line": 34, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Flow", - "start": 1045, - "end": 1049, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1049, - "end": 1050, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 17 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "getName", - "start": 1050, - "end": 1059, - "loc": { - "start": { - "line": 35, - "column": 17 - }, - "end": { - "line": 35, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1059, - "end": 1060, - "loc": { - "start": { - "line": 35, - "column": 26 - }, - "end": { - "line": 35, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1061, - "end": 1062, - "loc": { - "start": { - "line": 35, - "column": 28 - }, - "end": { - "line": 35, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 1062, - "end": 1063, - "loc": { - "start": { - "line": 35, - "column": 29 - }, - "end": { - "line": 35, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1063, - "end": 1064, - "loc": { - "start": { - "line": 35, - "column": 30 - }, - "end": { - "line": 35, - "column": 31 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1065, - "end": 1067, - "loc": { - "start": { - "line": 35, - "column": 32 - }, - "end": { - "line": 35, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 1068, - "end": 1069, - "loc": { - "start": { - "line": 35, - "column": 35 - }, - "end": { - "line": 35, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1069, - "end": 1070, - "loc": { - "start": { - "line": 35, - "column": 36 - }, - "end": { - "line": 35, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toUpperCase", - "start": 1070, - "end": 1081, - "loc": { - "start": { - "line": 35, - "column": 37 - }, - "end": { - "line": 35, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1081, - "end": 1082, - "loc": { - "start": { - "line": 35, - "column": 48 - }, - "end": { - "line": 35, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1082, - "end": 1083, - "loc": { - "start": { - "line": 35, - "column": 49 - }, - "end": { - "line": 35, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1083, - "end": 1084, - "loc": { - "start": { - "line": 35, - "column": 50 - }, - "end": { - "line": 35, - "column": 51 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1093, - "end": 1094, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1094, - "end": 1095, - "loc": { - "start": { - "line": 36, - "column": 9 - }, - "end": { - "line": 36, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1096, - "end": 1103, - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1103, - "end": 1104, - "loc": { - "start": { - "line": 36, - "column": 18 - }, - "end": { - "line": 36, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1104, - "end": 1113, - "loc": { - "start": { - "line": 36, - "column": 19 - }, - "end": { - "line": 36, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1113, - "end": 1114, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 1115, - "end": 1119, - "loc": { - "start": { - "line": 36, - "column": 30 - }, - "end": { - "line": 36, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1119, - "end": 1120, - "loc": { - "start": { - "line": 36, - "column": 34 - }, - "end": { - "line": 36, - "column": 35 - } - } - }, - { - "type": { - "label": "void", - "keyword": "void", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "void", - "start": 1121, - "end": 1125, - "loc": { - "start": { - "line": 36, - "column": 36 - }, - "end": { - "line": 36, - "column": 40 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 1126, - "end": 1127, - "loc": { - "start": { - "line": 36, - "column": 41 - }, - "end": { - "line": 36, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1127, - "end": 1128, - "loc": { - "start": { - "line": 36, - "column": 42 - }, - "end": { - "line": 36, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1128, - "end": 1129, - "loc": { - "start": { - "line": 36, - "column": 43 - }, - "end": { - "line": 36, - "column": 44 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1138, - "end": 1143, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1144, - "end": 1151, - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1152, - "end": 1153, - "loc": { - "start": { - "line": 37, - "column": 22 - }, - "end": { - "line": 37, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1154, - "end": 1157, - "loc": { - "start": { - "line": 37, - "column": 24 - }, - "end": { - "line": 37, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1158, - "end": 1165, - "loc": { - "start": { - "line": 37, - "column": 28 - }, - "end": { - "line": 37, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1165, - "end": 1166, - "loc": { - "start": { - "line": 37, - "column": 35 - }, - "end": { - "line": 37, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1166, - "end": 1167, - "loc": { - "start": { - "line": 37, - "column": 36 - }, - "end": { - "line": 37, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1167, - "end": 1168, - "loc": { - "start": { - "line": 37, - "column": 37 - }, - "end": { - "line": 37, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1177, - "end": 1183, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1183, - "end": 1184, - "loc": { - "start": { - "line": 38, - "column": 14 - }, - "end": { - "line": 38, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1184, - "end": 1191, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1191, - "end": 1192, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 38, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1192, - "end": 1194, - "loc": { - "start": { - "line": 38, - "column": 23 - }, - "end": { - "line": 38, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1194, - "end": 1195, - "loc": { - "start": { - "line": 38, - "column": 25 - }, - "end": { - "line": 38, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1195, - "end": 1196, - "loc": { - "start": { - "line": 38, - "column": 26 - }, - "end": { - "line": 38, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1196, - "end": 1197, - "loc": { - "start": { - "line": 38, - "column": 27 - }, - "end": { - "line": 38, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1197, - "end": 1198, - "loc": { - "start": { - "line": 38, - "column": 28 - }, - "end": { - "line": 38, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1198, - "end": 1200, - "loc": { - "start": { - "line": 38, - "column": 29 - }, - "end": { - "line": 38, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1200, - "end": 1201, - "loc": { - "start": { - "line": 38, - "column": 31 - }, - "end": { - "line": 38, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1201, - "end": 1206, - "loc": { - "start": { - "line": 38, - "column": 32 - }, - "end": { - "line": 38, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1206, - "end": 1207, - "loc": { - "start": { - "line": 38, - "column": 37 - }, - "end": { - "line": 38, - "column": 38 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "AVRY", - "start": 1207, - "end": 1213, - "loc": { - "start": { - "line": 38, - "column": 38 - }, - "end": { - "line": 38, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1213, - "end": 1214, - "loc": { - "start": { - "line": 38, - "column": 44 - }, - "end": { - "line": 38, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1214, - "end": 1215, - "loc": { - "start": { - "line": 38, - "column": 45 - }, - "end": { - "line": 38, - "column": 46 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1220, - "end": 1221, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 39, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1221, - "end": 1222, - "loc": { - "start": { - "line": 39, - "column": 5 - }, - "end": { - "line": 39, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1222, - "end": 1223, - "loc": { - "start": { - "line": 39, - "column": 6 - }, - "end": { - "line": 39, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1224, - "end": 1225, - "loc": { - "start": { - "line": 40, - "column": 0 - }, - "end": { - "line": 40, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1225, - "end": 1226, - "loc": { - "start": { - "line": 40, - "column": 1 - }, - "end": { - "line": 40, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1226, - "end": 1227, - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1228, - "end": 1228, - "loc": { - "start": { - "line": 41, - "column": 0 - }, - "end": { - "line": 41, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/flowRight.spec.js.json b/docs/ast/test/flowRight.spec.js.json deleted file mode 100644 index cd4cbc5..0000000 --- a/docs/ast/test/flowRight.spec.js.json +++ /dev/null @@ -1,9706 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1239, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 41, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1239, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 41, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 105, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 40 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 18 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 18 - }, - "identifierName": "FlowRight" - }, - "name": "FlowRight" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 18 - }, - "identifierName": "FlowRight" - }, - "name": "FlowRight" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 91, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 39 - } - }, - "extra": { - "rawValue": "./flowRight", - "raw": "'./flowRight'" - }, - "value": "./flowRight" - } - }, - { - "type": "ExpressionStatement", - "start": 106, - "end": 1238, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 106, - "end": 1237, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 40, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 106, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 115, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 20 - } - }, - "extra": { - "rawValue": "flowRight", - "raw": "'flowRight'" - }, - "value": "flowRight" - }, - { - "type": "ArrowFunctionExpression", - "start": 128, - "end": 1236, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 40, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 134, - "end": 1236, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 40, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 140, - "end": 720, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 23, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 140, - "end": 719, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 23, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 140, - "end": 142, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 143, - "end": 173, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 37 - } - }, - "extra": { - "rawValue": "should compose the functions", - "raw": "'should compose the functions'" - }, - "value": "should compose the functions" - }, - { - "type": "ArrowFunctionExpression", - "start": 175, - "end": 718, - "loc": { - "start": { - "line": 5, - "column": 39 - }, - "end": { - "line": 23, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 181, - "end": 718, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 23, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 191, - "end": 497, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 197, - "end": 204, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 205, - "end": 497, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 17, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 219, - "end": 284, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 219, - "end": 230, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 233, - "end": 284, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 251, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 251, - "end": 269, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 251, - "end": 260, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 25 - } - }, - "object": { - "type": "ThisExpression", - "start": 251, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 256, - "end": 260, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 25 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 263, - "end": 269, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - } - }, - "extra": { - "rawValue": "Avry", - "raw": "'Avry'" - }, - "value": "Avry" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 297, - "end": 356, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 297, - "end": 299, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 300, - "end": 307, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 22 - } - }, - "argument": { - "type": "Identifier", - "start": 303, - "end": 307, - "loc": { - "start": { - "line": 10, - "column": 18 - }, - "end": { - "line": 10, - "column": 22 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 309, - "end": 356, - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 327, - "end": 342, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 31 - } - }, - "argument": { - "type": "MemberExpression", - "start": 334, - "end": 341, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 334, - "end": 338, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 27 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 339, - "end": 340, - "loc": { - "start": { - "line": 11, - "column": 28 - }, - "end": { - "line": 11, - "column": 29 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 369, - "end": 487, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 16, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 369, - "end": 376, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 19 - }, - "identifierName": "getName" - }, - "name": "getName" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 379, - "end": 487, - "loc": { - "start": { - "line": 13, - "column": 22 - }, - "end": { - "line": 16, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 397, - "end": 439, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 397, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 397, - "end": 429, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 397, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 397, - "end": 420, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 397, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 404, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 23 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 410, - "end": 419, - "loc": { - "start": { - "line": 14, - "column": 29 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 421, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 424, - "end": 429, - "loc": { - "start": { - "line": 14, - "column": 43 - }, - "end": { - "line": 14, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 430, - "end": 437, - "loc": { - "start": { - "line": 14, - "column": 49 - }, - "end": { - "line": 14, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 456, - "end": 473, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 33 - } - }, - "argument": { - "type": "MemberExpression", - "start": 463, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 32 - } - }, - "object": { - "type": "ThisExpression", - "start": 463, - "end": 467, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 468, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 32 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 506, - "end": 626, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 20, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 506, - "end": 625, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 20, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 506, - "end": 524, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 506, - "end": 513, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 514, - "end": 524, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 525, - "end": 593, - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 20, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 539, - "end": 583, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 56 - } - }, - "callee": { - "type": "Identifier", - "start": 539, - "end": 548, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 21 - }, - "identifierName": "FlowRight" - }, - "name": "FlowRight" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 549, - "end": 571, - "loc": { - "start": { - "line": 19, - "column": 22 - }, - "end": { - "line": 19, - "column": 44 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 550, - "end": 551, - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 24 - }, - "identifierName": "v" - }, - "name": "v" - } - ], - "body": { - "type": "CallExpression", - "start": 556, - "end": 571, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 556, - "end": 569, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 556, - "end": 557, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 30 - }, - "identifierName": "v" - }, - "name": "v" - }, - "property": { - "type": "Identifier", - "start": 558, - "end": 569, - "loc": { - "start": { - "line": 19, - "column": 31 - }, - "end": { - "line": 19, - "column": 42 - }, - "identifierName": "toUpperCase" - }, - "name": "toUpperCase" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "StringLiteral", - "start": 573, - "end": 582, - "loc": { - "start": { - "line": 19, - "column": 46 - }, - "end": { - "line": 19, - "column": 55 - } - }, - "extra": { - "rawValue": "getName", - "raw": "'getName'" - }, - "value": "getName" - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 595, - "end": 612, - "loc": { - "start": { - "line": 20, - "column": 11 - }, - "end": { - "line": 20, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 595, - "end": 602, - "loc": { - "start": { - "line": 20, - "column": 11 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 603, - "end": 612, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 614, - "end": 618, - "loc": { - "start": { - "line": 20, - "column": 30 - }, - "end": { - "line": 20, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 620, - "end": 624, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 635, - "end": 665, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 641, - "end": 664, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 641, - "end": 648, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 651, - "end": 664, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 655, - "end": 662, - "loc": { - "start": { - "line": 21, - "column": 28 - }, - "end": { - "line": 21, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 674, - "end": 712, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 674, - "end": 711, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 674, - "end": 703, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 674, - "end": 697, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 31 - } - }, - "object": { - "type": "CallExpression", - "start": 674, - "end": 694, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 674, - "end": 680, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 681, - "end": 693, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 27 - } - }, - "callee": { - "type": "MemberExpression", - "start": 681, - "end": 691, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 681, - "end": 688, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 689, - "end": 691, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - ] - }, - "property": { - "type": "Identifier", - "start": 695, - "end": 697, - "loc": { - "start": { - "line": 22, - "column": 29 - }, - "end": { - "line": 22, - "column": 31 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 698, - "end": 703, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 37 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 704, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 44 - } - }, - "extra": { - "rawValue": "AVRY", - "raw": "'AVRY'" - }, - "value": "AVRY" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 56, - "_esdocTestName": "it56" - } - }, - { - "type": "ExpressionStatement", - "start": 725, - "end": 1234, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 39, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 725, - "end": 1233, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 39, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 725, - "end": 727, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 24, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 728, - "end": 757, - "loc": { - "start": { - "line": 24, - "column": 7 - }, - "end": { - "line": 24, - "column": 36 - } - }, - "extra": { - "rawValue": "should compose the property", - "raw": "'should compose the property'" - }, - "value": "should compose the property" - }, - { - "type": "ArrowFunctionExpression", - "start": 759, - "end": 1232, - "loc": { - "start": { - "line": 24, - "column": 38 - }, - "end": { - "line": 39, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 765, - "end": 1232, - "loc": { - "start": { - "line": 24, - "column": 44 - }, - "end": { - "line": 39, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 775, - "end": 1009, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 33, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 781, - "end": 788, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 789, - "end": 1009, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 33, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 803, - "end": 868, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 28, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 803, - "end": 814, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 817, - "end": 868, - "loc": { - "start": { - "line": 26, - "column": 26 - }, - "end": { - "line": 28, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 835, - "end": 854, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 835, - "end": 853, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 835, - "end": 844, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 25 - } - }, - "object": { - "type": "ThisExpression", - "start": 835, - "end": 839, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 840, - "end": 844, - "loc": { - "start": { - "line": 27, - "column": 21 - }, - "end": { - "line": 27, - "column": 25 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 847, - "end": 853, - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 34 - } - }, - "extra": { - "rawValue": "Avry", - "raw": "'Avry'" - }, - "value": "Avry" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 881, - "end": 999, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 32, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 881, - "end": 888, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 19 - }, - "identifierName": "getName" - }, - "name": "getName" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 891, - "end": 999, - "loc": { - "start": { - "line": 29, - "column": 22 - }, - "end": { - "line": 32, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 909, - "end": 951, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 909, - "end": 950, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 909, - "end": 941, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 909, - "end": 935, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 909, - "end": 932, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 909, - "end": 915, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 916, - "end": 920, - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 922, - "end": 931, - "loc": { - "start": { - "line": 30, - "column": 29 - }, - "end": { - "line": 30, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 933, - "end": 935, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 936, - "end": 941, - "loc": { - "start": { - "line": 30, - "column": 43 - }, - "end": { - "line": 30, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 942, - "end": 949, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 968, - "end": 985, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 33 - } - }, - "argument": { - "type": "MemberExpression", - "start": 975, - "end": 984, - "loc": { - "start": { - "line": 31, - "column": 23 - }, - "end": { - "line": 31, - "column": 32 - } - }, - "object": { - "type": "ThisExpression", - "start": 975, - "end": 979, - "loc": { - "start": { - "line": 31, - "column": 23 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 980, - "end": 984, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 32 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1018, - "end": 1140, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 36, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 1018, - "end": 1139, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 36, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1018, - "end": 1036, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1018, - "end": 1025, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1026, - "end": 1036, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1037, - "end": 1105, - "loc": { - "start": { - "line": 34, - "column": 27 - }, - "end": { - "line": 36, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1051, - "end": 1095, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 56 - } - }, - "callee": { - "type": "Identifier", - "start": 1051, - "end": 1060, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 21 - }, - "identifierName": "FlowRight" - }, - "name": "FlowRight" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1061, - "end": 1083, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, - "column": 44 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1062, - "end": 1063, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 24 - }, - "identifierName": "v" - }, - "name": "v" - } - ], - "body": { - "type": "CallExpression", - "start": 1068, - "end": 1083, - "loc": { - "start": { - "line": 35, - "column": 29 - }, - "end": { - "line": 35, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1068, - "end": 1081, - "loc": { - "start": { - "line": 35, - "column": 29 - }, - "end": { - "line": 35, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 1068, - "end": 1069, - "loc": { - "start": { - "line": 35, - "column": 29 - }, - "end": { - "line": 35, - "column": 30 - }, - "identifierName": "v" - }, - "name": "v" - }, - "property": { - "type": "Identifier", - "start": 1070, - "end": 1081, - "loc": { - "start": { - "line": 35, - "column": 31 - }, - "end": { - "line": 35, - "column": 42 - }, - "identifierName": "toUpperCase" - }, - "name": "toUpperCase" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "StringLiteral", - "start": 1085, - "end": 1094, - "loc": { - "start": { - "line": 35, - "column": 46 - }, - "end": { - "line": 35, - "column": 55 - } - }, - "extra": { - "rawValue": "getName", - "raw": "'getName'" - }, - "value": "getName" - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1107, - "end": 1124, - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1107, - "end": 1114, - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1115, - "end": 1124, - "loc": { - "start": { - "line": 36, - "column": 19 - }, - "end": { - "line": 36, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1126, - "end": 1130, - "loc": { - "start": { - "line": 36, - "column": 30 - }, - "end": { - "line": 36, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "UnaryExpression", - "start": 1132, - "end": 1138, - "loc": { - "start": { - "line": 36, - "column": 36 - }, - "end": { - "line": 36, - "column": 42 - } - }, - "operator": "void", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 1137, - "end": 1138, - "loc": { - "start": { - "line": 36, - "column": 41 - }, - "end": { - "line": 36, - "column": 42 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "extra": { - "parenthesizedArgument": false - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1149, - "end": 1179, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1155, - "end": 1178, - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1155, - "end": 1162, - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1165, - "end": 1178, - "loc": { - "start": { - "line": 37, - "column": 24 - }, - "end": { - "line": 37, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1169, - "end": 1176, - "loc": { - "start": { - "line": 37, - "column": 28 - }, - "end": { - "line": 37, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1188, - "end": 1226, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 1188, - "end": 1225, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1188, - "end": 1217, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 1188, - "end": 1211, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 31 - } - }, - "object": { - "type": "CallExpression", - "start": 1188, - "end": 1208, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 1188, - "end": 1194, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 1195, - "end": 1207, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 27 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1195, - "end": 1205, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 1195, - "end": 1202, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1203, - "end": 1205, - "loc": { - "start": { - "line": 38, - "column": 23 - }, - "end": { - "line": 38, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - ] - }, - "property": { - "type": "Identifier", - "start": 1209, - "end": 1211, - "loc": { - "start": { - "line": 38, - "column": 29 - }, - "end": { - "line": 38, - "column": 31 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1212, - "end": 1217, - "loc": { - "start": { - "line": 38, - "column": 32 - }, - "end": { - "line": 38, - "column": 37 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1218, - "end": 1224, - "loc": { - "start": { - "line": 38, - "column": 38 - }, - "end": { - "line": 38, - "column": 44 - } - }, - "extra": { - "rawValue": "AVRY", - "raw": "'AVRY'" - }, - "value": "AVRY" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 57, - "_esdocTestName": "it57" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 55, - "_esdocTestName": "describe55" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FlowRight", - "start": 74, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 84, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 86, - "end": 90, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./flowRight", - "start": 91, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 26 - }, - "end": { - "line": 3, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 104, - "end": 105, - "loc": { - "start": { - "line": 3, - "column": 39 - }, - "end": { - "line": 3, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 106, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "flowRight", - "start": 115, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 126, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 128, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 129, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 131, - "end": 133, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 134, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 140, - "end": 142, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 142, - "end": 143, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should compose the functions", - "start": 143, - "end": 173, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 173, - "end": 174, - "loc": { - "start": { - "line": 5, - "column": 37 - }, - "end": { - "line": 5, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 175, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 39 - }, - "end": { - "line": 5, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 176, - "end": 177, - "loc": { - "start": { - "line": 5, - "column": 40 - }, - "end": { - "line": 5, - "column": 41 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 178, - "end": 180, - "loc": { - "start": { - "line": 5, - "column": 42 - }, - "end": { - "line": 5, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 181, - "end": 182, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 5, - "column": 46 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 191, - "end": 196, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 197, - "end": 204, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 205, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 219, - "end": 230, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 230, - "end": 231, - "loc": { - "start": { - "line": 7, - "column": 23 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 231, - "end": 232, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 233, - "end": 234, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 251, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 255, - "end": 256, - "loc": { - "start": { - "line": 8, - "column": 20 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 256, - "end": 260, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 26 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Avry", - "start": 263, - "end": 269, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 269, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 34 - }, - "end": { - "line": 8, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 283, - "end": 284, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 297, - "end": 299, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 299, - "end": 300, - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 15 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 300, - "end": 303, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 303, - "end": 307, - "loc": { - "start": { - "line": 10, - "column": 18 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 307, - "end": 308, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 25 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 327, - "end": 333, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 334, - "end": 338, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 338, - "end": 339, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 339, - "end": 340, - "loc": { - "start": { - "line": 11, - "column": 28 - }, - "end": { - "line": 11, - "column": 29 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 340, - "end": 341, - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 341, - "end": 342, - "loc": { - "start": { - "line": 11, - "column": 30 - }, - "end": { - "line": 11, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 355, - "end": 356, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getName", - "start": 369, - "end": 376, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 376, - "end": 377, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 377, - "end": 378, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 379, - "end": 380, - "loc": { - "start": { - "line": 13, - "column": 22 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 397, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 403, - "end": 404, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 404, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 23 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 408, - "end": 409, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 410, - "end": 419, - "loc": { - "start": { - "line": 14, - "column": 29 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 419, - "end": 420, - "loc": { - "start": { - "line": 14, - "column": 38 - }, - "end": { - "line": 14, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 420, - "end": 421, - "loc": { - "start": { - "line": 14, - "column": 39 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 421, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 423, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 42 - }, - "end": { - "line": 14, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 424, - "end": 429, - "loc": { - "start": { - "line": 14, - "column": 43 - }, - "end": { - "line": 14, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 429, - "end": 430, - "loc": { - "start": { - "line": 14, - "column": 48 - }, - "end": { - "line": 14, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 430, - "end": 437, - "loc": { - "start": { - "line": 14, - "column": 49 - }, - "end": { - "line": 14, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 437, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 56 - }, - "end": { - "line": 14, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 438, - "end": 439, - "loc": { - "start": { - "line": 14, - "column": 57 - }, - "end": { - "line": 14, - "column": 58 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 456, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 22 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 463, - "end": 467, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 467, - "end": 468, - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 468, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 486, - "end": 487, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 496, - "end": 497, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 506, - "end": 513, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 513, - "end": 514, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 514, - "end": 524, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 18, - "column": 26 - }, - "end": { - "line": 18, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 525, - "end": 526, - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 18, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FlowRight", - "start": 539, - "end": 548, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 548, - "end": 549, - "loc": { - "start": { - "line": 19, - "column": 21 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 549, - "end": 550, - "loc": { - "start": { - "line": 19, - "column": 22 - }, - "end": { - "line": 19, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 550, - "end": 551, - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 551, - "end": 552, - "loc": { - "start": { - "line": 19, - "column": 24 - }, - "end": { - "line": 19, - "column": 25 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 553, - "end": 555, - "loc": { - "start": { - "line": 19, - "column": 26 - }, - "end": { - "line": 19, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 556, - "end": 557, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 557, - "end": 558, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toUpperCase", - "start": 558, - "end": 569, - "loc": { - "start": { - "line": 19, - "column": 31 - }, - "end": { - "line": 19, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 569, - "end": 570, - "loc": { - "start": { - "line": 19, - "column": 42 - }, - "end": { - "line": 19, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 570, - "end": 571, - "loc": { - "start": { - "line": 19, - "column": 43 - }, - "end": { - "line": 19, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 571, - "end": 572, - "loc": { - "start": { - "line": 19, - "column": 44 - }, - "end": { - "line": 19, - "column": 45 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "getName", - "start": 573, - "end": 582, - "loc": { - "start": { - "line": 19, - "column": 46 - }, - "end": { - "line": 19, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 582, - "end": 583, - "loc": { - "start": { - "line": 19, - "column": 55 - }, - "end": { - "line": 19, - "column": 56 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 592, - "end": 593, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 593, - "end": 594, - "loc": { - "start": { - "line": 20, - "column": 9 - }, - "end": { - "line": 20, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 595, - "end": 602, - "loc": { - "start": { - "line": 20, - "column": 11 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 602, - "end": 603, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 603, - "end": 612, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 612, - "end": 613, - "loc": { - "start": { - "line": 20, - "column": 28 - }, - "end": { - "line": 20, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 614, - "end": 618, - "loc": { - "start": { - "line": 20, - "column": 30 - }, - "end": { - "line": 20, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 618, - "end": 619, - "loc": { - "start": { - "line": 20, - "column": 34 - }, - "end": { - "line": 20, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 620, - "end": 624, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 624, - "end": 625, - "loc": { - "start": { - "line": 20, - "column": 40 - }, - "end": { - "line": 20, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 625, - "end": 626, - "loc": { - "start": { - "line": 20, - "column": 41 - }, - "end": { - "line": 20, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 635, - "end": 640, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 641, - "end": 648, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 649, - "end": 650, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 651, - "end": 654, - "loc": { - "start": { - "line": 21, - "column": 24 - }, - "end": { - "line": 21, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 655, - "end": 662, - "loc": { - "start": { - "line": 21, - "column": 28 - }, - "end": { - "line": 21, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 662, - "end": 663, - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 21, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 663, - "end": 664, - "loc": { - "start": { - "line": 21, - "column": 36 - }, - "end": { - "line": 21, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 664, - "end": 665, - "loc": { - "start": { - "line": 21, - "column": 37 - }, - "end": { - "line": 21, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 674, - "end": 680, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 680, - "end": 681, - "loc": { - "start": { - "line": 22, - "column": 14 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 681, - "end": 688, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 688, - "end": 689, - "loc": { - "start": { - "line": 22, - "column": 22 - }, - "end": { - "line": 22, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 689, - "end": 691, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 691, - "end": 692, - "loc": { - "start": { - "line": 22, - "column": 25 - }, - "end": { - "line": 22, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 692, - "end": 693, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 693, - "end": 694, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 22, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 694, - "end": 695, - "loc": { - "start": { - "line": 22, - "column": 28 - }, - "end": { - "line": 22, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 695, - "end": 697, - "loc": { - "start": { - "line": 22, - "column": 29 - }, - "end": { - "line": 22, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 697, - "end": 698, - "loc": { - "start": { - "line": 22, - "column": 31 - }, - "end": { - "line": 22, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 698, - "end": 703, - "loc": { - "start": { - "line": 22, - "column": 32 - }, - "end": { - "line": 22, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 703, - "end": 704, - "loc": { - "start": { - "line": 22, - "column": 37 - }, - "end": { - "line": 22, - "column": 38 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "AVRY", - "start": 704, - "end": 710, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 710, - "end": 711, - "loc": { - "start": { - "line": 22, - "column": 44 - }, - "end": { - "line": 22, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 711, - "end": 712, - "loc": { - "start": { - "line": 22, - "column": 45 - }, - "end": { - "line": 22, - "column": 46 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 717, - "end": 718, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 718, - "end": 719, - "loc": { - "start": { - "line": 23, - "column": 5 - }, - "end": { - "line": 23, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 719, - "end": 720, - "loc": { - "start": { - "line": 23, - "column": 6 - }, - "end": { - "line": 23, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 725, - "end": 727, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 24, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 727, - "end": 728, - "loc": { - "start": { - "line": 24, - "column": 6 - }, - "end": { - "line": 24, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should compose the property", - "start": 728, - "end": 757, - "loc": { - "start": { - "line": 24, - "column": 7 - }, - "end": { - "line": 24, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 757, - "end": 758, - "loc": { - "start": { - "line": 24, - "column": 36 - }, - "end": { - "line": 24, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 759, - "end": 760, - "loc": { - "start": { - "line": 24, - "column": 38 - }, - "end": { - "line": 24, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 760, - "end": 761, - "loc": { - "start": { - "line": 24, - "column": 39 - }, - "end": { - "line": 24, - "column": 40 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 762, - "end": 764, - "loc": { - "start": { - "line": 24, - "column": 41 - }, - "end": { - "line": 24, - "column": 43 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 765, - "end": 766, - "loc": { - "start": { - "line": 24, - "column": 44 - }, - "end": { - "line": 24, - "column": 45 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 775, - "end": 780, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 781, - "end": 788, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 789, - "end": 790, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 25, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 803, - "end": 814, - "loc": { - "start": { - "line": 26, - "column": 12 - }, - "end": { - "line": 26, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 814, - "end": 815, - "loc": { - "start": { - "line": 26, - "column": 23 - }, - "end": { - "line": 26, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 815, - "end": 816, - "loc": { - "start": { - "line": 26, - "column": 24 - }, - "end": { - "line": 26, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 817, - "end": 818, - "loc": { - "start": { - "line": 26, - "column": 26 - }, - "end": { - "line": 26, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 835, - "end": 839, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 839, - "end": 840, - "loc": { - "start": { - "line": 27, - "column": 20 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 840, - "end": 844, - "loc": { - "start": { - "line": 27, - "column": 21 - }, - "end": { - "line": 27, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 845, - "end": 846, - "loc": { - "start": { - "line": 27, - "column": 26 - }, - "end": { - "line": 27, - "column": 27 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Avry", - "start": 847, - "end": 853, - "loc": { - "start": { - "line": 27, - "column": 28 - }, - "end": { - "line": 27, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 853, - "end": 854, - "loc": { - "start": { - "line": 27, - "column": 34 - }, - "end": { - "line": 27, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 867, - "end": 868, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getName", - "start": 881, - "end": 888, - "loc": { - "start": { - "line": 29, - "column": 12 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 888, - "end": 889, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 889, - "end": 890, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 891, - "end": 892, - "loc": { - "start": { - "line": 29, - "column": 22 - }, - "end": { - "line": 29, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 909, - "end": 915, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 915, - "end": 916, - "loc": { - "start": { - "line": 30, - "column": 22 - }, - "end": { - "line": 30, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 916, - "end": 920, - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 920, - "end": 921, - "loc": { - "start": { - "line": 30, - "column": 27 - }, - "end": { - "line": 30, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 922, - "end": 931, - "loc": { - "start": { - "line": 30, - "column": 29 - }, - "end": { - "line": 30, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 931, - "end": 932, - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 932, - "end": 933, - "loc": { - "start": { - "line": 30, - "column": 39 - }, - "end": { - "line": 30, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 933, - "end": 935, - "loc": { - "start": { - "line": 30, - "column": 40 - }, - "end": { - "line": 30, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 935, - "end": 936, - "loc": { - "start": { - "line": 30, - "column": 42 - }, - "end": { - "line": 30, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 936, - "end": 941, - "loc": { - "start": { - "line": 30, - "column": 43 - }, - "end": { - "line": 30, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 941, - "end": 942, - "loc": { - "start": { - "line": 30, - "column": 48 - }, - "end": { - "line": 30, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 942, - "end": 949, - "loc": { - "start": { - "line": 30, - "column": 49 - }, - "end": { - "line": 30, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 949, - "end": 950, - "loc": { - "start": { - "line": 30, - "column": 56 - }, - "end": { - "line": 30, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 950, - "end": 951, - "loc": { - "start": { - "line": 30, - "column": 57 - }, - "end": { - "line": 30, - "column": 58 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 968, - "end": 974, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 975, - "end": 979, - "loc": { - "start": { - "line": 31, - "column": 23 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 979, - "end": 980, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 980, - "end": 984, - "loc": { - "start": { - "line": 31, - "column": 28 - }, - "end": { - "line": 31, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 984, - "end": 985, - "loc": { - "start": { - "line": 31, - "column": 32 - }, - "end": { - "line": 31, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 998, - "end": 999, - "loc": { - "start": { - "line": 32, - "column": 12 - }, - "end": { - "line": 32, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1008, - "end": 1009, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1018, - "end": 1025, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1025, - "end": 1026, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1026, - "end": 1036, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1036, - "end": 1037, - "loc": { - "start": { - "line": 34, - "column": 26 - }, - "end": { - "line": 34, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1037, - "end": 1038, - "loc": { - "start": { - "line": 34, - "column": 27 - }, - "end": { - "line": 34, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FlowRight", - "start": 1051, - "end": 1060, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1060, - "end": 1061, - "loc": { - "start": { - "line": 35, - "column": 21 - }, - "end": { - "line": 35, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1061, - "end": 1062, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 1062, - "end": 1063, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1063, - "end": 1064, - "loc": { - "start": { - "line": 35, - "column": 24 - }, - "end": { - "line": 35, - "column": 25 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1065, - "end": 1067, - "loc": { - "start": { - "line": 35, - "column": 26 - }, - "end": { - "line": 35, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 1068, - "end": 1069, - "loc": { - "start": { - "line": 35, - "column": 29 - }, - "end": { - "line": 35, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1069, - "end": 1070, - "loc": { - "start": { - "line": 35, - "column": 30 - }, - "end": { - "line": 35, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toUpperCase", - "start": 1070, - "end": 1081, - "loc": { - "start": { - "line": 35, - "column": 31 - }, - "end": { - "line": 35, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1081, - "end": 1082, - "loc": { - "start": { - "line": 35, - "column": 42 - }, - "end": { - "line": 35, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1082, - "end": 1083, - "loc": { - "start": { - "line": 35, - "column": 43 - }, - "end": { - "line": 35, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1083, - "end": 1084, - "loc": { - "start": { - "line": 35, - "column": 44 - }, - "end": { - "line": 35, - "column": 45 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "getName", - "start": 1085, - "end": 1094, - "loc": { - "start": { - "line": 35, - "column": 46 - }, - "end": { - "line": 35, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1094, - "end": 1095, - "loc": { - "start": { - "line": 35, - "column": 55 - }, - "end": { - "line": 35, - "column": 56 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1104, - "end": 1105, - "loc": { - "start": { - "line": 36, - "column": 8 - }, - "end": { - "line": 36, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1105, - "end": 1106, - "loc": { - "start": { - "line": 36, - "column": 9 - }, - "end": { - "line": 36, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1107, - "end": 1114, - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1114, - "end": 1115, - "loc": { - "start": { - "line": 36, - "column": 18 - }, - "end": { - "line": 36, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1115, - "end": 1124, - "loc": { - "start": { - "line": 36, - "column": 19 - }, - "end": { - "line": 36, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1124, - "end": 1125, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 1126, - "end": 1130, - "loc": { - "start": { - "line": 36, - "column": 30 - }, - "end": { - "line": 36, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1130, - "end": 1131, - "loc": { - "start": { - "line": 36, - "column": 34 - }, - "end": { - "line": 36, - "column": 35 - } - } - }, - { - "type": { - "label": "void", - "keyword": "void", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "void", - "start": 1132, - "end": 1136, - "loc": { - "start": { - "line": 36, - "column": 36 - }, - "end": { - "line": 36, - "column": 40 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 1137, - "end": 1138, - "loc": { - "start": { - "line": 36, - "column": 41 - }, - "end": { - "line": 36, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1138, - "end": 1139, - "loc": { - "start": { - "line": 36, - "column": 42 - }, - "end": { - "line": 36, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1139, - "end": 1140, - "loc": { - "start": { - "line": 36, - "column": 43 - }, - "end": { - "line": 36, - "column": 44 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1149, - "end": 1154, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1155, - "end": 1162, - "loc": { - "start": { - "line": 37, - "column": 14 - }, - "end": { - "line": 37, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1163, - "end": 1164, - "loc": { - "start": { - "line": 37, - "column": 22 - }, - "end": { - "line": 37, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1165, - "end": 1168, - "loc": { - "start": { - "line": 37, - "column": 24 - }, - "end": { - "line": 37, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1169, - "end": 1176, - "loc": { - "start": { - "line": 37, - "column": 28 - }, - "end": { - "line": 37, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1176, - "end": 1177, - "loc": { - "start": { - "line": 37, - "column": 35 - }, - "end": { - "line": 37, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1177, - "end": 1178, - "loc": { - "start": { - "line": 37, - "column": 36 - }, - "end": { - "line": 37, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1178, - "end": 1179, - "loc": { - "start": { - "line": 37, - "column": 37 - }, - "end": { - "line": 37, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1188, - "end": 1194, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1194, - "end": 1195, - "loc": { - "start": { - "line": 38, - "column": 14 - }, - "end": { - "line": 38, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1195, - "end": 1202, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1202, - "end": 1203, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 38, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1203, - "end": 1205, - "loc": { - "start": { - "line": 38, - "column": 23 - }, - "end": { - "line": 38, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1205, - "end": 1206, - "loc": { - "start": { - "line": 38, - "column": 25 - }, - "end": { - "line": 38, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1206, - "end": 1207, - "loc": { - "start": { - "line": 38, - "column": 26 - }, - "end": { - "line": 38, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1207, - "end": 1208, - "loc": { - "start": { - "line": 38, - "column": 27 - }, - "end": { - "line": 38, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1208, - "end": 1209, - "loc": { - "start": { - "line": 38, - "column": 28 - }, - "end": { - "line": 38, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1209, - "end": 1211, - "loc": { - "start": { - "line": 38, - "column": 29 - }, - "end": { - "line": 38, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1211, - "end": 1212, - "loc": { - "start": { - "line": 38, - "column": 31 - }, - "end": { - "line": 38, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1212, - "end": 1217, - "loc": { - "start": { - "line": 38, - "column": 32 - }, - "end": { - "line": 38, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1217, - "end": 1218, - "loc": { - "start": { - "line": 38, - "column": 37 - }, - "end": { - "line": 38, - "column": 38 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "AVRY", - "start": 1218, - "end": 1224, - "loc": { - "start": { - "line": 38, - "column": 38 - }, - "end": { - "line": 38, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1224, - "end": 1225, - "loc": { - "start": { - "line": 38, - "column": 44 - }, - "end": { - "line": 38, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1225, - "end": 1226, - "loc": { - "start": { - "line": 38, - "column": 45 - }, - "end": { - "line": 38, - "column": 46 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1231, - "end": 1232, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 39, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1232, - "end": 1233, - "loc": { - "start": { - "line": 39, - "column": 5 - }, - "end": { - "line": 39, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1233, - "end": 1234, - "loc": { - "start": { - "line": 39, - "column": 6 - }, - "end": { - "line": 39, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1235, - "end": 1236, - "loc": { - "start": { - "line": 40, - "column": 0 - }, - "end": { - "line": 40, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1236, - "end": 1237, - "loc": { - "start": { - "line": 40, - "column": 1 - }, - "end": { - "line": 40, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1237, - "end": 1238, - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1239, - "end": 1239, - "loc": { - "start": { - "line": 41, - "column": 0 - }, - "end": { - "line": 41, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/memoize.spec.js.json b/docs/ast/test/memoize.spec.js.json deleted file mode 100644 index fdfd794..0000000 --- a/docs/ast/test/memoize.spec.js.json +++ /dev/null @@ -1,35567 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 4061, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 115, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 4061, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 115, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 28 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "extra": { - "rawValue": "sinon", - "raw": "'sinon'" - }, - "value": "sinon" - } - }, - { - "type": "ImportDeclaration", - "start": 94, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 36 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 103, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - }, - "imported": { - "type": "Identifier", - "start": 103, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - }, - "local": { - "type": "Identifier", - "start": 103, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 118, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 35 - } - }, - "extra": { - "rawValue": "./memoize", - "raw": "'./memoize'" - }, - "value": "./memoize" - } - }, - { - "type": "ExpressionStatement", - "start": 131, - "end": 4060, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 114, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 131, - "end": 4059, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 114, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 131, - "end": 139, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 140, - "end": 149, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 18 - } - }, - "extra": { - "rawValue": "memoize", - "raw": "'memoize'" - }, - "value": "memoize" - }, - { - "type": "ArrowFunctionExpression", - "start": 151, - "end": 4058, - "loc": { - "start": { - "line": 5, - "column": 20 - }, - "end": { - "line": 114, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 157, - "end": 4058, - "loc": { - "start": { - "line": 5, - "column": 26 - }, - "end": { - "line": 114, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 163, - "end": 886, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 30, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 163, - "end": 885, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 30, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 163, - "end": 165, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 166, - "end": 195, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 36 - } - }, - "extra": { - "rawValue": "should memoize the function", - "raw": "'should memoize the function'" - }, - "value": "should memoize the function" - }, - { - "type": "ArrowFunctionExpression", - "start": 197, - "end": 884, - "loc": { - "start": { - "line": 6, - "column": 38 - }, - "end": { - "line": 30, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 203, - "end": 884, - "loc": { - "start": { - "line": 6, - "column": 44 - }, - "end": { - "line": 30, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 213, - "end": 232, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 27 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 219, - "end": 231, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 26 - } - }, - "id": { - "type": "Identifier", - "start": 219, - "end": 223, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 18 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 226, - "end": 231, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 26 - } - }, - "callee": { - "type": "Identifier", - "start": 226, - "end": 229, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 24 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ClassDeclaration", - "start": 241, - "end": 410, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 247, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 255, - "end": 410, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 269, - "end": 400, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 13, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 269, - "end": 271, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 272, - "end": 273, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - }, - "identifierName": "n" - }, - "name": "n" - } - ], - "body": { - "type": "BlockStatement", - "start": 275, - "end": 400, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 13, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 293, - "end": 301, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 24 - } - }, - "expression": { - "type": "CallExpression", - "start": 293, - "end": 300, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 293, - "end": 297, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 20 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [ - { - "type": "Identifier", - "start": 298, - "end": 299, - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - }, - "identifierName": "n" - }, - "name": "n" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 318, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 318, - "end": 359, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 318, - "end": 350, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 318, - "end": 344, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 318, - "end": 341, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 318, - "end": 324, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 325, - "end": 329, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 331, - "end": 340, - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 342, - "end": 344, - "loc": { - "start": { - "line": 11, - "column": 40 - }, - "end": { - "line": 11, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 345, - "end": 350, - "loc": { - "start": { - "line": 11, - "column": 43 - }, - "end": { - "line": 11, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 351, - "end": 358, - "loc": { - "start": { - "line": 11, - "column": 49 - }, - "end": { - "line": 11, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 377, - "end": 386, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 25 - } - }, - "argument": { - "type": "Identifier", - "start": 384, - "end": 385, - "loc": { - "start": { - "line": 12, - "column": 23 - }, - "end": { - "line": 12, - "column": 24 - }, - "identifierName": "n" - }, - "name": "n" - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 419, - "end": 504, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 17, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 419, - "end": 503, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 17, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 419, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 419, - "end": 426, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 427, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 438, - "end": 471, - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 17, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 452, - "end": 461, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 21 - } - }, - "callee": { - "type": "Identifier", - "start": 452, - "end": 459, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 19 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 473, - "end": 490, - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 473, - "end": 480, - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 481, - "end": 490, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 492, - "end": 496, - "loc": { - "start": { - "line": 17, - "column": 30 - }, - "end": { - "line": 17, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 498, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 513, - "end": 543, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 519, - "end": 542, - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 519, - "end": 526, - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 529, - "end": 542, - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 533, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 552, - "end": 566, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 552, - "end": 565, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 552, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 552, - "end": 559, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 560, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 563, - "end": 564, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 575, - "end": 589, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 575, - "end": 588, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 575, - "end": 585, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 575, - "end": 582, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 583, - "end": 585, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 586, - "end": 587, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 598, - "end": 612, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 598, - "end": 611, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 598, - "end": 608, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 598, - "end": 605, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 606, - "end": 608, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 609, - "end": 610, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 621, - "end": 635, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 621, - "end": 634, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 621, - "end": 631, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 621, - "end": 628, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 629, - "end": 631, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 632, - "end": 633, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 644, - "end": 658, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 644, - "end": 657, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 644, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 644, - "end": 651, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 652, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 655, - "end": 656, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 667, - "end": 701, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 667, - "end": 700, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 667, - "end": 697, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 667, - "end": 691, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 667, - "end": 688, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 667, - "end": 673, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 674, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 15 - }, - "end": { - "line": 24, - "column": 28 - } - }, - "callee": { - "type": "MemberExpression", - "start": 674, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 15 - }, - "end": { - "line": 24, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 674, - "end": 681, - "loc": { - "start": { - "line": 24, - "column": 15 - }, - "end": { - "line": 24, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 682, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 23 - }, - "end": { - "line": 24, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 685, - "end": 686, - "loc": { - "start": { - "line": 24, - "column": 26 - }, - "end": { - "line": 24, - "column": 27 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 689, - "end": 691, - "loc": { - "start": { - "line": 24, - "column": 30 - }, - "end": { - "line": 24, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 692, - "end": 697, - "loc": { - "start": { - "line": 24, - "column": 33 - }, - "end": { - "line": 24, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 24, - "column": 39 - }, - "end": { - "line": 24, - "column": 40 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 710, - "end": 745, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 710, - "end": 744, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 710, - "end": 741, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 710, - "end": 735, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 33 - } - }, - "object": { - "type": "CallExpression", - "start": 710, - "end": 732, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 710, - "end": 716, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 717, - "end": 731, - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 25, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 717, - "end": 721, - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 25, - "column": 19 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 722, - "end": 731, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 29 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 733, - "end": 735, - "loc": { - "start": { - "line": 25, - "column": 31 - }, - "end": { - "line": 25, - "column": 33 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 736, - "end": 741, - "loc": { - "start": { - "line": 25, - "column": 34 - }, - "end": { - "line": 25, - "column": 39 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 742, - "end": 743, - "loc": { - "start": { - "line": 25, - "column": 40 - }, - "end": { - "line": 25, - "column": 41 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 754, - "end": 768, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 754, - "end": 767, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 754, - "end": 764, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 754, - "end": 761, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 762, - "end": 764, - "loc": { - "start": { - "line": 26, - "column": 16 - }, - "end": { - "line": 26, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 765, - "end": 766, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 20 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 777, - "end": 791, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 777, - "end": 790, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 777, - "end": 787, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 777, - "end": 784, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 785, - "end": 787, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 788, - "end": 789, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 20 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 800, - "end": 834, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 800, - "end": 833, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 800, - "end": 830, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 800, - "end": 824, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 800, - "end": 821, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 800, - "end": 806, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 807, - "end": 820, - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 28 - } - }, - "callee": { - "type": "MemberExpression", - "start": 807, - "end": 817, - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 807, - "end": 814, - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 815, - "end": 817, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 818, - "end": 819, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 28, - "column": 27 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 822, - "end": 824, - "loc": { - "start": { - "line": 28, - "column": 30 - }, - "end": { - "line": 28, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 825, - "end": 830, - "loc": { - "start": { - "line": 28, - "column": 33 - }, - "end": { - "line": 28, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 831, - "end": 832, - "loc": { - "start": { - "line": 28, - "column": 39 - }, - "end": { - "line": 28, - "column": 40 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 843, - "end": 878, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 843, - "end": 877, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 843, - "end": 874, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 843, - "end": 868, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "object": { - "type": "CallExpression", - "start": 843, - "end": 865, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 843, - "end": 849, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 850, - "end": 864, - "loc": { - "start": { - "line": 29, - "column": 15 - }, - "end": { - "line": 29, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 850, - "end": 854, - "loc": { - "start": { - "line": 29, - "column": 15 - }, - "end": { - "line": 29, - "column": 19 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 855, - "end": 864, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 29 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 866, - "end": 868, - "loc": { - "start": { - "line": 29, - "column": 31 - }, - "end": { - "line": 29, - "column": 33 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 869, - "end": 874, - "loc": { - "start": { - "line": 29, - "column": 34 - }, - "end": { - "line": 29, - "column": 39 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 875, - "end": 876, - "loc": { - "start": { - "line": 29, - "column": 40 - }, - "end": { - "line": 29, - "column": 41 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 59, - "_esdocTestName": "it59" - } - }, - { - "type": "ExpressionStatement", - "start": 891, - "end": 1866, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 54, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 891, - "end": 1865, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 54, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 891, - "end": 899, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 31, - "column": 12 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 900, - "end": 924, - "loc": { - "start": { - "line": 31, - "column": 13 - }, - "end": { - "line": 31, - "column": 37 - } - }, - "extra": { - "rawValue": "with function resolver", - "raw": "'with function resolver'" - }, - "value": "with function resolver" - }, - { - "type": "ArrowFunctionExpression", - "start": 926, - "end": 1864, - "loc": { - "start": { - "line": 31, - "column": 39 - }, - "end": { - "line": 54, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 932, - "end": 1864, - "loc": { - "start": { - "line": 31, - "column": 45 - }, - "end": { - "line": 54, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 942, - "end": 1858, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 53, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 942, - "end": 1857, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 53, - "column": 10 - } - }, - "callee": { - "type": "Identifier", - "start": 942, - "end": 944, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 10 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 945, - "end": 969, - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 32, - "column": 35 - } - }, - "extra": { - "rawValue": "should resolve the key", - "raw": "'should resolve the key'" - }, - "value": "should resolve the key" - }, - { - "type": "ArrowFunctionExpression", - "start": 971, - "end": 1856, - "loc": { - "start": { - "line": 32, - "column": 37 - }, - "end": { - "line": 53, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 977, - "end": 1856, - "loc": { - "start": { - "line": 32, - "column": 43 - }, - "end": { - "line": 53, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 991, - "end": 1010, - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 33, - "column": 31 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 997, - "end": 1009, - "loc": { - "start": { - "line": 33, - "column": 18 - }, - "end": { - "line": 33, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 997, - "end": 1001, - "loc": { - "start": { - "line": 33, - "column": 18 - }, - "end": { - "line": 33, - "column": 22 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 1004, - "end": 1009, - "loc": { - "start": { - "line": 33, - "column": 25 - }, - "end": { - "line": 33, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 1004, - "end": 1007, - "loc": { - "start": { - "line": 33, - "column": 25 - }, - "end": { - "line": 33, - "column": 28 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ClassDeclaration", - "start": 1023, - "end": 1227, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 40, - "column": 13 - } - }, - "id": { - "type": "Identifier", - "start": 1029, - "end": 1036, - "loc": { - "start": { - "line": 34, - "column": 18 - }, - "end": { - "line": 34, - "column": 25 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 1037, - "end": 1227, - "loc": { - "start": { - "line": 34, - "column": 26 - }, - "end": { - "line": 40, - "column": 13 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 1055, - "end": 1213, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 39, - "column": 17 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1055, - "end": 1057, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1058, - "end": 1062, - "loc": { - "start": { - "line": 35, - "column": 19 - }, - "end": { - "line": 35, - "column": 23 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "BlockStatement", - "start": 1064, - "end": 1213, - "loc": { - "start": { - "line": 35, - "column": 25 - }, - "end": { - "line": 39, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1086, - "end": 1093, - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 27 - } - }, - "expression": { - "type": "CallExpression", - "start": 1086, - "end": 1092, - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 26 - } - }, - "callee": { - "type": "Identifier", - "start": 1086, - "end": 1090, - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 24 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 1114, - "end": 1156, - "loc": { - "start": { - "line": 37, - "column": 20 - }, - "end": { - "line": 37, - "column": 62 - } - }, - "expression": { - "type": "CallExpression", - "start": 1114, - "end": 1155, - "loc": { - "start": { - "line": 37, - "column": 20 - }, - "end": { - "line": 37, - "column": 61 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1114, - "end": 1146, - "loc": { - "start": { - "line": 37, - "column": 20 - }, - "end": { - "line": 37, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 1114, - "end": 1140, - "loc": { - "start": { - "line": 37, - "column": 20 - }, - "end": { - "line": 37, - "column": 46 - } - }, - "object": { - "type": "CallExpression", - "start": 1114, - "end": 1137, - "loc": { - "start": { - "line": 37, - "column": 20 - }, - "end": { - "line": 37, - "column": 43 - } - }, - "callee": { - "type": "Identifier", - "start": 1114, - "end": 1120, - "loc": { - "start": { - "line": 37, - "column": 20 - }, - "end": { - "line": 37, - "column": 26 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 1121, - "end": 1125, - "loc": { - "start": { - "line": 37, - "column": 27 - }, - "end": { - "line": 37, - "column": 31 - } - } - }, - { - "type": "StringLiteral", - "start": 1127, - "end": 1136, - "loc": { - "start": { - "line": 37, - "column": 33 - }, - "end": { - "line": 37, - "column": 42 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1138, - "end": 1140, - "loc": { - "start": { - "line": 37, - "column": 44 - }, - "end": { - "line": 37, - "column": 46 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1141, - "end": 1146, - "loc": { - "start": { - "line": 37, - "column": 47 - }, - "end": { - "line": 37, - "column": 52 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1147, - "end": 1154, - "loc": { - "start": { - "line": 37, - "column": 53 - }, - "end": { - "line": 37, - "column": 60 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 1177, - "end": 1195, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 38 - } - }, - "argument": { - "type": "MemberExpression", - "start": 1184, - "end": 1194, - "loc": { - "start": { - "line": 38, - "column": 27 - }, - "end": { - "line": 38, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 1184, - "end": 1188, - "loc": { - "start": { - "line": 38, - "column": 27 - }, - "end": { - "line": 38, - "column": 31 - }, - "identifierName": "item" - }, - "name": "item" - }, - "property": { - "type": "Identifier", - "start": 1189, - "end": 1194, - "loc": { - "start": { - "line": 38, - "column": 32 - }, - "end": { - "line": 38, - "column": 37 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1240, - "end": 1351, - "loc": { - "start": { - "line": 41, - "column": 12 - }, - "end": { - "line": 43, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 1240, - "end": 1350, - "loc": { - "start": { - "line": 41, - "column": 12 - }, - "end": { - "line": 43, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1240, - "end": 1258, - "loc": { - "start": { - "line": 41, - "column": 12 - }, - "end": { - "line": 41, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 1240, - "end": 1247, - "loc": { - "start": { - "line": 41, - "column": 12 - }, - "end": { - "line": 41, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1248, - "end": 1258, - "loc": { - "start": { - "line": 41, - "column": 20 - }, - "end": { - "line": 41, - "column": 30 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1259, - "end": 1318, - "loc": { - "start": { - "line": 41, - "column": 31 - }, - "end": { - "line": 43, - "column": 13 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1277, - "end": 1304, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 43 - } - }, - "callee": { - "type": "Identifier", - "start": 1277, - "end": 1284, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 23 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1285, - "end": 1303, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 42 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1286, - "end": 1290, - "loc": { - "start": { - "line": 42, - "column": 25 - }, - "end": { - "line": 42, - "column": 29 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "MemberExpression", - "start": 1295, - "end": 1303, - "loc": { - "start": { - "line": 42, - "column": 34 - }, - "end": { - "line": 42, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 1295, - "end": 1299, - "loc": { - "start": { - "line": 42, - "column": 34 - }, - "end": { - "line": 42, - "column": 38 - }, - "identifierName": "item" - }, - "name": "item" - }, - "property": { - "type": "Identifier", - "start": 1300, - "end": 1303, - "loc": { - "start": { - "line": 42, - "column": 39 - }, - "end": { - "line": 42, - "column": 42 - }, - "identifierName": "key" - }, - "name": "key" - }, - "computed": false - } - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1320, - "end": 1337, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 1320, - "end": 1327, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 22 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1328, - "end": 1337, - "loc": { - "start": { - "line": 43, - "column": 23 - }, - "end": { - "line": 43, - "column": 32 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1339, - "end": 1343, - "loc": { - "start": { - "line": 43, - "column": 34 - }, - "end": { - "line": 43, - "column": 38 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 1345, - "end": 1349, - "loc": { - "start": { - "line": 43, - "column": 40 - }, - "end": { - "line": 43, - "column": 44 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1364, - "end": 1394, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 42 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1370, - "end": 1393, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 1370, - "end": 1377, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 25 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1380, - "end": 1393, - "loc": { - "start": { - "line": 44, - "column": 28 - }, - "end": { - "line": 44, - "column": 41 - } - }, - "callee": { - "type": "Identifier", - "start": 1384, - "end": 1391, - "loc": { - "start": { - "line": 44, - "column": 32 - }, - "end": { - "line": 44, - "column": 39 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1407, - "end": 1446, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 1407, - "end": 1445, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1407, - "end": 1417, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 1407, - "end": 1414, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1415, - "end": 1417, - "loc": { - "start": { - "line": 45, - "column": 20 - }, - "end": { - "line": 45, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1418, - "end": 1444, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 49 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1420, - "end": 1431, - "loc": { - "start": { - "line": 45, - "column": 25 - }, - "end": { - "line": 45, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1420, - "end": 1423, - "loc": { - "start": { - "line": 45, - "column": 25 - }, - "end": { - "line": 45, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1425, - "end": 1431, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 36 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1433, - "end": 1442, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1433, - "end": 1438, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1440, - "end": 1442, - "loc": { - "start": { - "line": 45, - "column": 45 - }, - "end": { - "line": 45, - "column": 47 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1459, - "end": 1498, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 1459, - "end": 1497, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1459, - "end": 1469, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 1459, - "end": 1466, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1467, - "end": 1469, - "loc": { - "start": { - "line": 46, - "column": 20 - }, - "end": { - "line": 46, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1470, - "end": 1496, - "loc": { - "start": { - "line": 46, - "column": 23 - }, - "end": { - "line": 46, - "column": 49 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1472, - "end": 1483, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1472, - "end": 1475, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1477, - "end": 1483, - "loc": { - "start": { - "line": 46, - "column": 30 - }, - "end": { - "line": 46, - "column": 36 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1485, - "end": 1494, - "loc": { - "start": { - "line": 46, - "column": 38 - }, - "end": { - "line": 46, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1485, - "end": 1490, - "loc": { - "start": { - "line": 46, - "column": 38 - }, - "end": { - "line": 46, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1492, - "end": 1494, - "loc": { - "start": { - "line": 46, - "column": 45 - }, - "end": { - "line": 46, - "column": 47 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1511, - "end": 1550, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 1511, - "end": 1549, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1511, - "end": 1521, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 1511, - "end": 1518, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1519, - "end": 1521, - "loc": { - "start": { - "line": 47, - "column": 20 - }, - "end": { - "line": 47, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1522, - "end": 1548, - "loc": { - "start": { - "line": 47, - "column": 23 - }, - "end": { - "line": 47, - "column": 49 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1524, - "end": 1535, - "loc": { - "start": { - "line": 47, - "column": 25 - }, - "end": { - "line": 47, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1524, - "end": 1527, - "loc": { - "start": { - "line": 47, - "column": 25 - }, - "end": { - "line": 47, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1529, - "end": 1535, - "loc": { - "start": { - "line": 47, - "column": 30 - }, - "end": { - "line": 47, - "column": 36 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1537, - "end": 1546, - "loc": { - "start": { - "line": 47, - "column": 38 - }, - "end": { - "line": 47, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1537, - "end": 1542, - "loc": { - "start": { - "line": 47, - "column": 38 - }, - "end": { - "line": 47, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1544, - "end": 1546, - "loc": { - "start": { - "line": 47, - "column": 45 - }, - "end": { - "line": 47, - "column": 47 - } - }, - "extra": { - "rawValue": 30, - "raw": "30" - }, - "value": 30 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1563, - "end": 1623, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 72 - } - }, - "expression": { - "type": "CallExpression", - "start": 1563, - "end": 1622, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1563, - "end": 1618, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 67 - } - }, - "object": { - "type": "MemberExpression", - "start": 1563, - "end": 1612, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 61 - } - }, - "object": { - "type": "CallExpression", - "start": 1563, - "end": 1609, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 58 - } - }, - "callee": { - "type": "Identifier", - "start": 1563, - "end": 1569, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 1570, - "end": 1608, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1570, - "end": 1580, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 1570, - "end": 1577, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1578, - "end": 1580, - "loc": { - "start": { - "line": 48, - "column": 27 - }, - "end": { - "line": 48, - "column": 29 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1581, - "end": 1607, - "loc": { - "start": { - "line": 48, - "column": 30 - }, - "end": { - "line": 48, - "column": 56 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1583, - "end": 1594, - "loc": { - "start": { - "line": 48, - "column": 32 - }, - "end": { - "line": 48, - "column": 43 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1583, - "end": 1586, - "loc": { - "start": { - "line": 48, - "column": 32 - }, - "end": { - "line": 48, - "column": 35 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1588, - "end": 1594, - "loc": { - "start": { - "line": 48, - "column": 37 - }, - "end": { - "line": 48, - "column": 43 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1596, - "end": 1605, - "loc": { - "start": { - "line": 48, - "column": 45 - }, - "end": { - "line": 48, - "column": 54 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1596, - "end": 1601, - "loc": { - "start": { - "line": 48, - "column": 45 - }, - "end": { - "line": 48, - "column": 50 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1603, - "end": 1605, - "loc": { - "start": { - "line": 48, - "column": 52 - }, - "end": { - "line": 48, - "column": 54 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - } - ] - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 1610, - "end": 1612, - "loc": { - "start": { - "line": 48, - "column": 59 - }, - "end": { - "line": 48, - "column": 61 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1613, - "end": 1618, - "loc": { - "start": { - "line": 48, - "column": 62 - }, - "end": { - "line": 48, - "column": 67 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1619, - "end": 1621, - "loc": { - "start": { - "line": 48, - "column": 68 - }, - "end": { - "line": 48, - "column": 70 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1636, - "end": 1671, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 1636, - "end": 1670, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1636, - "end": 1667, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 1636, - "end": 1661, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 1636, - "end": 1658, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 1636, - "end": 1642, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1643, - "end": 1657, - "loc": { - "start": { - "line": 49, - "column": 19 - }, - "end": { - "line": 49, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 1643, - "end": 1647, - "loc": { - "start": { - "line": 49, - "column": 19 - }, - "end": { - "line": 49, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 1648, - "end": 1657, - "loc": { - "start": { - "line": 49, - "column": 24 - }, - "end": { - "line": 49, - "column": 33 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1659, - "end": 1661, - "loc": { - "start": { - "line": 49, - "column": 35 - }, - "end": { - "line": 49, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1662, - "end": 1667, - "loc": { - "start": { - "line": 49, - "column": 38 - }, - "end": { - "line": 49, - "column": 43 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1668, - "end": 1669, - "loc": { - "start": { - "line": 49, - "column": 44 - }, - "end": { - "line": 49, - "column": 45 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1684, - "end": 1724, - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 1684, - "end": 1723, - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1684, - "end": 1694, - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 1684, - "end": 1691, - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1692, - "end": 1694, - "loc": { - "start": { - "line": 50, - "column": 20 - }, - "end": { - "line": 50, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1695, - "end": 1722, - "loc": { - "start": { - "line": 50, - "column": 23 - }, - "end": { - "line": 50, - "column": 50 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1697, - "end": 1709, - "loc": { - "start": { - "line": 50, - "column": 25 - }, - "end": { - "line": 50, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1697, - "end": 1700, - "loc": { - "start": { - "line": 50, - "column": 25 - }, - "end": { - "line": 50, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1702, - "end": 1709, - "loc": { - "start": { - "line": 50, - "column": 30 - }, - "end": { - "line": 50, - "column": 37 - } - }, - "extra": { - "rawValue": "test2", - "raw": "'test2'" - }, - "value": "test2" - } - }, - { - "type": "ObjectProperty", - "start": 1711, - "end": 1720, - "loc": { - "start": { - "line": 50, - "column": 39 - }, - "end": { - "line": 50, - "column": 48 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1711, - "end": 1716, - "loc": { - "start": { - "line": 50, - "column": 39 - }, - "end": { - "line": 50, - "column": 44 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1718, - "end": 1720, - "loc": { - "start": { - "line": 50, - "column": 46 - }, - "end": { - "line": 50, - "column": 48 - } - }, - "extra": { - "rawValue": 30, - "raw": "30" - }, - "value": 30 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1737, - "end": 1798, - "loc": { - "start": { - "line": 51, - "column": 12 - }, - "end": { - "line": 51, - "column": 73 - } - }, - "expression": { - "type": "CallExpression", - "start": 1737, - "end": 1797, - "loc": { - "start": { - "line": 51, - "column": 12 - }, - "end": { - "line": 51, - "column": 72 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1737, - "end": 1793, - "loc": { - "start": { - "line": 51, - "column": 12 - }, - "end": { - "line": 51, - "column": 68 - } - }, - "object": { - "type": "MemberExpression", - "start": 1737, - "end": 1787, - "loc": { - "start": { - "line": 51, - "column": 12 - }, - "end": { - "line": 51, - "column": 62 - } - }, - "object": { - "type": "CallExpression", - "start": 1737, - "end": 1784, - "loc": { - "start": { - "line": 51, - "column": 12 - }, - "end": { - "line": 51, - "column": 59 - } - }, - "callee": { - "type": "Identifier", - "start": 1737, - "end": 1743, - "loc": { - "start": { - "line": 51, - "column": 12 - }, - "end": { - "line": 51, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 1744, - "end": 1783, - "loc": { - "start": { - "line": 51, - "column": 19 - }, - "end": { - "line": 51, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1744, - "end": 1754, - "loc": { - "start": { - "line": 51, - "column": 19 - }, - "end": { - "line": 51, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 1744, - "end": 1751, - "loc": { - "start": { - "line": 51, - "column": 19 - }, - "end": { - "line": 51, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1752, - "end": 1754, - "loc": { - "start": { - "line": 51, - "column": 27 - }, - "end": { - "line": 51, - "column": 29 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1755, - "end": 1782, - "loc": { - "start": { - "line": 51, - "column": 30 - }, - "end": { - "line": 51, - "column": 57 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1757, - "end": 1769, - "loc": { - "start": { - "line": 51, - "column": 32 - }, - "end": { - "line": 51, - "column": 44 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1757, - "end": 1760, - "loc": { - "start": { - "line": 51, - "column": 32 - }, - "end": { - "line": 51, - "column": 35 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1762, - "end": 1769, - "loc": { - "start": { - "line": 51, - "column": 37 - }, - "end": { - "line": 51, - "column": 44 - } - }, - "extra": { - "rawValue": "test2", - "raw": "'test2'" - }, - "value": "test2" - } - }, - { - "type": "ObjectProperty", - "start": 1771, - "end": 1780, - "loc": { - "start": { - "line": 51, - "column": 46 - }, - "end": { - "line": 51, - "column": 55 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1771, - "end": 1776, - "loc": { - "start": { - "line": 51, - "column": 46 - }, - "end": { - "line": 51, - "column": 51 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1778, - "end": 1780, - "loc": { - "start": { - "line": 51, - "column": 53 - }, - "end": { - "line": 51, - "column": 55 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - } - ] - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 1785, - "end": 1787, - "loc": { - "start": { - "line": 51, - "column": 60 - }, - "end": { - "line": 51, - "column": 62 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1788, - "end": 1793, - "loc": { - "start": { - "line": 51, - "column": 63 - }, - "end": { - "line": 51, - "column": 68 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1794, - "end": 1796, - "loc": { - "start": { - "line": 51, - "column": 69 - }, - "end": { - "line": 51, - "column": 71 - } - }, - "extra": { - "rawValue": 30, - "raw": "30" - }, - "value": 30 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1811, - "end": 1846, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 1811, - "end": 1845, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1811, - "end": 1842, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 1811, - "end": 1836, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 1811, - "end": 1833, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 1811, - "end": 1817, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1818, - "end": 1832, - "loc": { - "start": { - "line": 52, - "column": 19 - }, - "end": { - "line": 52, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 1818, - "end": 1822, - "loc": { - "start": { - "line": 52, - "column": 19 - }, - "end": { - "line": 52, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 1823, - "end": 1832, - "loc": { - "start": { - "line": 52, - "column": 24 - }, - "end": { - "line": 52, - "column": 33 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1834, - "end": 1836, - "loc": { - "start": { - "line": 52, - "column": 35 - }, - "end": { - "line": 52, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1837, - "end": 1842, - "loc": { - "start": { - "line": 52, - "column": 38 - }, - "end": { - "line": 52, - "column": 43 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1843, - "end": 1844, - "loc": { - "start": { - "line": 52, - "column": 44 - }, - "end": { - "line": 52, - "column": 45 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 61, - "_esdocTestName": "it61" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 60, - "_esdocTestName": "describe60" - } - }, - { - "type": "ExpressionStatement", - "start": 1871, - "end": 2994, - "loc": { - "start": { - "line": 55, - "column": 4 - }, - "end": { - "line": 82, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 1871, - "end": 2993, - "loc": { - "start": { - "line": 55, - "column": 4 - }, - "end": { - "line": 82, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 1871, - "end": 1879, - "loc": { - "start": { - "line": 55, - "column": 4 - }, - "end": { - "line": 55, - "column": 12 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1880, - "end": 1902, - "loc": { - "start": { - "line": 55, - "column": 13 - }, - "end": { - "line": 55, - "column": 35 - } - }, - "extra": { - "rawValue": "with string resolver", - "raw": "'with string resolver'" - }, - "value": "with string resolver" - }, - { - "type": "ArrowFunctionExpression", - "start": 1904, - "end": 2992, - "loc": { - "start": { - "line": 55, - "column": 37 - }, - "end": { - "line": 82, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1910, - "end": 2992, - "loc": { - "start": { - "line": 55, - "column": 43 - }, - "end": { - "line": 82, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1920, - "end": 2986, - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 81, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 1920, - "end": 2985, - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 81, - "column": 10 - } - }, - "callee": { - "type": "Identifier", - "start": 1920, - "end": 1922, - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 56, - "column": 10 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1923, - "end": 1947, - "loc": { - "start": { - "line": 56, - "column": 11 - }, - "end": { - "line": 56, - "column": 35 - } - }, - "extra": { - "rawValue": "should resolve the key", - "raw": "'should resolve the key'" - }, - "value": "should resolve the key" - }, - { - "type": "ArrowFunctionExpression", - "start": 1949, - "end": 2984, - "loc": { - "start": { - "line": 56, - "column": 37 - }, - "end": { - "line": 81, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1955, - "end": 2984, - "loc": { - "start": { - "line": 56, - "column": 43 - }, - "end": { - "line": 81, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1969, - "end": 1988, - "loc": { - "start": { - "line": 57, - "column": 12 - }, - "end": { - "line": 57, - "column": 31 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1975, - "end": 1987, - "loc": { - "start": { - "line": 57, - "column": 18 - }, - "end": { - "line": 57, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 1975, - "end": 1979, - "loc": { - "start": { - "line": 57, - "column": 18 - }, - "end": { - "line": 57, - "column": 22 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 1982, - "end": 1987, - "loc": { - "start": { - "line": 57, - "column": 25 - }, - "end": { - "line": 57, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 1982, - "end": 1985, - "loc": { - "start": { - "line": 57, - "column": 25 - }, - "end": { - "line": 57, - "column": 28 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ClassDeclaration", - "start": 2001, - "end": 2364, - "loc": { - "start": { - "line": 58, - "column": 12 - }, - "end": { - "line": 68, - "column": 13 - } - }, - "id": { - "type": "Identifier", - "start": 2007, - "end": 2014, - "loc": { - "start": { - "line": 58, - "column": 18 - }, - "end": { - "line": 58, - "column": 25 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 2015, - "end": 2364, - "loc": { - "start": { - "line": 58, - "column": 26 - }, - "end": { - "line": 68, - "column": 13 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 2033, - "end": 2191, - "loc": { - "start": { - "line": 59, - "column": 16 - }, - "end": { - "line": 63, - "column": 17 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 2033, - "end": 2035, - "loc": { - "start": { - "line": 59, - "column": 16 - }, - "end": { - "line": 59, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2036, - "end": 2040, - "loc": { - "start": { - "line": 59, - "column": 19 - }, - "end": { - "line": 59, - "column": 23 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "BlockStatement", - "start": 2042, - "end": 2191, - "loc": { - "start": { - "line": 59, - "column": 25 - }, - "end": { - "line": 63, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2064, - "end": 2071, - "loc": { - "start": { - "line": 60, - "column": 20 - }, - "end": { - "line": 60, - "column": 27 - } - }, - "expression": { - "type": "CallExpression", - "start": 2064, - "end": 2070, - "loc": { - "start": { - "line": 60, - "column": 20 - }, - "end": { - "line": 60, - "column": 26 - } - }, - "callee": { - "type": "Identifier", - "start": 2064, - "end": 2068, - "loc": { - "start": { - "line": 60, - "column": 20 - }, - "end": { - "line": 60, - "column": 24 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 2092, - "end": 2134, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 62 - } - }, - "expression": { - "type": "CallExpression", - "start": 2092, - "end": 2133, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 61 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2092, - "end": 2124, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 2092, - "end": 2118, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 46 - } - }, - "object": { - "type": "CallExpression", - "start": 2092, - "end": 2115, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 43 - } - }, - "callee": { - "type": "Identifier", - "start": 2092, - "end": 2098, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 26 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 2099, - "end": 2103, - "loc": { - "start": { - "line": 61, - "column": 27 - }, - "end": { - "line": 61, - "column": 31 - } - } - }, - { - "type": "StringLiteral", - "start": 2105, - "end": 2114, - "loc": { - "start": { - "line": 61, - "column": 33 - }, - "end": { - "line": 61, - "column": 42 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 2116, - "end": 2118, - "loc": { - "start": { - "line": 61, - "column": 44 - }, - "end": { - "line": 61, - "column": 46 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2119, - "end": 2124, - "loc": { - "start": { - "line": 61, - "column": 47 - }, - "end": { - "line": 61, - "column": 52 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2125, - "end": 2132, - "loc": { - "start": { - "line": 61, - "column": 53 - }, - "end": { - "line": 61, - "column": 60 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 2155, - "end": 2173, - "loc": { - "start": { - "line": 62, - "column": 20 - }, - "end": { - "line": 62, - "column": 38 - } - }, - "argument": { - "type": "MemberExpression", - "start": 2162, - "end": 2172, - "loc": { - "start": { - "line": 62, - "column": 27 - }, - "end": { - "line": 62, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 2162, - "end": 2166, - "loc": { - "start": { - "line": 62, - "column": 27 - }, - "end": { - "line": 62, - "column": 31 - }, - "identifierName": "item" - }, - "name": "item" - }, - "property": { - "type": "Identifier", - "start": 2167, - "end": 2172, - "loc": { - "start": { - "line": 62, - "column": 32 - }, - "end": { - "line": 62, - "column": 37 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 2208, - "end": 2350, - "loc": { - "start": { - "line": 64, - "column": 16 - }, - "end": { - "line": 67, - "column": 17 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 2208, - "end": 2215, - "loc": { - "start": { - "line": 64, - "column": 16 - }, - "end": { - "line": 64, - "column": 23 - }, - "identifierName": "resolve" - }, - "name": "resolve" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2216, - "end": 2220, - "loc": { - "start": { - "line": 64, - "column": 24 - }, - "end": { - "line": 64, - "column": 28 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "BlockStatement", - "start": 2222, - "end": 2350, - "loc": { - "start": { - "line": 64, - "column": 30 - }, - "end": { - "line": 67, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2244, - "end": 2295, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 71 - } - }, - "expression": { - "type": "CallExpression", - "start": 2244, - "end": 2294, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 70 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2244, - "end": 2285, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 61 - } - }, - "object": { - "type": "MemberExpression", - "start": 2244, - "end": 2279, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 55 - } - }, - "object": { - "type": "CallExpression", - "start": 2244, - "end": 2276, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 52 - } - }, - "callee": { - "type": "Identifier", - "start": 2244, - "end": 2250, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 26 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 2251, - "end": 2255, - "loc": { - "start": { - "line": 65, - "column": 27 - }, - "end": { - "line": 65, - "column": 31 - } - } - }, - { - "type": "StringLiteral", - "start": 2257, - "end": 2275, - "loc": { - "start": { - "line": 65, - "column": 33 - }, - "end": { - "line": 65, - "column": 51 - } - }, - "extra": { - "rawValue": "resolver context", - "raw": "'resolver context'" - }, - "value": "resolver context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 2277, - "end": 2279, - "loc": { - "start": { - "line": 65, - "column": 53 - }, - "end": { - "line": 65, - "column": 55 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2280, - "end": 2285, - "loc": { - "start": { - "line": 65, - "column": 56 - }, - "end": { - "line": 65, - "column": 61 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2286, - "end": 2293, - "loc": { - "start": { - "line": 65, - "column": 62 - }, - "end": { - "line": 65, - "column": 69 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 2316, - "end": 2332, - "loc": { - "start": { - "line": 66, - "column": 20 - }, - "end": { - "line": 66, - "column": 36 - } - }, - "argument": { - "type": "MemberExpression", - "start": 2323, - "end": 2331, - "loc": { - "start": { - "line": 66, - "column": 27 - }, - "end": { - "line": 66, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 2323, - "end": 2327, - "loc": { - "start": { - "line": 66, - "column": 27 - }, - "end": { - "line": 66, - "column": 31 - }, - "identifierName": "item" - }, - "name": "item" - }, - "property": { - "type": "Identifier", - "start": 2328, - "end": 2331, - "loc": { - "start": { - "line": 66, - "column": 32 - }, - "end": { - "line": 66, - "column": 35 - }, - "identifierName": "key" - }, - "name": "key" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2377, - "end": 2479, - "loc": { - "start": { - "line": 69, - "column": 12 - }, - "end": { - "line": 71, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 2377, - "end": 2478, - "loc": { - "start": { - "line": 69, - "column": 12 - }, - "end": { - "line": 71, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2377, - "end": 2395, - "loc": { - "start": { - "line": 69, - "column": 12 - }, - "end": { - "line": 69, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 2377, - "end": 2384, - "loc": { - "start": { - "line": 69, - "column": 12 - }, - "end": { - "line": 69, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 2385, - "end": 2395, - "loc": { - "start": { - "line": 69, - "column": 20 - }, - "end": { - "line": 69, - "column": 30 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 2396, - "end": 2446, - "loc": { - "start": { - "line": 69, - "column": 31 - }, - "end": { - "line": 71, - "column": 13 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 2414, - "end": 2432, - "loc": { - "start": { - "line": 70, - "column": 16 - }, - "end": { - "line": 70, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 2414, - "end": 2421, - "loc": { - "start": { - "line": 70, - "column": 16 - }, - "end": { - "line": 70, - "column": 23 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2422, - "end": 2431, - "loc": { - "start": { - "line": 70, - "column": 24 - }, - "end": { - "line": 70, - "column": 33 - } - }, - "extra": { - "rawValue": "resolve", - "raw": "'resolve'" - }, - "value": "resolve" - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 2448, - "end": 2465, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 2448, - "end": 2455, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 22 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 2456, - "end": 2465, - "loc": { - "start": { - "line": 71, - "column": 23 - }, - "end": { - "line": 71, - "column": 32 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 2467, - "end": 2471, - "loc": { - "start": { - "line": 71, - "column": 34 - }, - "end": { - "line": 71, - "column": 38 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 2473, - "end": 2477, - "loc": { - "start": { - "line": 71, - "column": 40 - }, - "end": { - "line": 71, - "column": 44 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 2492, - "end": 2522, - "loc": { - "start": { - "line": 72, - "column": 12 - }, - "end": { - "line": 72, - "column": 42 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2498, - "end": 2521, - "loc": { - "start": { - "line": 72, - "column": 18 - }, - "end": { - "line": 72, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 2498, - "end": 2505, - "loc": { - "start": { - "line": 72, - "column": 18 - }, - "end": { - "line": 72, - "column": 25 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 2508, - "end": 2521, - "loc": { - "start": { - "line": 72, - "column": 28 - }, - "end": { - "line": 72, - "column": 41 - } - }, - "callee": { - "type": "Identifier", - "start": 2512, - "end": 2519, - "loc": { - "start": { - "line": 72, - "column": 32 - }, - "end": { - "line": 72, - "column": 39 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 2535, - "end": 2574, - "loc": { - "start": { - "line": 73, - "column": 12 - }, - "end": { - "line": 73, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 2535, - "end": 2573, - "loc": { - "start": { - "line": 73, - "column": 12 - }, - "end": { - "line": 73, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2535, - "end": 2545, - "loc": { - "start": { - "line": 73, - "column": 12 - }, - "end": { - "line": 73, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 2535, - "end": 2542, - "loc": { - "start": { - "line": 73, - "column": 12 - }, - "end": { - "line": 73, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2543, - "end": 2545, - "loc": { - "start": { - "line": 73, - "column": 20 - }, - "end": { - "line": 73, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 2546, - "end": 2572, - "loc": { - "start": { - "line": 73, - "column": 23 - }, - "end": { - "line": 73, - "column": 49 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 2548, - "end": 2559, - "loc": { - "start": { - "line": 73, - "column": 25 - }, - "end": { - "line": 73, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2548, - "end": 2551, - "loc": { - "start": { - "line": 73, - "column": 25 - }, - "end": { - "line": 73, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 2553, - "end": 2559, - "loc": { - "start": { - "line": 73, - "column": 30 - }, - "end": { - "line": 73, - "column": 36 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 2561, - "end": 2570, - "loc": { - "start": { - "line": 73, - "column": 38 - }, - "end": { - "line": 73, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2561, - "end": 2566, - "loc": { - "start": { - "line": 73, - "column": 38 - }, - "end": { - "line": 73, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 2568, - "end": 2570, - "loc": { - "start": { - "line": 73, - "column": 45 - }, - "end": { - "line": 73, - "column": 47 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2587, - "end": 2626, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 2587, - "end": 2625, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2587, - "end": 2597, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 2587, - "end": 2594, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2595, - "end": 2597, - "loc": { - "start": { - "line": 74, - "column": 20 - }, - "end": { - "line": 74, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 2598, - "end": 2624, - "loc": { - "start": { - "line": 74, - "column": 23 - }, - "end": { - "line": 74, - "column": 49 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 2600, - "end": 2611, - "loc": { - "start": { - "line": 74, - "column": 25 - }, - "end": { - "line": 74, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2600, - "end": 2603, - "loc": { - "start": { - "line": 74, - "column": 25 - }, - "end": { - "line": 74, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 2605, - "end": 2611, - "loc": { - "start": { - "line": 74, - "column": 30 - }, - "end": { - "line": 74, - "column": 36 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 2613, - "end": 2622, - "loc": { - "start": { - "line": 74, - "column": 38 - }, - "end": { - "line": 74, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2613, - "end": 2618, - "loc": { - "start": { - "line": 74, - "column": 38 - }, - "end": { - "line": 74, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 2620, - "end": 2622, - "loc": { - "start": { - "line": 74, - "column": 45 - }, - "end": { - "line": 74, - "column": 47 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2639, - "end": 2678, - "loc": { - "start": { - "line": 75, - "column": 12 - }, - "end": { - "line": 75, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 2639, - "end": 2677, - "loc": { - "start": { - "line": 75, - "column": 12 - }, - "end": { - "line": 75, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2639, - "end": 2649, - "loc": { - "start": { - "line": 75, - "column": 12 - }, - "end": { - "line": 75, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 2639, - "end": 2646, - "loc": { - "start": { - "line": 75, - "column": 12 - }, - "end": { - "line": 75, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2647, - "end": 2649, - "loc": { - "start": { - "line": 75, - "column": 20 - }, - "end": { - "line": 75, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 2650, - "end": 2676, - "loc": { - "start": { - "line": 75, - "column": 23 - }, - "end": { - "line": 75, - "column": 49 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 2652, - "end": 2663, - "loc": { - "start": { - "line": 75, - "column": 25 - }, - "end": { - "line": 75, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2652, - "end": 2655, - "loc": { - "start": { - "line": 75, - "column": 25 - }, - "end": { - "line": 75, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 2657, - "end": 2663, - "loc": { - "start": { - "line": 75, - "column": 30 - }, - "end": { - "line": 75, - "column": 36 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 2665, - "end": 2674, - "loc": { - "start": { - "line": 75, - "column": 38 - }, - "end": { - "line": 75, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2665, - "end": 2670, - "loc": { - "start": { - "line": 75, - "column": 38 - }, - "end": { - "line": 75, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 2672, - "end": 2674, - "loc": { - "start": { - "line": 75, - "column": 45 - }, - "end": { - "line": 75, - "column": 47 - } - }, - "extra": { - "rawValue": 30, - "raw": "30" - }, - "value": 30 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2691, - "end": 2751, - "loc": { - "start": { - "line": 76, - "column": 12 - }, - "end": { - "line": 76, - "column": 72 - } - }, - "expression": { - "type": "CallExpression", - "start": 2691, - "end": 2750, - "loc": { - "start": { - "line": 76, - "column": 12 - }, - "end": { - "line": 76, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2691, - "end": 2746, - "loc": { - "start": { - "line": 76, - "column": 12 - }, - "end": { - "line": 76, - "column": 67 - } - }, - "object": { - "type": "MemberExpression", - "start": 2691, - "end": 2740, - "loc": { - "start": { - "line": 76, - "column": 12 - }, - "end": { - "line": 76, - "column": 61 - } - }, - "object": { - "type": "CallExpression", - "start": 2691, - "end": 2737, - "loc": { - "start": { - "line": 76, - "column": 12 - }, - "end": { - "line": 76, - "column": 58 - } - }, - "callee": { - "type": "Identifier", - "start": 2691, - "end": 2697, - "loc": { - "start": { - "line": 76, - "column": 12 - }, - "end": { - "line": 76, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 2698, - "end": 2736, - "loc": { - "start": { - "line": 76, - "column": 19 - }, - "end": { - "line": 76, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2698, - "end": 2708, - "loc": { - "start": { - "line": 76, - "column": 19 - }, - "end": { - "line": 76, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 2698, - "end": 2705, - "loc": { - "start": { - "line": 76, - "column": 19 - }, - "end": { - "line": 76, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2706, - "end": 2708, - "loc": { - "start": { - "line": 76, - "column": 27 - }, - "end": { - "line": 76, - "column": 29 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 2709, - "end": 2735, - "loc": { - "start": { - "line": 76, - "column": 30 - }, - "end": { - "line": 76, - "column": 56 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 2711, - "end": 2722, - "loc": { - "start": { - "line": 76, - "column": 32 - }, - "end": { - "line": 76, - "column": 43 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2711, - "end": 2714, - "loc": { - "start": { - "line": 76, - "column": 32 - }, - "end": { - "line": 76, - "column": 35 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 2716, - "end": 2722, - "loc": { - "start": { - "line": 76, - "column": 37 - }, - "end": { - "line": 76, - "column": 43 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 2724, - "end": 2733, - "loc": { - "start": { - "line": 76, - "column": 45 - }, - "end": { - "line": 76, - "column": 54 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2724, - "end": 2729, - "loc": { - "start": { - "line": 76, - "column": 45 - }, - "end": { - "line": 76, - "column": 50 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 2731, - "end": 2733, - "loc": { - "start": { - "line": 76, - "column": 52 - }, - "end": { - "line": 76, - "column": 54 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - } - ] - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 2738, - "end": 2740, - "loc": { - "start": { - "line": 76, - "column": 59 - }, - "end": { - "line": 76, - "column": 61 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2741, - "end": 2746, - "loc": { - "start": { - "line": 76, - "column": 62 - }, - "end": { - "line": 76, - "column": 67 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2747, - "end": 2749, - "loc": { - "start": { - "line": 76, - "column": 68 - }, - "end": { - "line": 76, - "column": 70 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2764, - "end": 2799, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 2764, - "end": 2798, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2764, - "end": 2795, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 2764, - "end": 2789, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 2764, - "end": 2786, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 2764, - "end": 2770, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2771, - "end": 2785, - "loc": { - "start": { - "line": 77, - "column": 19 - }, - "end": { - "line": 77, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 2771, - "end": 2775, - "loc": { - "start": { - "line": 77, - "column": 19 - }, - "end": { - "line": 77, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 2776, - "end": 2785, - "loc": { - "start": { - "line": 77, - "column": 24 - }, - "end": { - "line": 77, - "column": 33 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 2787, - "end": 2789, - "loc": { - "start": { - "line": 77, - "column": 35 - }, - "end": { - "line": 77, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2790, - "end": 2795, - "loc": { - "start": { - "line": 77, - "column": 38 - }, - "end": { - "line": 77, - "column": 43 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2796, - "end": 2797, - "loc": { - "start": { - "line": 77, - "column": 44 - }, - "end": { - "line": 77, - "column": 45 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2812, - "end": 2852, - "loc": { - "start": { - "line": 78, - "column": 12 - }, - "end": { - "line": 78, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 2812, - "end": 2851, - "loc": { - "start": { - "line": 78, - "column": 12 - }, - "end": { - "line": 78, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2812, - "end": 2822, - "loc": { - "start": { - "line": 78, - "column": 12 - }, - "end": { - "line": 78, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 2812, - "end": 2819, - "loc": { - "start": { - "line": 78, - "column": 12 - }, - "end": { - "line": 78, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2820, - "end": 2822, - "loc": { - "start": { - "line": 78, - "column": 20 - }, - "end": { - "line": 78, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 2823, - "end": 2850, - "loc": { - "start": { - "line": 78, - "column": 23 - }, - "end": { - "line": 78, - "column": 50 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 2825, - "end": 2837, - "loc": { - "start": { - "line": 78, - "column": 25 - }, - "end": { - "line": 78, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2825, - "end": 2828, - "loc": { - "start": { - "line": 78, - "column": 25 - }, - "end": { - "line": 78, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 2830, - "end": 2837, - "loc": { - "start": { - "line": 78, - "column": 30 - }, - "end": { - "line": 78, - "column": 37 - } - }, - "extra": { - "rawValue": "test2", - "raw": "'test2'" - }, - "value": "test2" - } - }, - { - "type": "ObjectProperty", - "start": 2839, - "end": 2848, - "loc": { - "start": { - "line": 78, - "column": 39 - }, - "end": { - "line": 78, - "column": 48 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2839, - "end": 2844, - "loc": { - "start": { - "line": 78, - "column": 39 - }, - "end": { - "line": 78, - "column": 44 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 2846, - "end": 2848, - "loc": { - "start": { - "line": 78, - "column": 46 - }, - "end": { - "line": 78, - "column": 48 - } - }, - "extra": { - "rawValue": 30, - "raw": "30" - }, - "value": 30 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2865, - "end": 2926, - "loc": { - "start": { - "line": 79, - "column": 12 - }, - "end": { - "line": 79, - "column": 73 - } - }, - "expression": { - "type": "CallExpression", - "start": 2865, - "end": 2925, - "loc": { - "start": { - "line": 79, - "column": 12 - }, - "end": { - "line": 79, - "column": 72 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2865, - "end": 2921, - "loc": { - "start": { - "line": 79, - "column": 12 - }, - "end": { - "line": 79, - "column": 68 - } - }, - "object": { - "type": "MemberExpression", - "start": 2865, - "end": 2915, - "loc": { - "start": { - "line": 79, - "column": 12 - }, - "end": { - "line": 79, - "column": 62 - } - }, - "object": { - "type": "CallExpression", - "start": 2865, - "end": 2912, - "loc": { - "start": { - "line": 79, - "column": 12 - }, - "end": { - "line": 79, - "column": 59 - } - }, - "callee": { - "type": "Identifier", - "start": 2865, - "end": 2871, - "loc": { - "start": { - "line": 79, - "column": 12 - }, - "end": { - "line": 79, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 2872, - "end": 2911, - "loc": { - "start": { - "line": 79, - "column": 19 - }, - "end": { - "line": 79, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2872, - "end": 2882, - "loc": { - "start": { - "line": 79, - "column": 19 - }, - "end": { - "line": 79, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 2872, - "end": 2879, - "loc": { - "start": { - "line": 79, - "column": 19 - }, - "end": { - "line": 79, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2880, - "end": 2882, - "loc": { - "start": { - "line": 79, - "column": 27 - }, - "end": { - "line": 79, - "column": 29 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 2883, - "end": 2910, - "loc": { - "start": { - "line": 79, - "column": 30 - }, - "end": { - "line": 79, - "column": 57 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 2885, - "end": 2897, - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 44 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2885, - "end": 2888, - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 35 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 2890, - "end": 2897, - "loc": { - "start": { - "line": 79, - "column": 37 - }, - "end": { - "line": 79, - "column": 44 - } - }, - "extra": { - "rawValue": "test2", - "raw": "'test2'" - }, - "value": "test2" - } - }, - { - "type": "ObjectProperty", - "start": 2899, - "end": 2908, - "loc": { - "start": { - "line": 79, - "column": 46 - }, - "end": { - "line": 79, - "column": 55 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2899, - "end": 2904, - "loc": { - "start": { - "line": 79, - "column": 46 - }, - "end": { - "line": 79, - "column": 51 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 2906, - "end": 2908, - "loc": { - "start": { - "line": 79, - "column": 53 - }, - "end": { - "line": 79, - "column": 55 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - } - ] - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 2913, - "end": 2915, - "loc": { - "start": { - "line": 79, - "column": 60 - }, - "end": { - "line": 79, - "column": 62 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2916, - "end": 2921, - "loc": { - "start": { - "line": 79, - "column": 63 - }, - "end": { - "line": 79, - "column": 68 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2922, - "end": 2924, - "loc": { - "start": { - "line": 79, - "column": 69 - }, - "end": { - "line": 79, - "column": 71 - } - }, - "extra": { - "rawValue": 30, - "raw": "30" - }, - "value": 30 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2939, - "end": 2974, - "loc": { - "start": { - "line": 80, - "column": 12 - }, - "end": { - "line": 80, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 2939, - "end": 2973, - "loc": { - "start": { - "line": 80, - "column": 12 - }, - "end": { - "line": 80, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2939, - "end": 2970, - "loc": { - "start": { - "line": 80, - "column": 12 - }, - "end": { - "line": 80, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 2939, - "end": 2964, - "loc": { - "start": { - "line": 80, - "column": 12 - }, - "end": { - "line": 80, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 2939, - "end": 2961, - "loc": { - "start": { - "line": 80, - "column": 12 - }, - "end": { - "line": 80, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 2939, - "end": 2945, - "loc": { - "start": { - "line": 80, - "column": 12 - }, - "end": { - "line": 80, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2946, - "end": 2960, - "loc": { - "start": { - "line": 80, - "column": 19 - }, - "end": { - "line": 80, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 2946, - "end": 2950, - "loc": { - "start": { - "line": 80, - "column": 19 - }, - "end": { - "line": 80, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 2951, - "end": 2960, - "loc": { - "start": { - "line": 80, - "column": 24 - }, - "end": { - "line": 80, - "column": 33 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 2962, - "end": 2964, - "loc": { - "start": { - "line": 80, - "column": 35 - }, - "end": { - "line": 80, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2965, - "end": 2970, - "loc": { - "start": { - "line": 80, - "column": 38 - }, - "end": { - "line": 80, - "column": 43 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2971, - "end": 2972, - "loc": { - "start": { - "line": 80, - "column": 44 - }, - "end": { - "line": 80, - "column": 45 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 63, - "_esdocTestName": "it63" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 62, - "_esdocTestName": "describe62" - } - }, - { - "type": "ExpressionStatement", - "start": 2999, - "end": 3470, - "loc": { - "start": { - "line": 83, - "column": 4 - }, - "end": { - "line": 96, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 2999, - "end": 3469, - "loc": { - "start": { - "line": 83, - "column": 4 - }, - "end": { - "line": 96, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 2999, - "end": 3007, - "loc": { - "start": { - "line": 83, - "column": 4 - }, - "end": { - "line": 83, - "column": 12 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 3008, - "end": 3030, - "loc": { - "start": { - "line": 83, - "column": 13 - }, - "end": { - "line": 83, - "column": 35 - } - }, - "extra": { - "rawValue": "with custom map type", - "raw": "'with custom map type'" - }, - "value": "with custom map type" - }, - { - "type": "ArrowFunctionExpression", - "start": 3032, - "end": 3468, - "loc": { - "start": { - "line": 83, - "column": 37 - }, - "end": { - "line": 96, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3038, - "end": 3468, - "loc": { - "start": { - "line": 83, - "column": 43 - }, - "end": { - "line": 96, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3048, - "end": 3462, - "loc": { - "start": { - "line": 84, - "column": 8 - }, - "end": { - "line": 95, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 3048, - "end": 3461, - "loc": { - "start": { - "line": 84, - "column": 8 - }, - "end": { - "line": 95, - "column": 10 - } - }, - "callee": { - "type": "Identifier", - "start": 3048, - "end": 3050, - "loc": { - "start": { - "line": 84, - "column": 8 - }, - "end": { - "line": 84, - "column": 10 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 3051, - "end": 3082, - "loc": { - "start": { - "line": 84, - "column": 11 - }, - "end": { - "line": 84, - "column": 42 - } - }, - "extra": { - "rawValue": "should create the map of type", - "raw": "'should create the map of type'" - }, - "value": "should create the map of type" - }, - { - "type": "ArrowFunctionExpression", - "start": 3084, - "end": 3460, - "loc": { - "start": { - "line": 84, - "column": 44 - }, - "end": { - "line": 95, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3090, - "end": 3460, - "loc": { - "start": { - "line": 84, - "column": 50 - }, - "end": { - "line": 95, - "column": 9 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 3104, - "end": 3217, - "loc": { - "start": { - "line": 85, - "column": 12 - }, - "end": { - "line": 89, - "column": 13 - } - }, - "id": { - "type": "Identifier", - "start": 3110, - "end": 3117, - "loc": { - "start": { - "line": 85, - "column": 18 - }, - "end": { - "line": 85, - "column": 25 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 3118, - "end": 3217, - "loc": { - "start": { - "line": 85, - "column": 26 - }, - "end": { - "line": 89, - "column": 13 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 3136, - "end": 3203, - "loc": { - "start": { - "line": 86, - "column": 16 - }, - "end": { - "line": 88, - "column": 17 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 3136, - "end": 3138, - "loc": { - "start": { - "line": 86, - "column": 16 - }, - "end": { - "line": 86, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 3139, - "end": 3143, - "loc": { - "start": { - "line": 86, - "column": 19 - }, - "end": { - "line": 86, - "column": 23 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "BlockStatement", - "start": 3145, - "end": 3203, - "loc": { - "start": { - "line": 86, - "column": 25 - }, - "end": { - "line": 88, - "column": 17 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 3167, - "end": 3185, - "loc": { - "start": { - "line": 87, - "column": 20 - }, - "end": { - "line": 87, - "column": 38 - } - }, - "argument": { - "type": "MemberExpression", - "start": 3174, - "end": 3184, - "loc": { - "start": { - "line": 87, - "column": 27 - }, - "end": { - "line": 87, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 3174, - "end": 3178, - "loc": { - "start": { - "line": 87, - "column": 27 - }, - "end": { - "line": 87, - "column": 31 - }, - "identifierName": "item" - }, - "name": "item" - }, - "property": { - "type": "Identifier", - "start": 3179, - "end": 3184, - "loc": { - "start": { - "line": 87, - "column": 32 - }, - "end": { - "line": 87, - "column": 37 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 3230, - "end": 3340, - "loc": { - "start": { - "line": 90, - "column": 12 - }, - "end": { - "line": 92, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 3230, - "end": 3339, - "loc": { - "start": { - "line": 90, - "column": 12 - }, - "end": { - "line": 92, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3230, - "end": 3248, - "loc": { - "start": { - "line": 90, - "column": 12 - }, - "end": { - "line": 90, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 3230, - "end": 3237, - "loc": { - "start": { - "line": 90, - "column": 12 - }, - "end": { - "line": 90, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 3238, - "end": 3248, - "loc": { - "start": { - "line": 90, - "column": 20 - }, - "end": { - "line": 90, - "column": 30 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 3249, - "end": 3307, - "loc": { - "start": { - "line": 90, - "column": 31 - }, - "end": { - "line": 92, - "column": 13 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 3267, - "end": 3293, - "loc": { - "start": { - "line": 91, - "column": 16 - }, - "end": { - "line": 91, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 3267, - "end": 3274, - "loc": { - "start": { - "line": 91, - "column": 16 - }, - "end": { - "line": 91, - "column": 23 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 3275, - "end": 3292, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 41 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 3277, - "end": 3290, - "loc": { - "start": { - "line": 91, - "column": 26 - }, - "end": { - "line": 91, - "column": 39 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3277, - "end": 3281, - "loc": { - "start": { - "line": 91, - "column": 26 - }, - "end": { - "line": 91, - "column": 30 - }, - "identifierName": "type" - }, - "name": "type" - }, - "value": { - "type": "Identifier", - "start": 3283, - "end": 3290, - "loc": { - "start": { - "line": 91, - "column": 32 - }, - "end": { - "line": 91, - "column": 39 - }, - "identifierName": "WeakMap" - }, - "name": "WeakMap" - } - } - ] - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 3309, - "end": 3326, - "loc": { - "start": { - "line": 92, - "column": 15 - }, - "end": { - "line": 92, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 3309, - "end": 3316, - "loc": { - "start": { - "line": 92, - "column": 15 - }, - "end": { - "line": 92, - "column": 22 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 3317, - "end": 3326, - "loc": { - "start": { - "line": 92, - "column": 23 - }, - "end": { - "line": 92, - "column": 32 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 3328, - "end": 3332, - "loc": { - "start": { - "line": 92, - "column": 34 - }, - "end": { - "line": 92, - "column": 38 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 3334, - "end": 3338, - "loc": { - "start": { - "line": 92, - "column": 40 - }, - "end": { - "line": 92, - "column": 44 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 3353, - "end": 3383, - "loc": { - "start": { - "line": 93, - "column": 12 - }, - "end": { - "line": 93, - "column": 42 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3359, - "end": 3382, - "loc": { - "start": { - "line": 93, - "column": 18 - }, - "end": { - "line": 93, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 3359, - "end": 3366, - "loc": { - "start": { - "line": 93, - "column": 18 - }, - "end": { - "line": 93, - "column": 25 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 3369, - "end": 3382, - "loc": { - "start": { - "line": 93, - "column": 28 - }, - "end": { - "line": 93, - "column": 41 - } - }, - "callee": { - "type": "Identifier", - "start": 3373, - "end": 3380, - "loc": { - "start": { - "line": 93, - "column": 32 - }, - "end": { - "line": 93, - "column": 39 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 3396, - "end": 3450, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 66 - } - }, - "expression": { - "type": "CallExpression", - "start": 3396, - "end": 3449, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3396, - "end": 3440, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 56 - } - }, - "object": { - "type": "MemberExpression", - "start": 3396, - "end": 3429, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 45 - } - }, - "object": { - "type": "MemberExpression", - "start": 3396, - "end": 3426, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 3396, - "end": 3423, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 39 - } - }, - "object": { - "type": "CallExpression", - "start": 3396, - "end": 3420, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 36 - } - }, - "callee": { - "type": "Identifier", - "start": 3396, - "end": 3402, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 3403, - "end": 3419, - "loc": { - "start": { - "line": 94, - "column": 19 - }, - "end": { - "line": 94, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 3403, - "end": 3413, - "loc": { - "start": { - "line": 94, - "column": 19 - }, - "end": { - "line": 94, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 3403, - "end": 3410, - "loc": { - "start": { - "line": 94, - "column": 19 - }, - "end": { - "line": 94, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 3411, - "end": 3413, - "loc": { - "start": { - "line": 94, - "column": 27 - }, - "end": { - "line": 94, - "column": 29 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3414, - "end": 3419, - "loc": { - "start": { - "line": 94, - "column": 30 - }, - "end": { - "line": 94, - "column": 35 - }, - "identifierName": "cache" - }, - "name": "cache" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 3421, - "end": 3423, - "loc": { - "start": { - "line": 94, - "column": 37 - }, - "end": { - "line": 94, - "column": 39 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3424, - "end": 3426, - "loc": { - "start": { - "line": 94, - "column": 40 - }, - "end": { - "line": 94, - "column": 42 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3427, - "end": 3429, - "loc": { - "start": { - "line": 94, - "column": 43 - }, - "end": { - "line": 94, - "column": 45 - }, - "identifierName": "an" - }, - "name": "an" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3430, - "end": 3440, - "loc": { - "start": { - "line": 94, - "column": 46 - }, - "end": { - "line": 94, - "column": 56 - }, - "identifierName": "instanceOf" - }, - "name": "instanceOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 3441, - "end": 3448, - "loc": { - "start": { - "line": 94, - "column": 57 - }, - "end": { - "line": 94, - "column": 64 - }, - "identifierName": "WeakMap" - }, - "name": "WeakMap" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 65, - "_esdocTestName": "it65" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 64, - "_esdocTestName": "describe64" - } - }, - { - "type": "ExpressionStatement", - "start": 3475, - "end": 4056, - "loc": { - "start": { - "line": 97, - "column": 4 - }, - "end": { - "line": 113, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 3475, - "end": 4055, - "loc": { - "start": { - "line": 97, - "column": 4 - }, - "end": { - "line": 113, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 3475, - "end": 3483, - "loc": { - "start": { - "line": 97, - "column": 4 - }, - "end": { - "line": 97, - "column": 12 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 3484, - "end": 3503, - "loc": { - "start": { - "line": 97, - "column": 13 - }, - "end": { - "line": 97, - "column": 32 - } - }, - "extra": { - "rawValue": "with custom cache", - "raw": "'with custom cache'" - }, - "value": "with custom cache" - }, - { - "type": "ArrowFunctionExpression", - "start": 3505, - "end": 4054, - "loc": { - "start": { - "line": 97, - "column": 34 - }, - "end": { - "line": 113, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3511, - "end": 4054, - "loc": { - "start": { - "line": 97, - "column": 40 - }, - "end": { - "line": 113, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3521, - "end": 4048, - "loc": { - "start": { - "line": 98, - "column": 8 - }, - "end": { - "line": 112, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 3521, - "end": 4047, - "loc": { - "start": { - "line": 98, - "column": 8 - }, - "end": { - "line": 112, - "column": 10 - } - }, - "callee": { - "type": "Identifier", - "start": 3521, - "end": 3523, - "loc": { - "start": { - "line": 98, - "column": 8 - }, - "end": { - "line": 98, - "column": 10 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 3524, - "end": 3553, - "loc": { - "start": { - "line": 98, - "column": 11 - }, - "end": { - "line": 98, - "column": 40 - } - }, - "extra": { - "rawValue": "should use the provided map", - "raw": "'should use the provided map'" - }, - "value": "should use the provided map" - }, - { - "type": "ArrowFunctionExpression", - "start": 3555, - "end": 4046, - "loc": { - "start": { - "line": 98, - "column": 42 - }, - "end": { - "line": 112, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3561, - "end": 4046, - "loc": { - "start": { - "line": 98, - "column": 48 - }, - "end": { - "line": 112, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3575, - "end": 3599, - "loc": { - "start": { - "line": 99, - "column": 12 - }, - "end": { - "line": 99, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3581, - "end": 3598, - "loc": { - "start": { - "line": 99, - "column": 18 - }, - "end": { - "line": 99, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 3581, - "end": 3586, - "loc": { - "start": { - "line": 99, - "column": 18 - }, - "end": { - "line": 99, - "column": 23 - }, - "identifierName": "cache" - }, - "name": "cache" - }, - "init": { - "type": "NewExpression", - "start": 3589, - "end": 3598, - "loc": { - "start": { - "line": 99, - "column": 26 - }, - "end": { - "line": 99, - "column": 35 - } - }, - "callee": { - "type": "Identifier", - "start": 3593, - "end": 3596, - "loc": { - "start": { - "line": 99, - "column": 30 - }, - "end": { - "line": 99, - "column": 33 - }, - "identifierName": "Map" - }, - "name": "Map" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ClassDeclaration", - "start": 3612, - "end": 3725, - "loc": { - "start": { - "line": 100, - "column": 12 - }, - "end": { - "line": 104, - "column": 13 - } - }, - "id": { - "type": "Identifier", - "start": 3618, - "end": 3625, - "loc": { - "start": { - "line": 100, - "column": 18 - }, - "end": { - "line": 100, - "column": 25 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 3626, - "end": 3725, - "loc": { - "start": { - "line": 100, - "column": 26 - }, - "end": { - "line": 104, - "column": 13 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 3644, - "end": 3711, - "loc": { - "start": { - "line": 101, - "column": 16 - }, - "end": { - "line": 103, - "column": 17 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 3644, - "end": 3646, - "loc": { - "start": { - "line": 101, - "column": 16 - }, - "end": { - "line": 101, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 3647, - "end": 3651, - "loc": { - "start": { - "line": 101, - "column": 19 - }, - "end": { - "line": 101, - "column": 23 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "BlockStatement", - "start": 3653, - "end": 3711, - "loc": { - "start": { - "line": 101, - "column": 25 - }, - "end": { - "line": 103, - "column": 17 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 3675, - "end": 3693, - "loc": { - "start": { - "line": 102, - "column": 20 - }, - "end": { - "line": 102, - "column": 38 - } - }, - "argument": { - "type": "MemberExpression", - "start": 3682, - "end": 3692, - "loc": { - "start": { - "line": 102, - "column": 27 - }, - "end": { - "line": 102, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 3682, - "end": 3686, - "loc": { - "start": { - "line": 102, - "column": 27 - }, - "end": { - "line": 102, - "column": 31 - }, - "identifierName": "item" - }, - "name": "item" - }, - "property": { - "type": "Identifier", - "start": 3687, - "end": 3692, - "loc": { - "start": { - "line": 102, - "column": 32 - }, - "end": { - "line": 102, - "column": 37 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 3738, - "end": 3840, - "loc": { - "start": { - "line": 105, - "column": 12 - }, - "end": { - "line": 107, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 3738, - "end": 3839, - "loc": { - "start": { - "line": 105, - "column": 12 - }, - "end": { - "line": 107, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3738, - "end": 3756, - "loc": { - "start": { - "line": 105, - "column": 12 - }, - "end": { - "line": 105, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 3738, - "end": 3745, - "loc": { - "start": { - "line": 105, - "column": 12 - }, - "end": { - "line": 105, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 3746, - "end": 3756, - "loc": { - "start": { - "line": 105, - "column": 20 - }, - "end": { - "line": 105, - "column": 30 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 3757, - "end": 3807, - "loc": { - "start": { - "line": 105, - "column": 31 - }, - "end": { - "line": 107, - "column": 13 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 3775, - "end": 3793, - "loc": { - "start": { - "line": 106, - "column": 16 - }, - "end": { - "line": 106, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 3775, - "end": 3782, - "loc": { - "start": { - "line": 106, - "column": 16 - }, - "end": { - "line": 106, - "column": 23 - }, - "identifierName": "Memoize" - }, - "name": "Memoize" - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 3783, - "end": 3792, - "loc": { - "start": { - "line": 106, - "column": 24 - }, - "end": { - "line": 106, - "column": 33 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 3785, - "end": 3790, - "loc": { - "start": { - "line": 106, - "column": 26 - }, - "end": { - "line": 106, - "column": 31 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 3785, - "end": 3790, - "loc": { - "start": { - "line": 106, - "column": 26 - }, - "end": { - "line": 106, - "column": 31 - }, - "identifierName": "cache" - }, - "name": "cache" - }, - "value": { - "type": "Identifier", - "start": 3785, - "end": 3790, - "loc": { - "start": { - "line": 106, - "column": 26 - }, - "end": { - "line": 106, - "column": 31 - }, - "identifierName": "cache" - }, - "name": "cache" - }, - "extra": { - "shorthand": true - } - } - ] - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 3809, - "end": 3826, - "loc": { - "start": { - "line": 107, - "column": 15 - }, - "end": { - "line": 107, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 3809, - "end": 3816, - "loc": { - "start": { - "line": 107, - "column": 15 - }, - "end": { - "line": 107, - "column": 22 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 3817, - "end": 3826, - "loc": { - "start": { - "line": 107, - "column": 23 - }, - "end": { - "line": 107, - "column": 32 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 3828, - "end": 3832, - "loc": { - "start": { - "line": 107, - "column": 34 - }, - "end": { - "line": 107, - "column": 38 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 3834, - "end": 3838, - "loc": { - "start": { - "line": 107, - "column": 40 - }, - "end": { - "line": 107, - "column": 44 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 3853, - "end": 3883, - "loc": { - "start": { - "line": 108, - "column": 12 - }, - "end": { - "line": 108, - "column": 42 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3859, - "end": 3882, - "loc": { - "start": { - "line": 108, - "column": 18 - }, - "end": { - "line": 108, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 3859, - "end": 3866, - "loc": { - "start": { - "line": 108, - "column": 18 - }, - "end": { - "line": 108, - "column": 25 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 3869, - "end": 3882, - "loc": { - "start": { - "line": 108, - "column": 28 - }, - "end": { - "line": 108, - "column": 41 - } - }, - "callee": { - "type": "Identifier", - "start": 3873, - "end": 3880, - "loc": { - "start": { - "line": 108, - "column": 32 - }, - "end": { - "line": 108, - "column": 39 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 3896, - "end": 3927, - "loc": { - "start": { - "line": 109, - "column": 12 - }, - "end": { - "line": 109, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3902, - "end": 3926, - "loc": { - "start": { - "line": 109, - "column": 18 - }, - "end": { - "line": 109, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 3902, - "end": 3910, - "loc": { - "start": { - "line": 109, - "column": 18 - }, - "end": { - "line": 109, - "column": 26 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 3913, - "end": 3926, - "loc": { - "start": { - "line": 109, - "column": 29 - }, - "end": { - "line": 109, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 3917, - "end": 3924, - "loc": { - "start": { - "line": 109, - "column": 33 - }, - "end": { - "line": 109, - "column": 40 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 3940, - "end": 3981, - "loc": { - "start": { - "line": 110, - "column": 12 - }, - "end": { - "line": 110, - "column": 53 - } - }, - "expression": { - "type": "CallExpression", - "start": 3940, - "end": 3980, - "loc": { - "start": { - "line": 110, - "column": 12 - }, - "end": { - "line": 110, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3940, - "end": 3973, - "loc": { - "start": { - "line": 110, - "column": 12 - }, - "end": { - "line": 110, - "column": 45 - } - }, - "object": { - "type": "MemberExpression", - "start": 3940, - "end": 3967, - "loc": { - "start": { - "line": 110, - "column": 12 - }, - "end": { - "line": 110, - "column": 39 - } - }, - "object": { - "type": "CallExpression", - "start": 3940, - "end": 3964, - "loc": { - "start": { - "line": 110, - "column": 12 - }, - "end": { - "line": 110, - "column": 36 - } - }, - "callee": { - "type": "Identifier", - "start": 3940, - "end": 3946, - "loc": { - "start": { - "line": 110, - "column": 12 - }, - "end": { - "line": 110, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 3947, - "end": 3963, - "loc": { - "start": { - "line": 110, - "column": 19 - }, - "end": { - "line": 110, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 3947, - "end": 3957, - "loc": { - "start": { - "line": 110, - "column": 19 - }, - "end": { - "line": 110, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 3947, - "end": 3954, - "loc": { - "start": { - "line": 110, - "column": 19 - }, - "end": { - "line": 110, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 3955, - "end": 3957, - "loc": { - "start": { - "line": 110, - "column": 27 - }, - "end": { - "line": 110, - "column": 29 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3958, - "end": 3963, - "loc": { - "start": { - "line": 110, - "column": 30 - }, - "end": { - "line": 110, - "column": 35 - }, - "identifierName": "cache" - }, - "name": "cache" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 3965, - "end": 3967, - "loc": { - "start": { - "line": 110, - "column": 37 - }, - "end": { - "line": 110, - "column": 39 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3968, - "end": 3973, - "loc": { - "start": { - "line": 110, - "column": 40 - }, - "end": { - "line": 110, - "column": 45 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 3974, - "end": 3979, - "loc": { - "start": { - "line": 110, - "column": 46 - }, - "end": { - "line": 110, - "column": 51 - }, - "identifierName": "cache" - }, - "name": "cache" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 3994, - "end": 4036, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 111, - "column": 54 - } - }, - "expression": { - "type": "CallExpression", - "start": 3994, - "end": 4035, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 111, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3994, - "end": 4028, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 111, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 3994, - "end": 4022, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 111, - "column": 40 - } - }, - "object": { - "type": "CallExpression", - "start": 3994, - "end": 4019, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 111, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 3994, - "end": 4000, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 111, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 4001, - "end": 4018, - "loc": { - "start": { - "line": 111, - "column": 19 - }, - "end": { - "line": 111, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 4001, - "end": 4012, - "loc": { - "start": { - "line": 111, - "column": 19 - }, - "end": { - "line": 111, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 4001, - "end": 4009, - "loc": { - "start": { - "line": 111, - "column": 19 - }, - "end": { - "line": 111, - "column": 27 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 4010, - "end": 4012, - "loc": { - "start": { - "line": 111, - "column": 28 - }, - "end": { - "line": 111, - "column": 30 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 4013, - "end": 4018, - "loc": { - "start": { - "line": 111, - "column": 31 - }, - "end": { - "line": 111, - "column": 36 - }, - "identifierName": "cache" - }, - "name": "cache" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 4020, - "end": 4022, - "loc": { - "start": { - "line": 111, - "column": 38 - }, - "end": { - "line": 111, - "column": 40 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 4023, - "end": 4028, - "loc": { - "start": { - "line": 111, - "column": 41 - }, - "end": { - "line": 111, - "column": 46 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4029, - "end": 4034, - "loc": { - "start": { - "line": 111, - "column": 47 - }, - "end": { - "line": 111, - "column": 52 - }, - "identifierName": "cache" - }, - "name": "cache" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 67, - "_esdocTestName": "it67" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 66, - "_esdocTestName": "describe66" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 58, - "_esdocTestName": "describe58" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "sinon", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 94, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 101, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Memoize", - "start": 103, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 111, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 113, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./memoize", - "start": 118, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 129, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 131, - "end": 139, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 139, - "end": 140, - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "memoize", - "start": 140, - "end": 149, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 149, - "end": 150, - "loc": { - "start": { - "line": 5, - "column": 18 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 151, - "end": 152, - "loc": { - "start": { - "line": 5, - "column": 20 - }, - "end": { - "line": 5, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 152, - "end": 153, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 22 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 154, - "end": 156, - "loc": { - "start": { - "line": 5, - "column": 23 - }, - "end": { - "line": 5, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 157, - "end": 158, - "loc": { - "start": { - "line": 5, - "column": 26 - }, - "end": { - "line": 5, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 163, - "end": 165, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 165, - "end": 166, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should memoize the function", - "start": 166, - "end": 195, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 195, - "end": 196, - "loc": { - "start": { - "line": 6, - "column": 36 - }, - "end": { - "line": 6, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 197, - "end": 198, - "loc": { - "start": { - "line": 6, - "column": 38 - }, - "end": { - "line": 6, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 198, - "end": 199, - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 40 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 200, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 41 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 203, - "end": 204, - "loc": { - "start": { - "line": 6, - "column": 44 - }, - "end": { - "line": 6, - "column": 45 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 213, - "end": 218, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 219, - "end": 223, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 224, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 226, - "end": 229, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 229, - "end": 230, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 230, - "end": 231, - "loc": { - "start": { - "line": 7, - "column": 25 - }, - "end": { - "line": 7, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 231, - "end": 232, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 241, - "end": 246, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 247, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 255, - "end": 256, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 269, - "end": 271, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 272, - "end": 273, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 273, - "end": 274, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 275, - "end": 276, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 293, - "end": 297, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 297, - "end": 298, - "loc": { - "start": { - "line": 10, - "column": 20 - }, - "end": { - "line": 10, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 298, - "end": 299, - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 299, - "end": 300, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 300, - "end": 301, - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 318, - "end": 324, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 324, - "end": 325, - "loc": { - "start": { - "line": 11, - "column": 22 - }, - "end": { - "line": 11, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 325, - "end": 329, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 331, - "end": 340, - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 340, - "end": 341, - "loc": { - "start": { - "line": 11, - "column": 38 - }, - "end": { - "line": 11, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 341, - "end": 342, - "loc": { - "start": { - "line": 11, - "column": 39 - }, - "end": { - "line": 11, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 342, - "end": 344, - "loc": { - "start": { - "line": 11, - "column": 40 - }, - "end": { - "line": 11, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 344, - "end": 345, - "loc": { - "start": { - "line": 11, - "column": 42 - }, - "end": { - "line": 11, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 345, - "end": 350, - "loc": { - "start": { - "line": 11, - "column": 43 - }, - "end": { - "line": 11, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 350, - "end": 351, - "loc": { - "start": { - "line": 11, - "column": 48 - }, - "end": { - "line": 11, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 351, - "end": 358, - "loc": { - "start": { - "line": 11, - "column": 49 - }, - "end": { - "line": 11, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 358, - "end": 359, - "loc": { - "start": { - "line": 11, - "column": 56 - }, - "end": { - "line": 11, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 57 - }, - "end": { - "line": 11, - "column": 58 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 377, - "end": 383, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 384, - "end": 385, - "loc": { - "start": { - "line": 12, - "column": 23 - }, - "end": { - "line": 12, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 12, - "column": 24 - }, - "end": { - "line": 12, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 399, - "end": 400, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 409, - "end": 410, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 419, - "end": 426, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 426, - "end": 427, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 427, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 437, - "end": 438, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 438, - "end": 439, - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Memoize", - "start": 452, - "end": 459, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 459, - "end": 460, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 460, - "end": 461, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 17, - "column": 9 - }, - "end": { - "line": 17, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 473, - "end": 480, - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 480, - "end": 481, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 481, - "end": 490, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 490, - "end": 491, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 492, - "end": 496, - "loc": { - "start": { - "line": 17, - "column": 30 - }, - "end": { - "line": 17, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 496, - "end": 497, - "loc": { - "start": { - "line": 17, - "column": 34 - }, - "end": { - "line": 17, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 498, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 502, - "end": 503, - "loc": { - "start": { - "line": 17, - "column": 40 - }, - "end": { - "line": 17, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 503, - "end": 504, - "loc": { - "start": { - "line": 17, - "column": 41 - }, - "end": { - "line": 17, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 513, - "end": 518, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 519, - "end": 526, - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 527, - "end": 528, - "loc": { - "start": { - "line": 18, - "column": 22 - }, - "end": { - "line": 18, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 529, - "end": 532, - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 533, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 540, - "end": 541, - "loc": { - "start": { - "line": 18, - "column": 35 - }, - "end": { - "line": 18, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 541, - "end": 542, - "loc": { - "start": { - "line": 18, - "column": 36 - }, - "end": { - "line": 18, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 542, - "end": 543, - "loc": { - "start": { - "line": 18, - "column": 37 - }, - "end": { - "line": 18, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 552, - "end": 559, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 559, - "end": 560, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 560, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 562, - "end": 563, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 563, - "end": 564, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 564, - "end": 565, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 565, - "end": 566, - "loc": { - "start": { - "line": 19, - "column": 21 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 575, - "end": 582, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 582, - "end": 583, - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 583, - "end": 585, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 585, - "end": 586, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 586, - "end": 587, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 587, - "end": 588, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 588, - "end": 589, - "loc": { - "start": { - "line": 20, - "column": 21 - }, - "end": { - "line": 20, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 598, - "end": 605, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 605, - "end": 606, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 606, - "end": 608, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 608, - "end": 609, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 609, - "end": 610, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 610, - "end": 611, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 611, - "end": 612, - "loc": { - "start": { - "line": 21, - "column": 21 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 621, - "end": 628, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 628, - "end": 629, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 629, - "end": 631, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 631, - "end": 632, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 632, - "end": 633, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 633, - "end": 634, - "loc": { - "start": { - "line": 22, - "column": 20 - }, - "end": { - "line": 22, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 634, - "end": 635, - "loc": { - "start": { - "line": 22, - "column": 21 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 644, - "end": 651, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 651, - "end": 652, - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 652, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 23, - "column": 18 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 655, - "end": 656, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 656, - "end": 657, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 657, - "end": 658, - "loc": { - "start": { - "line": 23, - "column": 21 - }, - "end": { - "line": 23, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 667, - "end": 673, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 673, - "end": 674, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 674, - "end": 681, - "loc": { - "start": { - "line": 24, - "column": 15 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 681, - "end": 682, - "loc": { - "start": { - "line": 24, - "column": 22 - }, - "end": { - "line": 24, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 682, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 23 - }, - "end": { - "line": 24, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 684, - "end": 685, - "loc": { - "start": { - "line": 24, - "column": 25 - }, - "end": { - "line": 24, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 685, - "end": 686, - "loc": { - "start": { - "line": 24, - "column": 26 - }, - "end": { - "line": 24, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 686, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 687, - "end": 688, - "loc": { - "start": { - "line": 24, - "column": 28 - }, - "end": { - "line": 24, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 688, - "end": 689, - "loc": { - "start": { - "line": 24, - "column": 29 - }, - "end": { - "line": 24, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 689, - "end": 691, - "loc": { - "start": { - "line": 24, - "column": 30 - }, - "end": { - "line": 24, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 691, - "end": 692, - "loc": { - "start": { - "line": 24, - "column": 32 - }, - "end": { - "line": 24, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 692, - "end": 697, - "loc": { - "start": { - "line": 24, - "column": 33 - }, - "end": { - "line": 24, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 697, - "end": 698, - "loc": { - "start": { - "line": 24, - "column": 38 - }, - "end": { - "line": 24, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 24, - "column": 39 - }, - "end": { - "line": 24, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 699, - "end": 700, - "loc": { - "start": { - "line": 24, - "column": 40 - }, - "end": { - "line": 24, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 24, - "column": 41 - }, - "end": { - "line": 24, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 710, - "end": 716, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 716, - "end": 717, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 717, - "end": 721, - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 721, - "end": 722, - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 722, - "end": 731, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 731, - "end": 732, - "loc": { - "start": { - "line": 25, - "column": 29 - }, - "end": { - "line": 25, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 732, - "end": 733, - "loc": { - "start": { - "line": 25, - "column": 30 - }, - "end": { - "line": 25, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 733, - "end": 735, - "loc": { - "start": { - "line": 25, - "column": 31 - }, - "end": { - "line": 25, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 735, - "end": 736, - "loc": { - "start": { - "line": 25, - "column": 33 - }, - "end": { - "line": 25, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 736, - "end": 741, - "loc": { - "start": { - "line": 25, - "column": 34 - }, - "end": { - "line": 25, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 741, - "end": 742, - "loc": { - "start": { - "line": 25, - "column": 39 - }, - "end": { - "line": 25, - "column": 40 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 742, - "end": 743, - "loc": { - "start": { - "line": 25, - "column": 40 - }, - "end": { - "line": 25, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 743, - "end": 744, - "loc": { - "start": { - "line": 25, - "column": 41 - }, - "end": { - "line": 25, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 744, - "end": 745, - "loc": { - "start": { - "line": 25, - "column": 42 - }, - "end": { - "line": 25, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 754, - "end": 761, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 761, - "end": 762, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 762, - "end": 764, - "loc": { - "start": { - "line": 26, - "column": 16 - }, - "end": { - "line": 26, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 764, - "end": 765, - "loc": { - "start": { - "line": 26, - "column": 18 - }, - "end": { - "line": 26, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 765, - "end": 766, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 766, - "end": 767, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 767, - "end": 768, - "loc": { - "start": { - "line": 26, - "column": 21 - }, - "end": { - "line": 26, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 777, - "end": 784, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 784, - "end": 785, - "loc": { - "start": { - "line": 27, - "column": 15 - }, - "end": { - "line": 27, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 785, - "end": 787, - "loc": { - "start": { - "line": 27, - "column": 16 - }, - "end": { - "line": 27, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 787, - "end": 788, - "loc": { - "start": { - "line": 27, - "column": 18 - }, - "end": { - "line": 27, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 788, - "end": 789, - "loc": { - "start": { - "line": 27, - "column": 19 - }, - "end": { - "line": 27, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 789, - "end": 790, - "loc": { - "start": { - "line": 27, - "column": 20 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 790, - "end": 791, - "loc": { - "start": { - "line": 27, - "column": 21 - }, - "end": { - "line": 27, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 800, - "end": 806, - "loc": { - "start": { - "line": 28, - "column": 8 - }, - "end": { - "line": 28, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 806, - "end": 807, - "loc": { - "start": { - "line": 28, - "column": 14 - }, - "end": { - "line": 28, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 807, - "end": 814, - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 814, - "end": 815, - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 815, - "end": 817, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 817, - "end": 818, - "loc": { - "start": { - "line": 28, - "column": 25 - }, - "end": { - "line": 28, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 818, - "end": 819, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 28, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 819, - "end": 820, - "loc": { - "start": { - "line": 28, - "column": 27 - }, - "end": { - "line": 28, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 820, - "end": 821, - "loc": { - "start": { - "line": 28, - "column": 28 - }, - "end": { - "line": 28, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 821, - "end": 822, - "loc": { - "start": { - "line": 28, - "column": 29 - }, - "end": { - "line": 28, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 822, - "end": 824, - "loc": { - "start": { - "line": 28, - "column": 30 - }, - "end": { - "line": 28, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 824, - "end": 825, - "loc": { - "start": { - "line": 28, - "column": 32 - }, - "end": { - "line": 28, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 825, - "end": 830, - "loc": { - "start": { - "line": 28, - "column": 33 - }, - "end": { - "line": 28, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 830, - "end": 831, - "loc": { - "start": { - "line": 28, - "column": 38 - }, - "end": { - "line": 28, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 831, - "end": 832, - "loc": { - "start": { - "line": 28, - "column": 39 - }, - "end": { - "line": 28, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 832, - "end": 833, - "loc": { - "start": { - "line": 28, - "column": 40 - }, - "end": { - "line": 28, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 833, - "end": 834, - "loc": { - "start": { - "line": 28, - "column": 41 - }, - "end": { - "line": 28, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 843, - "end": 849, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 849, - "end": 850, - "loc": { - "start": { - "line": 29, - "column": 14 - }, - "end": { - "line": 29, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 850, - "end": 854, - "loc": { - "start": { - "line": 29, - "column": 15 - }, - "end": { - "line": 29, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 854, - "end": 855, - "loc": { - "start": { - "line": 29, - "column": 19 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 855, - "end": 864, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 864, - "end": 865, - "loc": { - "start": { - "line": 29, - "column": 29 - }, - "end": { - "line": 29, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 865, - "end": 866, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 866, - "end": 868, - "loc": { - "start": { - "line": 29, - "column": 31 - }, - "end": { - "line": 29, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 868, - "end": 869, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 869, - "end": 874, - "loc": { - "start": { - "line": 29, - "column": 34 - }, - "end": { - "line": 29, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 874, - "end": 875, - "loc": { - "start": { - "line": 29, - "column": 39 - }, - "end": { - "line": 29, - "column": 40 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 875, - "end": 876, - "loc": { - "start": { - "line": 29, - "column": 40 - }, - "end": { - "line": 29, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 876, - "end": 877, - "loc": { - "start": { - "line": 29, - "column": 41 - }, - "end": { - "line": 29, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 877, - "end": 878, - "loc": { - "start": { - "line": 29, - "column": 42 - }, - "end": { - "line": 29, - "column": 43 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 883, - "end": 884, - "loc": { - "start": { - "line": 30, - "column": 4 - }, - "end": { - "line": 30, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 884, - "end": 885, - "loc": { - "start": { - "line": 30, - "column": 5 - }, - "end": { - "line": 30, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 885, - "end": 886, - "loc": { - "start": { - "line": 30, - "column": 6 - }, - "end": { - "line": 30, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 891, - "end": 899, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 899, - "end": 900, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "with function resolver", - "start": 900, - "end": 924, - "loc": { - "start": { - "line": 31, - "column": 13 - }, - "end": { - "line": 31, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 924, - "end": 925, - "loc": { - "start": { - "line": 31, - "column": 37 - }, - "end": { - "line": 31, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 926, - "end": 927, - "loc": { - "start": { - "line": 31, - "column": 39 - }, - "end": { - "line": 31, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 927, - "end": 928, - "loc": { - "start": { - "line": 31, - "column": 40 - }, - "end": { - "line": 31, - "column": 41 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 929, - "end": 931, - "loc": { - "start": { - "line": 31, - "column": 42 - }, - "end": { - "line": 31, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 932, - "end": 933, - "loc": { - "start": { - "line": 31, - "column": 45 - }, - "end": { - "line": 31, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 942, - "end": 944, - "loc": { - "start": { - "line": 32, - "column": 8 - }, - "end": { - "line": 32, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 944, - "end": 945, - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 11 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should resolve the key", - "start": 945, - "end": 969, - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 32, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 969, - "end": 970, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 971, - "end": 972, - "loc": { - "start": { - "line": 32, - "column": 37 - }, - "end": { - "line": 32, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 972, - "end": 973, - "loc": { - "start": { - "line": 32, - "column": 38 - }, - "end": { - "line": 32, - "column": 39 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 974, - "end": 976, - "loc": { - "start": { - "line": 32, - "column": 40 - }, - "end": { - "line": 32, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 977, - "end": 978, - "loc": { - "start": { - "line": 32, - "column": 43 - }, - "end": { - "line": 32, - "column": 44 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 991, - "end": 996, - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 33, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 997, - "end": 1001, - "loc": { - "start": { - "line": 33, - "column": 18 - }, - "end": { - "line": 33, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1002, - "end": 1003, - "loc": { - "start": { - "line": 33, - "column": 23 - }, - "end": { - "line": 33, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 1004, - "end": 1007, - "loc": { - "start": { - "line": 33, - "column": 25 - }, - "end": { - "line": 33, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1007, - "end": 1008, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1008, - "end": 1009, - "loc": { - "start": { - "line": 33, - "column": 29 - }, - "end": { - "line": 33, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1009, - "end": 1010, - "loc": { - "start": { - "line": 33, - "column": 30 - }, - "end": { - "line": 33, - "column": 31 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 1023, - "end": 1028, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1029, - "end": 1036, - "loc": { - "start": { - "line": 34, - "column": 18 - }, - "end": { - "line": 34, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1037, - "end": 1038, - "loc": { - "start": { - "line": 34, - "column": 26 - }, - "end": { - "line": 34, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1055, - "end": 1057, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1057, - "end": 1058, - "loc": { - "start": { - "line": 35, - "column": 18 - }, - "end": { - "line": 35, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 1058, - "end": 1062, - "loc": { - "start": { - "line": 35, - "column": 19 - }, - "end": { - "line": 35, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1062, - "end": 1063, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1064, - "end": 1065, - "loc": { - "start": { - "line": 35, - "column": 25 - }, - "end": { - "line": 35, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1086, - "end": 1090, - "loc": { - "start": { - "line": 36, - "column": 20 - }, - "end": { - "line": 36, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1090, - "end": 1091, - "loc": { - "start": { - "line": 36, - "column": 24 - }, - "end": { - "line": 36, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1091, - "end": 1092, - "loc": { - "start": { - "line": 36, - "column": 25 - }, - "end": { - "line": 36, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1092, - "end": 1093, - "loc": { - "start": { - "line": 36, - "column": 26 - }, - "end": { - "line": 36, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1114, - "end": 1120, - "loc": { - "start": { - "line": 37, - "column": 20 - }, - "end": { - "line": 37, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1120, - "end": 1121, - "loc": { - "start": { - "line": 37, - "column": 26 - }, - "end": { - "line": 37, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1121, - "end": 1125, - "loc": { - "start": { - "line": 37, - "column": 27 - }, - "end": { - "line": 37, - "column": 31 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1125, - "end": 1126, - "loc": { - "start": { - "line": 37, - "column": 31 - }, - "end": { - "line": 37, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 1127, - "end": 1136, - "loc": { - "start": { - "line": 37, - "column": 33 - }, - "end": { - "line": 37, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1136, - "end": 1137, - "loc": { - "start": { - "line": 37, - "column": 42 - }, - "end": { - "line": 37, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1137, - "end": 1138, - "loc": { - "start": { - "line": 37, - "column": 43 - }, - "end": { - "line": 37, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1138, - "end": 1140, - "loc": { - "start": { - "line": 37, - "column": 44 - }, - "end": { - "line": 37, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1140, - "end": 1141, - "loc": { - "start": { - "line": 37, - "column": 46 - }, - "end": { - "line": 37, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1141, - "end": 1146, - "loc": { - "start": { - "line": 37, - "column": 47 - }, - "end": { - "line": 37, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1146, - "end": 1147, - "loc": { - "start": { - "line": 37, - "column": 52 - }, - "end": { - "line": 37, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1147, - "end": 1154, - "loc": { - "start": { - "line": 37, - "column": 53 - }, - "end": { - "line": 37, - "column": 60 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1154, - "end": 1155, - "loc": { - "start": { - "line": 37, - "column": 60 - }, - "end": { - "line": 37, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1155, - "end": 1156, - "loc": { - "start": { - "line": 37, - "column": 61 - }, - "end": { - "line": 37, - "column": 62 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 1177, - "end": 1183, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 1184, - "end": 1188, - "loc": { - "start": { - "line": 38, - "column": 27 - }, - "end": { - "line": 38, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1188, - "end": 1189, - "loc": { - "start": { - "line": 38, - "column": 31 - }, - "end": { - "line": 38, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1189, - "end": 1194, - "loc": { - "start": { - "line": 38, - "column": 32 - }, - "end": { - "line": 38, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1194, - "end": 1195, - "loc": { - "start": { - "line": 38, - "column": 37 - }, - "end": { - "line": 38, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1212, - "end": 1213, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1226, - "end": 1227, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1240, - "end": 1247, - "loc": { - "start": { - "line": 41, - "column": 12 - }, - "end": { - "line": 41, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1247, - "end": 1248, - "loc": { - "start": { - "line": 41, - "column": 19 - }, - "end": { - "line": 41, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1248, - "end": 1258, - "loc": { - "start": { - "line": 41, - "column": 20 - }, - "end": { - "line": 41, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1258, - "end": 1259, - "loc": { - "start": { - "line": 41, - "column": 30 - }, - "end": { - "line": 41, - "column": 31 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1259, - "end": 1260, - "loc": { - "start": { - "line": 41, - "column": 31 - }, - "end": { - "line": 41, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Memoize", - "start": 1277, - "end": 1284, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1284, - "end": 1285, - "loc": { - "start": { - "line": 42, - "column": 23 - }, - "end": { - "line": 42, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1285, - "end": 1286, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 1286, - "end": 1290, - "loc": { - "start": { - "line": 42, - "column": 25 - }, - "end": { - "line": 42, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1290, - "end": 1291, - "loc": { - "start": { - "line": 42, - "column": 29 - }, - "end": { - "line": 42, - "column": 30 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1292, - "end": 1294, - "loc": { - "start": { - "line": 42, - "column": 31 - }, - "end": { - "line": 42, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 1295, - "end": 1299, - "loc": { - "start": { - "line": 42, - "column": 34 - }, - "end": { - "line": 42, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1299, - "end": 1300, - "loc": { - "start": { - "line": 42, - "column": 38 - }, - "end": { - "line": 42, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1300, - "end": 1303, - "loc": { - "start": { - "line": 42, - "column": 39 - }, - "end": { - "line": 42, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1303, - "end": 1304, - "loc": { - "start": { - "line": 42, - "column": 42 - }, - "end": { - "line": 42, - "column": 43 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1317, - "end": 1318, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 13 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1318, - "end": 1319, - "loc": { - "start": { - "line": 43, - "column": 13 - }, - "end": { - "line": 43, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1320, - "end": 1327, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1327, - "end": 1328, - "loc": { - "start": { - "line": 43, - "column": 22 - }, - "end": { - "line": 43, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1328, - "end": 1337, - "loc": { - "start": { - "line": 43, - "column": 23 - }, - "end": { - "line": 43, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1337, - "end": 1338, - "loc": { - "start": { - "line": 43, - "column": 32 - }, - "end": { - "line": 43, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 1339, - "end": 1343, - "loc": { - "start": { - "line": 43, - "column": 34 - }, - "end": { - "line": 43, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1343, - "end": 1344, - "loc": { - "start": { - "line": 43, - "column": 38 - }, - "end": { - "line": 43, - "column": 39 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1345, - "end": 1349, - "loc": { - "start": { - "line": 43, - "column": 40 - }, - "end": { - "line": 43, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1349, - "end": 1350, - "loc": { - "start": { - "line": 43, - "column": 44 - }, - "end": { - "line": 43, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1350, - "end": 1351, - "loc": { - "start": { - "line": 43, - "column": 45 - }, - "end": { - "line": 43, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1364, - "end": 1369, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1370, - "end": 1377, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1378, - "end": 1379, - "loc": { - "start": { - "line": 44, - "column": 26 - }, - "end": { - "line": 44, - "column": 27 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1380, - "end": 1383, - "loc": { - "start": { - "line": 44, - "column": 28 - }, - "end": { - "line": 44, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1384, - "end": 1391, - "loc": { - "start": { - "line": 44, - "column": 32 - }, - "end": { - "line": 44, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1391, - "end": 1392, - "loc": { - "start": { - "line": 44, - "column": 39 - }, - "end": { - "line": 44, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1392, - "end": 1393, - "loc": { - "start": { - "line": 44, - "column": 40 - }, - "end": { - "line": 44, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1393, - "end": 1394, - "loc": { - "start": { - "line": 44, - "column": 41 - }, - "end": { - "line": 44, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1407, - "end": 1414, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1414, - "end": 1415, - "loc": { - "start": { - "line": 45, - "column": 19 - }, - "end": { - "line": 45, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1415, - "end": 1417, - "loc": { - "start": { - "line": 45, - "column": 20 - }, - "end": { - "line": 45, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1417, - "end": 1418, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 45, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1418, - "end": 1419, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1420, - "end": 1423, - "loc": { - "start": { - "line": 45, - "column": 25 - }, - "end": { - "line": 45, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1423, - "end": 1424, - "loc": { - "start": { - "line": 45, - "column": 28 - }, - "end": { - "line": 45, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1425, - "end": 1431, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1431, - "end": 1432, - "loc": { - "start": { - "line": 45, - "column": 36 - }, - "end": { - "line": 45, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1433, - "end": 1438, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 43 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1438, - "end": 1439, - "loc": { - "start": { - "line": 45, - "column": 43 - }, - "end": { - "line": 45, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1440, - "end": 1442, - "loc": { - "start": { - "line": 45, - "column": 45 - }, - "end": { - "line": 45, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1443, - "end": 1444, - "loc": { - "start": { - "line": 45, - "column": 48 - }, - "end": { - "line": 45, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1444, - "end": 1445, - "loc": { - "start": { - "line": 45, - "column": 49 - }, - "end": { - "line": 45, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1445, - "end": 1446, - "loc": { - "start": { - "line": 45, - "column": 50 - }, - "end": { - "line": 45, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1459, - "end": 1466, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1466, - "end": 1467, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 46, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1467, - "end": 1469, - "loc": { - "start": { - "line": 46, - "column": 20 - }, - "end": { - "line": 46, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1469, - "end": 1470, - "loc": { - "start": { - "line": 46, - "column": 22 - }, - "end": { - "line": 46, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1470, - "end": 1471, - "loc": { - "start": { - "line": 46, - "column": 23 - }, - "end": { - "line": 46, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1472, - "end": 1475, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1475, - "end": 1476, - "loc": { - "start": { - "line": 46, - "column": 28 - }, - "end": { - "line": 46, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1477, - "end": 1483, - "loc": { - "start": { - "line": 46, - "column": 30 - }, - "end": { - "line": 46, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1483, - "end": 1484, - "loc": { - "start": { - "line": 46, - "column": 36 - }, - "end": { - "line": 46, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1485, - "end": 1490, - "loc": { - "start": { - "line": 46, - "column": 38 - }, - "end": { - "line": 46, - "column": 43 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1490, - "end": 1491, - "loc": { - "start": { - "line": 46, - "column": 43 - }, - "end": { - "line": 46, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 1492, - "end": 1494, - "loc": { - "start": { - "line": 46, - "column": 45 - }, - "end": { - "line": 46, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1495, - "end": 1496, - "loc": { - "start": { - "line": 46, - "column": 48 - }, - "end": { - "line": 46, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1496, - "end": 1497, - "loc": { - "start": { - "line": 46, - "column": 49 - }, - "end": { - "line": 46, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1497, - "end": 1498, - "loc": { - "start": { - "line": 46, - "column": 50 - }, - "end": { - "line": 46, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1511, - "end": 1518, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1518, - "end": 1519, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1519, - "end": 1521, - "loc": { - "start": { - "line": 47, - "column": 20 - }, - "end": { - "line": 47, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1521, - "end": 1522, - "loc": { - "start": { - "line": 47, - "column": 22 - }, - "end": { - "line": 47, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1522, - "end": 1523, - "loc": { - "start": { - "line": 47, - "column": 23 - }, - "end": { - "line": 47, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1524, - "end": 1527, - "loc": { - "start": { - "line": 47, - "column": 25 - }, - "end": { - "line": 47, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1527, - "end": 1528, - "loc": { - "start": { - "line": 47, - "column": 28 - }, - "end": { - "line": 47, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1529, - "end": 1535, - "loc": { - "start": { - "line": 47, - "column": 30 - }, - "end": { - "line": 47, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1535, - "end": 1536, - "loc": { - "start": { - "line": 47, - "column": 36 - }, - "end": { - "line": 47, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1537, - "end": 1542, - "loc": { - "start": { - "line": 47, - "column": 38 - }, - "end": { - "line": 47, - "column": 43 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1542, - "end": 1543, - "loc": { - "start": { - "line": 47, - "column": 43 - }, - "end": { - "line": 47, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 30, - "start": 1544, - "end": 1546, - "loc": { - "start": { - "line": 47, - "column": 45 - }, - "end": { - "line": 47, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1547, - "end": 1548, - "loc": { - "start": { - "line": 47, - "column": 48 - }, - "end": { - "line": 47, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1548, - "end": 1549, - "loc": { - "start": { - "line": 47, - "column": 49 - }, - "end": { - "line": 47, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1549, - "end": 1550, - "loc": { - "start": { - "line": 47, - "column": 50 - }, - "end": { - "line": 47, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1563, - "end": 1569, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1569, - "end": 1570, - "loc": { - "start": { - "line": 48, - "column": 18 - }, - "end": { - "line": 48, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1570, - "end": 1577, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1577, - "end": 1578, - "loc": { - "start": { - "line": 48, - "column": 26 - }, - "end": { - "line": 48, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1578, - "end": 1580, - "loc": { - "start": { - "line": 48, - "column": 27 - }, - "end": { - "line": 48, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1580, - "end": 1581, - "loc": { - "start": { - "line": 48, - "column": 29 - }, - "end": { - "line": 48, - "column": 30 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1581, - "end": 1582, - "loc": { - "start": { - "line": 48, - "column": 30 - }, - "end": { - "line": 48, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1583, - "end": 1586, - "loc": { - "start": { - "line": 48, - "column": 32 - }, - "end": { - "line": 48, - "column": 35 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1586, - "end": 1587, - "loc": { - "start": { - "line": 48, - "column": 35 - }, - "end": { - "line": 48, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1588, - "end": 1594, - "loc": { - "start": { - "line": 48, - "column": 37 - }, - "end": { - "line": 48, - "column": 43 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1594, - "end": 1595, - "loc": { - "start": { - "line": 48, - "column": 43 - }, - "end": { - "line": 48, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1596, - "end": 1601, - "loc": { - "start": { - "line": 48, - "column": 45 - }, - "end": { - "line": 48, - "column": 50 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1601, - "end": 1602, - "loc": { - "start": { - "line": 48, - "column": 50 - }, - "end": { - "line": 48, - "column": 51 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 1603, - "end": 1605, - "loc": { - "start": { - "line": 48, - "column": 52 - }, - "end": { - "line": 48, - "column": 54 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1606, - "end": 1607, - "loc": { - "start": { - "line": 48, - "column": 55 - }, - "end": { - "line": 48, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1607, - "end": 1608, - "loc": { - "start": { - "line": 48, - "column": 56 - }, - "end": { - "line": 48, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1608, - "end": 1609, - "loc": { - "start": { - "line": 48, - "column": 57 - }, - "end": { - "line": 48, - "column": 58 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1609, - "end": 1610, - "loc": { - "start": { - "line": 48, - "column": 58 - }, - "end": { - "line": 48, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1610, - "end": 1612, - "loc": { - "start": { - "line": 48, - "column": 59 - }, - "end": { - "line": 48, - "column": 61 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1612, - "end": 1613, - "loc": { - "start": { - "line": 48, - "column": 61 - }, - "end": { - "line": 48, - "column": 62 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1613, - "end": 1618, - "loc": { - "start": { - "line": 48, - "column": 62 - }, - "end": { - "line": 48, - "column": 67 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1618, - "end": 1619, - "loc": { - "start": { - "line": 48, - "column": 67 - }, - "end": { - "line": 48, - "column": 68 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1619, - "end": 1621, - "loc": { - "start": { - "line": 48, - "column": 68 - }, - "end": { - "line": 48, - "column": 70 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1621, - "end": 1622, - "loc": { - "start": { - "line": 48, - "column": 70 - }, - "end": { - "line": 48, - "column": 71 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1622, - "end": 1623, - "loc": { - "start": { - "line": 48, - "column": 71 - }, - "end": { - "line": 48, - "column": 72 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1636, - "end": 1642, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1642, - "end": 1643, - "loc": { - "start": { - "line": 49, - "column": 18 - }, - "end": { - "line": 49, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1643, - "end": 1647, - "loc": { - "start": { - "line": 49, - "column": 19 - }, - "end": { - "line": 49, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1647, - "end": 1648, - "loc": { - "start": { - "line": 49, - "column": 23 - }, - "end": { - "line": 49, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 1648, - "end": 1657, - "loc": { - "start": { - "line": 49, - "column": 24 - }, - "end": { - "line": 49, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1657, - "end": 1658, - "loc": { - "start": { - "line": 49, - "column": 33 - }, - "end": { - "line": 49, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1658, - "end": 1659, - "loc": { - "start": { - "line": 49, - "column": 34 - }, - "end": { - "line": 49, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1659, - "end": 1661, - "loc": { - "start": { - "line": 49, - "column": 35 - }, - "end": { - "line": 49, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1661, - "end": 1662, - "loc": { - "start": { - "line": 49, - "column": 37 - }, - "end": { - "line": 49, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1662, - "end": 1667, - "loc": { - "start": { - "line": 49, - "column": 38 - }, - "end": { - "line": 49, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1667, - "end": 1668, - "loc": { - "start": { - "line": 49, - "column": 43 - }, - "end": { - "line": 49, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1668, - "end": 1669, - "loc": { - "start": { - "line": 49, - "column": 44 - }, - "end": { - "line": 49, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1669, - "end": 1670, - "loc": { - "start": { - "line": 49, - "column": 45 - }, - "end": { - "line": 49, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1670, - "end": 1671, - "loc": { - "start": { - "line": 49, - "column": 46 - }, - "end": { - "line": 49, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1684, - "end": 1691, - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1691, - "end": 1692, - "loc": { - "start": { - "line": 50, - "column": 19 - }, - "end": { - "line": 50, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1692, - "end": 1694, - "loc": { - "start": { - "line": 50, - "column": 20 - }, - "end": { - "line": 50, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1694, - "end": 1695, - "loc": { - "start": { - "line": 50, - "column": 22 - }, - "end": { - "line": 50, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1695, - "end": 1696, - "loc": { - "start": { - "line": 50, - "column": 23 - }, - "end": { - "line": 50, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1697, - "end": 1700, - "loc": { - "start": { - "line": 50, - "column": 25 - }, - "end": { - "line": 50, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1700, - "end": 1701, - "loc": { - "start": { - "line": 50, - "column": 28 - }, - "end": { - "line": 50, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test2", - "start": 1702, - "end": 1709, - "loc": { - "start": { - "line": 50, - "column": 30 - }, - "end": { - "line": 50, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1709, - "end": 1710, - "loc": { - "start": { - "line": 50, - "column": 37 - }, - "end": { - "line": 50, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1711, - "end": 1716, - "loc": { - "start": { - "line": 50, - "column": 39 - }, - "end": { - "line": 50, - "column": 44 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1716, - "end": 1717, - "loc": { - "start": { - "line": 50, - "column": 44 - }, - "end": { - "line": 50, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 30, - "start": 1718, - "end": 1720, - "loc": { - "start": { - "line": 50, - "column": 46 - }, - "end": { - "line": 50, - "column": 48 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1721, - "end": 1722, - "loc": { - "start": { - "line": 50, - "column": 49 - }, - "end": { - "line": 50, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1722, - "end": 1723, - "loc": { - "start": { - "line": 50, - "column": 50 - }, - "end": { - "line": 50, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1723, - "end": 1724, - "loc": { - "start": { - "line": 50, - "column": 51 - }, - "end": { - "line": 50, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1737, - "end": 1743, - "loc": { - "start": { - "line": 51, - "column": 12 - }, - "end": { - "line": 51, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1743, - "end": 1744, - "loc": { - "start": { - "line": 51, - "column": 18 - }, - "end": { - "line": 51, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1744, - "end": 1751, - "loc": { - "start": { - "line": 51, - "column": 19 - }, - "end": { - "line": 51, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1751, - "end": 1752, - "loc": { - "start": { - "line": 51, - "column": 26 - }, - "end": { - "line": 51, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1752, - "end": 1754, - "loc": { - "start": { - "line": 51, - "column": 27 - }, - "end": { - "line": 51, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1754, - "end": 1755, - "loc": { - "start": { - "line": 51, - "column": 29 - }, - "end": { - "line": 51, - "column": 30 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1755, - "end": 1756, - "loc": { - "start": { - "line": 51, - "column": 30 - }, - "end": { - "line": 51, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1757, - "end": 1760, - "loc": { - "start": { - "line": 51, - "column": 32 - }, - "end": { - "line": 51, - "column": 35 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1760, - "end": 1761, - "loc": { - "start": { - "line": 51, - "column": 35 - }, - "end": { - "line": 51, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test2", - "start": 1762, - "end": 1769, - "loc": { - "start": { - "line": 51, - "column": 37 - }, - "end": { - "line": 51, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1769, - "end": 1770, - "loc": { - "start": { - "line": 51, - "column": 44 - }, - "end": { - "line": 51, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1771, - "end": 1776, - "loc": { - "start": { - "line": 51, - "column": 46 - }, - "end": { - "line": 51, - "column": 51 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1776, - "end": 1777, - "loc": { - "start": { - "line": 51, - "column": 51 - }, - "end": { - "line": 51, - "column": 52 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 1778, - "end": 1780, - "loc": { - "start": { - "line": 51, - "column": 53 - }, - "end": { - "line": 51, - "column": 55 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1781, - "end": 1782, - "loc": { - "start": { - "line": 51, - "column": 56 - }, - "end": { - "line": 51, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1782, - "end": 1783, - "loc": { - "start": { - "line": 51, - "column": 57 - }, - "end": { - "line": 51, - "column": 58 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1783, - "end": 1784, - "loc": { - "start": { - "line": 51, - "column": 58 - }, - "end": { - "line": 51, - "column": 59 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1784, - "end": 1785, - "loc": { - "start": { - "line": 51, - "column": 59 - }, - "end": { - "line": 51, - "column": 60 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1785, - "end": 1787, - "loc": { - "start": { - "line": 51, - "column": 60 - }, - "end": { - "line": 51, - "column": 62 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1787, - "end": 1788, - "loc": { - "start": { - "line": 51, - "column": 62 - }, - "end": { - "line": 51, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1788, - "end": 1793, - "loc": { - "start": { - "line": 51, - "column": 63 - }, - "end": { - "line": 51, - "column": 68 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1793, - "end": 1794, - "loc": { - "start": { - "line": 51, - "column": 68 - }, - "end": { - "line": 51, - "column": 69 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 30, - "start": 1794, - "end": 1796, - "loc": { - "start": { - "line": 51, - "column": 69 - }, - "end": { - "line": 51, - "column": 71 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1796, - "end": 1797, - "loc": { - "start": { - "line": 51, - "column": 71 - }, - "end": { - "line": 51, - "column": 72 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1797, - "end": 1798, - "loc": { - "start": { - "line": 51, - "column": 72 - }, - "end": { - "line": 51, - "column": 73 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1811, - "end": 1817, - "loc": { - "start": { - "line": 52, - "column": 12 - }, - "end": { - "line": 52, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1817, - "end": 1818, - "loc": { - "start": { - "line": 52, - "column": 18 - }, - "end": { - "line": 52, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1818, - "end": 1822, - "loc": { - "start": { - "line": 52, - "column": 19 - }, - "end": { - "line": 52, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1822, - "end": 1823, - "loc": { - "start": { - "line": 52, - "column": 23 - }, - "end": { - "line": 52, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 1823, - "end": 1832, - "loc": { - "start": { - "line": 52, - "column": 24 - }, - "end": { - "line": 52, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1832, - "end": 1833, - "loc": { - "start": { - "line": 52, - "column": 33 - }, - "end": { - "line": 52, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1833, - "end": 1834, - "loc": { - "start": { - "line": 52, - "column": 34 - }, - "end": { - "line": 52, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1834, - "end": 1836, - "loc": { - "start": { - "line": 52, - "column": 35 - }, - "end": { - "line": 52, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1836, - "end": 1837, - "loc": { - "start": { - "line": 52, - "column": 37 - }, - "end": { - "line": 52, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1837, - "end": 1842, - "loc": { - "start": { - "line": 52, - "column": 38 - }, - "end": { - "line": 52, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1842, - "end": 1843, - "loc": { - "start": { - "line": 52, - "column": 43 - }, - "end": { - "line": 52, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 1843, - "end": 1844, - "loc": { - "start": { - "line": 52, - "column": 44 - }, - "end": { - "line": 52, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1844, - "end": 1845, - "loc": { - "start": { - "line": 52, - "column": 45 - }, - "end": { - "line": 52, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1845, - "end": 1846, - "loc": { - "start": { - "line": 52, - "column": 46 - }, - "end": { - "line": 52, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1855, - "end": 1856, - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1856, - "end": 1857, - "loc": { - "start": { - "line": 53, - "column": 9 - }, - "end": { - "line": 53, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1857, - "end": 1858, - "loc": { - "start": { - "line": 53, - "column": 10 - }, - "end": { - "line": 53, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1863, - "end": 1864, - "loc": { - "start": { - "line": 54, - "column": 4 - }, - "end": { - "line": 54, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1864, - "end": 1865, - "loc": { - "start": { - "line": 54, - "column": 5 - }, - "end": { - "line": 54, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1865, - "end": 1866, - "loc": { - "start": { - "line": 54, - "column": 6 - }, - "end": { - "line": 54, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 1871, - "end": 1879, - "loc": { - "start": { - "line": 55, - "column": 4 - }, - "end": { - "line": 55, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1879, - "end": 1880, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "with string resolver", - "start": 1880, - "end": 1902, - "loc": { - "start": { - "line": 55, - "column": 13 - }, - "end": { - "line": 55, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1902, - "end": 1903, - "loc": { - "start": { - "line": 55, - "column": 35 - }, - "end": { - "line": 55, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1904, - "end": 1905, - "loc": { - "start": { - "line": 55, - "column": 37 - }, - "end": { - "line": 55, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1905, - "end": 1906, - "loc": { - "start": { - "line": 55, - "column": 38 - }, - "end": { - "line": 55, - "column": 39 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1907, - "end": 1909, - "loc": { - "start": { - "line": 55, - "column": 40 - }, - "end": { - "line": 55, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1910, - "end": 1911, - "loc": { - "start": { - "line": 55, - "column": 43 - }, - "end": { - "line": 55, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 1920, - "end": 1922, - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 56, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1922, - "end": 1923, - "loc": { - "start": { - "line": 56, - "column": 10 - }, - "end": { - "line": 56, - "column": 11 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should resolve the key", - "start": 1923, - "end": 1947, - "loc": { - "start": { - "line": 56, - "column": 11 - }, - "end": { - "line": 56, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1947, - "end": 1948, - "loc": { - "start": { - "line": 56, - "column": 35 - }, - "end": { - "line": 56, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1949, - "end": 1950, - "loc": { - "start": { - "line": 56, - "column": 37 - }, - "end": { - "line": 56, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1950, - "end": 1951, - "loc": { - "start": { - "line": 56, - "column": 38 - }, - "end": { - "line": 56, - "column": 39 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1952, - "end": 1954, - "loc": { - "start": { - "line": 56, - "column": 40 - }, - "end": { - "line": 56, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1955, - "end": 1956, - "loc": { - "start": { - "line": 56, - "column": 43 - }, - "end": { - "line": 56, - "column": 44 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1969, - "end": 1974, - "loc": { - "start": { - "line": 57, - "column": 12 - }, - "end": { - "line": 57, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1975, - "end": 1979, - "loc": { - "start": { - "line": 57, - "column": 18 - }, - "end": { - "line": 57, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1980, - "end": 1981, - "loc": { - "start": { - "line": 57, - "column": 23 - }, - "end": { - "line": 57, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 1982, - "end": 1985, - "loc": { - "start": { - "line": 57, - "column": 25 - }, - "end": { - "line": 57, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1985, - "end": 1986, - "loc": { - "start": { - "line": 57, - "column": 28 - }, - "end": { - "line": 57, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1986, - "end": 1987, - "loc": { - "start": { - "line": 57, - "column": 29 - }, - "end": { - "line": 57, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1987, - "end": 1988, - "loc": { - "start": { - "line": 57, - "column": 30 - }, - "end": { - "line": 57, - "column": 31 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 2001, - "end": 2006, - "loc": { - "start": { - "line": 58, - "column": 12 - }, - "end": { - "line": 58, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 2007, - "end": 2014, - "loc": { - "start": { - "line": 58, - "column": 18 - }, - "end": { - "line": 58, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2015, - "end": 2016, - "loc": { - "start": { - "line": 58, - "column": 26 - }, - "end": { - "line": 58, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2033, - "end": 2035, - "loc": { - "start": { - "line": 59, - "column": 16 - }, - "end": { - "line": 59, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2035, - "end": 2036, - "loc": { - "start": { - "line": 59, - "column": 18 - }, - "end": { - "line": 59, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 2036, - "end": 2040, - "loc": { - "start": { - "line": 59, - "column": 19 - }, - "end": { - "line": 59, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2040, - "end": 2041, - "loc": { - "start": { - "line": 59, - "column": 23 - }, - "end": { - "line": 59, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2042, - "end": 2043, - "loc": { - "start": { - "line": 59, - "column": 25 - }, - "end": { - "line": 59, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 2064, - "end": 2068, - "loc": { - "start": { - "line": 60, - "column": 20 - }, - "end": { - "line": 60, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2068, - "end": 2069, - "loc": { - "start": { - "line": 60, - "column": 24 - }, - "end": { - "line": 60, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2069, - "end": 2070, - "loc": { - "start": { - "line": 60, - "column": 25 - }, - "end": { - "line": 60, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2070, - "end": 2071, - "loc": { - "start": { - "line": 60, - "column": 26 - }, - "end": { - "line": 60, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2092, - "end": 2098, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2098, - "end": 2099, - "loc": { - "start": { - "line": 61, - "column": 26 - }, - "end": { - "line": 61, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2099, - "end": 2103, - "loc": { - "start": { - "line": 61, - "column": 27 - }, - "end": { - "line": 61, - "column": 31 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2103, - "end": 2104, - "loc": { - "start": { - "line": 61, - "column": 31 - }, - "end": { - "line": 61, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 2105, - "end": 2114, - "loc": { - "start": { - "line": 61, - "column": 33 - }, - "end": { - "line": 61, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2114, - "end": 2115, - "loc": { - "start": { - "line": 61, - "column": 42 - }, - "end": { - "line": 61, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2115, - "end": 2116, - "loc": { - "start": { - "line": 61, - "column": 43 - }, - "end": { - "line": 61, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2116, - "end": 2118, - "loc": { - "start": { - "line": 61, - "column": 44 - }, - "end": { - "line": 61, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2118, - "end": 2119, - "loc": { - "start": { - "line": 61, - "column": 46 - }, - "end": { - "line": 61, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 2119, - "end": 2124, - "loc": { - "start": { - "line": 61, - "column": 47 - }, - "end": { - "line": 61, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2124, - "end": 2125, - "loc": { - "start": { - "line": 61, - "column": 52 - }, - "end": { - "line": 61, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2125, - "end": 2132, - "loc": { - "start": { - "line": 61, - "column": 53 - }, - "end": { - "line": 61, - "column": 60 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2132, - "end": 2133, - "loc": { - "start": { - "line": 61, - "column": 60 - }, - "end": { - "line": 61, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2133, - "end": 2134, - "loc": { - "start": { - "line": 61, - "column": 61 - }, - "end": { - "line": 61, - "column": 62 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 2155, - "end": 2161, - "loc": { - "start": { - "line": 62, - "column": 20 - }, - "end": { - "line": 62, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 2162, - "end": 2166, - "loc": { - "start": { - "line": 62, - "column": 27 - }, - "end": { - "line": 62, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2166, - "end": 2167, - "loc": { - "start": { - "line": 62, - "column": 31 - }, - "end": { - "line": 62, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 2167, - "end": 2172, - "loc": { - "start": { - "line": 62, - "column": 32 - }, - "end": { - "line": 62, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2172, - "end": 2173, - "loc": { - "start": { - "line": 62, - "column": 37 - }, - "end": { - "line": 62, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2190, - "end": 2191, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "resolve", - "start": 2208, - "end": 2215, - "loc": { - "start": { - "line": 64, - "column": 16 - }, - "end": { - "line": 64, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2215, - "end": 2216, - "loc": { - "start": { - "line": 64, - "column": 23 - }, - "end": { - "line": 64, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 2216, - "end": 2220, - "loc": { - "start": { - "line": 64, - "column": 24 - }, - "end": { - "line": 64, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2220, - "end": 2221, - "loc": { - "start": { - "line": 64, - "column": 28 - }, - "end": { - "line": 64, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2222, - "end": 2223, - "loc": { - "start": { - "line": 64, - "column": 30 - }, - "end": { - "line": 64, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2244, - "end": 2250, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2250, - "end": 2251, - "loc": { - "start": { - "line": 65, - "column": 26 - }, - "end": { - "line": 65, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2251, - "end": 2255, - "loc": { - "start": { - "line": 65, - "column": 27 - }, - "end": { - "line": 65, - "column": 31 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2255, - "end": 2256, - "loc": { - "start": { - "line": 65, - "column": 31 - }, - "end": { - "line": 65, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "resolver context", - "start": 2257, - "end": 2275, - "loc": { - "start": { - "line": 65, - "column": 33 - }, - "end": { - "line": 65, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2275, - "end": 2276, - "loc": { - "start": { - "line": 65, - "column": 51 - }, - "end": { - "line": 65, - "column": 52 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2276, - "end": 2277, - "loc": { - "start": { - "line": 65, - "column": 52 - }, - "end": { - "line": 65, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2277, - "end": 2279, - "loc": { - "start": { - "line": 65, - "column": 53 - }, - "end": { - "line": 65, - "column": 55 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2279, - "end": 2280, - "loc": { - "start": { - "line": 65, - "column": 55 - }, - "end": { - "line": 65, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 2280, - "end": 2285, - "loc": { - "start": { - "line": 65, - "column": 56 - }, - "end": { - "line": 65, - "column": 61 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2285, - "end": 2286, - "loc": { - "start": { - "line": 65, - "column": 61 - }, - "end": { - "line": 65, - "column": 62 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2286, - "end": 2293, - "loc": { - "start": { - "line": 65, - "column": 62 - }, - "end": { - "line": 65, - "column": 69 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2293, - "end": 2294, - "loc": { - "start": { - "line": 65, - "column": 69 - }, - "end": { - "line": 65, - "column": 70 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2294, - "end": 2295, - "loc": { - "start": { - "line": 65, - "column": 70 - }, - "end": { - "line": 65, - "column": 71 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 2316, - "end": 2322, - "loc": { - "start": { - "line": 66, - "column": 20 - }, - "end": { - "line": 66, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 2323, - "end": 2327, - "loc": { - "start": { - "line": 66, - "column": 27 - }, - "end": { - "line": 66, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2327, - "end": 2328, - "loc": { - "start": { - "line": 66, - "column": 31 - }, - "end": { - "line": 66, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 2328, - "end": 2331, - "loc": { - "start": { - "line": 66, - "column": 32 - }, - "end": { - "line": 66, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2331, - "end": 2332, - "loc": { - "start": { - "line": 66, - "column": 35 - }, - "end": { - "line": 66, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2349, - "end": 2350, - "loc": { - "start": { - "line": 67, - "column": 16 - }, - "end": { - "line": 67, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2363, - "end": 2364, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 2377, - "end": 2384, - "loc": { - "start": { - "line": 69, - "column": 12 - }, - "end": { - "line": 69, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2384, - "end": 2385, - "loc": { - "start": { - "line": 69, - "column": 19 - }, - "end": { - "line": 69, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 2385, - "end": 2395, - "loc": { - "start": { - "line": 69, - "column": 20 - }, - "end": { - "line": 69, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2395, - "end": 2396, - "loc": { - "start": { - "line": 69, - "column": 30 - }, - "end": { - "line": 69, - "column": 31 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2396, - "end": 2397, - "loc": { - "start": { - "line": 69, - "column": 31 - }, - "end": { - "line": 69, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Memoize", - "start": 2414, - "end": 2421, - "loc": { - "start": { - "line": 70, - "column": 16 - }, - "end": { - "line": 70, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2421, - "end": 2422, - "loc": { - "start": { - "line": 70, - "column": 23 - }, - "end": { - "line": 70, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "resolve", - "start": 2422, - "end": 2431, - "loc": { - "start": { - "line": 70, - "column": 24 - }, - "end": { - "line": 70, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2431, - "end": 2432, - "loc": { - "start": { - "line": 70, - "column": 33 - }, - "end": { - "line": 70, - "column": 34 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2445, - "end": 2446, - "loc": { - "start": { - "line": 71, - "column": 12 - }, - "end": { - "line": 71, - "column": 13 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2446, - "end": 2447, - "loc": { - "start": { - "line": 71, - "column": 13 - }, - "end": { - "line": 71, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 2448, - "end": 2455, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2455, - "end": 2456, - "loc": { - "start": { - "line": 71, - "column": 22 - }, - "end": { - "line": 71, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 2456, - "end": 2465, - "loc": { - "start": { - "line": 71, - "column": 23 - }, - "end": { - "line": 71, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2465, - "end": 2466, - "loc": { - "start": { - "line": 71, - "column": 32 - }, - "end": { - "line": 71, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 2467, - "end": 2471, - "loc": { - "start": { - "line": 71, - "column": 34 - }, - "end": { - "line": 71, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2471, - "end": 2472, - "loc": { - "start": { - "line": 71, - "column": 38 - }, - "end": { - "line": 71, - "column": 39 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 2473, - "end": 2477, - "loc": { - "start": { - "line": 71, - "column": 40 - }, - "end": { - "line": 71, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2477, - "end": 2478, - "loc": { - "start": { - "line": 71, - "column": 44 - }, - "end": { - "line": 71, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2478, - "end": 2479, - "loc": { - "start": { - "line": 71, - "column": 45 - }, - "end": { - "line": 71, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 2492, - "end": 2497, - "loc": { - "start": { - "line": 72, - "column": 12 - }, - "end": { - "line": 72, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2498, - "end": 2505, - "loc": { - "start": { - "line": 72, - "column": 18 - }, - "end": { - "line": 72, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2506, - "end": 2507, - "loc": { - "start": { - "line": 72, - "column": 26 - }, - "end": { - "line": 72, - "column": 27 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 2508, - "end": 2511, - "loc": { - "start": { - "line": 72, - "column": 28 - }, - "end": { - "line": 72, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 2512, - "end": 2519, - "loc": { - "start": { - "line": 72, - "column": 32 - }, - "end": { - "line": 72, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2519, - "end": 2520, - "loc": { - "start": { - "line": 72, - "column": 39 - }, - "end": { - "line": 72, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2520, - "end": 2521, - "loc": { - "start": { - "line": 72, - "column": 40 - }, - "end": { - "line": 72, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2521, - "end": 2522, - "loc": { - "start": { - "line": 72, - "column": 41 - }, - "end": { - "line": 72, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2535, - "end": 2542, - "loc": { - "start": { - "line": 73, - "column": 12 - }, - "end": { - "line": 73, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2542, - "end": 2543, - "loc": { - "start": { - "line": 73, - "column": 19 - }, - "end": { - "line": 73, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2543, - "end": 2545, - "loc": { - "start": { - "line": 73, - "column": 20 - }, - "end": { - "line": 73, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2545, - "end": 2546, - "loc": { - "start": { - "line": 73, - "column": 22 - }, - "end": { - "line": 73, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2546, - "end": 2547, - "loc": { - "start": { - "line": 73, - "column": 23 - }, - "end": { - "line": 73, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 2548, - "end": 2551, - "loc": { - "start": { - "line": 73, - "column": 25 - }, - "end": { - "line": 73, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2551, - "end": 2552, - "loc": { - "start": { - "line": 73, - "column": 28 - }, - "end": { - "line": 73, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 2553, - "end": 2559, - "loc": { - "start": { - "line": 73, - "column": 30 - }, - "end": { - "line": 73, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2559, - "end": 2560, - "loc": { - "start": { - "line": 73, - "column": 36 - }, - "end": { - "line": 73, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 2561, - "end": 2566, - "loc": { - "start": { - "line": 73, - "column": 38 - }, - "end": { - "line": 73, - "column": 43 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2566, - "end": 2567, - "loc": { - "start": { - "line": 73, - "column": 43 - }, - "end": { - "line": 73, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 2568, - "end": 2570, - "loc": { - "start": { - "line": 73, - "column": 45 - }, - "end": { - "line": 73, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2571, - "end": 2572, - "loc": { - "start": { - "line": 73, - "column": 48 - }, - "end": { - "line": 73, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2572, - "end": 2573, - "loc": { - "start": { - "line": 73, - "column": 49 - }, - "end": { - "line": 73, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2573, - "end": 2574, - "loc": { - "start": { - "line": 73, - "column": 50 - }, - "end": { - "line": 73, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2587, - "end": 2594, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2594, - "end": 2595, - "loc": { - "start": { - "line": 74, - "column": 19 - }, - "end": { - "line": 74, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2595, - "end": 2597, - "loc": { - "start": { - "line": 74, - "column": 20 - }, - "end": { - "line": 74, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2597, - "end": 2598, - "loc": { - "start": { - "line": 74, - "column": 22 - }, - "end": { - "line": 74, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2598, - "end": 2599, - "loc": { - "start": { - "line": 74, - "column": 23 - }, - "end": { - "line": 74, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 2600, - "end": 2603, - "loc": { - "start": { - "line": 74, - "column": 25 - }, - "end": { - "line": 74, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2603, - "end": 2604, - "loc": { - "start": { - "line": 74, - "column": 28 - }, - "end": { - "line": 74, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 2605, - "end": 2611, - "loc": { - "start": { - "line": 74, - "column": 30 - }, - "end": { - "line": 74, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2611, - "end": 2612, - "loc": { - "start": { - "line": 74, - "column": 36 - }, - "end": { - "line": 74, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 2613, - "end": 2618, - "loc": { - "start": { - "line": 74, - "column": 38 - }, - "end": { - "line": 74, - "column": 43 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2618, - "end": 2619, - "loc": { - "start": { - "line": 74, - "column": 43 - }, - "end": { - "line": 74, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 2620, - "end": 2622, - "loc": { - "start": { - "line": 74, - "column": 45 - }, - "end": { - "line": 74, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2623, - "end": 2624, - "loc": { - "start": { - "line": 74, - "column": 48 - }, - "end": { - "line": 74, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2624, - "end": 2625, - "loc": { - "start": { - "line": 74, - "column": 49 - }, - "end": { - "line": 74, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2625, - "end": 2626, - "loc": { - "start": { - "line": 74, - "column": 50 - }, - "end": { - "line": 74, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2639, - "end": 2646, - "loc": { - "start": { - "line": 75, - "column": 12 - }, - "end": { - "line": 75, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2646, - "end": 2647, - "loc": { - "start": { - "line": 75, - "column": 19 - }, - "end": { - "line": 75, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2647, - "end": 2649, - "loc": { - "start": { - "line": 75, - "column": 20 - }, - "end": { - "line": 75, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2649, - "end": 2650, - "loc": { - "start": { - "line": 75, - "column": 22 - }, - "end": { - "line": 75, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2650, - "end": 2651, - "loc": { - "start": { - "line": 75, - "column": 23 - }, - "end": { - "line": 75, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 2652, - "end": 2655, - "loc": { - "start": { - "line": 75, - "column": 25 - }, - "end": { - "line": 75, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2655, - "end": 2656, - "loc": { - "start": { - "line": 75, - "column": 28 - }, - "end": { - "line": 75, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 2657, - "end": 2663, - "loc": { - "start": { - "line": 75, - "column": 30 - }, - "end": { - "line": 75, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2663, - "end": 2664, - "loc": { - "start": { - "line": 75, - "column": 36 - }, - "end": { - "line": 75, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 2665, - "end": 2670, - "loc": { - "start": { - "line": 75, - "column": 38 - }, - "end": { - "line": 75, - "column": 43 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2670, - "end": 2671, - "loc": { - "start": { - "line": 75, - "column": 43 - }, - "end": { - "line": 75, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 30, - "start": 2672, - "end": 2674, - "loc": { - "start": { - "line": 75, - "column": 45 - }, - "end": { - "line": 75, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2675, - "end": 2676, - "loc": { - "start": { - "line": 75, - "column": 48 - }, - "end": { - "line": 75, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2676, - "end": 2677, - "loc": { - "start": { - "line": 75, - "column": 49 - }, - "end": { - "line": 75, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2677, - "end": 2678, - "loc": { - "start": { - "line": 75, - "column": 50 - }, - "end": { - "line": 75, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2691, - "end": 2697, - "loc": { - "start": { - "line": 76, - "column": 12 - }, - "end": { - "line": 76, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2697, - "end": 2698, - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2698, - "end": 2705, - "loc": { - "start": { - "line": 76, - "column": 19 - }, - "end": { - "line": 76, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2705, - "end": 2706, - "loc": { - "start": { - "line": 76, - "column": 26 - }, - "end": { - "line": 76, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2706, - "end": 2708, - "loc": { - "start": { - "line": 76, - "column": 27 - }, - "end": { - "line": 76, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2708, - "end": 2709, - "loc": { - "start": { - "line": 76, - "column": 29 - }, - "end": { - "line": 76, - "column": 30 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2709, - "end": 2710, - "loc": { - "start": { - "line": 76, - "column": 30 - }, - "end": { - "line": 76, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 2711, - "end": 2714, - "loc": { - "start": { - "line": 76, - "column": 32 - }, - "end": { - "line": 76, - "column": 35 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2714, - "end": 2715, - "loc": { - "start": { - "line": 76, - "column": 35 - }, - "end": { - "line": 76, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 2716, - "end": 2722, - "loc": { - "start": { - "line": 76, - "column": 37 - }, - "end": { - "line": 76, - "column": 43 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2722, - "end": 2723, - "loc": { - "start": { - "line": 76, - "column": 43 - }, - "end": { - "line": 76, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 2724, - "end": 2729, - "loc": { - "start": { - "line": 76, - "column": 45 - }, - "end": { - "line": 76, - "column": 50 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2729, - "end": 2730, - "loc": { - "start": { - "line": 76, - "column": 50 - }, - "end": { - "line": 76, - "column": 51 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 2731, - "end": 2733, - "loc": { - "start": { - "line": 76, - "column": 52 - }, - "end": { - "line": 76, - "column": 54 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2734, - "end": 2735, - "loc": { - "start": { - "line": 76, - "column": 55 - }, - "end": { - "line": 76, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2735, - "end": 2736, - "loc": { - "start": { - "line": 76, - "column": 56 - }, - "end": { - "line": 76, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2736, - "end": 2737, - "loc": { - "start": { - "line": 76, - "column": 57 - }, - "end": { - "line": 76, - "column": 58 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2737, - "end": 2738, - "loc": { - "start": { - "line": 76, - "column": 58 - }, - "end": { - "line": 76, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2738, - "end": 2740, - "loc": { - "start": { - "line": 76, - "column": 59 - }, - "end": { - "line": 76, - "column": 61 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2740, - "end": 2741, - "loc": { - "start": { - "line": 76, - "column": 61 - }, - "end": { - "line": 76, - "column": 62 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 2741, - "end": 2746, - "loc": { - "start": { - "line": 76, - "column": 62 - }, - "end": { - "line": 76, - "column": 67 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2746, - "end": 2747, - "loc": { - "start": { - "line": 76, - "column": 67 - }, - "end": { - "line": 76, - "column": 68 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 2747, - "end": 2749, - "loc": { - "start": { - "line": 76, - "column": 68 - }, - "end": { - "line": 76, - "column": 70 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2749, - "end": 2750, - "loc": { - "start": { - "line": 76, - "column": 70 - }, - "end": { - "line": 76, - "column": 71 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2750, - "end": 2751, - "loc": { - "start": { - "line": 76, - "column": 71 - }, - "end": { - "line": 76, - "column": 72 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2764, - "end": 2770, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2770, - "end": 2771, - "loc": { - "start": { - "line": 77, - "column": 18 - }, - "end": { - "line": 77, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 2771, - "end": 2775, - "loc": { - "start": { - "line": 77, - "column": 19 - }, - "end": { - "line": 77, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2775, - "end": 2776, - "loc": { - "start": { - "line": 77, - "column": 23 - }, - "end": { - "line": 77, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 2776, - "end": 2785, - "loc": { - "start": { - "line": 77, - "column": 24 - }, - "end": { - "line": 77, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2785, - "end": 2786, - "loc": { - "start": { - "line": 77, - "column": 33 - }, - "end": { - "line": 77, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2786, - "end": 2787, - "loc": { - "start": { - "line": 77, - "column": 34 - }, - "end": { - "line": 77, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2787, - "end": 2789, - "loc": { - "start": { - "line": 77, - "column": 35 - }, - "end": { - "line": 77, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2789, - "end": 2790, - "loc": { - "start": { - "line": 77, - "column": 37 - }, - "end": { - "line": 77, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 2790, - "end": 2795, - "loc": { - "start": { - "line": 77, - "column": 38 - }, - "end": { - "line": 77, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2795, - "end": 2796, - "loc": { - "start": { - "line": 77, - "column": 43 - }, - "end": { - "line": 77, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 2796, - "end": 2797, - "loc": { - "start": { - "line": 77, - "column": 44 - }, - "end": { - "line": 77, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2797, - "end": 2798, - "loc": { - "start": { - "line": 77, - "column": 45 - }, - "end": { - "line": 77, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2798, - "end": 2799, - "loc": { - "start": { - "line": 77, - "column": 46 - }, - "end": { - "line": 77, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2812, - "end": 2819, - "loc": { - "start": { - "line": 78, - "column": 12 - }, - "end": { - "line": 78, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2819, - "end": 2820, - "loc": { - "start": { - "line": 78, - "column": 19 - }, - "end": { - "line": 78, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2820, - "end": 2822, - "loc": { - "start": { - "line": 78, - "column": 20 - }, - "end": { - "line": 78, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2822, - "end": 2823, - "loc": { - "start": { - "line": 78, - "column": 22 - }, - "end": { - "line": 78, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2823, - "end": 2824, - "loc": { - "start": { - "line": 78, - "column": 23 - }, - "end": { - "line": 78, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 2825, - "end": 2828, - "loc": { - "start": { - "line": 78, - "column": 25 - }, - "end": { - "line": 78, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2828, - "end": 2829, - "loc": { - "start": { - "line": 78, - "column": 28 - }, - "end": { - "line": 78, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test2", - "start": 2830, - "end": 2837, - "loc": { - "start": { - "line": 78, - "column": 30 - }, - "end": { - "line": 78, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2837, - "end": 2838, - "loc": { - "start": { - "line": 78, - "column": 37 - }, - "end": { - "line": 78, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 2839, - "end": 2844, - "loc": { - "start": { - "line": 78, - "column": 39 - }, - "end": { - "line": 78, - "column": 44 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2844, - "end": 2845, - "loc": { - "start": { - "line": 78, - "column": 44 - }, - "end": { - "line": 78, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 30, - "start": 2846, - "end": 2848, - "loc": { - "start": { - "line": 78, - "column": 46 - }, - "end": { - "line": 78, - "column": 48 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2849, - "end": 2850, - "loc": { - "start": { - "line": 78, - "column": 49 - }, - "end": { - "line": 78, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2850, - "end": 2851, - "loc": { - "start": { - "line": 78, - "column": 50 - }, - "end": { - "line": 78, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2851, - "end": 2852, - "loc": { - "start": { - "line": 78, - "column": 51 - }, - "end": { - "line": 78, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2865, - "end": 2871, - "loc": { - "start": { - "line": 79, - "column": 12 - }, - "end": { - "line": 79, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2871, - "end": 2872, - "loc": { - "start": { - "line": 79, - "column": 18 - }, - "end": { - "line": 79, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2872, - "end": 2879, - "loc": { - "start": { - "line": 79, - "column": 19 - }, - "end": { - "line": 79, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2879, - "end": 2880, - "loc": { - "start": { - "line": 79, - "column": 26 - }, - "end": { - "line": 79, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2880, - "end": 2882, - "loc": { - "start": { - "line": 79, - "column": 27 - }, - "end": { - "line": 79, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2882, - "end": 2883, - "loc": { - "start": { - "line": 79, - "column": 29 - }, - "end": { - "line": 79, - "column": 30 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2883, - "end": 2884, - "loc": { - "start": { - "line": 79, - "column": 30 - }, - "end": { - "line": 79, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 2885, - "end": 2888, - "loc": { - "start": { - "line": 79, - "column": 32 - }, - "end": { - "line": 79, - "column": 35 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2888, - "end": 2889, - "loc": { - "start": { - "line": 79, - "column": 35 - }, - "end": { - "line": 79, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test2", - "start": 2890, - "end": 2897, - "loc": { - "start": { - "line": 79, - "column": 37 - }, - "end": { - "line": 79, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2897, - "end": 2898, - "loc": { - "start": { - "line": 79, - "column": 44 - }, - "end": { - "line": 79, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 2899, - "end": 2904, - "loc": { - "start": { - "line": 79, - "column": 46 - }, - "end": { - "line": 79, - "column": 51 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2904, - "end": 2905, - "loc": { - "start": { - "line": 79, - "column": 51 - }, - "end": { - "line": 79, - "column": 52 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 2906, - "end": 2908, - "loc": { - "start": { - "line": 79, - "column": 53 - }, - "end": { - "line": 79, - "column": 55 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2909, - "end": 2910, - "loc": { - "start": { - "line": 79, - "column": 56 - }, - "end": { - "line": 79, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2910, - "end": 2911, - "loc": { - "start": { - "line": 79, - "column": 57 - }, - "end": { - "line": 79, - "column": 58 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2911, - "end": 2912, - "loc": { - "start": { - "line": 79, - "column": 58 - }, - "end": { - "line": 79, - "column": 59 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2912, - "end": 2913, - "loc": { - "start": { - "line": 79, - "column": 59 - }, - "end": { - "line": 79, - "column": 60 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2913, - "end": 2915, - "loc": { - "start": { - "line": 79, - "column": 60 - }, - "end": { - "line": 79, - "column": 62 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2915, - "end": 2916, - "loc": { - "start": { - "line": 79, - "column": 62 - }, - "end": { - "line": 79, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 2916, - "end": 2921, - "loc": { - "start": { - "line": 79, - "column": 63 - }, - "end": { - "line": 79, - "column": 68 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2921, - "end": 2922, - "loc": { - "start": { - "line": 79, - "column": 68 - }, - "end": { - "line": 79, - "column": 69 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 30, - "start": 2922, - "end": 2924, - "loc": { - "start": { - "line": 79, - "column": 69 - }, - "end": { - "line": 79, - "column": 71 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2924, - "end": 2925, - "loc": { - "start": { - "line": 79, - "column": 71 - }, - "end": { - "line": 79, - "column": 72 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2925, - "end": 2926, - "loc": { - "start": { - "line": 79, - "column": 72 - }, - "end": { - "line": 79, - "column": 73 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2939, - "end": 2945, - "loc": { - "start": { - "line": 80, - "column": 12 - }, - "end": { - "line": 80, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2945, - "end": 2946, - "loc": { - "start": { - "line": 80, - "column": 18 - }, - "end": { - "line": 80, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 2946, - "end": 2950, - "loc": { - "start": { - "line": 80, - "column": 19 - }, - "end": { - "line": 80, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2950, - "end": 2951, - "loc": { - "start": { - "line": 80, - "column": 23 - }, - "end": { - "line": 80, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 2951, - "end": 2960, - "loc": { - "start": { - "line": 80, - "column": 24 - }, - "end": { - "line": 80, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2960, - "end": 2961, - "loc": { - "start": { - "line": 80, - "column": 33 - }, - "end": { - "line": 80, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2961, - "end": 2962, - "loc": { - "start": { - "line": 80, - "column": 34 - }, - "end": { - "line": 80, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2962, - "end": 2964, - "loc": { - "start": { - "line": 80, - "column": 35 - }, - "end": { - "line": 80, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2964, - "end": 2965, - "loc": { - "start": { - "line": 80, - "column": 37 - }, - "end": { - "line": 80, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 2965, - "end": 2970, - "loc": { - "start": { - "line": 80, - "column": 38 - }, - "end": { - "line": 80, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2970, - "end": 2971, - "loc": { - "start": { - "line": 80, - "column": 43 - }, - "end": { - "line": 80, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 2971, - "end": 2972, - "loc": { - "start": { - "line": 80, - "column": 44 - }, - "end": { - "line": 80, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2972, - "end": 2973, - "loc": { - "start": { - "line": 80, - "column": 45 - }, - "end": { - "line": 80, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2973, - "end": 2974, - "loc": { - "start": { - "line": 80, - "column": 46 - }, - "end": { - "line": 80, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2983, - "end": 2984, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2984, - "end": 2985, - "loc": { - "start": { - "line": 81, - "column": 9 - }, - "end": { - "line": 81, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2985, - "end": 2986, - "loc": { - "start": { - "line": 81, - "column": 10 - }, - "end": { - "line": 81, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2991, - "end": 2992, - "loc": { - "start": { - "line": 82, - "column": 4 - }, - "end": { - "line": 82, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2992, - "end": 2993, - "loc": { - "start": { - "line": 82, - "column": 5 - }, - "end": { - "line": 82, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2993, - "end": 2994, - "loc": { - "start": { - "line": 82, - "column": 6 - }, - "end": { - "line": 82, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 2999, - "end": 3007, - "loc": { - "start": { - "line": 83, - "column": 4 - }, - "end": { - "line": 83, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3007, - "end": 3008, - "loc": { - "start": { - "line": 83, - "column": 12 - }, - "end": { - "line": 83, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "with custom map type", - "start": 3008, - "end": 3030, - "loc": { - "start": { - "line": 83, - "column": 13 - }, - "end": { - "line": 83, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3030, - "end": 3031, - "loc": { - "start": { - "line": 83, - "column": 35 - }, - "end": { - "line": 83, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3032, - "end": 3033, - "loc": { - "start": { - "line": 83, - "column": 37 - }, - "end": { - "line": 83, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3033, - "end": 3034, - "loc": { - "start": { - "line": 83, - "column": 38 - }, - "end": { - "line": 83, - "column": 39 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3035, - "end": 3037, - "loc": { - "start": { - "line": 83, - "column": 40 - }, - "end": { - "line": 83, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3038, - "end": 3039, - "loc": { - "start": { - "line": 83, - "column": 43 - }, - "end": { - "line": 83, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 3048, - "end": 3050, - "loc": { - "start": { - "line": 84, - "column": 8 - }, - "end": { - "line": 84, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3050, - "end": 3051, - "loc": { - "start": { - "line": 84, - "column": 10 - }, - "end": { - "line": 84, - "column": 11 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should create the map of type", - "start": 3051, - "end": 3082, - "loc": { - "start": { - "line": 84, - "column": 11 - }, - "end": { - "line": 84, - "column": 42 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3082, - "end": 3083, - "loc": { - "start": { - "line": 84, - "column": 42 - }, - "end": { - "line": 84, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3084, - "end": 3085, - "loc": { - "start": { - "line": 84, - "column": 44 - }, - "end": { - "line": 84, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3085, - "end": 3086, - "loc": { - "start": { - "line": 84, - "column": 45 - }, - "end": { - "line": 84, - "column": 46 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3087, - "end": 3089, - "loc": { - "start": { - "line": 84, - "column": 47 - }, - "end": { - "line": 84, - "column": 49 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3090, - "end": 3091, - "loc": { - "start": { - "line": 84, - "column": 50 - }, - "end": { - "line": 84, - "column": 51 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 3104, - "end": 3109, - "loc": { - "start": { - "line": 85, - "column": 12 - }, - "end": { - "line": 85, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 3110, - "end": 3117, - "loc": { - "start": { - "line": 85, - "column": 18 - }, - "end": { - "line": 85, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3118, - "end": 3119, - "loc": { - "start": { - "line": 85, - "column": 26 - }, - "end": { - "line": 85, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 3136, - "end": 3138, - "loc": { - "start": { - "line": 86, - "column": 16 - }, - "end": { - "line": 86, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3138, - "end": 3139, - "loc": { - "start": { - "line": 86, - "column": 18 - }, - "end": { - "line": 86, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 3139, - "end": 3143, - "loc": { - "start": { - "line": 86, - "column": 19 - }, - "end": { - "line": 86, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3143, - "end": 3144, - "loc": { - "start": { - "line": 86, - "column": 23 - }, - "end": { - "line": 86, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3145, - "end": 3146, - "loc": { - "start": { - "line": 86, - "column": 25 - }, - "end": { - "line": 86, - "column": 26 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 3167, - "end": 3173, - "loc": { - "start": { - "line": 87, - "column": 20 - }, - "end": { - "line": 87, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 3174, - "end": 3178, - "loc": { - "start": { - "line": 87, - "column": 27 - }, - "end": { - "line": 87, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3178, - "end": 3179, - "loc": { - "start": { - "line": 87, - "column": 31 - }, - "end": { - "line": 87, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 3179, - "end": 3184, - "loc": { - "start": { - "line": 87, - "column": 32 - }, - "end": { - "line": 87, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3184, - "end": 3185, - "loc": { - "start": { - "line": 87, - "column": 37 - }, - "end": { - "line": 87, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3202, - "end": 3203, - "loc": { - "start": { - "line": 88, - "column": 16 - }, - "end": { - "line": 88, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3216, - "end": 3217, - "loc": { - "start": { - "line": 89, - "column": 12 - }, - "end": { - "line": 89, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 3230, - "end": 3237, - "loc": { - "start": { - "line": 90, - "column": 12 - }, - "end": { - "line": 90, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3237, - "end": 3238, - "loc": { - "start": { - "line": 90, - "column": 19 - }, - "end": { - "line": 90, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 3238, - "end": 3248, - "loc": { - "start": { - "line": 90, - "column": 20 - }, - "end": { - "line": 90, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3248, - "end": 3249, - "loc": { - "start": { - "line": 90, - "column": 30 - }, - "end": { - "line": 90, - "column": 31 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3249, - "end": 3250, - "loc": { - "start": { - "line": 90, - "column": 31 - }, - "end": { - "line": 90, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Memoize", - "start": 3267, - "end": 3274, - "loc": { - "start": { - "line": 91, - "column": 16 - }, - "end": { - "line": 91, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3274, - "end": 3275, - "loc": { - "start": { - "line": 91, - "column": 23 - }, - "end": { - "line": 91, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3275, - "end": 3276, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "type", - "start": 3277, - "end": 3281, - "loc": { - "start": { - "line": 91, - "column": 26 - }, - "end": { - "line": 91, - "column": 30 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3281, - "end": 3282, - "loc": { - "start": { - "line": 91, - "column": 30 - }, - "end": { - "line": 91, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "WeakMap", - "start": 3283, - "end": 3290, - "loc": { - "start": { - "line": 91, - "column": 32 - }, - "end": { - "line": 91, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3291, - "end": 3292, - "loc": { - "start": { - "line": 91, - "column": 40 - }, - "end": { - "line": 91, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3292, - "end": 3293, - "loc": { - "start": { - "line": 91, - "column": 41 - }, - "end": { - "line": 91, - "column": 42 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3306, - "end": 3307, - "loc": { - "start": { - "line": 92, - "column": 12 - }, - "end": { - "line": 92, - "column": 13 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3307, - "end": 3308, - "loc": { - "start": { - "line": 92, - "column": 13 - }, - "end": { - "line": 92, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 3309, - "end": 3316, - "loc": { - "start": { - "line": 92, - "column": 15 - }, - "end": { - "line": 92, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3316, - "end": 3317, - "loc": { - "start": { - "line": 92, - "column": 22 - }, - "end": { - "line": 92, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 3317, - "end": 3326, - "loc": { - "start": { - "line": 92, - "column": 23 - }, - "end": { - "line": 92, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3326, - "end": 3327, - "loc": { - "start": { - "line": 92, - "column": 32 - }, - "end": { - "line": 92, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 3328, - "end": 3332, - "loc": { - "start": { - "line": 92, - "column": 34 - }, - "end": { - "line": 92, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3332, - "end": 3333, - "loc": { - "start": { - "line": 92, - "column": 38 - }, - "end": { - "line": 92, - "column": 39 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 3334, - "end": 3338, - "loc": { - "start": { - "line": 92, - "column": 40 - }, - "end": { - "line": 92, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3338, - "end": 3339, - "loc": { - "start": { - "line": 92, - "column": 44 - }, - "end": { - "line": 92, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3339, - "end": 3340, - "loc": { - "start": { - "line": 92, - "column": 45 - }, - "end": { - "line": 92, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3353, - "end": 3358, - "loc": { - "start": { - "line": 93, - "column": 12 - }, - "end": { - "line": 93, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 3359, - "end": 3366, - "loc": { - "start": { - "line": 93, - "column": 18 - }, - "end": { - "line": 93, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3367, - "end": 3368, - "loc": { - "start": { - "line": 93, - "column": 26 - }, - "end": { - "line": 93, - "column": 27 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 3369, - "end": 3372, - "loc": { - "start": { - "line": 93, - "column": 28 - }, - "end": { - "line": 93, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 3373, - "end": 3380, - "loc": { - "start": { - "line": 93, - "column": 32 - }, - "end": { - "line": 93, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3380, - "end": 3381, - "loc": { - "start": { - "line": 93, - "column": 39 - }, - "end": { - "line": 93, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3381, - "end": 3382, - "loc": { - "start": { - "line": 93, - "column": 40 - }, - "end": { - "line": 93, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3382, - "end": 3383, - "loc": { - "start": { - "line": 93, - "column": 41 - }, - "end": { - "line": 93, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 3396, - "end": 3402, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3402, - "end": 3403, - "loc": { - "start": { - "line": 94, - "column": 18 - }, - "end": { - "line": 94, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 3403, - "end": 3410, - "loc": { - "start": { - "line": 94, - "column": 19 - }, - "end": { - "line": 94, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3410, - "end": 3411, - "loc": { - "start": { - "line": 94, - "column": 26 - }, - "end": { - "line": 94, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 3411, - "end": 3413, - "loc": { - "start": { - "line": 94, - "column": 27 - }, - "end": { - "line": 94, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3413, - "end": 3414, - "loc": { - "start": { - "line": 94, - "column": 29 - }, - "end": { - "line": 94, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cache", - "start": 3414, - "end": 3419, - "loc": { - "start": { - "line": 94, - "column": 30 - }, - "end": { - "line": 94, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3419, - "end": 3420, - "loc": { - "start": { - "line": 94, - "column": 35 - }, - "end": { - "line": 94, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3420, - "end": 3421, - "loc": { - "start": { - "line": 94, - "column": 36 - }, - "end": { - "line": 94, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 3421, - "end": 3423, - "loc": { - "start": { - "line": 94, - "column": 37 - }, - "end": { - "line": 94, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3423, - "end": 3424, - "loc": { - "start": { - "line": 94, - "column": 39 - }, - "end": { - "line": 94, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 3424, - "end": 3426, - "loc": { - "start": { - "line": 94, - "column": 40 - }, - "end": { - "line": 94, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3426, - "end": 3427, - "loc": { - "start": { - "line": 94, - "column": 42 - }, - "end": { - "line": 94, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "an", - "start": 3427, - "end": 3429, - "loc": { - "start": { - "line": 94, - "column": 43 - }, - "end": { - "line": 94, - "column": 45 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3429, - "end": 3430, - "loc": { - "start": { - "line": 94, - "column": 45 - }, - "end": { - "line": 94, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "instanceOf", - "start": 3430, - "end": 3440, - "loc": { - "start": { - "line": 94, - "column": 46 - }, - "end": { - "line": 94, - "column": 56 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3440, - "end": 3441, - "loc": { - "start": { - "line": 94, - "column": 56 - }, - "end": { - "line": 94, - "column": 57 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "WeakMap", - "start": 3441, - "end": 3448, - "loc": { - "start": { - "line": 94, - "column": 57 - }, - "end": { - "line": 94, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3448, - "end": 3449, - "loc": { - "start": { - "line": 94, - "column": 64 - }, - "end": { - "line": 94, - "column": 65 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3449, - "end": 3450, - "loc": { - "start": { - "line": 94, - "column": 65 - }, - "end": { - "line": 94, - "column": 66 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3459, - "end": 3460, - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3460, - "end": 3461, - "loc": { - "start": { - "line": 95, - "column": 9 - }, - "end": { - "line": 95, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3461, - "end": 3462, - "loc": { - "start": { - "line": 95, - "column": 10 - }, - "end": { - "line": 95, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3467, - "end": 3468, - "loc": { - "start": { - "line": 96, - "column": 4 - }, - "end": { - "line": 96, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3468, - "end": 3469, - "loc": { - "start": { - "line": 96, - "column": 5 - }, - "end": { - "line": 96, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3469, - "end": 3470, - "loc": { - "start": { - "line": 96, - "column": 6 - }, - "end": { - "line": 96, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 3475, - "end": 3483, - "loc": { - "start": { - "line": 97, - "column": 4 - }, - "end": { - "line": 97, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3483, - "end": 3484, - "loc": { - "start": { - "line": 97, - "column": 12 - }, - "end": { - "line": 97, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "with custom cache", - "start": 3484, - "end": 3503, - "loc": { - "start": { - "line": 97, - "column": 13 - }, - "end": { - "line": 97, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3503, - "end": 3504, - "loc": { - "start": { - "line": 97, - "column": 32 - }, - "end": { - "line": 97, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3505, - "end": 3506, - "loc": { - "start": { - "line": 97, - "column": 34 - }, - "end": { - "line": 97, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3506, - "end": 3507, - "loc": { - "start": { - "line": 97, - "column": 35 - }, - "end": { - "line": 97, - "column": 36 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3508, - "end": 3510, - "loc": { - "start": { - "line": 97, - "column": 37 - }, - "end": { - "line": 97, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3511, - "end": 3512, - "loc": { - "start": { - "line": 97, - "column": 40 - }, - "end": { - "line": 97, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 3521, - "end": 3523, - "loc": { - "start": { - "line": 98, - "column": 8 - }, - "end": { - "line": 98, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3523, - "end": 3524, - "loc": { - "start": { - "line": 98, - "column": 10 - }, - "end": { - "line": 98, - "column": 11 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should use the provided map", - "start": 3524, - "end": 3553, - "loc": { - "start": { - "line": 98, - "column": 11 - }, - "end": { - "line": 98, - "column": 40 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3553, - "end": 3554, - "loc": { - "start": { - "line": 98, - "column": 40 - }, - "end": { - "line": 98, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3555, - "end": 3556, - "loc": { - "start": { - "line": 98, - "column": 42 - }, - "end": { - "line": 98, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3556, - "end": 3557, - "loc": { - "start": { - "line": 98, - "column": 43 - }, - "end": { - "line": 98, - "column": 44 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3558, - "end": 3560, - "loc": { - "start": { - "line": 98, - "column": 45 - }, - "end": { - "line": 98, - "column": 47 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3561, - "end": 3562, - "loc": { - "start": { - "line": 98, - "column": 48 - }, - "end": { - "line": 98, - "column": 49 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3575, - "end": 3580, - "loc": { - "start": { - "line": 99, - "column": 12 - }, - "end": { - "line": 99, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cache", - "start": 3581, - "end": 3586, - "loc": { - "start": { - "line": 99, - "column": 18 - }, - "end": { - "line": 99, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3587, - "end": 3588, - "loc": { - "start": { - "line": 99, - "column": 24 - }, - "end": { - "line": 99, - "column": 25 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 3589, - "end": 3592, - "loc": { - "start": { - "line": 99, - "column": 26 - }, - "end": { - "line": 99, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Map", - "start": 3593, - "end": 3596, - "loc": { - "start": { - "line": 99, - "column": 30 - }, - "end": { - "line": 99, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3596, - "end": 3597, - "loc": { - "start": { - "line": 99, - "column": 33 - }, - "end": { - "line": 99, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3597, - "end": 3598, - "loc": { - "start": { - "line": 99, - "column": 34 - }, - "end": { - "line": 99, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3598, - "end": 3599, - "loc": { - "start": { - "line": 99, - "column": 35 - }, - "end": { - "line": 99, - "column": 36 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 3612, - "end": 3617, - "loc": { - "start": { - "line": 100, - "column": 12 - }, - "end": { - "line": 100, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 3618, - "end": 3625, - "loc": { - "start": { - "line": 100, - "column": 18 - }, - "end": { - "line": 100, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3626, - "end": 3627, - "loc": { - "start": { - "line": 100, - "column": 26 - }, - "end": { - "line": 100, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 3644, - "end": 3646, - "loc": { - "start": { - "line": 101, - "column": 16 - }, - "end": { - "line": 101, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3646, - "end": 3647, - "loc": { - "start": { - "line": 101, - "column": 18 - }, - "end": { - "line": 101, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 3647, - "end": 3651, - "loc": { - "start": { - "line": 101, - "column": 19 - }, - "end": { - "line": 101, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3651, - "end": 3652, - "loc": { - "start": { - "line": 101, - "column": 23 - }, - "end": { - "line": 101, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3653, - "end": 3654, - "loc": { - "start": { - "line": 101, - "column": 25 - }, - "end": { - "line": 101, - "column": 26 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 3675, - "end": 3681, - "loc": { - "start": { - "line": 102, - "column": 20 - }, - "end": { - "line": 102, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 3682, - "end": 3686, - "loc": { - "start": { - "line": 102, - "column": 27 - }, - "end": { - "line": 102, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3686, - "end": 3687, - "loc": { - "start": { - "line": 102, - "column": 31 - }, - "end": { - "line": 102, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 3687, - "end": 3692, - "loc": { - "start": { - "line": 102, - "column": 32 - }, - "end": { - "line": 102, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3692, - "end": 3693, - "loc": { - "start": { - "line": 102, - "column": 37 - }, - "end": { - "line": 102, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3710, - "end": 3711, - "loc": { - "start": { - "line": 103, - "column": 16 - }, - "end": { - "line": 103, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3724, - "end": 3725, - "loc": { - "start": { - "line": 104, - "column": 12 - }, - "end": { - "line": 104, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 3738, - "end": 3745, - "loc": { - "start": { - "line": 105, - "column": 12 - }, - "end": { - "line": 105, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3745, - "end": 3746, - "loc": { - "start": { - "line": 105, - "column": 19 - }, - "end": { - "line": 105, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 3746, - "end": 3756, - "loc": { - "start": { - "line": 105, - "column": 20 - }, - "end": { - "line": 105, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3756, - "end": 3757, - "loc": { - "start": { - "line": 105, - "column": 30 - }, - "end": { - "line": 105, - "column": 31 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3757, - "end": 3758, - "loc": { - "start": { - "line": 105, - "column": 31 - }, - "end": { - "line": 105, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Memoize", - "start": 3775, - "end": 3782, - "loc": { - "start": { - "line": 106, - "column": 16 - }, - "end": { - "line": 106, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3782, - "end": 3783, - "loc": { - "start": { - "line": 106, - "column": 23 - }, - "end": { - "line": 106, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3783, - "end": 3784, - "loc": { - "start": { - "line": 106, - "column": 24 - }, - "end": { - "line": 106, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cache", - "start": 3785, - "end": 3790, - "loc": { - "start": { - "line": 106, - "column": 26 - }, - "end": { - "line": 106, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3791, - "end": 3792, - "loc": { - "start": { - "line": 106, - "column": 32 - }, - "end": { - "line": 106, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3792, - "end": 3793, - "loc": { - "start": { - "line": 106, - "column": 33 - }, - "end": { - "line": 106, - "column": 34 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3806, - "end": 3807, - "loc": { - "start": { - "line": 107, - "column": 12 - }, - "end": { - "line": 107, - "column": 13 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3807, - "end": 3808, - "loc": { - "start": { - "line": 107, - "column": 13 - }, - "end": { - "line": 107, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 3809, - "end": 3816, - "loc": { - "start": { - "line": 107, - "column": 15 - }, - "end": { - "line": 107, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3816, - "end": 3817, - "loc": { - "start": { - "line": 107, - "column": 22 - }, - "end": { - "line": 107, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 3817, - "end": 3826, - "loc": { - "start": { - "line": 107, - "column": 23 - }, - "end": { - "line": 107, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3826, - "end": 3827, - "loc": { - "start": { - "line": 107, - "column": 32 - }, - "end": { - "line": 107, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 3828, - "end": 3832, - "loc": { - "start": { - "line": 107, - "column": 34 - }, - "end": { - "line": 107, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3832, - "end": 3833, - "loc": { - "start": { - "line": 107, - "column": 38 - }, - "end": { - "line": 107, - "column": 39 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 3834, - "end": 3838, - "loc": { - "start": { - "line": 107, - "column": 40 - }, - "end": { - "line": 107, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3838, - "end": 3839, - "loc": { - "start": { - "line": 107, - "column": 44 - }, - "end": { - "line": 107, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3839, - "end": 3840, - "loc": { - "start": { - "line": 107, - "column": 45 - }, - "end": { - "line": 107, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3853, - "end": 3858, - "loc": { - "start": { - "line": 108, - "column": 12 - }, - "end": { - "line": 108, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 3859, - "end": 3866, - "loc": { - "start": { - "line": 108, - "column": 18 - }, - "end": { - "line": 108, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3867, - "end": 3868, - "loc": { - "start": { - "line": 108, - "column": 26 - }, - "end": { - "line": 108, - "column": 27 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 3869, - "end": 3872, - "loc": { - "start": { - "line": 108, - "column": 28 - }, - "end": { - "line": 108, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 3873, - "end": 3880, - "loc": { - "start": { - "line": 108, - "column": 32 - }, - "end": { - "line": 108, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3880, - "end": 3881, - "loc": { - "start": { - "line": 108, - "column": 39 - }, - "end": { - "line": 108, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3881, - "end": 3882, - "loc": { - "start": { - "line": 108, - "column": 40 - }, - "end": { - "line": 108, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3882, - "end": 3883, - "loc": { - "start": { - "line": 108, - "column": 41 - }, - "end": { - "line": 108, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3896, - "end": 3901, - "loc": { - "start": { - "line": 109, - "column": 12 - }, - "end": { - "line": 109, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 3902, - "end": 3910, - "loc": { - "start": { - "line": 109, - "column": 18 - }, - "end": { - "line": 109, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3911, - "end": 3912, - "loc": { - "start": { - "line": 109, - "column": 27 - }, - "end": { - "line": 109, - "column": 28 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 3913, - "end": 3916, - "loc": { - "start": { - "line": 109, - "column": 29 - }, - "end": { - "line": 109, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 3917, - "end": 3924, - "loc": { - "start": { - "line": 109, - "column": 33 - }, - "end": { - "line": 109, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3924, - "end": 3925, - "loc": { - "start": { - "line": 109, - "column": 40 - }, - "end": { - "line": 109, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3925, - "end": 3926, - "loc": { - "start": { - "line": 109, - "column": 41 - }, - "end": { - "line": 109, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3926, - "end": 3927, - "loc": { - "start": { - "line": 109, - "column": 42 - }, - "end": { - "line": 109, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 3940, - "end": 3946, - "loc": { - "start": { - "line": 110, - "column": 12 - }, - "end": { - "line": 110, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3946, - "end": 3947, - "loc": { - "start": { - "line": 110, - "column": 18 - }, - "end": { - "line": 110, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 3947, - "end": 3954, - "loc": { - "start": { - "line": 110, - "column": 19 - }, - "end": { - "line": 110, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3954, - "end": 3955, - "loc": { - "start": { - "line": 110, - "column": 26 - }, - "end": { - "line": 110, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 3955, - "end": 3957, - "loc": { - "start": { - "line": 110, - "column": 27 - }, - "end": { - "line": 110, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3957, - "end": 3958, - "loc": { - "start": { - "line": 110, - "column": 29 - }, - "end": { - "line": 110, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cache", - "start": 3958, - "end": 3963, - "loc": { - "start": { - "line": 110, - "column": 30 - }, - "end": { - "line": 110, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3963, - "end": 3964, - "loc": { - "start": { - "line": 110, - "column": 35 - }, - "end": { - "line": 110, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3964, - "end": 3965, - "loc": { - "start": { - "line": 110, - "column": 36 - }, - "end": { - "line": 110, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 3965, - "end": 3967, - "loc": { - "start": { - "line": 110, - "column": 37 - }, - "end": { - "line": 110, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3967, - "end": 3968, - "loc": { - "start": { - "line": 110, - "column": 39 - }, - "end": { - "line": 110, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 3968, - "end": 3973, - "loc": { - "start": { - "line": 110, - "column": 40 - }, - "end": { - "line": 110, - "column": 45 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3973, - "end": 3974, - "loc": { - "start": { - "line": 110, - "column": 45 - }, - "end": { - "line": 110, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cache", - "start": 3974, - "end": 3979, - "loc": { - "start": { - "line": 110, - "column": 46 - }, - "end": { - "line": 110, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3979, - "end": 3980, - "loc": { - "start": { - "line": 110, - "column": 51 - }, - "end": { - "line": 110, - "column": 52 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3980, - "end": 3981, - "loc": { - "start": { - "line": 110, - "column": 52 - }, - "end": { - "line": 110, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 3994, - "end": 4000, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 111, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4000, - "end": 4001, - "loc": { - "start": { - "line": 111, - "column": 18 - }, - "end": { - "line": 111, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 4001, - "end": 4009, - "loc": { - "start": { - "line": 111, - "column": 19 - }, - "end": { - "line": 111, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4009, - "end": 4010, - "loc": { - "start": { - "line": 111, - "column": 27 - }, - "end": { - "line": 111, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 4010, - "end": 4012, - "loc": { - "start": { - "line": 111, - "column": 28 - }, - "end": { - "line": 111, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4012, - "end": 4013, - "loc": { - "start": { - "line": 111, - "column": 30 - }, - "end": { - "line": 111, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cache", - "start": 4013, - "end": 4018, - "loc": { - "start": { - "line": 111, - "column": 31 - }, - "end": { - "line": 111, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4018, - "end": 4019, - "loc": { - "start": { - "line": 111, - "column": 36 - }, - "end": { - "line": 111, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4019, - "end": 4020, - "loc": { - "start": { - "line": 111, - "column": 37 - }, - "end": { - "line": 111, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 4020, - "end": 4022, - "loc": { - "start": { - "line": 111, - "column": 38 - }, - "end": { - "line": 111, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4022, - "end": 4023, - "loc": { - "start": { - "line": 111, - "column": 40 - }, - "end": { - "line": 111, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 4023, - "end": 4028, - "loc": { - "start": { - "line": 111, - "column": 41 - }, - "end": { - "line": 111, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4028, - "end": 4029, - "loc": { - "start": { - "line": 111, - "column": 46 - }, - "end": { - "line": 111, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cache", - "start": 4029, - "end": 4034, - "loc": { - "start": { - "line": 111, - "column": 47 - }, - "end": { - "line": 111, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4034, - "end": 4035, - "loc": { - "start": { - "line": 111, - "column": 52 - }, - "end": { - "line": 111, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4035, - "end": 4036, - "loc": { - "start": { - "line": 111, - "column": 53 - }, - "end": { - "line": 111, - "column": 54 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4045, - "end": 4046, - "loc": { - "start": { - "line": 112, - "column": 8 - }, - "end": { - "line": 112, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4046, - "end": 4047, - "loc": { - "start": { - "line": 112, - "column": 9 - }, - "end": { - "line": 112, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4047, - "end": 4048, - "loc": { - "start": { - "line": 112, - "column": 10 - }, - "end": { - "line": 112, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4053, - "end": 4054, - "loc": { - "start": { - "line": 113, - "column": 4 - }, - "end": { - "line": 113, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4054, - "end": 4055, - "loc": { - "start": { - "line": 113, - "column": 5 - }, - "end": { - "line": 113, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4055, - "end": 4056, - "loc": { - "start": { - "line": 113, - "column": 6 - }, - "end": { - "line": 113, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4057, - "end": 4058, - "loc": { - "start": { - "line": 114, - "column": 0 - }, - "end": { - "line": 114, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4058, - "end": 4059, - "loc": { - "start": { - "line": 114, - "column": 1 - }, - "end": { - "line": 114, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4059, - "end": 4060, - "loc": { - "start": { - "line": 114, - "column": 2 - }, - "end": { - "line": 114, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4061, - "end": 4061, - "loc": { - "start": { - "line": 115, - "column": 0 - }, - "end": { - "line": 115, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/memoizeAll.spec.js.json b/docs/ast/test/memoizeAll.spec.js.json deleted file mode 100644 index 4d1f875..0000000 --- a/docs/ast/test/memoizeAll.spec.js.json +++ /dev/null @@ -1,15393 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1751, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 53, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1751, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 53, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 28 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "extra": { - "rawValue": "sinon", - "raw": "'sinon'" - }, - "value": "sinon" - } - }, - { - "type": "ImportDeclaration", - "start": 94, - "end": 136, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 42 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 103, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - } - }, - "imported": { - "type": "Identifier", - "start": 103, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - }, - "identifierName": "MemoizeAll" - }, - "name": "MemoizeAll" - }, - "local": { - "type": "Identifier", - "start": 103, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - }, - "identifierName": "MemoizeAll" - }, - "name": "MemoizeAll" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 121, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 41 - } - }, - "extra": { - "rawValue": "./memoizeAll", - "raw": "'./memoizeAll'" - }, - "value": "./memoizeAll" - } - }, - { - "type": "ExpressionStatement", - "start": 137, - "end": 1750, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 52, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 137, - "end": 1749, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 52, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 137, - "end": 145, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 146, - "end": 158, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 21 - } - }, - "extra": { - "rawValue": "memoizeAll", - "raw": "'memoizeAll'" - }, - "value": "memoizeAll" - }, - { - "type": "ArrowFunctionExpression", - "start": 160, - "end": 1748, - "loc": { - "start": { - "line": 5, - "column": 23 - }, - "end": { - "line": 52, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 166, - "end": 1748, - "loc": { - "start": { - "line": 5, - "column": 29 - }, - "end": { - "line": 52, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 172, - "end": 788, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 27, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 172, - "end": 787, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 27, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 172, - "end": 174, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 175, - "end": 204, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 36 - } - }, - "extra": { - "rawValue": "should memoize the function", - "raw": "'should memoize the function'" - }, - "value": "should memoize the function" - }, - { - "type": "ArrowFunctionExpression", - "start": 206, - "end": 786, - "loc": { - "start": { - "line": 6, - "column": 38 - }, - "end": { - "line": 27, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 212, - "end": 786, - "loc": { - "start": { - "line": 6, - "column": 44 - }, - "end": { - "line": 27, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 222, - "end": 241, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 27 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 228, - "end": 240, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 26 - } - }, - "id": { - "type": "Identifier", - "start": 228, - "end": 232, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 18 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 235, - "end": 240, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 26 - } - }, - "callee": { - "type": "Identifier", - "start": 235, - "end": 238, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 24 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ClassDeclaration", - "start": 250, - "end": 419, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 256, - "end": 263, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 264, - "end": 419, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 278, - "end": 409, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 13, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 278, - "end": 280, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - }, - "identifierName": "n" - }, - "name": "n" - } - ], - "body": { - "type": "BlockStatement", - "start": 284, - "end": 409, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 13, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 302, - "end": 310, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 24 - } - }, - "expression": { - "type": "CallExpression", - "start": 302, - "end": 309, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 302, - "end": 306, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 20 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [ - { - "type": "Identifier", - "start": 307, - "end": 308, - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - }, - "identifierName": "n" - }, - "name": "n" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 327, - "end": 369, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 327, - "end": 368, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 327, - "end": 359, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 327, - "end": 353, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 327, - "end": 350, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 327, - "end": 333, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 334, - "end": 338, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": "StringLiteral", - "start": 340, - "end": 349, - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 38 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 351, - "end": 353, - "loc": { - "start": { - "line": 11, - "column": 40 - }, - "end": { - "line": 11, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 354, - "end": 359, - "loc": { - "start": { - "line": 11, - "column": 43 - }, - "end": { - "line": 11, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 360, - "end": 367, - "loc": { - "start": { - "line": 11, - "column": 49 - }, - "end": { - "line": 11, - "column": 56 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 386, - "end": 395, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 25 - } - }, - "argument": { - "type": "Identifier", - "start": 393, - "end": 394, - "loc": { - "start": { - "line": 12, - "column": 23 - }, - "end": { - "line": 12, - "column": 24 - }, - "identifierName": "n" - }, - "name": "n" - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 428, - "end": 516, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 17, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 428, - "end": 515, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 17, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 428, - "end": 446, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 428, - "end": 435, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 436, - "end": 446, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 447, - "end": 483, - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 17, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 461, - "end": 473, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 461, - "end": 471, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 22 - }, - "identifierName": "MemoizeAll" - }, - "name": "MemoizeAll" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 485, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 485, - "end": 492, - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 493, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 504, - "end": 508, - "loc": { - "start": { - "line": 17, - "column": 30 - }, - "end": { - "line": 17, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 510, - "end": 514, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 525, - "end": 555, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 531, - "end": 554, - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 531, - "end": 538, - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 541, - "end": 554, - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 545, - "end": 552, - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 564, - "end": 595, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 570, - "end": 594, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 570, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 22 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 581, - "end": 594, - "loc": { - "start": { - "line": 19, - "column": 25 - }, - "end": { - "line": 19, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 585, - "end": 592, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 36 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 604, - "end": 618, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 604, - "end": 617, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 604, - "end": 614, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 604, - "end": 611, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 612, - "end": 614, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 615, - "end": 616, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 627, - "end": 641, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 627, - "end": 640, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 627, - "end": 637, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 627, - "end": 634, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 635, - "end": 637, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 638, - "end": 639, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 650, - "end": 664, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 650, - "end": 663, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 650, - "end": 660, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 650, - "end": 657, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 658, - "end": 660, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 661, - "end": 662, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 673, - "end": 688, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 23 - } - }, - "expression": { - "type": "CallExpression", - "start": 673, - "end": 687, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 22 - } - }, - "callee": { - "type": "MemberExpression", - "start": 673, - "end": 684, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 673, - "end": 681, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 682, - "end": 684, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 685, - "end": 686, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 21 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 697, - "end": 712, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 23 - } - }, - "expression": { - "type": "CallExpression", - "start": 697, - "end": 711, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 22 - } - }, - "callee": { - "type": "MemberExpression", - "start": 697, - "end": 708, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 697, - "end": 705, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 706, - "end": 708, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 709, - "end": 710, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 21 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 721, - "end": 736, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 23 - } - }, - "expression": { - "type": "CallExpression", - "start": 721, - "end": 735, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 22 - } - }, - "callee": { - "type": "MemberExpression", - "start": 721, - "end": 732, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 721, - "end": 729, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 730, - "end": 732, - "loc": { - "start": { - "line": 25, - "column": 17 - }, - "end": { - "line": 25, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 733, - "end": 734, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 21 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 745, - "end": 780, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 745, - "end": 779, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 745, - "end": 776, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 745, - "end": 770, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 33 - } - }, - "object": { - "type": "CallExpression", - "start": 745, - "end": 767, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 745, - "end": 751, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 752, - "end": 766, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 752, - "end": 756, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 19 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 757, - "end": 766, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 29 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 768, - "end": 770, - "loc": { - "start": { - "line": 26, - "column": 31 - }, - "end": { - "line": 26, - "column": 33 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 771, - "end": 776, - "loc": { - "start": { - "line": 26, - "column": 34 - }, - "end": { - "line": 26, - "column": 39 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 777, - "end": 778, - "loc": { - "start": { - "line": 26, - "column": 40 - }, - "end": { - "line": 26, - "column": 41 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 69, - "_esdocTestName": "it69" - } - }, - { - "type": "ExpressionStatement", - "start": 793, - "end": 1746, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 51, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 793, - "end": 1745, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 51, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 793, - "end": 801, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 28, - "column": 12 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 802, - "end": 826, - "loc": { - "start": { - "line": 28, - "column": 13 - }, - "end": { - "line": 28, - "column": 37 - } - }, - "extra": { - "rawValue": "with function resolver", - "raw": "'with function resolver'" - }, - "value": "with function resolver" - }, - { - "type": "ArrowFunctionExpression", - "start": 828, - "end": 1744, - "loc": { - "start": { - "line": 28, - "column": 39 - }, - "end": { - "line": 51, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 834, - "end": 1744, - "loc": { - "start": { - "line": 28, - "column": 45 - }, - "end": { - "line": 51, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 844, - "end": 1738, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 50, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 844, - "end": 1737, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 50, - "column": 10 - } - }, - "callee": { - "type": "Identifier", - "start": 844, - "end": 846, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 10 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 847, - "end": 871, - "loc": { - "start": { - "line": 29, - "column": 11 - }, - "end": { - "line": 29, - "column": 35 - } - }, - "extra": { - "rawValue": "should resolve the key", - "raw": "'should resolve the key'" - }, - "value": "should resolve the key" - }, - { - "type": "ArrowFunctionExpression", - "start": 873, - "end": 1736, - "loc": { - "start": { - "line": 29, - "column": 37 - }, - "end": { - "line": 50, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 879, - "end": 1736, - "loc": { - "start": { - "line": 29, - "column": 43 - }, - "end": { - "line": 50, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 893, - "end": 912, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 31 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 899, - "end": 911, - "loc": { - "start": { - "line": 30, - "column": 18 - }, - "end": { - "line": 30, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 899, - "end": 903, - "loc": { - "start": { - "line": 30, - "column": 18 - }, - "end": { - "line": 30, - "column": 22 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 906, - "end": 911, - "loc": { - "start": { - "line": 30, - "column": 25 - }, - "end": { - "line": 30, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 906, - "end": 909, - "loc": { - "start": { - "line": 30, - "column": 25 - }, - "end": { - "line": 30, - "column": 28 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ClassDeclaration", - "start": 925, - "end": 1129, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "id": { - "type": "Identifier", - "start": 931, - "end": 938, - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, - "column": 25 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 939, - "end": 1129, - "loc": { - "start": { - "line": 31, - "column": 26 - }, - "end": { - "line": 37, - "column": 13 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 957, - "end": 1115, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 36, - "column": 17 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 957, - "end": 959, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 960, - "end": 964, - "loc": { - "start": { - "line": 32, - "column": 19 - }, - "end": { - "line": 32, - "column": 23 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "BlockStatement", - "start": 966, - "end": 1115, - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 36, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 988, - "end": 995, - "loc": { - "start": { - "line": 33, - "column": 20 - }, - "end": { - "line": 33, - "column": 27 - } - }, - "expression": { - "type": "CallExpression", - "start": 988, - "end": 994, - "loc": { - "start": { - "line": 33, - "column": 20 - }, - "end": { - "line": 33, - "column": 26 - } - }, - "callee": { - "type": "Identifier", - "start": 988, - "end": 992, - "loc": { - "start": { - "line": 33, - "column": 20 - }, - "end": { - "line": 33, - "column": 24 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 1016, - "end": 1058, - "loc": { - "start": { - "line": 34, - "column": 20 - }, - "end": { - "line": 34, - "column": 62 - } - }, - "expression": { - "type": "CallExpression", - "start": 1016, - "end": 1057, - "loc": { - "start": { - "line": 34, - "column": 20 - }, - "end": { - "line": 34, - "column": 61 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1016, - "end": 1048, - "loc": { - "start": { - "line": 34, - "column": 20 - }, - "end": { - "line": 34, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 1016, - "end": 1042, - "loc": { - "start": { - "line": 34, - "column": 20 - }, - "end": { - "line": 34, - "column": 46 - } - }, - "object": { - "type": "CallExpression", - "start": 1016, - "end": 1039, - "loc": { - "start": { - "line": 34, - "column": 20 - }, - "end": { - "line": 34, - "column": 43 - } - }, - "callee": { - "type": "Identifier", - "start": 1016, - "end": 1022, - "loc": { - "start": { - "line": 34, - "column": 20 - }, - "end": { - "line": 34, - "column": 26 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "ThisExpression", - "start": 1023, - "end": 1027, - "loc": { - "start": { - "line": 34, - "column": 27 - }, - "end": { - "line": 34, - "column": 31 - } - } - }, - { - "type": "StringLiteral", - "start": 1029, - "end": 1038, - "loc": { - "start": { - "line": 34, - "column": 33 - }, - "end": { - "line": 34, - "column": 42 - } - }, - "extra": { - "rawValue": "context", - "raw": "'context'" - }, - "value": "context" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1040, - "end": 1042, - "loc": { - "start": { - "line": 34, - "column": 44 - }, - "end": { - "line": 34, - "column": 46 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1043, - "end": 1048, - "loc": { - "start": { - "line": 34, - "column": 47 - }, - "end": { - "line": 34, - "column": 52 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1049, - "end": 1056, - "loc": { - "start": { - "line": 34, - "column": 53 - }, - "end": { - "line": 34, - "column": 60 - }, - "identifierName": "myClass" - }, - "name": "myClass" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 1079, - "end": 1097, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 38 - } - }, - "argument": { - "type": "MemberExpression", - "start": 1086, - "end": 1096, - "loc": { - "start": { - "line": 35, - "column": 27 - }, - "end": { - "line": 35, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 1086, - "end": 1090, - "loc": { - "start": { - "line": 35, - "column": 27 - }, - "end": { - "line": 35, - "column": 31 - }, - "identifierName": "item" - }, - "name": "item" - }, - "property": { - "type": "Identifier", - "start": 1091, - "end": 1096, - "loc": { - "start": { - "line": 35, - "column": 32 - }, - "end": { - "line": 35, - "column": 37 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1142, - "end": 1256, - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 40, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 1142, - "end": 1255, - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 40, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1142, - "end": 1160, - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 38, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 1142, - "end": 1149, - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 38, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1150, - "end": 1160, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 30 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1161, - "end": 1223, - "loc": { - "start": { - "line": 38, - "column": 31 - }, - "end": { - "line": 40, - "column": 13 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1179, - "end": 1209, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 46 - } - }, - "callee": { - "type": "Identifier", - "start": 1179, - "end": 1189, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 26 - }, - "identifierName": "MemoizeAll" - }, - "name": "MemoizeAll" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1190, - "end": 1208, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 39, - "column": 45 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1191, - "end": 1195, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 32 - }, - "identifierName": "item" - }, - "name": "item" - } - ], - "body": { - "type": "MemberExpression", - "start": 1200, - "end": 1208, - "loc": { - "start": { - "line": 39, - "column": 37 - }, - "end": { - "line": 39, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 1200, - "end": 1204, - "loc": { - "start": { - "line": 39, - "column": 37 - }, - "end": { - "line": 39, - "column": 41 - }, - "identifierName": "item" - }, - "name": "item" - }, - "property": { - "type": "Identifier", - "start": 1205, - "end": 1208, - "loc": { - "start": { - "line": 39, - "column": 42 - }, - "end": { - "line": 39, - "column": 45 - }, - "identifierName": "key" - }, - "name": "key" - }, - "computed": false - } - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1225, - "end": 1242, - "loc": { - "start": { - "line": 40, - "column": 15 - }, - "end": { - "line": 40, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 1225, - "end": 1232, - "loc": { - "start": { - "line": 40, - "column": 15 - }, - "end": { - "line": 40, - "column": 22 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1233, - "end": 1242, - "loc": { - "start": { - "line": 40, - "column": 23 - }, - "end": { - "line": 40, - "column": 32 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1244, - "end": 1248, - "loc": { - "start": { - "line": 40, - "column": 34 - }, - "end": { - "line": 40, - "column": 38 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 1250, - "end": 1254, - "loc": { - "start": { - "line": 40, - "column": 40 - }, - "end": { - "line": 40, - "column": 44 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1269, - "end": 1299, - "loc": { - "start": { - "line": 41, - "column": 12 - }, - "end": { - "line": 41, - "column": 42 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1275, - "end": 1298, - "loc": { - "start": { - "line": 41, - "column": 18 - }, - "end": { - "line": 41, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 1275, - "end": 1282, - "loc": { - "start": { - "line": 41, - "column": 18 - }, - "end": { - "line": 41, - "column": 25 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1285, - "end": 1298, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 41 - } - }, - "callee": { - "type": "Identifier", - "start": 1289, - "end": 1296, - "loc": { - "start": { - "line": 41, - "column": 32 - }, - "end": { - "line": 41, - "column": 39 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1312, - "end": 1343, - "loc": { - "start": { - "line": 42, - "column": 12 - }, - "end": { - "line": 42, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1318, - "end": 1342, - "loc": { - "start": { - "line": 42, - "column": 18 - }, - "end": { - "line": 42, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 1318, - "end": 1326, - "loc": { - "start": { - "line": 42, - "column": 18 - }, - "end": { - "line": 42, - "column": 26 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 1329, - "end": 1342, - "loc": { - "start": { - "line": 42, - "column": 29 - }, - "end": { - "line": 42, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 1333, - "end": 1340, - "loc": { - "start": { - "line": 42, - "column": 33 - }, - "end": { - "line": 42, - "column": 40 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1356, - "end": 1395, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 1356, - "end": 1394, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1356, - "end": 1366, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 1356, - "end": 1363, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1364, - "end": 1366, - "loc": { - "start": { - "line": 43, - "column": 20 - }, - "end": { - "line": 43, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1367, - "end": 1393, - "loc": { - "start": { - "line": 43, - "column": 23 - }, - "end": { - "line": 43, - "column": 49 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1369, - "end": 1380, - "loc": { - "start": { - "line": 43, - "column": 25 - }, - "end": { - "line": 43, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1369, - "end": 1372, - "loc": { - "start": { - "line": 43, - "column": 25 - }, - "end": { - "line": 43, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1374, - "end": 1380, - "loc": { - "start": { - "line": 43, - "column": 30 - }, - "end": { - "line": 43, - "column": 36 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1382, - "end": 1391, - "loc": { - "start": { - "line": 43, - "column": 38 - }, - "end": { - "line": 43, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1382, - "end": 1387, - "loc": { - "start": { - "line": 43, - "column": 38 - }, - "end": { - "line": 43, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1389, - "end": 1391, - "loc": { - "start": { - "line": 43, - "column": 45 - }, - "end": { - "line": 43, - "column": 47 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1408, - "end": 1447, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 1408, - "end": 1446, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1408, - "end": 1418, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 1408, - "end": 1415, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1416, - "end": 1418, - "loc": { - "start": { - "line": 44, - "column": 20 - }, - "end": { - "line": 44, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1419, - "end": 1445, - "loc": { - "start": { - "line": 44, - "column": 23 - }, - "end": { - "line": 44, - "column": 49 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1421, - "end": 1432, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 44, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1421, - "end": 1424, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 44, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1426, - "end": 1432, - "loc": { - "start": { - "line": 44, - "column": 30 - }, - "end": { - "line": 44, - "column": 36 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1434, - "end": 1443, - "loc": { - "start": { - "line": 44, - "column": 38 - }, - "end": { - "line": 44, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1434, - "end": 1439, - "loc": { - "start": { - "line": 44, - "column": 38 - }, - "end": { - "line": 44, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1441, - "end": 1443, - "loc": { - "start": { - "line": 44, - "column": 45 - }, - "end": { - "line": 44, - "column": 47 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1460, - "end": 1499, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 1460, - "end": 1498, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1460, - "end": 1470, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 1460, - "end": 1467, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 19 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1468, - "end": 1470, - "loc": { - "start": { - "line": 45, - "column": 20 - }, - "end": { - "line": 45, - "column": 22 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1471, - "end": 1497, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 49 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1473, - "end": 1484, - "loc": { - "start": { - "line": 45, - "column": 25 - }, - "end": { - "line": 45, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1473, - "end": 1476, - "loc": { - "start": { - "line": 45, - "column": 25 - }, - "end": { - "line": 45, - "column": 28 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1478, - "end": 1484, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 36 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1486, - "end": 1495, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1486, - "end": 1491, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 43 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1493, - "end": 1495, - "loc": { - "start": { - "line": 45, - "column": 45 - }, - "end": { - "line": 45, - "column": 47 - } - }, - "extra": { - "rawValue": 30, - "raw": "30" - }, - "value": 30 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1512, - "end": 1552, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 1512, - "end": 1551, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1512, - "end": 1523, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 1512, - "end": 1520, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 20 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 1521, - "end": 1523, - "loc": { - "start": { - "line": 46, - "column": 21 - }, - "end": { - "line": 46, - "column": 23 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1524, - "end": 1550, - "loc": { - "start": { - "line": 46, - "column": 24 - }, - "end": { - "line": 46, - "column": 50 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1526, - "end": 1537, - "loc": { - "start": { - "line": 46, - "column": 26 - }, - "end": { - "line": 46, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1526, - "end": 1529, - "loc": { - "start": { - "line": 46, - "column": 26 - }, - "end": { - "line": 46, - "column": 29 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1531, - "end": 1537, - "loc": { - "start": { - "line": 46, - "column": 31 - }, - "end": { - "line": 46, - "column": 37 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1539, - "end": 1548, - "loc": { - "start": { - "line": 46, - "column": 39 - }, - "end": { - "line": 46, - "column": 48 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1539, - "end": 1544, - "loc": { - "start": { - "line": 46, - "column": 39 - }, - "end": { - "line": 46, - "column": 44 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1546, - "end": 1548, - "loc": { - "start": { - "line": 46, - "column": 46 - }, - "end": { - "line": 46, - "column": 48 - } - }, - "extra": { - "rawValue": 40, - "raw": "40" - }, - "value": 40 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1565, - "end": 1605, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 1565, - "end": 1604, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1565, - "end": 1576, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 1565, - "end": 1573, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 20 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 1574, - "end": 1576, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 23 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1577, - "end": 1603, - "loc": { - "start": { - "line": 47, - "column": 24 - }, - "end": { - "line": 47, - "column": 50 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1579, - "end": 1590, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1579, - "end": 1582, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 29 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1584, - "end": 1590, - "loc": { - "start": { - "line": 47, - "column": 31 - }, - "end": { - "line": 47, - "column": 37 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1592, - "end": 1601, - "loc": { - "start": { - "line": 47, - "column": 39 - }, - "end": { - "line": 47, - "column": 48 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1592, - "end": 1597, - "loc": { - "start": { - "line": 47, - "column": 39 - }, - "end": { - "line": 47, - "column": 44 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1599, - "end": 1601, - "loc": { - "start": { - "line": 47, - "column": 46 - }, - "end": { - "line": 47, - "column": 48 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - } - ] - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1618, - "end": 1678, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 72 - } - }, - "expression": { - "type": "CallExpression", - "start": 1618, - "end": 1677, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1618, - "end": 1673, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 67 - } - }, - "object": { - "type": "MemberExpression", - "start": 1618, - "end": 1667, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 61 - } - }, - "object": { - "type": "CallExpression", - "start": 1618, - "end": 1664, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 58 - } - }, - "callee": { - "type": "Identifier", - "start": 1618, - "end": 1624, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 1625, - "end": 1663, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1625, - "end": 1635, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 1625, - "end": 1632, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1633, - "end": 1635, - "loc": { - "start": { - "line": 48, - "column": 27 - }, - "end": { - "line": 48, - "column": 29 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ObjectExpression", - "start": 1636, - "end": 1662, - "loc": { - "start": { - "line": 48, - "column": 30 - }, - "end": { - "line": 48, - "column": 56 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1638, - "end": 1649, - "loc": { - "start": { - "line": 48, - "column": 32 - }, - "end": { - "line": 48, - "column": 43 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1638, - "end": 1641, - "loc": { - "start": { - "line": 48, - "column": 32 - }, - "end": { - "line": 48, - "column": 35 - }, - "identifierName": "key" - }, - "name": "key" - }, - "value": { - "type": "StringLiteral", - "start": 1643, - "end": 1649, - "loc": { - "start": { - "line": 48, - "column": 37 - }, - "end": { - "line": 48, - "column": 43 - } - }, - "extra": { - "rawValue": "test", - "raw": "'test'" - }, - "value": "test" - } - }, - { - "type": "ObjectProperty", - "start": 1651, - "end": 1660, - "loc": { - "start": { - "line": 48, - "column": 45 - }, - "end": { - "line": 48, - "column": 54 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1651, - "end": 1656, - "loc": { - "start": { - "line": 48, - "column": 45 - }, - "end": { - "line": 48, - "column": 50 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NumericLiteral", - "start": 1658, - "end": 1660, - "loc": { - "start": { - "line": 48, - "column": 52 - }, - "end": { - "line": 48, - "column": 54 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - } - ] - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 1665, - "end": 1667, - "loc": { - "start": { - "line": 48, - "column": 59 - }, - "end": { - "line": 48, - "column": 61 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1668, - "end": 1673, - "loc": { - "start": { - "line": 48, - "column": 62 - }, - "end": { - "line": 48, - "column": 67 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1674, - "end": 1676, - "loc": { - "start": { - "line": 48, - "column": 68 - }, - "end": { - "line": 48, - "column": 70 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1691, - "end": 1726, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 1691, - "end": 1725, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1691, - "end": 1722, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 1691, - "end": 1716, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 1691, - "end": 1713, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 1691, - "end": 1697, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1698, - "end": 1712, - "loc": { - "start": { - "line": 49, - "column": 19 - }, - "end": { - "line": 49, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 1698, - "end": 1702, - "loc": { - "start": { - "line": 49, - "column": 19 - }, - "end": { - "line": 49, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 1703, - "end": 1712, - "loc": { - "start": { - "line": 49, - "column": 24 - }, - "end": { - "line": 49, - "column": 33 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1714, - "end": 1716, - "loc": { - "start": { - "line": 49, - "column": 35 - }, - "end": { - "line": 49, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1717, - "end": 1722, - "loc": { - "start": { - "line": 49, - "column": 38 - }, - "end": { - "line": 49, - "column": 43 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1723, - "end": 1724, - "loc": { - "start": { - "line": 49, - "column": 44 - }, - "end": { - "line": 49, - "column": 45 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 71, - "_esdocTestName": "it71" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 70, - "_esdocTestName": "describe70" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 68, - "_esdocTestName": "describe68" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "sinon", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 94, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 101, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MemoizeAll", - "start": 103, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 116, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./memoizeAll", - "start": 121, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 135, - "end": 136, - "loc": { - "start": { - "line": 4, - "column": 41 - }, - "end": { - "line": 4, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 137, - "end": 145, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 145, - "end": 146, - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "memoizeAll", - "start": 146, - "end": 158, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 21 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 158, - "end": 159, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 160, - "end": 161, - "loc": { - "start": { - "line": 5, - "column": 23 - }, - "end": { - "line": 5, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 161, - "end": 162, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 25 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 163, - "end": 165, - "loc": { - "start": { - "line": 5, - "column": 26 - }, - "end": { - "line": 5, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 166, - "end": 167, - "loc": { - "start": { - "line": 5, - "column": 29 - }, - "end": { - "line": 5, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 172, - "end": 174, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 174, - "end": 175, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should memoize the function", - "start": 175, - "end": 204, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 204, - "end": 205, - "loc": { - "start": { - "line": 6, - "column": 36 - }, - "end": { - "line": 6, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 206, - "end": 207, - "loc": { - "start": { - "line": 6, - "column": 38 - }, - "end": { - "line": 6, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 207, - "end": 208, - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 40 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 209, - "end": 211, - "loc": { - "start": { - "line": 6, - "column": 41 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 212, - "end": 213, - "loc": { - "start": { - "line": 6, - "column": 44 - }, - "end": { - "line": 6, - "column": 45 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 222, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 228, - "end": 232, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 233, - "end": 234, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 235, - "end": 238, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 238, - "end": 239, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 239, - "end": 240, - "loc": { - "start": { - "line": 7, - "column": 25 - }, - "end": { - "line": 7, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 240, - "end": 241, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 250, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 256, - "end": 263, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 264, - "end": 265, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 278, - "end": 280, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 280, - "end": 281, - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 282, - "end": 283, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 284, - "end": 285, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 302, - "end": 306, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 306, - "end": 307, - "loc": { - "start": { - "line": 10, - "column": 20 - }, - "end": { - "line": 10, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 307, - "end": 308, - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 308, - "end": 309, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 327, - "end": 333, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 333, - "end": 334, - "loc": { - "start": { - "line": 11, - "column": 22 - }, - "end": { - "line": 11, - "column": 23 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 334, - "end": 338, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 338, - "end": 339, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 340, - "end": 349, - "loc": { - "start": { - "line": 11, - "column": 29 - }, - "end": { - "line": 11, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 349, - "end": 350, - "loc": { - "start": { - "line": 11, - "column": 38 - }, - "end": { - "line": 11, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 350, - "end": 351, - "loc": { - "start": { - "line": 11, - "column": 39 - }, - "end": { - "line": 11, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 351, - "end": 353, - "loc": { - "start": { - "line": 11, - "column": 40 - }, - "end": { - "line": 11, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 353, - "end": 354, - "loc": { - "start": { - "line": 11, - "column": 42 - }, - "end": { - "line": 11, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 354, - "end": 359, - "loc": { - "start": { - "line": 11, - "column": 43 - }, - "end": { - "line": 11, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 48 - }, - "end": { - "line": 11, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 360, - "end": 367, - "loc": { - "start": { - "line": 11, - "column": 49 - }, - "end": { - "line": 11, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 367, - "end": 368, - "loc": { - "start": { - "line": 11, - "column": 56 - }, - "end": { - "line": 11, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 368, - "end": 369, - "loc": { - "start": { - "line": 11, - "column": 57 - }, - "end": { - "line": 11, - "column": 58 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 386, - "end": 392, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 393, - "end": 394, - "loc": { - "start": { - "line": 12, - "column": 23 - }, - "end": { - "line": 12, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 394, - "end": 395, - "loc": { - "start": { - "line": 12, - "column": 24 - }, - "end": { - "line": 12, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 408, - "end": 409, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 418, - "end": 419, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 428, - "end": 435, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 435, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 436, - "end": 446, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 446, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 447, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MemoizeAll", - "start": 461, - "end": 471, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 16, - "column": 22 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 482, - "end": 483, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 483, - "end": 484, - "loc": { - "start": { - "line": 17, - "column": 9 - }, - "end": { - "line": 17, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 485, - "end": 492, - "loc": { - "start": { - "line": 17, - "column": 11 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 492, - "end": 493, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 493, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 502, - "end": 503, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 504, - "end": 508, - "loc": { - "start": { - "line": 17, - "column": 30 - }, - "end": { - "line": 17, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 508, - "end": 509, - "loc": { - "start": { - "line": 17, - "column": 34 - }, - "end": { - "line": 17, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 510, - "end": 514, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 514, - "end": 515, - "loc": { - "start": { - "line": 17, - "column": 40 - }, - "end": { - "line": 17, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 515, - "end": 516, - "loc": { - "start": { - "line": 17, - "column": 41 - }, - "end": { - "line": 17, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 525, - "end": 530, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 531, - "end": 538, - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 539, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 22 - }, - "end": { - "line": 18, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 541, - "end": 544, - "loc": { - "start": { - "line": 18, - "column": 24 - }, - "end": { - "line": 18, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 545, - "end": 552, - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 552, - "end": 553, - "loc": { - "start": { - "line": 18, - "column": 35 - }, - "end": { - "line": 18, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 553, - "end": 554, - "loc": { - "start": { - "line": 18, - "column": 36 - }, - "end": { - "line": 18, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 554, - "end": 555, - "loc": { - "start": { - "line": 18, - "column": 37 - }, - "end": { - "line": 18, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 564, - "end": 569, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 570, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 579, - "end": 580, - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 24 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 581, - "end": 584, - "loc": { - "start": { - "line": 19, - "column": 25 - }, - "end": { - "line": 19, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 585, - "end": 592, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 592, - "end": 593, - "loc": { - "start": { - "line": 19, - "column": 36 - }, - "end": { - "line": 19, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 593, - "end": 594, - "loc": { - "start": { - "line": 19, - "column": 37 - }, - "end": { - "line": 19, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 594, - "end": 595, - "loc": { - "start": { - "line": 19, - "column": 38 - }, - "end": { - "line": 19, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 604, - "end": 611, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 611, - "end": 612, - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 612, - "end": 614, - "loc": { - "start": { - "line": 20, - "column": 16 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 614, - "end": 615, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 615, - "end": 616, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 616, - "end": 617, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 617, - "end": 618, - "loc": { - "start": { - "line": 20, - "column": 21 - }, - "end": { - "line": 20, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 627, - "end": 634, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 634, - "end": 635, - "loc": { - "start": { - "line": 21, - "column": 15 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 635, - "end": 637, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 637, - "end": 638, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 638, - "end": 639, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 639, - "end": 640, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 640, - "end": 641, - "loc": { - "start": { - "line": 21, - "column": 21 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 650, - "end": 657, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 657, - "end": 658, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 658, - "end": 660, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 661, - "end": 662, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 662, - "end": 663, - "loc": { - "start": { - "line": 22, - "column": 20 - }, - "end": { - "line": 22, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 663, - "end": 664, - "loc": { - "start": { - "line": 22, - "column": 21 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 673, - "end": 681, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 681, - "end": 682, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 682, - "end": 684, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 684, - "end": 685, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 685, - "end": 686, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 686, - "end": 687, - "loc": { - "start": { - "line": 23, - "column": 21 - }, - "end": { - "line": 23, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 687, - "end": 688, - "loc": { - "start": { - "line": 23, - "column": 22 - }, - "end": { - "line": 23, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 697, - "end": 705, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 705, - "end": 706, - "loc": { - "start": { - "line": 24, - "column": 16 - }, - "end": { - "line": 24, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 706, - "end": 708, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 708, - "end": 709, - "loc": { - "start": { - "line": 24, - "column": 19 - }, - "end": { - "line": 24, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 709, - "end": 710, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 710, - "end": 711, - "loc": { - "start": { - "line": 24, - "column": 21 - }, - "end": { - "line": 24, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 711, - "end": 712, - "loc": { - "start": { - "line": 24, - "column": 22 - }, - "end": { - "line": 24, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 721, - "end": 729, - "loc": { - "start": { - "line": 25, - "column": 8 - }, - "end": { - "line": 25, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 729, - "end": 730, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 730, - "end": 732, - "loc": { - "start": { - "line": 25, - "column": 17 - }, - "end": { - "line": 25, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 732, - "end": 733, - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 733, - "end": 734, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 734, - "end": 735, - "loc": { - "start": { - "line": 25, - "column": 21 - }, - "end": { - "line": 25, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 735, - "end": 736, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 25, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 745, - "end": 751, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 751, - "end": 752, - "loc": { - "start": { - "line": 26, - "column": 14 - }, - "end": { - "line": 26, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 752, - "end": 756, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 756, - "end": 757, - "loc": { - "start": { - "line": 26, - "column": 19 - }, - "end": { - "line": 26, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 757, - "end": 766, - "loc": { - "start": { - "line": 26, - "column": 20 - }, - "end": { - "line": 26, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 766, - "end": 767, - "loc": { - "start": { - "line": 26, - "column": 29 - }, - "end": { - "line": 26, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 767, - "end": 768, - "loc": { - "start": { - "line": 26, - "column": 30 - }, - "end": { - "line": 26, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 768, - "end": 770, - "loc": { - "start": { - "line": 26, - "column": 31 - }, - "end": { - "line": 26, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 770, - "end": 771, - "loc": { - "start": { - "line": 26, - "column": 33 - }, - "end": { - "line": 26, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 771, - "end": 776, - "loc": { - "start": { - "line": 26, - "column": 34 - }, - "end": { - "line": 26, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 776, - "end": 777, - "loc": { - "start": { - "line": 26, - "column": 39 - }, - "end": { - "line": 26, - "column": 40 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 777, - "end": 778, - "loc": { - "start": { - "line": 26, - "column": 40 - }, - "end": { - "line": 26, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 778, - "end": 779, - "loc": { - "start": { - "line": 26, - "column": 41 - }, - "end": { - "line": 26, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 779, - "end": 780, - "loc": { - "start": { - "line": 26, - "column": 42 - }, - "end": { - "line": 26, - "column": 43 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 785, - "end": 786, - "loc": { - "start": { - "line": 27, - "column": 4 - }, - "end": { - "line": 27, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 786, - "end": 787, - "loc": { - "start": { - "line": 27, - "column": 5 - }, - "end": { - "line": 27, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 787, - "end": 788, - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 793, - "end": 801, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 28, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 801, - "end": 802, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 13 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "with function resolver", - "start": 802, - "end": 826, - "loc": { - "start": { - "line": 28, - "column": 13 - }, - "end": { - "line": 28, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 826, - "end": 827, - "loc": { - "start": { - "line": 28, - "column": 37 - }, - "end": { - "line": 28, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 828, - "end": 829, - "loc": { - "start": { - "line": 28, - "column": 39 - }, - "end": { - "line": 28, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 829, - "end": 830, - "loc": { - "start": { - "line": 28, - "column": 40 - }, - "end": { - "line": 28, - "column": 41 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 831, - "end": 833, - "loc": { - "start": { - "line": 28, - "column": 42 - }, - "end": { - "line": 28, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 834, - "end": 835, - "loc": { - "start": { - "line": 28, - "column": 45 - }, - "end": { - "line": 28, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 844, - "end": 846, - "loc": { - "start": { - "line": 29, - "column": 8 - }, - "end": { - "line": 29, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 846, - "end": 847, - "loc": { - "start": { - "line": 29, - "column": 10 - }, - "end": { - "line": 29, - "column": 11 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should resolve the key", - "start": 847, - "end": 871, - "loc": { - "start": { - "line": 29, - "column": 11 - }, - "end": { - "line": 29, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 871, - "end": 872, - "loc": { - "start": { - "line": 29, - "column": 35 - }, - "end": { - "line": 29, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 873, - "end": 874, - "loc": { - "start": { - "line": 29, - "column": 37 - }, - "end": { - "line": 29, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 874, - "end": 875, - "loc": { - "start": { - "line": 29, - "column": 38 - }, - "end": { - "line": 29, - "column": 39 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 876, - "end": 878, - "loc": { - "start": { - "line": 29, - "column": 40 - }, - "end": { - "line": 29, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 879, - "end": 880, - "loc": { - "start": { - "line": 29, - "column": 43 - }, - "end": { - "line": 29, - "column": 44 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 893, - "end": 898, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 899, - "end": 903, - "loc": { - "start": { - "line": 30, - "column": 18 - }, - "end": { - "line": 30, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 904, - "end": 905, - "loc": { - "start": { - "line": 30, - "column": 23 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 906, - "end": 909, - "loc": { - "start": { - "line": 30, - "column": 25 - }, - "end": { - "line": 30, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 909, - "end": 910, - "loc": { - "start": { - "line": 30, - "column": 28 - }, - "end": { - "line": 30, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 910, - "end": 911, - "loc": { - "start": { - "line": 30, - "column": 29 - }, - "end": { - "line": 30, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 911, - "end": 912, - "loc": { - "start": { - "line": 30, - "column": 30 - }, - "end": { - "line": 30, - "column": 31 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 925, - "end": 930, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 931, - "end": 938, - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 939, - "end": 940, - "loc": { - "start": { - "line": 31, - "column": 26 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 957, - "end": 959, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 959, - "end": 960, - "loc": { - "start": { - "line": 32, - "column": 18 - }, - "end": { - "line": 32, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 960, - "end": 964, - "loc": { - "start": { - "line": 32, - "column": 19 - }, - "end": { - "line": 32, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 964, - "end": 965, - "loc": { - "start": { - "line": 32, - "column": 23 - }, - "end": { - "line": 32, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 966, - "end": 967, - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 32, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 988, - "end": 992, - "loc": { - "start": { - "line": 33, - "column": 20 - }, - "end": { - "line": 33, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 992, - "end": 993, - "loc": { - "start": { - "line": 33, - "column": 24 - }, - "end": { - "line": 33, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 993, - "end": 994, - "loc": { - "start": { - "line": 33, - "column": 25 - }, - "end": { - "line": 33, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 994, - "end": 995, - "loc": { - "start": { - "line": 33, - "column": 26 - }, - "end": { - "line": 33, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1016, - "end": 1022, - "loc": { - "start": { - "line": 34, - "column": 20 - }, - "end": { - "line": 34, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1022, - "end": 1023, - "loc": { - "start": { - "line": 34, - "column": 26 - }, - "end": { - "line": 34, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1023, - "end": 1027, - "loc": { - "start": { - "line": 34, - "column": 27 - }, - "end": { - "line": 34, - "column": 31 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1027, - "end": 1028, - "loc": { - "start": { - "line": 34, - "column": 31 - }, - "end": { - "line": 34, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "context", - "start": 1029, - "end": 1038, - "loc": { - "start": { - "line": 34, - "column": 33 - }, - "end": { - "line": 34, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1038, - "end": 1039, - "loc": { - "start": { - "line": 34, - "column": 42 - }, - "end": { - "line": 34, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1039, - "end": 1040, - "loc": { - "start": { - "line": 34, - "column": 43 - }, - "end": { - "line": 34, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1040, - "end": 1042, - "loc": { - "start": { - "line": 34, - "column": 44 - }, - "end": { - "line": 34, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1042, - "end": 1043, - "loc": { - "start": { - "line": 34, - "column": 46 - }, - "end": { - "line": 34, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1043, - "end": 1048, - "loc": { - "start": { - "line": 34, - "column": 47 - }, - "end": { - "line": 34, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1048, - "end": 1049, - "loc": { - "start": { - "line": 34, - "column": 52 - }, - "end": { - "line": 34, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1049, - "end": 1056, - "loc": { - "start": { - "line": 34, - "column": 53 - }, - "end": { - "line": 34, - "column": 60 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1056, - "end": 1057, - "loc": { - "start": { - "line": 34, - "column": 60 - }, - "end": { - "line": 34, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1057, - "end": 1058, - "loc": { - "start": { - "line": 34, - "column": 61 - }, - "end": { - "line": 34, - "column": 62 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 1079, - "end": 1085, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 1086, - "end": 1090, - "loc": { - "start": { - "line": 35, - "column": 27 - }, - "end": { - "line": 35, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1090, - "end": 1091, - "loc": { - "start": { - "line": 35, - "column": 31 - }, - "end": { - "line": 35, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1091, - "end": 1096, - "loc": { - "start": { - "line": 35, - "column": 32 - }, - "end": { - "line": 35, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1096, - "end": 1097, - "loc": { - "start": { - "line": 35, - "column": 37 - }, - "end": { - "line": 35, - "column": 38 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1114, - "end": 1115, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1128, - "end": 1129, - "loc": { - "start": { - "line": 37, - "column": 12 - }, - "end": { - "line": 37, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1142, - "end": 1149, - "loc": { - "start": { - "line": 38, - "column": 12 - }, - "end": { - "line": 38, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1149, - "end": 1150, - "loc": { - "start": { - "line": 38, - "column": 19 - }, - "end": { - "line": 38, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1150, - "end": 1160, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1160, - "end": 1161, - "loc": { - "start": { - "line": 38, - "column": 30 - }, - "end": { - "line": 38, - "column": 31 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1161, - "end": 1162, - "loc": { - "start": { - "line": 38, - "column": 31 - }, - "end": { - "line": 38, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MemoizeAll", - "start": 1179, - "end": 1189, - "loc": { - "start": { - "line": 39, - "column": 16 - }, - "end": { - "line": 39, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1189, - "end": 1190, - "loc": { - "start": { - "line": 39, - "column": 26 - }, - "end": { - "line": 39, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1190, - "end": 1191, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 39, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 1191, - "end": 1195, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1195, - "end": 1196, - "loc": { - "start": { - "line": 39, - "column": 32 - }, - "end": { - "line": 39, - "column": 33 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1197, - "end": 1199, - "loc": { - "start": { - "line": 39, - "column": 34 - }, - "end": { - "line": 39, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "item", - "start": 1200, - "end": 1204, - "loc": { - "start": { - "line": 39, - "column": 37 - }, - "end": { - "line": 39, - "column": 41 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1204, - "end": 1205, - "loc": { - "start": { - "line": 39, - "column": 41 - }, - "end": { - "line": 39, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1205, - "end": 1208, - "loc": { - "start": { - "line": 39, - "column": 42 - }, - "end": { - "line": 39, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1208, - "end": 1209, - "loc": { - "start": { - "line": 39, - "column": 45 - }, - "end": { - "line": 39, - "column": 46 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1222, - "end": 1223, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 13 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1223, - "end": 1224, - "loc": { - "start": { - "line": 40, - "column": 13 - }, - "end": { - "line": 40, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1225, - "end": 1232, - "loc": { - "start": { - "line": 40, - "column": 15 - }, - "end": { - "line": 40, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1232, - "end": 1233, - "loc": { - "start": { - "line": 40, - "column": 22 - }, - "end": { - "line": 40, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1233, - "end": 1242, - "loc": { - "start": { - "line": 40, - "column": 23 - }, - "end": { - "line": 40, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1242, - "end": 1243, - "loc": { - "start": { - "line": 40, - "column": 32 - }, - "end": { - "line": 40, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 1244, - "end": 1248, - "loc": { - "start": { - "line": 40, - "column": 34 - }, - "end": { - "line": 40, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1248, - "end": 1249, - "loc": { - "start": { - "line": 40, - "column": 38 - }, - "end": { - "line": 40, - "column": 39 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1250, - "end": 1254, - "loc": { - "start": { - "line": 40, - "column": 40 - }, - "end": { - "line": 40, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1254, - "end": 1255, - "loc": { - "start": { - "line": 40, - "column": 44 - }, - "end": { - "line": 40, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1255, - "end": 1256, - "loc": { - "start": { - "line": 40, - "column": 45 - }, - "end": { - "line": 40, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1269, - "end": 1274, - "loc": { - "start": { - "line": 41, - "column": 12 - }, - "end": { - "line": 41, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1275, - "end": 1282, - "loc": { - "start": { - "line": 41, - "column": 18 - }, - "end": { - "line": 41, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1283, - "end": 1284, - "loc": { - "start": { - "line": 41, - "column": 26 - }, - "end": { - "line": 41, - "column": 27 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1285, - "end": 1288, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1289, - "end": 1296, - "loc": { - "start": { - "line": 41, - "column": 32 - }, - "end": { - "line": 41, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1296, - "end": 1297, - "loc": { - "start": { - "line": 41, - "column": 39 - }, - "end": { - "line": 41, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1297, - "end": 1298, - "loc": { - "start": { - "line": 41, - "column": 40 - }, - "end": { - "line": 41, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1298, - "end": 1299, - "loc": { - "start": { - "line": 41, - "column": 41 - }, - "end": { - "line": 41, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1312, - "end": 1317, - "loc": { - "start": { - "line": 42, - "column": 12 - }, - "end": { - "line": 42, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 1318, - "end": 1326, - "loc": { - "start": { - "line": 42, - "column": 18 - }, - "end": { - "line": 42, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1327, - "end": 1328, - "loc": { - "start": { - "line": 42, - "column": 27 - }, - "end": { - "line": 42, - "column": 28 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1329, - "end": 1332, - "loc": { - "start": { - "line": 42, - "column": 29 - }, - "end": { - "line": 42, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1333, - "end": 1340, - "loc": { - "start": { - "line": 42, - "column": 33 - }, - "end": { - "line": 42, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1340, - "end": 1341, - "loc": { - "start": { - "line": 42, - "column": 40 - }, - "end": { - "line": 42, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1341, - "end": 1342, - "loc": { - "start": { - "line": 42, - "column": 41 - }, - "end": { - "line": 42, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1342, - "end": 1343, - "loc": { - "start": { - "line": 42, - "column": 42 - }, - "end": { - "line": 42, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1356, - "end": 1363, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1363, - "end": 1364, - "loc": { - "start": { - "line": 43, - "column": 19 - }, - "end": { - "line": 43, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1364, - "end": 1366, - "loc": { - "start": { - "line": 43, - "column": 20 - }, - "end": { - "line": 43, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1366, - "end": 1367, - "loc": { - "start": { - "line": 43, - "column": 22 - }, - "end": { - "line": 43, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1367, - "end": 1368, - "loc": { - "start": { - "line": 43, - "column": 23 - }, - "end": { - "line": 43, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1369, - "end": 1372, - "loc": { - "start": { - "line": 43, - "column": 25 - }, - "end": { - "line": 43, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1372, - "end": 1373, - "loc": { - "start": { - "line": 43, - "column": 28 - }, - "end": { - "line": 43, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1374, - "end": 1380, - "loc": { - "start": { - "line": 43, - "column": 30 - }, - "end": { - "line": 43, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1380, - "end": 1381, - "loc": { - "start": { - "line": 43, - "column": 36 - }, - "end": { - "line": 43, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1382, - "end": 1387, - "loc": { - "start": { - "line": 43, - "column": 38 - }, - "end": { - "line": 43, - "column": 43 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1387, - "end": 1388, - "loc": { - "start": { - "line": 43, - "column": 43 - }, - "end": { - "line": 43, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1389, - "end": 1391, - "loc": { - "start": { - "line": 43, - "column": 45 - }, - "end": { - "line": 43, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1392, - "end": 1393, - "loc": { - "start": { - "line": 43, - "column": 48 - }, - "end": { - "line": 43, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1393, - "end": 1394, - "loc": { - "start": { - "line": 43, - "column": 49 - }, - "end": { - "line": 43, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1394, - "end": 1395, - "loc": { - "start": { - "line": 43, - "column": 50 - }, - "end": { - "line": 43, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1408, - "end": 1415, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1415, - "end": 1416, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1416, - "end": 1418, - "loc": { - "start": { - "line": 44, - "column": 20 - }, - "end": { - "line": 44, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1418, - "end": 1419, - "loc": { - "start": { - "line": 44, - "column": 22 - }, - "end": { - "line": 44, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1419, - "end": 1420, - "loc": { - "start": { - "line": 44, - "column": 23 - }, - "end": { - "line": 44, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1421, - "end": 1424, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 44, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1424, - "end": 1425, - "loc": { - "start": { - "line": 44, - "column": 28 - }, - "end": { - "line": 44, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1426, - "end": 1432, - "loc": { - "start": { - "line": 44, - "column": 30 - }, - "end": { - "line": 44, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1432, - "end": 1433, - "loc": { - "start": { - "line": 44, - "column": 36 - }, - "end": { - "line": 44, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1434, - "end": 1439, - "loc": { - "start": { - "line": 44, - "column": 38 - }, - "end": { - "line": 44, - "column": 43 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1439, - "end": 1440, - "loc": { - "start": { - "line": 44, - "column": 43 - }, - "end": { - "line": 44, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 1441, - "end": 1443, - "loc": { - "start": { - "line": 44, - "column": 45 - }, - "end": { - "line": 44, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1444, - "end": 1445, - "loc": { - "start": { - "line": 44, - "column": 48 - }, - "end": { - "line": 44, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1445, - "end": 1446, - "loc": { - "start": { - "line": 44, - "column": 49 - }, - "end": { - "line": 44, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1446, - "end": 1447, - "loc": { - "start": { - "line": 44, - "column": 50 - }, - "end": { - "line": 44, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1460, - "end": 1467, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1467, - "end": 1468, - "loc": { - "start": { - "line": 45, - "column": 19 - }, - "end": { - "line": 45, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1468, - "end": 1470, - "loc": { - "start": { - "line": 45, - "column": 20 - }, - "end": { - "line": 45, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1470, - "end": 1471, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 45, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1471, - "end": 1472, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1473, - "end": 1476, - "loc": { - "start": { - "line": 45, - "column": 25 - }, - "end": { - "line": 45, - "column": 28 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1476, - "end": 1477, - "loc": { - "start": { - "line": 45, - "column": 28 - }, - "end": { - "line": 45, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1478, - "end": 1484, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1484, - "end": 1485, - "loc": { - "start": { - "line": 45, - "column": 36 - }, - "end": { - "line": 45, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1486, - "end": 1491, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 43 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1491, - "end": 1492, - "loc": { - "start": { - "line": 45, - "column": 43 - }, - "end": { - "line": 45, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 30, - "start": 1493, - "end": 1495, - "loc": { - "start": { - "line": 45, - "column": 45 - }, - "end": { - "line": 45, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1496, - "end": 1497, - "loc": { - "start": { - "line": 45, - "column": 48 - }, - "end": { - "line": 45, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1497, - "end": 1498, - "loc": { - "start": { - "line": 45, - "column": 49 - }, - "end": { - "line": 45, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1498, - "end": 1499, - "loc": { - "start": { - "line": 45, - "column": 50 - }, - "end": { - "line": 45, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 1512, - "end": 1520, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1520, - "end": 1521, - "loc": { - "start": { - "line": 46, - "column": 20 - }, - "end": { - "line": 46, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1521, - "end": 1523, - "loc": { - "start": { - "line": 46, - "column": 21 - }, - "end": { - "line": 46, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1523, - "end": 1524, - "loc": { - "start": { - "line": 46, - "column": 23 - }, - "end": { - "line": 46, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1524, - "end": 1525, - "loc": { - "start": { - "line": 46, - "column": 24 - }, - "end": { - "line": 46, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1526, - "end": 1529, - "loc": { - "start": { - "line": 46, - "column": 26 - }, - "end": { - "line": 46, - "column": 29 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1529, - "end": 1530, - "loc": { - "start": { - "line": 46, - "column": 29 - }, - "end": { - "line": 46, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1531, - "end": 1537, - "loc": { - "start": { - "line": 46, - "column": 31 - }, - "end": { - "line": 46, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1537, - "end": 1538, - "loc": { - "start": { - "line": 46, - "column": 37 - }, - "end": { - "line": 46, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1539, - "end": 1544, - "loc": { - "start": { - "line": 46, - "column": 39 - }, - "end": { - "line": 46, - "column": 44 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1544, - "end": 1545, - "loc": { - "start": { - "line": 46, - "column": 44 - }, - "end": { - "line": 46, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 40, - "start": 1546, - "end": 1548, - "loc": { - "start": { - "line": 46, - "column": 46 - }, - "end": { - "line": 46, - "column": 48 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1549, - "end": 1550, - "loc": { - "start": { - "line": 46, - "column": 49 - }, - "end": { - "line": 46, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1550, - "end": 1551, - "loc": { - "start": { - "line": 46, - "column": 50 - }, - "end": { - "line": 46, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1551, - "end": 1552, - "loc": { - "start": { - "line": 46, - "column": 51 - }, - "end": { - "line": 46, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 1565, - "end": 1573, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1573, - "end": 1574, - "loc": { - "start": { - "line": 47, - "column": 20 - }, - "end": { - "line": 47, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1574, - "end": 1576, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1576, - "end": 1577, - "loc": { - "start": { - "line": 47, - "column": 23 - }, - "end": { - "line": 47, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1577, - "end": 1578, - "loc": { - "start": { - "line": 47, - "column": 24 - }, - "end": { - "line": 47, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1579, - "end": 1582, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 29 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1582, - "end": 1583, - "loc": { - "start": { - "line": 47, - "column": 29 - }, - "end": { - "line": 47, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1584, - "end": 1590, - "loc": { - "start": { - "line": 47, - "column": 31 - }, - "end": { - "line": 47, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1590, - "end": 1591, - "loc": { - "start": { - "line": 47, - "column": 37 - }, - "end": { - "line": 47, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1592, - "end": 1597, - "loc": { - "start": { - "line": 47, - "column": 39 - }, - "end": { - "line": 47, - "column": 44 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1597, - "end": 1598, - "loc": { - "start": { - "line": 47, - "column": 44 - }, - "end": { - "line": 47, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 1599, - "end": 1601, - "loc": { - "start": { - "line": 47, - "column": 46 - }, - "end": { - "line": 47, - "column": 48 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1602, - "end": 1603, - "loc": { - "start": { - "line": 47, - "column": 49 - }, - "end": { - "line": 47, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1603, - "end": 1604, - "loc": { - "start": { - "line": 47, - "column": 50 - }, - "end": { - "line": 47, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1604, - "end": 1605, - "loc": { - "start": { - "line": 47, - "column": 51 - }, - "end": { - "line": 47, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1618, - "end": 1624, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1624, - "end": 1625, - "loc": { - "start": { - "line": 48, - "column": 18 - }, - "end": { - "line": 48, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1625, - "end": 1632, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1632, - "end": 1633, - "loc": { - "start": { - "line": 48, - "column": 26 - }, - "end": { - "line": 48, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 1633, - "end": 1635, - "loc": { - "start": { - "line": 48, - "column": 27 - }, - "end": { - "line": 48, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1635, - "end": 1636, - "loc": { - "start": { - "line": 48, - "column": 29 - }, - "end": { - "line": 48, - "column": 30 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1636, - "end": 1637, - "loc": { - "start": { - "line": 48, - "column": 30 - }, - "end": { - "line": 48, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "key", - "start": 1638, - "end": 1641, - "loc": { - "start": { - "line": 48, - "column": 32 - }, - "end": { - "line": 48, - "column": 35 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1641, - "end": 1642, - "loc": { - "start": { - "line": 48, - "column": 35 - }, - "end": { - "line": 48, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "test", - "start": 1643, - "end": 1649, - "loc": { - "start": { - "line": 48, - "column": 37 - }, - "end": { - "line": 48, - "column": 43 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1649, - "end": 1650, - "loc": { - "start": { - "line": 48, - "column": 43 - }, - "end": { - "line": 48, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1651, - "end": 1656, - "loc": { - "start": { - "line": 48, - "column": 45 - }, - "end": { - "line": 48, - "column": 50 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1656, - "end": 1657, - "loc": { - "start": { - "line": 48, - "column": 50 - }, - "end": { - "line": 48, - "column": 51 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 1658, - "end": 1660, - "loc": { - "start": { - "line": 48, - "column": 52 - }, - "end": { - "line": 48, - "column": 54 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1661, - "end": 1662, - "loc": { - "start": { - "line": 48, - "column": 55 - }, - "end": { - "line": 48, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1662, - "end": 1663, - "loc": { - "start": { - "line": 48, - "column": 56 - }, - "end": { - "line": 48, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1663, - "end": 1664, - "loc": { - "start": { - "line": 48, - "column": 57 - }, - "end": { - "line": 48, - "column": 58 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1664, - "end": 1665, - "loc": { - "start": { - "line": 48, - "column": 58 - }, - "end": { - "line": 48, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1665, - "end": 1667, - "loc": { - "start": { - "line": 48, - "column": 59 - }, - "end": { - "line": 48, - "column": 61 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1667, - "end": 1668, - "loc": { - "start": { - "line": 48, - "column": 61 - }, - "end": { - "line": 48, - "column": 62 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1668, - "end": 1673, - "loc": { - "start": { - "line": 48, - "column": 62 - }, - "end": { - "line": 48, - "column": 67 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1673, - "end": 1674, - "loc": { - "start": { - "line": 48, - "column": 67 - }, - "end": { - "line": 48, - "column": 68 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1674, - "end": 1676, - "loc": { - "start": { - "line": 48, - "column": 68 - }, - "end": { - "line": 48, - "column": 70 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1676, - "end": 1677, - "loc": { - "start": { - "line": 48, - "column": 70 - }, - "end": { - "line": 48, - "column": 71 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1677, - "end": 1678, - "loc": { - "start": { - "line": 48, - "column": 71 - }, - "end": { - "line": 48, - "column": 72 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1691, - "end": 1697, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1697, - "end": 1698, - "loc": { - "start": { - "line": 49, - "column": 18 - }, - "end": { - "line": 49, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 1698, - "end": 1702, - "loc": { - "start": { - "line": 49, - "column": 19 - }, - "end": { - "line": 49, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1702, - "end": 1703, - "loc": { - "start": { - "line": 49, - "column": 23 - }, - "end": { - "line": 49, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 1703, - "end": 1712, - "loc": { - "start": { - "line": 49, - "column": 24 - }, - "end": { - "line": 49, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1712, - "end": 1713, - "loc": { - "start": { - "line": 49, - "column": 33 - }, - "end": { - "line": 49, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1713, - "end": 1714, - "loc": { - "start": { - "line": 49, - "column": 34 - }, - "end": { - "line": 49, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1714, - "end": 1716, - "loc": { - "start": { - "line": 49, - "column": 35 - }, - "end": { - "line": 49, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1716, - "end": 1717, - "loc": { - "start": { - "line": 49, - "column": 37 - }, - "end": { - "line": 49, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1717, - "end": 1722, - "loc": { - "start": { - "line": 49, - "column": 38 - }, - "end": { - "line": 49, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1722, - "end": 1723, - "loc": { - "start": { - "line": 49, - "column": 43 - }, - "end": { - "line": 49, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1723, - "end": 1724, - "loc": { - "start": { - "line": 49, - "column": 44 - }, - "end": { - "line": 49, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1724, - "end": 1725, - "loc": { - "start": { - "line": 49, - "column": 45 - }, - "end": { - "line": 49, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1725, - "end": 1726, - "loc": { - "start": { - "line": 49, - "column": 46 - }, - "end": { - "line": 49, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1735, - "end": 1736, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1736, - "end": 1737, - "loc": { - "start": { - "line": 50, - "column": 9 - }, - "end": { - "line": 50, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1737, - "end": 1738, - "loc": { - "start": { - "line": 50, - "column": 10 - }, - "end": { - "line": 50, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1743, - "end": 1744, - "loc": { - "start": { - "line": 51, - "column": 4 - }, - "end": { - "line": 51, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1744, - "end": 1745, - "loc": { - "start": { - "line": 51, - "column": 5 - }, - "end": { - "line": 51, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1745, - "end": 1746, - "loc": { - "start": { - "line": 51, - "column": 6 - }, - "end": { - "line": 51, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1747, - "end": 1748, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1748, - "end": 1749, - "loc": { - "start": { - "line": 52, - "column": 1 - }, - "end": { - "line": 52, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1749, - "end": 1750, - "loc": { - "start": { - "line": 52, - "column": 2 - }, - "end": { - "line": 52, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1751, - "end": 1751, - "loc": { - "start": { - "line": 53, - "column": 0 - }, - "end": { - "line": 53, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/mixin.spec.js.json b/docs/ast/test/mixin.spec.js.json deleted file mode 100644 index 83084a6..0000000 --- a/docs/ast/test/mixin.spec.js.json +++ /dev/null @@ -1,4826 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 537, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 20, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 537, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 20, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "Mixin" - }, - "name": "Mixin" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "Mixin" - }, - "name": "Mixin" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - }, - "extra": { - "rawValue": "./mixin", - "raw": "'./mixin'" - }, - "value": "./mixin" - } - }, - { - "type": "ExpressionStatement", - "start": 98, - "end": 536, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 98, - "end": 535, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 19, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - }, - "extra": { - "rawValue": "mixin", - "raw": "'mixin'" - }, - "value": "mixin" - }, - { - "type": "ArrowFunctionExpression", - "start": 116, - "end": 534, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 19, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 122, - "end": 534, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 19, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 128, - "end": 532, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 18, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 128, - "end": 531, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 18, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 131, - "end": 156, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 32 - } - }, - "extra": { - "rawValue": "should mixin the object", - "raw": "'should mixin the object'" - }, - "value": "should mixin the object" - }, - { - "type": "ArrowFunctionExpression", - "start": 158, - "end": 530, - "loc": { - "start": { - "line": 5, - "column": 34 - }, - "end": { - "line": 18, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 164, - "end": 530, - "loc": { - "start": { - "line": 5, - "column": 40 - }, - "end": { - "line": 18, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 174, - "end": 222, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 8, - "column": 10 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 180, - "end": 221, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 8, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 180, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 19 - }, - "identifierName": "myApi" - }, - "name": "myApi" - }, - "init": { - "type": "ObjectExpression", - "start": 188, - "end": 221, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 8, - "column": 9 - } - }, - "properties": [ - { - "type": "ObjectMethod", - "start": 202, - "end": 211, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 21 - } - }, - "method": true, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 202, - "end": 205, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 208, - "end": 211, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 21 - } - }, - "body": [], - "directives": [] - } - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 231, - "end": 292, - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 11, - "column": 10 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 235, - "end": 291, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 235, - "end": 242, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 19 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "init": { - "type": "ClassExpression", - "start": 245, - "end": 291, - "loc": { - "start": { - "line": 9, - "column": 22 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 251, - "end": 258, - "loc": { - "start": { - "line": 9, - "column": 28 - }, - "end": { - "line": 9, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 259, - "end": 291, - "loc": { - "start": { - "line": 9, - "column": 36 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 273, - "end": 281, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 20 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 273, - "end": 275, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 278, - "end": 281, - "loc": { - "start": { - "line": 10, - "column": 17 - }, - "end": { - "line": 10, - "column": 20 - } - }, - "body": [], - "directives": [] - } - } - ] - } - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 301, - "end": 377, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 20 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 301, - "end": 376, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 19 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 301, - "end": 308, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "right": { - "type": "CallExpression", - "start": 311, - "end": 376, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - }, - "callee": { - "type": "MemberExpression", - "start": 311, - "end": 329, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 311, - "end": 318, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 25 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 319, - "end": 329, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 36 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 330, - "end": 366, - "loc": { - "start": { - "line": 12, - "column": 37 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 344, - "end": 356, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 344, - "end": 349, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 17 - }, - "identifierName": "Mixin" - }, - "name": "Mixin" - }, - "arguments": [ - { - "type": "Identifier", - "start": 350, - "end": 355, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 23 - }, - "identifierName": "myApi" - }, - "name": "myApi" - } - ] - } - ] - }, - { - "type": "Identifier", - "start": 368, - "end": 375, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - } - ] - } - } - }, - { - "type": "VariableDeclaration", - "start": 386, - "end": 416, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 392, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 392, - "end": 399, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 402, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 406, - "end": 413, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 425, - "end": 465, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 425, - "end": 464, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 425, - "end": 452, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 425, - "end": 450, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 425, - "end": 447, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 30 - } - }, - "object": { - "type": "CallExpression", - "start": 425, - "end": 444, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 425, - "end": 431, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 432, - "end": 443, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 432, - "end": 439, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 440, - "end": 443, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 26 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 445, - "end": 447, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 30 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 448, - "end": 450, - "loc": { - "start": { - "line": 16, - "column": 31 - }, - "end": { - "line": 16, - "column": 33 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 451, - "end": 452, - "loc": { - "start": { - "line": 16, - "column": 34 - }, - "end": { - "line": 16, - "column": 35 - }, - "identifierName": "a" - }, - "name": "a" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 453, - "end": 463, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 46 - } - }, - "extra": { - "rawValue": "function", - "raw": "'function'" - }, - "value": "function" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 474, - "end": 524, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 474, - "end": 523, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 474, - "end": 511, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 45 - } - }, - "object": { - "type": "MemberExpression", - "start": 474, - "end": 509, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 474, - "end": 506, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 40 - } - }, - "object": { - "type": "CallExpression", - "start": 474, - "end": 503, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 474, - "end": 480, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 481, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 36 - } - }, - "object": { - "type": "MemberExpression", - "start": 481, - "end": 498, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 481, - "end": 488, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 22 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 489, - "end": 498, - "loc": { - "start": { - "line": 17, - "column": 23 - }, - "end": { - "line": 17, - "column": 32 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 499, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 33 - }, - "end": { - "line": 17, - "column": 36 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 504, - "end": 506, - "loc": { - "start": { - "line": 17, - "column": 38 - }, - "end": { - "line": 17, - "column": 40 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 507, - "end": 509, - "loc": { - "start": { - "line": 17, - "column": 41 - }, - "end": { - "line": 17, - "column": 43 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 510, - "end": 511, - "loc": { - "start": { - "line": 17, - "column": 44 - }, - "end": { - "line": 17, - "column": 45 - }, - "identifierName": "a" - }, - "name": "a" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 512, - "end": 522, - "loc": { - "start": { - "line": 17, - "column": 46 - }, - "end": { - "line": 17, - "column": 56 - } - }, - "extra": { - "rawValue": "function", - "raw": "'function'" - }, - "value": "function" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 73, - "_esdocTestName": "it73" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 72, - "_esdocTestName": "describe72" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Mixin", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 80, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 82, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 17 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./mixin", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 96, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 106, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "mixin", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 119, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 130, - "end": 131, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should mixin the object", - "start": 131, - "end": 156, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 156, - "end": 157, - "loc": { - "start": { - "line": 5, - "column": 32 - }, - "end": { - "line": 5, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 158, - "end": 159, - "loc": { - "start": { - "line": 5, - "column": 34 - }, - "end": { - "line": 5, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 159, - "end": 160, - "loc": { - "start": { - "line": 5, - "column": 35 - }, - "end": { - "line": 5, - "column": 36 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 161, - "end": 163, - "loc": { - "start": { - "line": 5, - "column": 37 - }, - "end": { - "line": 5, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 164, - "end": 165, - "loc": { - "start": { - "line": 5, - "column": 40 - }, - "end": { - "line": 5, - "column": 41 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 174, - "end": 179, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myApi", - "start": 180, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 186, - "end": 187, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 188, - "end": 189, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 202, - "end": 205, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 205, - "end": 206, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 206, - "end": 207, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 208, - "end": 209, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 210, - "end": 211, - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 220, - "end": 221, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 9 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 8, - "column": 9 - }, - "end": { - "line": 8, - "column": 10 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 231, - "end": 234, - "loc": { - "start": { - "line": 9, - "column": 8 - }, - "end": { - "line": 9, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 235, - "end": 242, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 243, - "end": 244, - "loc": { - "start": { - "line": 9, - "column": 20 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 245, - "end": 250, - "loc": { - "start": { - "line": 9, - "column": 22 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 251, - "end": 258, - "loc": { - "start": { - "line": 9, - "column": 28 - }, - "end": { - "line": 9, - "column": 35 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 259, - "end": 260, - "loc": { - "start": { - "line": 9, - "column": 36 - }, - "end": { - "line": 9, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 273, - "end": 275, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 275, - "end": 276, - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 276, - "end": 277, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 278, - "end": 279, - "loc": { - "start": { - "line": 10, - "column": 17 - }, - "end": { - "line": 10, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 280, - "end": 281, - "loc": { - "start": { - "line": 10, - "column": 19 - }, - "end": { - "line": 10, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 290, - "end": 291, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 291, - "end": 292, - "loc": { - "start": { - "line": 11, - "column": 9 - }, - "end": { - "line": 11, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 301, - "end": 308, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 311, - "end": 318, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 318, - "end": 319, - "loc": { - "start": { - "line": 12, - "column": 25 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 319, - "end": 329, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 12, - "column": 36 - }, - "end": { - "line": 12, - "column": 37 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 330, - "end": 331, - "loc": { - "start": { - "line": 12, - "column": 37 - }, - "end": { - "line": 12, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Mixin", - "start": 344, - "end": 349, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 349, - "end": 350, - "loc": { - "start": { - "line": 13, - "column": 17 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myApi", - "start": 350, - "end": 355, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 355, - "end": 356, - "loc": { - "start": { - "line": 13, - "column": 23 - }, - "end": { - "line": 13, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 365, - "end": 366, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 368, - "end": 375, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 375, - "end": 376, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 376, - "end": 377, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 20 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 386, - "end": 391, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 392, - "end": 399, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 400, - "end": 401, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 402, - "end": 405, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 406, - "end": 413, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 413, - "end": 414, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 414, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 415, - "end": 416, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 425, - "end": 431, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 431, - "end": 432, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 432, - "end": 439, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 439, - "end": 440, - "loc": { - "start": { - "line": 16, - "column": 22 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 440, - "end": 443, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 443, - "end": 444, - "loc": { - "start": { - "line": 16, - "column": 26 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 444, - "end": 445, - "loc": { - "start": { - "line": 16, - "column": 27 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 445, - "end": 447, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 447, - "end": 448, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 448, - "end": 450, - "loc": { - "start": { - "line": 16, - "column": 31 - }, - "end": { - "line": 16, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 450, - "end": 451, - "loc": { - "start": { - "line": 16, - "column": 33 - }, - "end": { - "line": 16, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 451, - "end": 452, - "loc": { - "start": { - "line": 16, - "column": 34 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 452, - "end": 453, - "loc": { - "start": { - "line": 16, - "column": 35 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 453, - "end": 463, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 16, - "column": 46 - }, - "end": { - "line": 16, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 464, - "end": 465, - "loc": { - "start": { - "line": 16, - "column": 47 - }, - "end": { - "line": 16, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 474, - "end": 480, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 480, - "end": 481, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 481, - "end": 488, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 488, - "end": 489, - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 489, - "end": 498, - "loc": { - "start": { - "line": 17, - "column": 23 - }, - "end": { - "line": 17, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 498, - "end": 499, - "loc": { - "start": { - "line": 17, - "column": 32 - }, - "end": { - "line": 17, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 499, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 33 - }, - "end": { - "line": 17, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 502, - "end": 503, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 503, - "end": 504, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 504, - "end": 506, - "loc": { - "start": { - "line": 17, - "column": 38 - }, - "end": { - "line": 17, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 506, - "end": 507, - "loc": { - "start": { - "line": 17, - "column": 40 - }, - "end": { - "line": 17, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 507, - "end": 509, - "loc": { - "start": { - "line": 17, - "column": 41 - }, - "end": { - "line": 17, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 509, - "end": 510, - "loc": { - "start": { - "line": 17, - "column": 43 - }, - "end": { - "line": 17, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 510, - "end": 511, - "loc": { - "start": { - "line": 17, - "column": 44 - }, - "end": { - "line": 17, - "column": 45 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 511, - "end": 512, - "loc": { - "start": { - "line": 17, - "column": 45 - }, - "end": { - "line": 17, - "column": 46 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 512, - "end": 522, - "loc": { - "start": { - "line": 17, - "column": 46 - }, - "end": { - "line": 17, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 17, - "column": 56 - }, - "end": { - "line": 17, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 523, - "end": 524, - "loc": { - "start": { - "line": 17, - "column": 57 - }, - "end": { - "line": 17, - "column": 58 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 529, - "end": 530, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 530, - "end": 531, - "loc": { - "start": { - "line": 18, - "column": 5 - }, - "end": { - "line": 18, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 531, - "end": 532, - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 533, - "end": 534, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 534, - "end": 535, - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 535, - "end": 536, - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 537, - "end": 537, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/negate.spec.js.json b/docs/ast/test/negate.spec.js.json deleted file mode 100644 index 0819118..0000000 --- a/docs/ast/test/negate.spec.js.json +++ /dev/null @@ -1,3693 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 469, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 469, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 99, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 34 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - }, - "identifierName": "Negate" - }, - "name": "Negate" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - }, - "identifierName": "Negate" - }, - "name": "Negate" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 88, - "end": 98, - "loc": { - "start": { - "line": 3, - "column": 23 - }, - "end": { - "line": 3, - "column": 33 - } - }, - "extra": { - "rawValue": "./negate", - "raw": "'./negate'" - }, - "value": "./negate" - } - }, - { - "type": "ExpressionStatement", - "start": 100, - "end": 468, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 100, - "end": 467, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 100, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 109, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - } - }, - "extra": { - "rawValue": "negate", - "raw": "'negate'" - }, - "value": "negate" - }, - { - "type": "ArrowFunctionExpression", - "start": 119, - "end": 466, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 125, - "end": 466, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 131, - "end": 464, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 131, - "end": 463, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 131, - "end": 133, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 134, - "end": 177, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 50 - } - }, - "extra": { - "rawValue": "should inverse the result of the function", - "raw": "'should inverse the result of the function'" - }, - "value": "should inverse the result of the function" - }, - { - "type": "ArrowFunctionExpression", - "start": 179, - "end": 462, - "loc": { - "start": { - "line": 5, - "column": 52 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 185, - "end": 462, - "loc": { - "start": { - "line": 5, - "column": 58 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 195, - "end": 282, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 201, - "end": 208, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 209, - "end": 282, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 223, - "end": 272, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 223, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 228, - "end": 272, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 246, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 28 - } - }, - "argument": { - "type": "BooleanLiteral", - "start": 253, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - } - }, - "value": true - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 291, - "end": 375, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 291, - "end": 374, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 291, - "end": 309, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 291, - "end": 298, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 299, - "end": 309, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 310, - "end": 342, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 324, - "end": 332, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 324, - "end": 330, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 18 - }, - "identifierName": "Negate" - }, - "name": "Negate" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 344, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 344, - "end": 351, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 352, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 363, - "end": 367, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 369, - "end": 373, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 384, - "end": 414, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 390, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 390, - "end": 397, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 400, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 404, - "end": 411, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 423, - "end": 456, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 41 - } - }, - "expression": { - "type": "MemberExpression", - "start": 423, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 423, - "end": 449, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 423, - "end": 446, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 31 - } - }, - "object": { - "type": "CallExpression", - "start": 423, - "end": 443, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 423, - "end": 429, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 430, - "end": 442, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 27 - } - }, - "callee": { - "type": "MemberExpression", - "start": 430, - "end": 440, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 430, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 438, - "end": 440, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - ] - }, - "property": { - "type": "Identifier", - "start": 444, - "end": 446, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 31 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 447, - "end": 449, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 34 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 450, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 40 - }, - "identifierName": "false" - }, - "name": "false" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 75, - "_esdocTestName": "it75" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 74, - "_esdocTestName": "describe74" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Negate", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 81, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 83, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 18 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./negate", - "start": 88, - "end": 98, - "loc": { - "start": { - "line": 3, - "column": 23 - }, - "end": { - "line": 3, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 98, - "end": 99, - "loc": { - "start": { - "line": 3, - "column": 33 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 100, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 108, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "negate", - "start": 109, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 119, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 120, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 122, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 131, - "end": 133, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 133, - "end": 134, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should inverse the result of the function", - "start": 134, - "end": 177, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 50 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 177, - "end": 178, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 179, - "end": 180, - "loc": { - "start": { - "line": 5, - "column": 52 - }, - "end": { - "line": 5, - "column": 53 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 180, - "end": 181, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 182, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 55 - }, - "end": { - "line": 5, - "column": 57 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 185, - "end": 186, - "loc": { - "start": { - "line": 5, - "column": 58 - }, - "end": { - "line": 5, - "column": 59 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 195, - "end": 200, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 201, - "end": 208, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 209, - "end": 210, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 223, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 225, - "end": 226, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 226, - "end": 227, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 228, - "end": 229, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 246, - "end": 252, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "true", - "start": 253, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 257, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 281, - "end": 282, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 291, - "end": 298, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 298, - "end": 299, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 299, - "end": 309, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 310, - "end": 311, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Negate", - "start": 324, - "end": 330, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 330, - "end": 331, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 331, - "end": 332, - "loc": { - "start": { - "line": 12, - "column": 19 - }, - "end": { - "line": 12, - "column": 20 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 341, - "end": 342, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 342, - "end": 343, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 344, - "end": 351, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 351, - "end": 352, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 352, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 361, - "end": 362, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 363, - "end": 367, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 367, - "end": 368, - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 369, - "end": 373, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 373, - "end": 374, - "loc": { - "start": { - "line": 13, - "column": 40 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 374, - "end": 375, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 384, - "end": 389, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 390, - "end": 397, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 398, - "end": 399, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 400, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 404, - "end": 411, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 411, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 412, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 413, - "end": 414, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 423, - "end": 429, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 429, - "end": 430, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 430, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 437, - "end": 438, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 438, - "end": 440, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 440, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 441, - "end": 442, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 442, - "end": 443, - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 443, - "end": 444, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 444, - "end": 446, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 446, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 31 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 447, - "end": 449, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 449, - "end": 450, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "false", - "start": 450, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 455, - "end": 456, - "loc": { - "start": { - "line": 15, - "column": 40 - }, - "end": { - "line": 15, - "column": 41 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 461, - "end": 462, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 465, - "end": 466, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 466, - "end": 467, - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 467, - "end": 468, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 469, - "end": 469, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/once.spec.js.json b/docs/ast/test/once.spec.js.json deleted file mode 100644 index 874b42b..0000000 --- a/docs/ast/test/once.spec.js.json +++ /dev/null @@ -1,6115 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 710, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 27, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 710, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 27, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Once" - }, - "name": "Once" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Once" - }, - "name": "Once" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - }, - "extra": { - "rawValue": "./once", - "raw": "'./once'" - }, - "value": "./once" - } - }, - { - "type": "ExpressionStatement", - "start": 96, - "end": 709, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 96, - "end": 708, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 26, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 96, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 105, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 15 - } - }, - "extra": { - "rawValue": "once", - "raw": "'once'" - }, - "value": "once" - }, - { - "type": "ArrowFunctionExpression", - "start": 113, - "end": 707, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 26, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 119, - "end": 707, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 26, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 125, - "end": 705, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 25, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 125, - "end": 704, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 25, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 128, - "end": 164, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 43 - } - }, - "extra": { - "rawValue": "should invoke the method only once", - "raw": "'should invoke the method only once'" - }, - "value": "should invoke the method only once" - }, - { - "type": "ArrowFunctionExpression", - "start": 166, - "end": 703, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 172, - "end": 703, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 182, - "end": 196, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 186, - "end": 195, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 186, - "end": 191, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - "init": { - "type": "NumericLiteral", - "start": 194, - "end": 195, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 205, - "end": 288, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 211, - "end": 218, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 219, - "end": 288, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 233, - "end": 278, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 233, - "end": 235, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 238, - "end": 278, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 256, - "end": 264, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 24 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 256, - "end": 263, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 23 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 256, - "end": 261, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - }, - "identifierName": "calls" - }, - "name": "calls" - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 297, - "end": 379, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 297, - "end": 378, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 297, - "end": 315, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 297, - "end": 304, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 305, - "end": 315, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 316, - "end": 346, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 330, - "end": 336, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 330, - "end": 334, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 16 - }, - "identifierName": "Once" - }, - "name": "Once" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 348, - "end": 365, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 348, - "end": 355, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 356, - "end": 365, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 367, - "end": 371, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 373, - "end": 377, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 388, - "end": 418, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 394, - "end": 417, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 394, - "end": 401, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 404, - "end": 417, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 427, - "end": 458, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 433, - "end": 457, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 433, - "end": 441, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "init": { - "type": "NewExpression", - "start": 444, - "end": 457, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 448, - "end": 455, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 467, - "end": 480, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 467, - "end": 479, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 467, - "end": 477, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 467, - "end": 474, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 475, - "end": 477, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 489, - "end": 502, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 489, - "end": 501, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 489, - "end": 499, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 489, - "end": 496, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 497, - "end": 499, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 511, - "end": 524, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 511, - "end": 523, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 20 - } - }, - "callee": { - "type": "MemberExpression", - "start": 511, - "end": 521, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 511, - "end": 518, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 519, - "end": 521, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 533, - "end": 575, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 533, - "end": 574, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 533, - "end": 571, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 533, - "end": 565, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 40 - } - }, - "object": { - "type": "CallExpression", - "start": 533, - "end": 562, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 533, - "end": 539, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 540, - "end": 545, - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 547, - "end": 561, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 36 - } - }, - "extra": { - "rawValue": "single class", - "raw": "'single class'" - }, - "value": "single class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 563, - "end": 565, - "loc": { - "start": { - "line": 20, - "column": 38 - }, - "end": { - "line": 20, - "column": 40 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 566, - "end": 571, - "loc": { - "start": { - "line": 20, - "column": 41 - }, - "end": { - "line": 20, - "column": 46 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 572, - "end": 573, - "loc": { - "start": { - "line": 20, - "column": 47 - }, - "end": { - "line": 20, - "column": 48 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 584, - "end": 598, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 584, - "end": 597, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 584, - "end": 595, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 584, - "end": 592, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 593, - "end": 595, - "loc": { - "start": { - "line": 21, - "column": 17 - }, - "end": { - "line": 21, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 607, - "end": 621, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 607, - "end": 620, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 607, - "end": 618, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 607, - "end": 615, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 616, - "end": 618, - "loc": { - "start": { - "line": 22, - "column": 17 - }, - "end": { - "line": 22, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 630, - "end": 644, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 630, - "end": 643, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 630, - "end": 641, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 630, - "end": 638, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 16 - }, - "identifierName": "myClass2" - }, - "name": "myClass2" - }, - "property": { - "type": "Identifier", - "start": 639, - "end": 641, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 19 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ExpressionStatement", - "start": 653, - "end": 697, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 653, - "end": 696, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 653, - "end": 693, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 653, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 42 - } - }, - "object": { - "type": "CallExpression", - "start": 653, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 653, - "end": 659, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 660, - "end": 665, - "loc": { - "start": { - "line": 24, - "column": 15 - }, - "end": { - "line": 24, - "column": 20 - }, - "identifierName": "calls" - }, - "name": "calls" - }, - { - "type": "StringLiteral", - "start": 667, - "end": 683, - "loc": { - "start": { - "line": 24, - "column": 22 - }, - "end": { - "line": 24, - "column": 38 - } - }, - "extra": { - "rawValue": "multiple class", - "raw": "'multiple class'" - }, - "value": "multiple class" - } - ] - }, - "property": { - "type": "Identifier", - "start": 685, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 40 - }, - "end": { - "line": 24, - "column": 42 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 688, - "end": 693, - "loc": { - "start": { - "line": 24, - "column": 43 - }, - "end": { - "line": 24, - "column": 48 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 694, - "end": 695, - "loc": { - "start": { - "line": 24, - "column": 49 - }, - "end": { - "line": 24, - "column": 50 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 77, - "_esdocTestName": "it77" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 76, - "_esdocTestName": "describe76" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Once", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 79, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 81, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./once", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 96, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 104, - "end": 105, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "once", - "start": 105, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 111, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 113, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 116, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 119, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 127, - "end": 128, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should invoke the method only once", - "start": 128, - "end": 164, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 43 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 164, - "end": 165, - "loc": { - "start": { - "line": 5, - "column": 43 - }, - "end": { - "line": 5, - "column": 44 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 166, - "end": 167, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 5, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 167, - "end": 168, - "loc": { - "start": { - "line": 5, - "column": 46 - }, - "end": { - "line": 5, - "column": 47 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 169, - "end": 171, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 172, - "end": 173, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 182, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 186, - "end": 191, - "loc": { - "start": { - "line": 6, - "column": 12 - }, - "end": { - "line": 6, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 192, - "end": 193, - "loc": { - "start": { - "line": 6, - "column": 18 - }, - "end": { - "line": 6, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 194, - "end": 195, - "loc": { - "start": { - "line": 6, - "column": 20 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 195, - "end": 196, - "loc": { - "start": { - "line": 6, - "column": 21 - }, - "end": { - "line": 6, - "column": 22 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 205, - "end": 210, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 211, - "end": 218, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 219, - "end": 220, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 233, - "end": 235, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 235, - "end": 236, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 236, - "end": 237, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 238, - "end": 239, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 256, - "end": 261, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 21 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 261, - "end": 263, - "loc": { - "start": { - "line": 9, - "column": 21 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 263, - "end": 264, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 277, - "end": 278, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 287, - "end": 288, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 297, - "end": 304, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 304, - "end": 305, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 305, - "end": 315, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 316, - "end": 317, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Once", - "start": 330, - "end": 334, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 334, - "end": 335, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 335, - "end": 336, - "loc": { - "start": { - "line": 13, - "column": 17 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 345, - "end": 346, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 346, - "end": 347, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 348, - "end": 355, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 355, - "end": 356, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 356, - "end": 365, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 365, - "end": 366, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 367, - "end": 371, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 371, - "end": 372, - "loc": { - "start": { - "line": 14, - "column": 34 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 373, - "end": 377, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 377, - "end": 378, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 378, - "end": 379, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 388, - "end": 393, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 394, - "end": 401, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 402, - "end": 403, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 404, - "end": 407, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 415, - "end": 416, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 416, - "end": 417, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 417, - "end": 418, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 427, - "end": 432, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 433, - "end": 441, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 442, - "end": 443, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 444, - "end": 447, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 448, - "end": 455, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 455, - "end": 456, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 456, - "end": 457, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 16, - "column": 38 - }, - "end": { - "line": 16, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 467, - "end": 474, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 474, - "end": 475, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 475, - "end": 477, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 477, - "end": 478, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 478, - "end": 479, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 479, - "end": 480, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 489, - "end": 496, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 496, - "end": 497, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 497, - "end": 499, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 499, - "end": 500, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 500, - "end": 501, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 501, - "end": 502, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 511, - "end": 518, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 518, - "end": 519, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 519, - "end": 521, - "loc": { - "start": { - "line": 19, - "column": 16 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 521, - "end": 522, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 523, - "end": 524, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 533, - "end": 539, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 539, - "end": 540, - "loc": { - "start": { - "line": 20, - "column": 14 - }, - "end": { - "line": 20, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 540, - "end": 545, - "loc": { - "start": { - "line": 20, - "column": 15 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 545, - "end": 546, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "single class", - "start": 547, - "end": 561, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 561, - "end": 562, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 562, - "end": 563, - "loc": { - "start": { - "line": 20, - "column": 37 - }, - "end": { - "line": 20, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 563, - "end": 565, - "loc": { - "start": { - "line": 20, - "column": 38 - }, - "end": { - "line": 20, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 565, - "end": 566, - "loc": { - "start": { - "line": 20, - "column": 40 - }, - "end": { - "line": 20, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 566, - "end": 571, - "loc": { - "start": { - "line": 20, - "column": 41 - }, - "end": { - "line": 20, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 571, - "end": 572, - "loc": { - "start": { - "line": 20, - "column": 46 - }, - "end": { - "line": 20, - "column": 47 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 572, - "end": 573, - "loc": { - "start": { - "line": 20, - "column": 47 - }, - "end": { - "line": 20, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 573, - "end": 574, - "loc": { - "start": { - "line": 20, - "column": 48 - }, - "end": { - "line": 20, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 574, - "end": 575, - "loc": { - "start": { - "line": 20, - "column": 49 - }, - "end": { - "line": 20, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 584, - "end": 592, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 592, - "end": 593, - "loc": { - "start": { - "line": 21, - "column": 16 - }, - "end": { - "line": 21, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 593, - "end": 595, - "loc": { - "start": { - "line": 21, - "column": 17 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 595, - "end": 596, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 596, - "end": 597, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 597, - "end": 598, - "loc": { - "start": { - "line": 21, - "column": 21 - }, - "end": { - "line": 21, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 607, - "end": 615, - "loc": { - "start": { - "line": 22, - "column": 8 - }, - "end": { - "line": 22, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 615, - "end": 616, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 616, - "end": 618, - "loc": { - "start": { - "line": 22, - "column": 17 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 618, - "end": 619, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 619, - "end": 620, - "loc": { - "start": { - "line": 22, - "column": 20 - }, - "end": { - "line": 22, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 620, - "end": 621, - "loc": { - "start": { - "line": 22, - "column": 21 - }, - "end": { - "line": 22, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass2", - "start": 630, - "end": 638, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 638, - "end": 639, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 639, - "end": 641, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 641, - "end": 642, - "loc": { - "start": { - "line": 23, - "column": 19 - }, - "end": { - "line": 23, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 642, - "end": 643, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 643, - "end": 644, - "loc": { - "start": { - "line": 23, - "column": 21 - }, - "end": { - "line": 23, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 653, - "end": 659, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 659, - "end": 660, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "calls", - "start": 660, - "end": 665, - "loc": { - "start": { - "line": 24, - "column": 15 - }, - "end": { - "line": 24, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 665, - "end": 666, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "multiple class", - "start": 667, - "end": 683, - "loc": { - "start": { - "line": 24, - "column": 22 - }, - "end": { - "line": 24, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 683, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 38 - }, - "end": { - "line": 24, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 684, - "end": 685, - "loc": { - "start": { - "line": 24, - "column": 39 - }, - "end": { - "line": 24, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 685, - "end": 687, - "loc": { - "start": { - "line": 24, - "column": 40 - }, - "end": { - "line": 24, - "column": 42 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 687, - "end": 688, - "loc": { - "start": { - "line": 24, - "column": 42 - }, - "end": { - "line": 24, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 688, - "end": 693, - "loc": { - "start": { - "line": 24, - "column": 43 - }, - "end": { - "line": 24, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 693, - "end": 694, - "loc": { - "start": { - "line": 24, - "column": 48 - }, - "end": { - "line": 24, - "column": 49 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 694, - "end": 695, - "loc": { - "start": { - "line": 24, - "column": 49 - }, - "end": { - "line": 24, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 695, - "end": 696, - "loc": { - "start": { - "line": 24, - "column": 50 - }, - "end": { - "line": 24, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 696, - "end": 697, - "loc": { - "start": { - "line": 24, - "column": 51 - }, - "end": { - "line": 24, - "column": 52 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 702, - "end": 703, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 703, - "end": 704, - "loc": { - "start": { - "line": 25, - "column": 5 - }, - "end": { - "line": 25, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 704, - "end": 705, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 706, - "end": 707, - "loc": { - "start": { - "line": 26, - "column": 0 - }, - "end": { - "line": 26, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 707, - "end": 708, - "loc": { - "start": { - "line": 26, - "column": 1 - }, - "end": { - "line": 26, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 708, - "end": 709, - "loc": { - "start": { - "line": 26, - "column": 2 - }, - "end": { - "line": 26, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 710, - "end": 710, - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 27, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/overArgs.spec.js.json b/docs/ast/test/overArgs.spec.js.json deleted file mode 100644 index b09990b..0000000 --- a/docs/ast/test/overArgs.spec.js.json +++ /dev/null @@ -1,5140 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 530, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 19, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 530, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 19, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 38 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - }, - "identifierName": "OverArgs" - }, - "name": "OverArgs" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - }, - "identifierName": "OverArgs" - }, - "name": "OverArgs" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 90, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 37 - } - }, - "extra": { - "rawValue": "./overArgs", - "raw": "'./overArgs'" - }, - "value": "./overArgs" - } - }, - { - "type": "VariableDeclaration", - "start": 104, - "end": 136, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 32 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 110, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 31 - } - }, - "id": { - "type": "Identifier", - "start": 110, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 9 - }, - "identifierName": "add" - }, - "name": "add" - }, - "init": { - "type": "ArrowFunctionExpression", - "start": 116, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 12 - }, - "end": { - "line": 4, - "column": 31 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 14 - }, - "identifierName": "n" - }, - "name": "n" - } - ], - "body": { - "type": "ArrowFunctionExpression", - "start": 123, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 31 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 124, - "end": 125, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - }, - "identifierName": "v" - }, - "name": "v" - } - ], - "body": { - "type": "BinaryExpression", - "start": 130, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 31 - } - }, - "left": { - "type": "Identifier", - "start": 130, - "end": 131, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 27 - }, - "identifierName": "v" - }, - "name": "v" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 134, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 30 - }, - "end": { - "line": 4, - "column": 31 - }, - "identifierName": "n" - }, - "name": "n" - } - } - } - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 137, - "end": 529, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 18, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 137, - "end": 528, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 18, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 137, - "end": 145, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 146, - "end": 156, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 19 - } - }, - "extra": { - "rawValue": "overArgs", - "raw": "'overArgs'" - }, - "value": "overArgs" - }, - { - "type": "ArrowFunctionExpression", - "start": 158, - "end": 527, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 18, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 164, - "end": 527, - "loc": { - "start": { - "line": 5, - "column": 27 - }, - "end": { - "line": 18, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 170, - "end": 525, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 17, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 170, - "end": 524, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 17, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 170, - "end": 172, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 173, - "end": 205, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 39 - } - }, - "extra": { - "rawValue": "should transform each argument", - "raw": "'should transform each argument'" - }, - "value": "should transform each argument" - }, - { - "type": "ArrowFunctionExpression", - "start": 207, - "end": 523, - "loc": { - "start": { - "line": 6, - "column": 41 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 213, - "end": 523, - "loc": { - "start": { - "line": 6, - "column": 47 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 223, - "end": 316, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 229, - "end": 236, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 237, - "end": 316, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 251, - "end": 306, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 251, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 257, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 18 - }, - "end": { - "line": 8, - "column": 19 - }, - "identifierName": "b" - }, - "name": "b" - } - ], - "body": { - "type": "BlockStatement", - "start": 260, - "end": 306, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 278, - "end": 292, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 30 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 285, - "end": 291, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 29 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 286, - "end": 287, - "loc": { - "start": { - "line": 9, - "column": 24 - }, - "end": { - "line": 9, - "column": 25 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 289, - "end": 290, - "loc": { - "start": { - "line": 9, - "column": 27 - }, - "end": { - "line": 9, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 325, - "end": 426, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 325, - "end": 425, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 325, - "end": 343, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 325, - "end": 332, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 333, - "end": 343, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 344, - "end": 393, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 358, - "end": 383, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 358, - "end": 366, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 20 - }, - "identifierName": "OverArgs" - }, - "name": "OverArgs" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 367, - "end": 374, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 367, - "end": 370, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 24 - }, - "identifierName": "add" - }, - "name": "add" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 371, - "end": 373, - "loc": { - "start": { - "line": 13, - "column": 25 - }, - "end": { - "line": 13, - "column": 27 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - }, - { - "type": "CallExpression", - "start": 376, - "end": 382, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 36 - } - }, - "callee": { - "type": "Identifier", - "start": 376, - "end": 379, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 33 - }, - "identifierName": "add" - }, - "name": "add" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 380, - "end": 381, - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 395, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 395, - "end": 402, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 403, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 414, - "end": 418, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 420, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 435, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 441, - "end": 464, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 441, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 451, - "end": 464, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 455, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 474, - "end": 517, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 51 - } - }, - "expression": { - "type": "CallExpression", - "start": 474, - "end": 516, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 474, - "end": 506, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 474, - "end": 502, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 474, - "end": 499, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 474, - "end": 480, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 481, - "end": 498, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 32 - } - }, - "callee": { - "type": "MemberExpression", - "start": 481, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 481, - "end": 488, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 489, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 492, - "end": 493, - "loc": { - "start": { - "line": 16, - "column": 26 - }, - "end": { - "line": 16, - "column": 27 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - }, - { - "type": "NumericLiteral", - "start": 495, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 31 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 500, - "end": 502, - "loc": { - "start": { - "line": 16, - "column": 34 - }, - "end": { - "line": 16, - "column": 36 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 503, - "end": 506, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 40 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 507, - "end": 515, - "loc": { - "start": { - "line": 16, - "column": 41 - }, - "end": { - "line": 16, - "column": 49 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 508, - "end": 510, - "loc": { - "start": { - "line": 16, - "column": 42 - }, - "end": { - "line": 16, - "column": 44 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - }, - { - "type": "NumericLiteral", - "start": 512, - "end": 514, - "loc": { - "start": { - "line": 16, - "column": 46 - }, - "end": { - "line": 16, - "column": 48 - } - }, - "extra": { - "rawValue": 55, - "raw": "55" - }, - "value": 55 - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 79, - "_esdocTestName": "it79" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 78, - "_esdocTestName": "describe78" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "OverArgs", - "start": 74, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 83, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 18 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 85, - "end": 89, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./overArgs", - "start": 90, - "end": 102, - "loc": { - "start": { - "line": 3, - "column": 25 - }, - "end": { - "line": 3, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 3, - "column": 37 - }, - "end": { - "line": 3, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 104, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 110, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 10 - }, - "end": { - "line": 4, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 12 - }, - "end": { - "line": 4, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 118, - "end": 119, - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 120, - "end": 122, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 123, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 124, - "end": 125, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 127, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 130, - "end": 131, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 132, - "end": 133, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 134, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 30 - }, - "end": { - "line": 4, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 135, - "end": 136, - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 4, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 137, - "end": 145, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 145, - "end": 146, - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "overArgs", - "start": 146, - "end": 156, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 156, - "end": 157, - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 158, - "end": 159, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 159, - "end": 160, - "loc": { - "start": { - "line": 5, - "column": 22 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 161, - "end": 163, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 164, - "end": 165, - "loc": { - "start": { - "line": 5, - "column": 27 - }, - "end": { - "line": 5, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 170, - "end": 172, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 172, - "end": 173, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should transform each argument", - "start": 173, - "end": 205, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 39 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 205, - "end": 206, - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 207, - "end": 208, - "loc": { - "start": { - "line": 6, - "column": 41 - }, - "end": { - "line": 6, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 208, - "end": 209, - "loc": { - "start": { - "line": 6, - "column": 42 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 210, - "end": 212, - "loc": { - "start": { - "line": 6, - "column": 44 - }, - "end": { - "line": 6, - "column": 46 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 213, - "end": 214, - "loc": { - "start": { - "line": 6, - "column": 47 - }, - "end": { - "line": 6, - "column": 48 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 223, - "end": 228, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 229, - "end": 236, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 237, - "end": 238, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 251, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 12 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 253, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 255, - "end": 256, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 257, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 18 - }, - "end": { - "line": 8, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 258, - "end": 259, - "loc": { - "start": { - "line": 8, - "column": 19 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 260, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 278, - "end": 284, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 22 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 285, - "end": 286, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 286, - "end": 287, - "loc": { - "start": { - "line": 9, - "column": 24 - }, - "end": { - "line": 9, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 287, - "end": 288, - "loc": { - "start": { - "line": 9, - "column": 25 - }, - "end": { - "line": 9, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 289, - "end": 290, - "loc": { - "start": { - "line": 9, - "column": 27 - }, - "end": { - "line": 9, - "column": 28 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 290, - "end": 291, - "loc": { - "start": { - "line": 9, - "column": 28 - }, - "end": { - "line": 9, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 291, - "end": 292, - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 305, - "end": 306, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 325, - "end": 332, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 332, - "end": 333, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 333, - "end": 343, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 343, - "end": 344, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 344, - "end": 345, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "OverArgs", - "start": 358, - "end": 366, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 367, - "end": 370, - "loc": { - "start": { - "line": 13, - "column": 21 - }, - "end": { - "line": 13, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 370, - "end": 371, - "loc": { - "start": { - "line": 13, - "column": 24 - }, - "end": { - "line": 13, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 371, - "end": 373, - "loc": { - "start": { - "line": 13, - "column": 25 - }, - "end": { - "line": 13, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 373, - "end": 374, - "loc": { - "start": { - "line": 13, - "column": 27 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 374, - "end": 375, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "add", - "start": 376, - "end": 379, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 379, - "end": 380, - "loc": { - "start": { - "line": 13, - "column": 33 - }, - "end": { - "line": 13, - "column": 34 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 380, - "end": 381, - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 381, - "end": 382, - "loc": { - "start": { - "line": 13, - "column": 35 - }, - "end": { - "line": 13, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 382, - "end": 383, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 37 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 392, - "end": 393, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 393, - "end": 394, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 395, - "end": 402, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 402, - "end": 403, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 403, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 412, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 414, - "end": 418, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 418, - "end": 419, - "loc": { - "start": { - "line": 14, - "column": 34 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 420, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 424, - "end": 425, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 425, - "end": 426, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 435, - "end": 440, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 441, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 449, - "end": 450, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 451, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 455, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 464, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 474, - "end": 480, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 480, - "end": 481, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 481, - "end": 488, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 488, - "end": 489, - "loc": { - "start": { - "line": 16, - "column": 22 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 489, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 491, - "end": 492, - "loc": { - "start": { - "line": 16, - "column": 25 - }, - "end": { - "line": 16, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 492, - "end": 493, - "loc": { - "start": { - "line": 16, - "column": 26 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 493, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 27 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 495, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 497, - "end": 498, - "loc": { - "start": { - "line": 16, - "column": 31 - }, - "end": { - "line": 16, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 498, - "end": 499, - "loc": { - "start": { - "line": 16, - "column": 32 - }, - "end": { - "line": 16, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 499, - "end": 500, - "loc": { - "start": { - "line": 16, - "column": 33 - }, - "end": { - "line": 16, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 500, - "end": 502, - "loc": { - "start": { - "line": 16, - "column": 34 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 502, - "end": 503, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 503, - "end": 506, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 506, - "end": 507, - "loc": { - "start": { - "line": 16, - "column": 40 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 507, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 41 - }, - "end": { - "line": 16, - "column": 42 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 508, - "end": 510, - "loc": { - "start": { - "line": 16, - "column": 42 - }, - "end": { - "line": 16, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 510, - "end": 511, - "loc": { - "start": { - "line": 16, - "column": 44 - }, - "end": { - "line": 16, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 55, - "start": 512, - "end": 514, - "loc": { - "start": { - "line": 16, - "column": 46 - }, - "end": { - "line": 16, - "column": 48 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 514, - "end": 515, - "loc": { - "start": { - "line": 16, - "column": 48 - }, - "end": { - "line": 16, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 515, - "end": 516, - "loc": { - "start": { - "line": 16, - "column": 49 - }, - "end": { - "line": 16, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 516, - "end": 517, - "loc": { - "start": { - "line": 16, - "column": 50 - }, - "end": { - "line": 16, - "column": 51 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 523, - "end": 524, - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 17, - "column": 6 - }, - "end": { - "line": 17, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 526, - "end": 527, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 527, - "end": 528, - "loc": { - "start": { - "line": 18, - "column": 1 - }, - "end": { - "line": 18, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 528, - "end": 529, - "loc": { - "start": { - "line": 18, - "column": 2 - }, - "end": { - "line": 18, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 530, - "end": 530, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/partial.spec.js.json b/docs/ast/test/partial.spec.js.json deleted file mode 100644 index 6a2ca43..0000000 --- a/docs/ast/test/partial.spec.js.json +++ /dev/null @@ -1,5465 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 659, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 22, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 659, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 22, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 36 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - }, - "identifierName": "Partial" - }, - "name": "Partial" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - }, - "identifierName": "Partial" - }, - "name": "Partial" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 89, - "end": 100, - "loc": { - "start": { - "line": 3, - "column": 24 - }, - "end": { - "line": 3, - "column": 35 - } - }, - "extra": { - "rawValue": "./partial", - "raw": "'./partial'" - }, - "value": "./partial" - } - }, - { - "type": "ExpressionStatement", - "start": 102, - "end": 658, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 102, - "end": 657, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 21, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 102, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 111, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 18 - } - }, - "extra": { - "rawValue": "partial", - "raw": "'partial'" - }, - "value": "partial" - }, - { - "type": "ArrowFunctionExpression", - "start": 122, - "end": 656, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 21, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 128, - "end": 656, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 21, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 134, - "end": 654, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 20, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 134, - "end": 653, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 20, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 134, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 137, - "end": 181, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - }, - "extra": { - "rawValue": "should create a partially applied function", - "raw": "'should create a partially applied function'" - }, - "value": "should create a partially applied function" - }, - { - "type": "ArrowFunctionExpression", - "start": 183, - "end": 652, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 20, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 189, - "end": 652, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 20, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 199, - "end": 395, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 205, - "end": 212, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 213, - "end": 395, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 227, - "end": 297, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 227, - "end": 238, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 241, - "end": 297, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 259, - "end": 283, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 259, - "end": 282, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 39 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 259, - "end": 272, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 259, - "end": 263, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 264, - "end": 272, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 29 - }, - "identifierName": "lastName" - }, - "name": "lastName" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 275, - "end": 282, - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 8, - "column": 39 - } - }, - "extra": { - "rawValue": "Sojka", - "raw": "'Sojka'" - }, - "value": "Sojka" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 310, - "end": 385, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 310, - "end": 312, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 313, - "end": 317, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 19 - }, - "identifierName": "name" - }, - "name": "name" - } - ], - "body": { - "type": "BlockStatement", - "start": 319, - "end": 385, - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 337, - "end": 371, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 50 - } - }, - "argument": { - "type": "TemplateLiteral", - "start": 344, - "end": 370, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 49 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 347, - "end": 351, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 30 - }, - "identifierName": "name" - }, - "name": "name" - }, - { - "type": "MemberExpression", - "start": 355, - "end": 368, - "loc": { - "start": { - "line": 11, - "column": 34 - }, - "end": { - "line": 11, - "column": 47 - } - }, - "object": { - "type": "ThisExpression", - "start": 355, - "end": 359, - "loc": { - "start": { - "line": 11, - "column": 34 - }, - "end": { - "line": 11, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "start": 360, - "end": 368, - "loc": { - "start": { - "line": 11, - "column": 39 - }, - "end": { - "line": 11, - "column": 47 - }, - "identifierName": "lastName" - }, - "name": "lastName" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 345, - "end": 345, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 24 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 352, - "end": 353, - "loc": { - "start": { - "line": 11, - "column": 31 - }, - "end": { - "line": 11, - "column": 32 - } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 369, - "end": 369, - "loc": { - "start": { - "line": 11, - "column": 48 - }, - "end": { - "line": 11, - "column": 48 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 404, - "end": 504, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 404, - "end": 503, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 404, - "end": 422, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 404, - "end": 411, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 412, - "end": 422, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 423, - "end": 468, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 16, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 437, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 437, - "end": 444, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 19 - }, - "identifierName": "Partial" - }, - "name": "Partial" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 445, - "end": 449, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 24 - } - }, - "extra": { - "rawValue": "fn", - "raw": "'fn'" - }, - "value": "fn" - }, - { - "type": "StringLiteral", - "start": 451, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 32 - } - }, - "extra": { - "rawValue": "Avry", - "raw": "'Avry'" - }, - "value": "Avry" - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 470, - "end": 487, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 470, - "end": 477, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 478, - "end": 487, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 489, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 35 - } - }, - "extra": { - "rawValue": "fn2", - "raw": "\"fn2\"" - }, - "value": "fn2" - }, - { - "type": "UnaryExpression", - "start": 496, - "end": 502, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 43 - } - }, - "operator": "void", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 501, - "end": 502, - "loc": { - "start": { - "line": 16, - "column": 42 - }, - "end": { - "line": 16, - "column": 43 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "extra": { - "parenthesizedArgument": false - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 513, - "end": 543, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 519, - "end": 542, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 519, - "end": 526, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 529, - "end": 542, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 533, - "end": 540, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 552, - "end": 592, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 552, - "end": 591, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 552, - "end": 579, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 552, - "end": 577, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 552, - "end": 574, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 30 - } - }, - "object": { - "type": "CallExpression", - "start": 552, - "end": 571, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 552, - "end": 558, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 559, - "end": 570, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 559, - "end": 566, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 567, - "end": 570, - "loc": { - "start": { - "line": 18, - "column": 23 - }, - "end": { - "line": 18, - "column": 26 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 572, - "end": 574, - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 30 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 575, - "end": 577, - "loc": { - "start": { - "line": 18, - "column": 31 - }, - "end": { - "line": 18, - "column": 33 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 578, - "end": 579, - "loc": { - "start": { - "line": 18, - "column": 34 - }, - "end": { - "line": 18, - "column": 35 - }, - "identifierName": "a" - }, - "name": "a" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 580, - "end": 590, - "loc": { - "start": { - "line": 18, - "column": 36 - }, - "end": { - "line": 18, - "column": 46 - } - }, - "extra": { - "rawValue": "function", - "raw": "'function'" - }, - "value": "function" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 601, - "end": 646, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 53 - } - }, - "expression": { - "type": "CallExpression", - "start": 601, - "end": 645, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 601, - "end": 631, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 601, - "end": 625, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 601, - "end": 622, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 601, - "end": 607, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 608, - "end": 621, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 28 - } - }, - "callee": { - "type": "MemberExpression", - "start": 608, - "end": 619, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 608, - "end": 615, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 616, - "end": 619, - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 26 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "computed": false - }, - "arguments": [] - } - ] - }, - "property": { - "type": "Identifier", - "start": 623, - "end": 625, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 626, - "end": 631, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 632, - "end": 644, - "loc": { - "start": { - "line": 19, - "column": 39 - }, - "end": { - "line": 19, - "column": 51 - } - }, - "extra": { - "rawValue": "Avry Sojka", - "raw": "'Avry Sojka'" - }, - "value": "Avry Sojka" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 81, - "_esdocTestName": "it81" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 80, - "_esdocTestName": "describe80" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Partial", - "start": 74, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 82, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 17 - }, - "end": { - "line": 3, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 84, - "end": 88, - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./partial", - "start": 89, - "end": 100, - "loc": { - "start": { - "line": 3, - "column": 24 - }, - "end": { - "line": 3, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 100, - "end": 101, - "loc": { - "start": { - "line": 3, - "column": 35 - }, - "end": { - "line": 3, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 102, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 110, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "partial", - "start": 111, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 120, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 123, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 128, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 134, - "end": 136, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 136, - "end": 137, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should create a partially applied function", - "start": 137, - "end": 181, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 181, - "end": 182, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 183, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 184, - "end": 185, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 5, - "column": 55 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 186, - "end": 188, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 189, - "end": 190, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 5, - "column": 60 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 199, - "end": 204, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 205, - "end": 212, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 213, - "end": 214, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 227, - "end": 238, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 238, - "end": 239, - "loc": { - "start": { - "line": 7, - "column": 23 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 239, - "end": 240, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 241, - "end": 242, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 259, - "end": 263, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 263, - "end": 264, - "loc": { - "start": { - "line": 8, - "column": 20 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "lastName", - "start": 264, - "end": 272, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 273, - "end": 274, - "loc": { - "start": { - "line": 8, - "column": 30 - }, - "end": { - "line": 8, - "column": 31 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Sojka", - "start": 275, - "end": 282, - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 282, - "end": 283, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 40 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 296, - "end": 297, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 310, - "end": 312, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 312, - "end": 313, - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 313, - "end": 317, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 317, - "end": 318, - "loc": { - "start": { - "line": 10, - "column": 19 - }, - "end": { - "line": 10, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 319, - "end": 320, - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 337, - "end": 343, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 22 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 344, - "end": 345, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 345, - "end": 345, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 345, - "end": 347, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 347, - "end": 351, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 351, - "end": 352, - "loc": { - "start": { - "line": 11, - "column": 30 - }, - "end": { - "line": 11, - "column": 31 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 352, - "end": 353, - "loc": { - "start": { - "line": 11, - "column": 31 - }, - "end": { - "line": 11, - "column": 32 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 353, - "end": 355, - "loc": { - "start": { - "line": 11, - "column": 32 - }, - "end": { - "line": 11, - "column": 34 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 355, - "end": 359, - "loc": { - "start": { - "line": 11, - "column": 34 - }, - "end": { - "line": 11, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 38 - }, - "end": { - "line": 11, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "lastName", - "start": 360, - "end": 368, - "loc": { - "start": { - "line": 11, - "column": 39 - }, - "end": { - "line": 11, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 368, - "end": 369, - "loc": { - "start": { - "line": 11, - "column": 47 - }, - "end": { - "line": 11, - "column": 48 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 369, - "end": 369, - "loc": { - "start": { - "line": 11, - "column": 48 - }, - "end": { - "line": 11, - "column": 48 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 369, - "end": 370, - "loc": { - "start": { - "line": 11, - "column": 48 - }, - "end": { - "line": 11, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 370, - "end": 371, - "loc": { - "start": { - "line": 11, - "column": 49 - }, - "end": { - "line": 11, - "column": 50 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 384, - "end": 385, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 394, - "end": 395, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 404, - "end": 411, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 411, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 15 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 412, - "end": 422, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 423, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Partial", - "start": 437, - "end": 444, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 444, - "end": 445, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 445, - "end": 449, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 449, - "end": 450, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Avry", - "start": 451, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 467, - "end": 468, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 468, - "end": 469, - "loc": { - "start": { - "line": 16, - "column": 9 - }, - "end": { - "line": 16, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 470, - "end": 477, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 477, - "end": 478, - "loc": { - "start": { - "line": 16, - "column": 18 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 478, - "end": 487, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 487, - "end": 488, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn2", - "start": 489, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 494, - "end": 495, - "loc": { - "start": { - "line": 16, - "column": 35 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "void", - "keyword": "void", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "void", - "start": 496, - "end": 500, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 501, - "end": 502, - "loc": { - "start": { - "line": 16, - "column": 42 - }, - "end": { - "line": 16, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 502, - "end": 503, - "loc": { - "start": { - "line": 16, - "column": 43 - }, - "end": { - "line": 16, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 503, - "end": 504, - "loc": { - "start": { - "line": 16, - "column": 44 - }, - "end": { - "line": 16, - "column": 45 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 513, - "end": 518, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 519, - "end": 526, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 527, - "end": 528, - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 529, - "end": 532, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 533, - "end": 540, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 540, - "end": 541, - "loc": { - "start": { - "line": 17, - "column": 35 - }, - "end": { - "line": 17, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 541, - "end": 542, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 542, - "end": 543, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 552, - "end": 558, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 558, - "end": 559, - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 559, - "end": 566, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 566, - "end": 567, - "loc": { - "start": { - "line": 18, - "column": 22 - }, - "end": { - "line": 18, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 567, - "end": 570, - "loc": { - "start": { - "line": 18, - "column": 23 - }, - "end": { - "line": 18, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 570, - "end": 571, - "loc": { - "start": { - "line": 18, - "column": 26 - }, - "end": { - "line": 18, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 571, - "end": 572, - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 18, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 572, - "end": 574, - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 574, - "end": 575, - "loc": { - "start": { - "line": 18, - "column": 30 - }, - "end": { - "line": 18, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 575, - "end": 577, - "loc": { - "start": { - "line": 18, - "column": 31 - }, - "end": { - "line": 18, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 577, - "end": 578, - "loc": { - "start": { - "line": 18, - "column": 33 - }, - "end": { - "line": 18, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 578, - "end": 579, - "loc": { - "start": { - "line": 18, - "column": 34 - }, - "end": { - "line": 18, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 579, - "end": 580, - "loc": { - "start": { - "line": 18, - "column": 35 - }, - "end": { - "line": 18, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 580, - "end": 590, - "loc": { - "start": { - "line": 18, - "column": 36 - }, - "end": { - "line": 18, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 590, - "end": 591, - "loc": { - "start": { - "line": 18, - "column": 46 - }, - "end": { - "line": 18, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 591, - "end": 592, - "loc": { - "start": { - "line": 18, - "column": 47 - }, - "end": { - "line": 18, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 601, - "end": 607, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 607, - "end": 608, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 608, - "end": 615, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 615, - "end": 616, - "loc": { - "start": { - "line": 19, - "column": 22 - }, - "end": { - "line": 19, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 616, - "end": 619, - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 619, - "end": 620, - "loc": { - "start": { - "line": 19, - "column": 26 - }, - "end": { - "line": 19, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 620, - "end": 621, - "loc": { - "start": { - "line": 19, - "column": 27 - }, - "end": { - "line": 19, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 621, - "end": 622, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 622, - "end": 623, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 623, - "end": 625, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 625, - "end": 626, - "loc": { - "start": { - "line": 19, - "column": 32 - }, - "end": { - "line": 19, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 626, - "end": 631, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 631, - "end": 632, - "loc": { - "start": { - "line": 19, - "column": 38 - }, - "end": { - "line": 19, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Avry Sojka", - "start": 632, - "end": 644, - "loc": { - "start": { - "line": 19, - "column": 39 - }, - "end": { - "line": 19, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 644, - "end": 645, - "loc": { - "start": { - "line": 19, - "column": 51 - }, - "end": { - "line": 19, - "column": 52 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 645, - "end": 646, - "loc": { - "start": { - "line": 19, - "column": 52 - }, - "end": { - "line": 19, - "column": 53 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 651, - "end": 652, - "loc": { - "start": { - "line": 20, - "column": 4 - }, - "end": { - "line": 20, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 652, - "end": 653, - "loc": { - "start": { - "line": 20, - "column": 5 - }, - "end": { - "line": 20, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 653, - "end": 654, - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 655, - "end": 656, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 656, - "end": 657, - "loc": { - "start": { - "line": 21, - "column": 1 - }, - "end": { - "line": 21, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 657, - "end": 658, - "loc": { - "start": { - "line": 21, - "column": 2 - }, - "end": { - "line": 21, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 659, - "end": 659, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 22, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/partialRight.spec.js.json b/docs/ast/test/partialRight.spec.js.json deleted file mode 100644 index de1cf7f..0000000 --- a/docs/ast/test/partialRight.spec.js.json +++ /dev/null @@ -1,5465 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 681, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 22, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 681, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 22, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 111, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 46 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 21 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 21 - }, - "identifierName": "PartialRight" - }, - "name": "PartialRight" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 21 - }, - "identifierName": "PartialRight" - }, - "name": "PartialRight" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 94, - "end": 110, - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 45 - } - }, - "extra": { - "rawValue": "./partialRight", - "raw": "'./partialRight'" - }, - "value": "./partialRight" - } - }, - { - "type": "ExpressionStatement", - "start": 112, - "end": 680, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 112, - "end": 679, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 21, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 112, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 121, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 23 - } - }, - "extra": { - "rawValue": "partialRight", - "raw": "'partialRight'" - }, - "value": "partialRight" - }, - { - "type": "ArrowFunctionExpression", - "start": 137, - "end": 678, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 21, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 143, - "end": 678, - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 21, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 149, - "end": 676, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 20, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 149, - "end": 675, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 20, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 149, - "end": 151, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 152, - "end": 196, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - }, - "extra": { - "rawValue": "should create a partially applied function", - "raw": "'should create a partially applied function'" - }, - "value": "should create a partially applied function" - }, - { - "type": "ArrowFunctionExpression", - "start": 198, - "end": 674, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 20, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 204, - "end": 674, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 20, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 214, - "end": 411, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 220, - "end": 227, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 228, - "end": 411, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 242, - "end": 312, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 242, - "end": 253, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 256, - "end": 312, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 274, - "end": 298, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 274, - "end": 297, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 39 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 274, - "end": 288, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 30 - } - }, - "object": { - "type": "ThisExpression", - "start": 274, - "end": 278, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 279, - "end": 288, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 30 - }, - "identifierName": "firstName" - }, - "name": "firstName" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 291, - "end": 297, - "loc": { - "start": { - "line": 8, - "column": 33 - }, - "end": { - "line": 8, - "column": 39 - } - }, - "extra": { - "rawValue": "Avry", - "raw": "'Avry'" - }, - "value": "Avry" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 325, - "end": 401, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 325, - "end": 327, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 328, - "end": 332, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 19 - }, - "identifierName": "name" - }, - "name": "name" - } - ], - "body": { - "type": "BlockStatement", - "start": 334, - "end": 401, - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 12, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 352, - "end": 387, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 51 - } - }, - "argument": { - "type": "TemplateLiteral", - "start": 359, - "end": 386, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 50 - } - }, - "expressions": [ - { - "type": "MemberExpression", - "start": 362, - "end": 376, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 362, - "end": 366, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "start": 367, - "end": 376, - "loc": { - "start": { - "line": 11, - "column": 31 - }, - "end": { - "line": 11, - "column": 40 - }, - "identifierName": "firstName" - }, - "name": "firstName" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 380, - "end": 384, - "loc": { - "start": { - "line": 11, - "column": 44 - }, - "end": { - "line": 11, - "column": 48 - }, - "identifierName": "name" - }, - "name": "name" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 360, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 24 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 377, - "end": 378, - "loc": { - "start": { - "line": 11, - "column": 41 - }, - "end": { - "line": 11, - "column": 42 - } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 385, - "end": 385, - "loc": { - "start": { - "line": 11, - "column": 49 - }, - "end": { - "line": 11, - "column": 49 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 420, - "end": 526, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 420, - "end": 525, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 16, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 420, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 420, - "end": 427, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 428, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 439, - "end": 490, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 16, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 453, - "end": 480, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 453, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 24 - }, - "identifierName": "PartialRight" - }, - "name": "PartialRight" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 466, - "end": 470, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 29 - } - }, - "extra": { - "rawValue": "fn", - "raw": "'fn'" - }, - "value": "fn" - }, - { - "type": "StringLiteral", - "start": 472, - "end": 479, - "loc": { - "start": { - "line": 15, - "column": 31 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "extra": { - "rawValue": "Sojka", - "raw": "'Sojka'" - }, - "value": "Sojka" - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 492, - "end": 509, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 492, - "end": 499, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 500, - "end": 509, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 511, - "end": 516, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 35 - } - }, - "extra": { - "rawValue": "fn2", - "raw": "\"fn2\"" - }, - "value": "fn2" - }, - { - "type": "UnaryExpression", - "start": 518, - "end": 524, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 43 - } - }, - "operator": "void", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 523, - "end": 524, - "loc": { - "start": { - "line": 16, - "column": 42 - }, - "end": { - "line": 16, - "column": 43 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "extra": { - "parenthesizedArgument": false - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 535, - "end": 565, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 541, - "end": 564, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 541, - "end": 548, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 551, - "end": 564, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 555, - "end": 562, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 574, - "end": 614, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 574, - "end": 613, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 574, - "end": 601, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 574, - "end": 599, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 574, - "end": 596, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 30 - } - }, - "object": { - "type": "CallExpression", - "start": 574, - "end": 593, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 574, - "end": 580, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 581, - "end": 592, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 581, - "end": 588, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 589, - "end": 592, - "loc": { - "start": { - "line": 18, - "column": 23 - }, - "end": { - "line": 18, - "column": 26 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 594, - "end": 596, - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 30 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 597, - "end": 599, - "loc": { - "start": { - "line": 18, - "column": 31 - }, - "end": { - "line": 18, - "column": 33 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 600, - "end": 601, - "loc": { - "start": { - "line": 18, - "column": 34 - }, - "end": { - "line": 18, - "column": 35 - }, - "identifierName": "a" - }, - "name": "a" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 602, - "end": 612, - "loc": { - "start": { - "line": 18, - "column": 36 - }, - "end": { - "line": 18, - "column": 46 - } - }, - "extra": { - "rawValue": "function", - "raw": "'function'" - }, - "value": "function" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 623, - "end": 668, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 53 - } - }, - "expression": { - "type": "CallExpression", - "start": 623, - "end": 667, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 623, - "end": 653, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 623, - "end": 647, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 623, - "end": 644, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 623, - "end": 629, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 630, - "end": 643, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 28 - } - }, - "callee": { - "type": "MemberExpression", - "start": 630, - "end": 641, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 630, - "end": 637, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 638, - "end": 641, - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 26 - }, - "identifierName": "fn2" - }, - "name": "fn2" - }, - "computed": false - }, - "arguments": [] - } - ] - }, - "property": { - "type": "Identifier", - "start": 645, - "end": 647, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 648, - "end": 653, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 654, - "end": 666, - "loc": { - "start": { - "line": 19, - "column": 39 - }, - "end": { - "line": 19, - "column": 51 - } - }, - "extra": { - "rawValue": "Avry Sojka", - "raw": "'Avry Sojka'" - }, - "value": "Avry Sojka" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 83, - "_esdocTestName": "it83" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 82, - "_esdocTestName": "describe82" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PartialRight", - "start": 74, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 87, - "end": 88, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 89, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 24 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./partialRight", - "start": 94, - "end": 110, - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 110, - "end": 111, - "loc": { - "start": { - "line": 3, - "column": 45 - }, - "end": { - "line": 3, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 112, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 120, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "partialRight", - "start": 121, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 135, - "end": 136, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 137, - "end": 138, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 138, - "end": 139, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 140, - "end": 142, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 30 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 143, - "end": 144, - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 4, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 149, - "end": 151, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 151, - "end": 152, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should create a partially applied function", - "start": 152, - "end": 196, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 51 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 196, - "end": 197, - "loc": { - "start": { - "line": 5, - "column": 51 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 198, - "end": 199, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 199, - "end": 200, - "loc": { - "start": { - "line": 5, - "column": 54 - }, - "end": { - "line": 5, - "column": 55 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 201, - "end": 203, - "loc": { - "start": { - "line": 5, - "column": 56 - }, - "end": { - "line": 5, - "column": 58 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 204, - "end": 205, - "loc": { - "start": { - "line": 5, - "column": 59 - }, - "end": { - "line": 5, - "column": 60 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 214, - "end": 219, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 220, - "end": 227, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 228, - "end": 229, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 242, - "end": 253, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 253, - "end": 254, - "loc": { - "start": { - "line": 7, - "column": 23 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 256, - "end": 257, - "loc": { - "start": { - "line": 7, - "column": 26 - }, - "end": { - "line": 7, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 274, - "end": 278, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 278, - "end": 279, - "loc": { - "start": { - "line": 8, - "column": 20 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "firstName", - "start": 279, - "end": 288, - "loc": { - "start": { - "line": 8, - "column": 21 - }, - "end": { - "line": 8, - "column": 30 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 289, - "end": 290, - "loc": { - "start": { - "line": 8, - "column": 31 - }, - "end": { - "line": 8, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Avry", - "start": 291, - "end": 297, - "loc": { - "start": { - "line": 8, - "column": 33 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 297, - "end": 298, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 40 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 311, - "end": 312, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 325, - "end": 327, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 327, - "end": 328, - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 328, - "end": 332, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 332, - "end": 333, - "loc": { - "start": { - "line": 10, - "column": 19 - }, - "end": { - "line": 10, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 334, - "end": 335, - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 352, - "end": 358, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 22 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 23 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 360, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 24 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 360, - "end": 362, - "loc": { - "start": { - "line": 11, - "column": 24 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 362, - "end": 366, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 11, - "column": 30 - }, - "end": { - "line": 11, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "firstName", - "start": 367, - "end": 376, - "loc": { - "start": { - "line": 11, - "column": 31 - }, - "end": { - "line": 11, - "column": 40 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 376, - "end": 377, - "loc": { - "start": { - "line": 11, - "column": 40 - }, - "end": { - "line": 11, - "column": 41 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " ", - "start": 377, - "end": 378, - "loc": { - "start": { - "line": 11, - "column": 41 - }, - "end": { - "line": 11, - "column": 42 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 378, - "end": 380, - "loc": { - "start": { - "line": 11, - "column": 42 - }, - "end": { - "line": 11, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 380, - "end": 384, - "loc": { - "start": { - "line": 11, - "column": 44 - }, - "end": { - "line": 11, - "column": 48 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 384, - "end": 385, - "loc": { - "start": { - "line": 11, - "column": 48 - }, - "end": { - "line": 11, - "column": 49 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 385, - "end": 385, - "loc": { - "start": { - "line": 11, - "column": 49 - }, - "end": { - "line": 11, - "column": 49 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 11, - "column": 49 - }, - "end": { - "line": 11, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 386, - "end": 387, - "loc": { - "start": { - "line": 11, - "column": 50 - }, - "end": { - "line": 11, - "column": 51 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 400, - "end": 401, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 410, - "end": 411, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 420, - "end": 427, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 427, - "end": 428, - "loc": { - "start": { - "line": 14, - "column": 15 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 428, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 438, - "end": 439, - "loc": { - "start": { - "line": 14, - "column": 26 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 439, - "end": 440, - "loc": { - "start": { - "line": 14, - "column": 27 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "PartialRight", - "start": 453, - "end": 465, - "loc": { - "start": { - "line": 15, - "column": 12 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 465, - "end": 466, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 466, - "end": 470, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Sojka", - "start": 472, - "end": 479, - "loc": { - "start": { - "line": 15, - "column": 31 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 479, - "end": 480, - "loc": { - "start": { - "line": 15, - "column": 38 - }, - "end": { - "line": 15, - "column": 39 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 489, - "end": 490, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 490, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 9 - }, - "end": { - "line": 16, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 492, - "end": 499, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 499, - "end": 500, - "loc": { - "start": { - "line": 16, - "column": 18 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 500, - "end": 509, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 509, - "end": 510, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn2", - "start": 511, - "end": 516, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 516, - "end": 517, - "loc": { - "start": { - "line": 16, - "column": 35 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": "void", - "keyword": "void", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "void", - "start": 518, - "end": 522, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 41 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 523, - "end": 524, - "loc": { - "start": { - "line": 16, - "column": 42 - }, - "end": { - "line": 16, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 16, - "column": 43 - }, - "end": { - "line": 16, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 525, - "end": 526, - "loc": { - "start": { - "line": 16, - "column": 44 - }, - "end": { - "line": 16, - "column": 45 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 535, - "end": 540, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 541, - "end": 548, - "loc": { - "start": { - "line": 17, - "column": 14 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 549, - "end": 550, - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 551, - "end": 554, - "loc": { - "start": { - "line": 17, - "column": 24 - }, - "end": { - "line": 17, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 555, - "end": 562, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 562, - "end": 563, - "loc": { - "start": { - "line": 17, - "column": 35 - }, - "end": { - "line": 17, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 563, - "end": 564, - "loc": { - "start": { - "line": 17, - "column": 36 - }, - "end": { - "line": 17, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 564, - "end": 565, - "loc": { - "start": { - "line": 17, - "column": 37 - }, - "end": { - "line": 17, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 574, - "end": 580, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 580, - "end": 581, - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 581, - "end": 588, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 588, - "end": 589, - "loc": { - "start": { - "line": 18, - "column": 22 - }, - "end": { - "line": 18, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 589, - "end": 592, - "loc": { - "start": { - "line": 18, - "column": 23 - }, - "end": { - "line": 18, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 592, - "end": 593, - "loc": { - "start": { - "line": 18, - "column": 26 - }, - "end": { - "line": 18, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 593, - "end": 594, - "loc": { - "start": { - "line": 18, - "column": 27 - }, - "end": { - "line": 18, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 594, - "end": 596, - "loc": { - "start": { - "line": 18, - "column": 28 - }, - "end": { - "line": 18, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 596, - "end": 597, - "loc": { - "start": { - "line": 18, - "column": 30 - }, - "end": { - "line": 18, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 597, - "end": 599, - "loc": { - "start": { - "line": 18, - "column": 31 - }, - "end": { - "line": 18, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 599, - "end": 600, - "loc": { - "start": { - "line": 18, - "column": 33 - }, - "end": { - "line": 18, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 600, - "end": 601, - "loc": { - "start": { - "line": 18, - "column": 34 - }, - "end": { - "line": 18, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 601, - "end": 602, - "loc": { - "start": { - "line": 18, - "column": 35 - }, - "end": { - "line": 18, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 602, - "end": 612, - "loc": { - "start": { - "line": 18, - "column": 36 - }, - "end": { - "line": 18, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 612, - "end": 613, - "loc": { - "start": { - "line": 18, - "column": 46 - }, - "end": { - "line": 18, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 613, - "end": 614, - "loc": { - "start": { - "line": 18, - "column": 47 - }, - "end": { - "line": 18, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 623, - "end": 629, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 629, - "end": 630, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 630, - "end": 637, - "loc": { - "start": { - "line": 19, - "column": 15 - }, - "end": { - "line": 19, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 637, - "end": 638, - "loc": { - "start": { - "line": 19, - "column": 22 - }, - "end": { - "line": 19, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn2", - "start": 638, - "end": 641, - "loc": { - "start": { - "line": 19, - "column": 23 - }, - "end": { - "line": 19, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 641, - "end": 642, - "loc": { - "start": { - "line": 19, - "column": 26 - }, - "end": { - "line": 19, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 642, - "end": 643, - "loc": { - "start": { - "line": 19, - "column": 27 - }, - "end": { - "line": 19, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 643, - "end": 644, - "loc": { - "start": { - "line": 19, - "column": 28 - }, - "end": { - "line": 19, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 644, - "end": 645, - "loc": { - "start": { - "line": 19, - "column": 29 - }, - "end": { - "line": 19, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 645, - "end": 647, - "loc": { - "start": { - "line": 19, - "column": 30 - }, - "end": { - "line": 19, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 647, - "end": 648, - "loc": { - "start": { - "line": 19, - "column": 32 - }, - "end": { - "line": 19, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 648, - "end": 653, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 653, - "end": 654, - "loc": { - "start": { - "line": 19, - "column": 38 - }, - "end": { - "line": 19, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Avry Sojka", - "start": 654, - "end": 666, - "loc": { - "start": { - "line": 19, - "column": 39 - }, - "end": { - "line": 19, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 666, - "end": 667, - "loc": { - "start": { - "line": 19, - "column": 51 - }, - "end": { - "line": 19, - "column": 52 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 667, - "end": 668, - "loc": { - "start": { - "line": 19, - "column": 52 - }, - "end": { - "line": 19, - "column": 53 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 673, - "end": 674, - "loc": { - "start": { - "line": 20, - "column": 4 - }, - "end": { - "line": 20, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 674, - "end": 675, - "loc": { - "start": { - "line": 20, - "column": 5 - }, - "end": { - "line": 20, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 675, - "end": 676, - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 677, - "end": 678, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 678, - "end": 679, - "loc": { - "start": { - "line": 21, - "column": 1 - }, - "end": { - "line": 21, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 679, - "end": 680, - "loc": { - "start": { - "line": 21, - "column": 2 - }, - "end": { - "line": 21, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 681, - "end": 681, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 22, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/rearg.spec.js.json b/docs/ast/test/rearg.spec.js.json deleted file mode 100644 index d0c630d..0000000 --- a/docs/ast/test/rearg.spec.js.json +++ /dev/null @@ -1,4711 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 492, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 492, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "Rearg" - }, - "name": "Rearg" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "Rearg" - }, - "name": "Rearg" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - }, - "extra": { - "rawValue": "./rearg", - "raw": "'./rearg'" - }, - "value": "./rearg" - } - }, - { - "type": "ExpressionStatement", - "start": 98, - "end": 491, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 98, - "end": 490, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - }, - "extra": { - "rawValue": "rearg", - "raw": "'rearg'" - }, - "value": "rearg" - }, - { - "type": "ArrowFunctionExpression", - "start": 116, - "end": 489, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 122, - "end": 489, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 128, - "end": 487, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 128, - "end": 486, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 131, - "end": 169, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 45 - } - }, - "extra": { - "rawValue": "should change the order of arguments", - "raw": "'should change the order of arguments'" - }, - "value": "should change the order of arguments" - }, - { - "type": "ArrowFunctionExpression", - "start": 171, - "end": 485, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 177, - "end": 485, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 187, - "end": 286, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 193, - "end": 200, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 201, - "end": 286, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 215, - "end": 276, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 215, - "end": 217, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 218, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 19 - }, - "identifierName": "b" - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 224, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 22 - }, - "identifierName": "c" - }, - "name": "c" - } - ], - "body": { - "type": "BlockStatement", - "start": 227, - "end": 276, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 245, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 33 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 252, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 32 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 253, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - }, - "identifierName": "a" - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 256, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - }, - "identifierName": "b" - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 259, - "end": 260, - "loc": { - "start": { - "line": 8, - "column": 30 - }, - "end": { - "line": 8, - "column": 31 - }, - "identifierName": "c" - }, - "name": "c" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 295, - "end": 385, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 295, - "end": 384, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 295, - "end": 313, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 295, - "end": 302, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 303, - "end": 313, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 314, - "end": 352, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 328, - "end": 342, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "callee": { - "type": "Identifier", - "start": 328, - "end": 333, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 17 - }, - "identifierName": "Rearg" - }, - "name": "Rearg" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 334, - "end": 335, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 19 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 337, - "end": 338, - "loc": { - "start": { - "line": 12, - "column": 21 - }, - "end": { - "line": 12, - "column": 22 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 340, - "end": 341, - "loc": { - "start": { - "line": 12, - "column": 24 - }, - "end": { - "line": 12, - "column": 25 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 354, - "end": 371, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 354, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 362, - "end": 371, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 373, - "end": 377, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 379, - "end": 383, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 394, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 400, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 400, - "end": 407, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 410, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 414, - "end": 421, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 433, - "end": 479, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 54 - } - }, - "expression": { - "type": "CallExpression", - "start": 433, - "end": 478, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 433, - "end": 467, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 433, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "object": { - "type": "CallExpression", - "start": 433, - "end": 460, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 35 - } - }, - "callee": { - "type": "Identifier", - "start": 433, - "end": 439, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 440, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 440, - "end": 450, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 440, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 448, - "end": 450, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 451, - "end": 452, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 27 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 454, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 30 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 461, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 38 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 464, - "end": 467, - "loc": { - "start": { - "line": 15, - "column": 39 - }, - "end": { - "line": 15, - "column": 42 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 468, - "end": 477, - "loc": { - "start": { - "line": 15, - "column": 43 - }, - "end": { - "line": 15, - "column": 52 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 469, - "end": 470, - "loc": { - "start": { - "line": 15, - "column": 44 - }, - "end": { - "line": 15, - "column": 45 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - { - "type": "NumericLiteral", - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 15, - "column": 47 - }, - "end": { - "line": 15, - "column": 48 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 475, - "end": 476, - "loc": { - "start": { - "line": 15, - "column": 50 - }, - "end": { - "line": 15, - "column": 51 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 85, - "_esdocTestName": "it85" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 84, - "_esdocTestName": "describe84" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Rearg", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 80, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 82, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 17 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./rearg", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 96, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 106, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "rearg", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 119, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 130, - "end": 131, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should change the order of arguments", - "start": 131, - "end": 169, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 169, - "end": 170, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 5, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 171, - "end": 172, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 172, - "end": 173, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 49 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 174, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 177, - "end": 178, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 187, - "end": 192, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 193, - "end": 200, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 201, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 215, - "end": 217, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 217, - "end": 218, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 218, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 219, - "end": 220, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 222, - "end": 223, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "c", - "start": 224, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 21 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 225, - "end": 226, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 227, - "end": 228, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 245, - "end": 251, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 253, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 254, - "end": 255, - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "b", - "start": 256, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 257, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "c", - "start": 259, - "end": 260, - "loc": { - "start": { - "line": 8, - "column": 30 - }, - "end": { - "line": 8, - "column": 31 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 260, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 31 - }, - "end": { - "line": 8, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 8, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 275, - "end": 276, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 285, - "end": 286, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 295, - "end": 302, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 302, - "end": 303, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 303, - "end": 313, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 313, - "end": 314, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 314, - "end": 315, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Rearg", - "start": 328, - "end": 333, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 333, - "end": 334, - "loc": { - "start": { - "line": 12, - "column": 17 - }, - "end": { - "line": 12, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 334, - "end": 335, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 335, - "end": 336, - "loc": { - "start": { - "line": 12, - "column": 19 - }, - "end": { - "line": 12, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 337, - "end": 338, - "loc": { - "start": { - "line": 12, - "column": 21 - }, - "end": { - "line": 12, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 338, - "end": 339, - "loc": { - "start": { - "line": 12, - "column": 22 - }, - "end": { - "line": 12, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 340, - "end": 341, - "loc": { - "start": { - "line": 12, - "column": 24 - }, - "end": { - "line": 12, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 341, - "end": 342, - "loc": { - "start": { - "line": 12, - "column": 25 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 351, - "end": 352, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 352, - "end": 353, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 354, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 361, - "end": 362, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 362, - "end": 371, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 371, - "end": 372, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 373, - "end": 377, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 377, - "end": 378, - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 379, - "end": 383, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 383, - "end": 384, - "loc": { - "start": { - "line": 13, - "column": 40 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 384, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 394, - "end": 399, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 400, - "end": 407, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 408, - "end": 409, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 410, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 414, - "end": 421, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 421, - "end": 422, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 423, - "end": 424, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 433, - "end": 439, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 439, - "end": 440, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 440, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 447, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 448, - "end": 450, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 450, - "end": 451, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 451, - "end": 452, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 452, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 27 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 454, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 30 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 455, - "end": 456, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 31 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 15, - "column": 32 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 458, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 459, - "end": 460, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 460, - "end": 461, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 461, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 15, - "column": 38 - }, - "end": { - "line": 15, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 464, - "end": 467, - "loc": { - "start": { - "line": 15, - "column": 39 - }, - "end": { - "line": 15, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 467, - "end": 468, - "loc": { - "start": { - "line": 15, - "column": 42 - }, - "end": { - "line": 15, - "column": 43 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 468, - "end": 469, - "loc": { - "start": { - "line": 15, - "column": 43 - }, - "end": { - "line": 15, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 469, - "end": 470, - "loc": { - "start": { - "line": 15, - "column": 44 - }, - "end": { - "line": 15, - "column": 45 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 15, - "column": 45 - }, - "end": { - "line": 15, - "column": 46 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 15, - "column": 47 - }, - "end": { - "line": 15, - "column": 48 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 473, - "end": 474, - "loc": { - "start": { - "line": 15, - "column": 48 - }, - "end": { - "line": 15, - "column": 49 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 475, - "end": 476, - "loc": { - "start": { - "line": 15, - "column": 50 - }, - "end": { - "line": 15, - "column": 51 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 476, - "end": 477, - "loc": { - "start": { - "line": 15, - "column": 51 - }, - "end": { - "line": 15, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 477, - "end": 478, - "loc": { - "start": { - "line": 15, - "column": 52 - }, - "end": { - "line": 15, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 478, - "end": 479, - "loc": { - "start": { - "line": 15, - "column": 53 - }, - "end": { - "line": 15, - "column": 54 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 484, - "end": 485, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 485, - "end": 486, - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 486, - "end": 487, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 488, - "end": 489, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 489, - "end": 490, - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 490, - "end": 491, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 492, - "end": 492, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/rest.spec.js.json b/docs/ast/test/rest.spec.js.json deleted file mode 100644 index 46db03b..0000000 --- a/docs/ast/test/rest.spec.js.json +++ /dev/null @@ -1,5577 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 570, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 20, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 570, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 20, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Rest" - }, - "name": "Rest" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - }, - "identifierName": "Rest" - }, - "name": "Rest" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - }, - "extra": { - "rawValue": "./rest", - "raw": "'./rest'" - }, - "value": "./rest" - } - }, - { - "type": "ExpressionStatement", - "start": 96, - "end": 569, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 96, - "end": 568, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 19, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 96, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 105, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 15 - } - }, - "extra": { - "rawValue": "rest", - "raw": "'rest'" - }, - "value": "rest" - }, - { - "type": "ArrowFunctionExpression", - "start": 113, - "end": 567, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 19, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 119, - "end": 567, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 19, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 125, - "end": 565, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 18, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 125, - "end": 564, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 18, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 128, - "end": 166, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 45 - } - }, - "extra": { - "rawValue": "should change the order of arguments", - "raw": "'should change the order of arguments'" - }, - "value": "should change the order of arguments" - }, - { - "type": "ArrowFunctionExpression", - "start": 168, - "end": 563, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 18, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 174, - "end": 563, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 18, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 184, - "end": 394, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 12, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 190, - "end": 197, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 198, - "end": 394, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 12, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 212, - "end": 384, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 11, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 212, - "end": 214, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 215, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 22 - } - }, - "argument": { - "type": "Identifier", - "start": 218, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 22 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 224, - "end": 384, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 11, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 242, - "end": 274, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 242, - "end": 273, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 242, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 242, - "end": 264, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 38 - } - }, - "object": { - "type": "CallExpression", - "start": 242, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 35 - } - }, - "callee": { - "type": "Identifier", - "start": 242, - "end": 248, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 249, - "end": 260, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 249, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "Identifier", - "start": 254, - "end": 260, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 262, - "end": 264, - "loc": { - "start": { - "line": 8, - "column": 36 - }, - "end": { - "line": 8, - "column": 38 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 265, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 44 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 8, - "column": 45 - }, - "end": { - "line": 8, - "column": 46 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 291, - "end": 319, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 291, - "end": 318, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 291, - "end": 315, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 291, - "end": 309, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 34 - } - }, - "object": { - "type": "CallExpression", - "start": 291, - "end": 306, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 31 - } - }, - "callee": { - "type": "Identifier", - "start": 291, - "end": 297, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 298, - "end": 305, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 298, - "end": 302, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 27 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 303, - "end": 304, - "loc": { - "start": { - "line": 9, - "column": 28 - }, - "end": { - "line": 9, - "column": 29 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - } - ] - }, - "property": { - "type": "Identifier", - "start": 307, - "end": 309, - "loc": { - "start": { - "line": 9, - "column": 32 - }, - "end": { - "line": 9, - "column": 34 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 310, - "end": 315, - "loc": { - "start": { - "line": 9, - "column": 35 - }, - "end": { - "line": 9, - "column": 40 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 316, - "end": 317, - "loc": { - "start": { - "line": 9, - "column": 41 - }, - "end": { - "line": 9, - "column": 42 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 336, - "end": 370, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 336, - "end": 369, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 336, - "end": 358, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 336, - "end": 354, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 34 - } - }, - "object": { - "type": "CallExpression", - "start": 336, - "end": 351, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 31 - } - }, - "callee": { - "type": "Identifier", - "start": 336, - "end": 342, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 343, - "end": 350, - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 343, - "end": 347, - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 27 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "NumericLiteral", - "start": 348, - "end": 349, - "loc": { - "start": { - "line": 10, - "column": 28 - }, - "end": { - "line": 10, - "column": 29 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true - } - ] - }, - "property": { - "type": "Identifier", - "start": 352, - "end": 354, - "loc": { - "start": { - "line": 10, - "column": 32 - }, - "end": { - "line": 10, - "column": 34 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 355, - "end": 358, - "loc": { - "start": { - "line": 10, - "column": 35 - }, - "end": { - "line": 10, - "column": 38 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 359, - "end": 368, - "loc": { - "start": { - "line": 10, - "column": 39 - }, - "end": { - "line": 10, - "column": 48 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 360, - "end": 361, - "loc": { - "start": { - "line": 10, - "column": 40 - }, - "end": { - "line": 10, - "column": 41 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 363, - "end": 364, - "loc": { - "start": { - "line": 10, - "column": 43 - }, - "end": { - "line": 10, - "column": 44 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - { - "type": "NumericLiteral", - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 10, - "column": 46 - }, - "end": { - "line": 10, - "column": 47 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 403, - "end": 486, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 15, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 403, - "end": 485, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 15, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 403, - "end": 421, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 403, - "end": 410, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 411, - "end": 421, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 422, - "end": 453, - "loc": { - "start": { - "line": 13, - "column": 27 - }, - "end": { - "line": 15, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 436, - "end": 443, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 19 - } - }, - "callee": { - "type": "Identifier", - "start": 436, - "end": 440, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 16 - }, - "identifierName": "Rest" - }, - "name": "Rest" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 441, - "end": 442, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 18 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 455, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 455, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 463, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 474, - "end": 478, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 480, - "end": 484, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 495, - "end": 525, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 501, - "end": 524, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 501, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 511, - "end": 524, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 515, - "end": 522, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 534, - "end": 557, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 31 - } - }, - "expression": { - "type": "CallExpression", - "start": 534, - "end": 556, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 534, - "end": 544, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 534, - "end": 541, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 542, - "end": 544, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 545, - "end": 546, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 548, - "end": 549, - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 551, - "end": 552, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 26 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - { - "type": "NumericLiteral", - "start": 554, - "end": 555, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 29 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 87, - "_esdocTestName": "it87" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 86, - "_esdocTestName": "describe86" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Rest", - "start": 74, - "end": 78, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 79, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 14 - }, - "end": { - "line": 3, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 81, - "end": 85, - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./rest", - "start": 86, - "end": 94, - "loc": { - "start": { - "line": 3, - "column": 21 - }, - "end": { - "line": 3, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 29 - }, - "end": { - "line": 3, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 96, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 104, - "end": 105, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "rest", - "start": 105, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 111, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 113, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 116, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 119, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 125, - "end": 127, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 127, - "end": 128, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should change the order of arguments", - "start": 128, - "end": 166, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 166, - "end": 167, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 5, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 168, - "end": 169, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 169, - "end": 170, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 49 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 171, - "end": 173, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 174, - "end": 175, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 184, - "end": 189, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 190, - "end": 197, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 198, - "end": 199, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 212, - "end": 214, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 214, - "end": 215, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 215, - "end": 218, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 218, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 222, - "end": 223, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 224, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 242, - "end": 248, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 248, - "end": 249, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 249, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 253, - "end": 254, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 254, - "end": 260, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 260, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 34 - }, - "end": { - "line": 8, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 35 - }, - "end": { - "line": 8, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 262, - "end": 264, - "loc": { - "start": { - "line": 8, - "column": 36 - }, - "end": { - "line": 8, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 264, - "end": 265, - "loc": { - "start": { - "line": 8, - "column": 38 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 265, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 44 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 270, - "end": 271, - "loc": { - "start": { - "line": 8, - "column": 44 - }, - "end": { - "line": 8, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 271, - "end": 272, - "loc": { - "start": { - "line": 8, - "column": 45 - }, - "end": { - "line": 8, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 272, - "end": 273, - "loc": { - "start": { - "line": 8, - "column": 46 - }, - "end": { - "line": 8, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 273, - "end": 274, - "loc": { - "start": { - "line": 8, - "column": 47 - }, - "end": { - "line": 8, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 291, - "end": 297, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 297, - "end": 298, - "loc": { - "start": { - "line": 9, - "column": 22 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 298, - "end": 302, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 302, - "end": 303, - "loc": { - "start": { - "line": 9, - "column": 27 - }, - "end": { - "line": 9, - "column": 28 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 303, - "end": 304, - "loc": { - "start": { - "line": 9, - "column": 28 - }, - "end": { - "line": 9, - "column": 29 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 304, - "end": 305, - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 305, - "end": 306, - "loc": { - "start": { - "line": 9, - "column": 30 - }, - "end": { - "line": 9, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 306, - "end": 307, - "loc": { - "start": { - "line": 9, - "column": 31 - }, - "end": { - "line": 9, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 307, - "end": 309, - "loc": { - "start": { - "line": 9, - "column": 32 - }, - "end": { - "line": 9, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 9, - "column": 34 - }, - "end": { - "line": 9, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 310, - "end": 315, - "loc": { - "start": { - "line": 9, - "column": 35 - }, - "end": { - "line": 9, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 9, - "column": 40 - }, - "end": { - "line": 9, - "column": 41 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 316, - "end": 317, - "loc": { - "start": { - "line": 9, - "column": 41 - }, - "end": { - "line": 9, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 317, - "end": 318, - "loc": { - "start": { - "line": 9, - "column": 42 - }, - "end": { - "line": 9, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 318, - "end": 319, - "loc": { - "start": { - "line": 9, - "column": 43 - }, - "end": { - "line": 9, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 336, - "end": 342, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 342, - "end": 343, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 343, - "end": 347, - "loc": { - "start": { - "line": 10, - "column": 23 - }, - "end": { - "line": 10, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 347, - "end": 348, - "loc": { - "start": { - "line": 10, - "column": 27 - }, - "end": { - "line": 10, - "column": 28 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 348, - "end": 349, - "loc": { - "start": { - "line": 10, - "column": 28 - }, - "end": { - "line": 10, - "column": 29 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 349, - "end": 350, - "loc": { - "start": { - "line": 10, - "column": 29 - }, - "end": { - "line": 10, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 350, - "end": 351, - "loc": { - "start": { - "line": 10, - "column": 30 - }, - "end": { - "line": 10, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 351, - "end": 352, - "loc": { - "start": { - "line": 10, - "column": 31 - }, - "end": { - "line": 10, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 352, - "end": 354, - "loc": { - "start": { - "line": 10, - "column": 32 - }, - "end": { - "line": 10, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 354, - "end": 355, - "loc": { - "start": { - "line": 10, - "column": 34 - }, - "end": { - "line": 10, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 355, - "end": 358, - "loc": { - "start": { - "line": 10, - "column": 35 - }, - "end": { - "line": 10, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 358, - "end": 359, - "loc": { - "start": { - "line": 10, - "column": 38 - }, - "end": { - "line": 10, - "column": 39 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 10, - "column": 39 - }, - "end": { - "line": 10, - "column": 40 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 360, - "end": 361, - "loc": { - "start": { - "line": 10, - "column": 40 - }, - "end": { - "line": 10, - "column": 41 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 361, - "end": 362, - "loc": { - "start": { - "line": 10, - "column": 41 - }, - "end": { - "line": 10, - "column": 42 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 363, - "end": 364, - "loc": { - "start": { - "line": 10, - "column": 43 - }, - "end": { - "line": 10, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 364, - "end": 365, - "loc": { - "start": { - "line": 10, - "column": 44 - }, - "end": { - "line": 10, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 366, - "end": 367, - "loc": { - "start": { - "line": 10, - "column": 46 - }, - "end": { - "line": 10, - "column": 47 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 367, - "end": 368, - "loc": { - "start": { - "line": 10, - "column": 47 - }, - "end": { - "line": 10, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 368, - "end": 369, - "loc": { - "start": { - "line": 10, - "column": 48 - }, - "end": { - "line": 10, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 369, - "end": 370, - "loc": { - "start": { - "line": 10, - "column": 49 - }, - "end": { - "line": 10, - "column": 50 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 383, - "end": 384, - "loc": { - "start": { - "line": 11, - "column": 12 - }, - "end": { - "line": 11, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 393, - "end": 394, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 403, - "end": 410, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 410, - "end": 411, - "loc": { - "start": { - "line": 13, - "column": 15 - }, - "end": { - "line": 13, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 411, - "end": 421, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 421, - "end": 422, - "loc": { - "start": { - "line": 13, - "column": 26 - }, - "end": { - "line": 13, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 13, - "column": 27 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Rest", - "start": 436, - "end": 440, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 440, - "end": 441, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 17 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 441, - "end": 442, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 442, - "end": 443, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 452, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 453, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 9 - }, - "end": { - "line": 15, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 455, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 463, - "end": 472, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 474, - "end": 478, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 478, - "end": 479, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 480, - "end": 484, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 484, - "end": 485, - "loc": { - "start": { - "line": 15, - "column": 40 - }, - "end": { - "line": 15, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 485, - "end": 486, - "loc": { - "start": { - "line": 15, - "column": 41 - }, - "end": { - "line": 15, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 495, - "end": 500, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 501, - "end": 508, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 509, - "end": 510, - "loc": { - "start": { - "line": 16, - "column": 22 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 511, - "end": 514, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 515, - "end": 522, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 16, - "column": 35 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 523, - "end": 524, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 534, - "end": 541, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 541, - "end": 542, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 542, - "end": 544, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 544, - "end": 545, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 545, - "end": 546, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 546, - "end": 547, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 548, - "end": 549, - "loc": { - "start": { - "line": 17, - "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 549, - "end": 550, - "loc": { - "start": { - "line": 17, - "column": 23 - }, - "end": { - "line": 17, - "column": 24 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 551, - "end": 552, - "loc": { - "start": { - "line": 17, - "column": 25 - }, - "end": { - "line": 17, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 552, - "end": 553, - "loc": { - "start": { - "line": 17, - "column": 26 - }, - "end": { - "line": 17, - "column": 27 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 554, - "end": 555, - "loc": { - "start": { - "line": 17, - "column": 28 - }, - "end": { - "line": 17, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 555, - "end": 556, - "loc": { - "start": { - "line": 17, - "column": 29 - }, - "end": { - "line": 17, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 556, - "end": 557, - "loc": { - "start": { - "line": 17, - "column": 30 - }, - "end": { - "line": 17, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 562, - "end": 563, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 563, - "end": 564, - "loc": { - "start": { - "line": 18, - "column": 5 - }, - "end": { - "line": 18, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 564, - "end": 565, - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 566, - "end": 567, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 567, - "end": 568, - "loc": { - "start": { - "line": 19, - "column": 1 - }, - "end": { - "line": 19, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 568, - "end": 569, - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 570, - "end": 570, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/spread.spec.js.json b/docs/ast/test/spread.spec.js.json deleted file mode 100644 index eaaaca8..0000000 --- a/docs/ast/test/spread.spec.js.json +++ /dev/null @@ -1,4963 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 525, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 19, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 525, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 19, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 99, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 34 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - }, - "identifierName": "Spread" - }, - "name": "Spread" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - }, - "identifierName": "Spread" - }, - "name": "Spread" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 88, - "end": 98, - "loc": { - "start": { - "line": 3, - "column": 23 - }, - "end": { - "line": 3, - "column": 33 - } - }, - "extra": { - "rawValue": "./spread", - "raw": "'./spread'" - }, - "value": "./spread" - } - }, - { - "type": "ExpressionStatement", - "start": 100, - "end": 524, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 18, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 100, - "end": 523, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 18, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 100, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 109, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - } - }, - "extra": { - "rawValue": "spread", - "raw": "'spread'" - }, - "value": "spread" - }, - { - "type": "ArrowFunctionExpression", - "start": 119, - "end": 522, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 18, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 125, - "end": 522, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 18, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 131, - "end": 520, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 17, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 131, - "end": 519, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 17, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 131, - "end": 133, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 134, - "end": 163, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 36 - } - }, - "extra": { - "rawValue": "should spread the arguments", - "raw": "'should spread the arguments'" - }, - "value": "should spread the arguments" - }, - { - "type": "ArrowFunctionExpression", - "start": 165, - "end": 518, - "loc": { - "start": { - "line": 5, - "column": 38 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 171, - "end": 518, - "loc": { - "start": { - "line": 5, - "column": 44 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 181, - "end": 346, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 187, - "end": 194, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 195, - "end": 346, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 11, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 209, - "end": 336, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 209, - "end": 211, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 212, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 22 - } - }, - "argument": { - "type": "Identifier", - "start": 215, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 22 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 221, - "end": 336, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 10, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 239, - "end": 271, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 239, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 239, - "end": 267, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 239, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 38 - } - }, - "object": { - "type": "CallExpression", - "start": 239, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 35 - } - }, - "callee": { - "type": "Identifier", - "start": 239, - "end": 245, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 246, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 246, - "end": 250, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "Identifier", - "start": 251, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 259, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 36 - }, - "end": { - "line": 8, - "column": 38 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 262, - "end": 267, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 44 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 268, - "end": 269, - "loc": { - "start": { - "line": 8, - "column": 45 - }, - "end": { - "line": 8, - "column": 46 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 288, - "end": 322, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 50 - } - }, - "expression": { - "type": "CallExpression", - "start": 288, - "end": 321, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 288, - "end": 307, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 288, - "end": 303, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 31 - } - }, - "object": { - "type": "CallExpression", - "start": 288, - "end": 300, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 28 - } - }, - "callee": { - "type": "Identifier", - "start": 288, - "end": 294, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "Identifier", - "start": 295, - "end": 299, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 27 - }, - "identifierName": "args" - }, - "name": "args" - } - ] - }, - "property": { - "type": "Identifier", - "start": 301, - "end": 303, - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 31 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 304, - "end": 307, - "loc": { - "start": { - "line": 9, - "column": 32 - }, - "end": { - "line": 9, - "column": 35 - }, - "identifierName": "eql" - }, - "name": "eql" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 308, - "end": 320, - "loc": { - "start": { - "line": 9, - "column": 36 - }, - "end": { - "line": 9, - "column": 48 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 9, - "column": 37 - }, - "end": { - "line": 9, - "column": 38 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 312, - "end": 313, - "loc": { - "start": { - "line": 9, - "column": 40 - }, - "end": { - "line": 9, - "column": 41 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 9, - "column": 43 - }, - "end": { - "line": 9, - "column": 44 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - { - "type": "NumericLiteral", - "start": 318, - "end": 319, - "loc": { - "start": { - "line": 9, - "column": 46 - }, - "end": { - "line": 9, - "column": 47 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 355, - "end": 439, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 355, - "end": 438, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 14, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 355, - "end": 373, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 355, - "end": 362, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 363, - "end": 373, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 374, - "end": 406, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 14, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 388, - "end": 396, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 20 - } - }, - "callee": { - "type": "Identifier", - "start": 388, - "end": 394, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "Spread" - }, - "name": "Spread" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 408, - "end": 425, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 416, - "end": 425, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 427, - "end": 431, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 433, - "end": 437, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 448, - "end": 478, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 454, - "end": 477, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 454, - "end": 461, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 464, - "end": 477, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 468, - "end": 475, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 487, - "end": 512, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 33 - } - }, - "expression": { - "type": "CallExpression", - "start": 487, - "end": 511, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 32 - } - }, - "callee": { - "type": "MemberExpression", - "start": 487, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 487, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 495, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 16, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 498, - "end": 510, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 31 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 499, - "end": 500, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 21 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 502, - "end": 503, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 505, - "end": 506, - "loc": { - "start": { - "line": 16, - "column": 26 - }, - "end": { - "line": 16, - "column": 27 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - { - "type": "NumericLiteral", - "start": 508, - "end": 509, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 30 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 89, - "_esdocTestName": "it89" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 88, - "_esdocTestName": "describe88" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Spread", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 81, - "end": 82, - "loc": { - "start": { - "line": 3, - "column": 16 - }, - "end": { - "line": 3, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 83, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 18 - }, - "end": { - "line": 3, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./spread", - "start": 88, - "end": 98, - "loc": { - "start": { - "line": 3, - "column": 23 - }, - "end": { - "line": 3, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 98, - "end": 99, - "loc": { - "start": { - "line": 3, - "column": 33 - }, - "end": { - "line": 3, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 100, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 108, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "spread", - "start": 109, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 119, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 120, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 122, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 131, - "end": 133, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 133, - "end": 134, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should spread the arguments", - "start": 134, - "end": 163, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 163, - "end": 164, - "loc": { - "start": { - "line": 5, - "column": 36 - }, - "end": { - "line": 5, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 165, - "end": 166, - "loc": { - "start": { - "line": 5, - "column": 38 - }, - "end": { - "line": 5, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 166, - "end": 167, - "loc": { - "start": { - "line": 5, - "column": 39 - }, - "end": { - "line": 5, - "column": 40 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 168, - "end": 170, - "loc": { - "start": { - "line": 5, - "column": 41 - }, - "end": { - "line": 5, - "column": 43 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 171, - "end": 172, - "loc": { - "start": { - "line": 5, - "column": 44 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 181, - "end": 186, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 187, - "end": 194, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 195, - "end": 196, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 209, - "end": 211, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 211, - "end": 212, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 212, - "end": 215, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 215, - "end": 219, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 219, - "end": 220, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 239, - "end": 245, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 245, - "end": 246, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 246, - "end": 250, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 250, - "end": 251, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 251, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 257, - "end": 258, - "loc": { - "start": { - "line": 8, - "column": 34 - }, - "end": { - "line": 8, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 258, - "end": 259, - "loc": { - "start": { - "line": 8, - "column": 35 - }, - "end": { - "line": 8, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 259, - "end": 261, - "loc": { - "start": { - "line": 8, - "column": 36 - }, - "end": { - "line": 8, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 261, - "end": 262, - "loc": { - "start": { - "line": 8, - "column": 38 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 262, - "end": 267, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 44 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 267, - "end": 268, - "loc": { - "start": { - "line": 8, - "column": 44 - }, - "end": { - "line": 8, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 268, - "end": 269, - "loc": { - "start": { - "line": 8, - "column": 45 - }, - "end": { - "line": 8, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 269, - "end": 270, - "loc": { - "start": { - "line": 8, - "column": 46 - }, - "end": { - "line": 8, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 270, - "end": 271, - "loc": { - "start": { - "line": 8, - "column": 47 - }, - "end": { - "line": 8, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 288, - "end": 294, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 294, - "end": 295, - "loc": { - "start": { - "line": 9, - "column": 22 - }, - "end": { - "line": 9, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 295, - "end": 299, - "loc": { - "start": { - "line": 9, - "column": 23 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 299, - "end": 300, - "loc": { - "start": { - "line": 9, - "column": 27 - }, - "end": { - "line": 9, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 300, - "end": 301, - "loc": { - "start": { - "line": 9, - "column": 28 - }, - "end": { - "line": 9, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 301, - "end": 303, - "loc": { - "start": { - "line": 9, - "column": 29 - }, - "end": { - "line": 9, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 303, - "end": 304, - "loc": { - "start": { - "line": 9, - "column": 31 - }, - "end": { - "line": 9, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "eql", - "start": 304, - "end": 307, - "loc": { - "start": { - "line": 9, - "column": 32 - }, - "end": { - "line": 9, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 307, - "end": 308, - "loc": { - "start": { - "line": 9, - "column": 35 - }, - "end": { - "line": 9, - "column": 36 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 308, - "end": 309, - "loc": { - "start": { - "line": 9, - "column": 36 - }, - "end": { - "line": 9, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 9, - "column": 37 - }, - "end": { - "line": 9, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 310, - "end": 311, - "loc": { - "start": { - "line": 9, - "column": 38 - }, - "end": { - "line": 9, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 312, - "end": 313, - "loc": { - "start": { - "line": 9, - "column": 40 - }, - "end": { - "line": 9, - "column": 41 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 313, - "end": 314, - "loc": { - "start": { - "line": 9, - "column": 41 - }, - "end": { - "line": 9, - "column": 42 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 315, - "end": 316, - "loc": { - "start": { - "line": 9, - "column": 43 - }, - "end": { - "line": 9, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 316, - "end": 317, - "loc": { - "start": { - "line": 9, - "column": 44 - }, - "end": { - "line": 9, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 318, - "end": 319, - "loc": { - "start": { - "line": 9, - "column": 46 - }, - "end": { - "line": 9, - "column": 47 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 319, - "end": 320, - "loc": { - "start": { - "line": 9, - "column": 47 - }, - "end": { - "line": 9, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 320, - "end": 321, - "loc": { - "start": { - "line": 9, - "column": 48 - }, - "end": { - "line": 9, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 321, - "end": 322, - "loc": { - "start": { - "line": 9, - "column": 49 - }, - "end": { - "line": 9, - "column": 50 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 335, - "end": 336, - "loc": { - "start": { - "line": 10, - "column": 12 - }, - "end": { - "line": 10, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 345, - "end": 346, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 355, - "end": 362, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 362, - "end": 363, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 363, - "end": 373, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 373, - "end": 374, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 374, - "end": 375, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Spread", - "start": 388, - "end": 394, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 394, - "end": 395, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 395, - "end": 396, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 20 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 405, - "end": 406, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 406, - "end": 407, - "loc": { - "start": { - "line": 14, - "column": 9 - }, - "end": { - "line": 14, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 415, - "end": 416, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 416, - "end": 425, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 425, - "end": 426, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 427, - "end": 431, - "loc": { - "start": { - "line": 14, - "column": 30 - }, - "end": { - "line": 14, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 431, - "end": 432, - "loc": { - "start": { - "line": 14, - "column": 34 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 433, - "end": 437, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 437, - "end": 438, - "loc": { - "start": { - "line": 14, - "column": 40 - }, - "end": { - "line": 14, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 438, - "end": 439, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 448, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 454, - "end": 461, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 464, - "end": 467, - "loc": { - "start": { - "line": 15, - "column": 24 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 468, - "end": 475, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 475, - "end": 476, - "loc": { - "start": { - "line": 15, - "column": 35 - }, - "end": { - "line": 15, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 476, - "end": 477, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 477, - "end": 478, - "loc": { - "start": { - "line": 15, - "column": 37 - }, - "end": { - "line": 15, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 487, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 494, - "end": 495, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 495, - "end": 497, - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 16, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 497, - "end": 498, - "loc": { - "start": { - "line": 16, - "column": 18 - }, - "end": { - "line": 16, - "column": 19 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 498, - "end": 499, - "loc": { - "start": { - "line": 16, - "column": 19 - }, - "end": { - "line": 16, - "column": 20 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 499, - "end": 500, - "loc": { - "start": { - "line": 16, - "column": 20 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 500, - "end": 501, - "loc": { - "start": { - "line": 16, - "column": 21 - }, - "end": { - "line": 16, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 502, - "end": 503, - "loc": { - "start": { - "line": 16, - "column": 23 - }, - "end": { - "line": 16, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 503, - "end": 504, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 505, - "end": 506, - "loc": { - "start": { - "line": 16, - "column": 26 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 506, - "end": 507, - "loc": { - "start": { - "line": 16, - "column": 27 - }, - "end": { - "line": 16, - "column": 28 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 508, - "end": 509, - "loc": { - "start": { - "line": 16, - "column": 29 - }, - "end": { - "line": 16, - "column": 30 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 509, - "end": 510, - "loc": { - "start": { - "line": 16, - "column": 30 - }, - "end": { - "line": 16, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 510, - "end": 511, - "loc": { - "start": { - "line": 16, - "column": 31 - }, - "end": { - "line": 16, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 511, - "end": 512, - "loc": { - "start": { - "line": 16, - "column": 32 - }, - "end": { - "line": 16, - "column": 33 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 517, - "end": 518, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 518, - "end": 519, - "loc": { - "start": { - "line": 17, - "column": 5 - }, - "end": { - "line": 17, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 519, - "end": 520, - "loc": { - "start": { - "line": 17, - "column": 6 - }, - "end": { - "line": 17, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 521, - "end": 522, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 18, - "column": 1 - }, - "end": { - "line": 18, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 523, - "end": 524, - "loc": { - "start": { - "line": 18, - "column": 2 - }, - "end": { - "line": 18, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 525, - "end": 525, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/tap.spec.js.json b/docs/ast/test/tap.spec.js.json deleted file mode 100644 index 511bbc9..0000000 --- a/docs/ast/test/tap.spec.js.json +++ /dev/null @@ -1,3815 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 450, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 450, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 28 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "Tap" - }, - "name": "Tap" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "Tap" - }, - "name": "Tap" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "extra": { - "rawValue": "./tap", - "raw": "'./tap'" - }, - "value": "./tap" - } - }, - { - "type": "ExpressionStatement", - "start": 94, - "end": 449, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 94, - "end": 448, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 94, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - } - }, - "extra": { - "rawValue": "tap", - "raw": "'tap'" - }, - "value": "tap" - }, - { - "type": "ArrowFunctionExpression", - "start": 110, - "end": 447, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 116, - "end": 447, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 122, - "end": 445, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 122, - "end": 444, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 122, - "end": 124, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 125, - "end": 159, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 41 - } - }, - "extra": { - "rawValue": "should return the first argument", - "raw": "'should return the first argument'" - }, - "value": "should return the first argument" - }, - { - "type": "ArrowFunctionExpression", - "start": 161, - "end": 443, - "loc": { - "start": { - "line": 5, - "column": 43 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 167, - "end": 443, - "loc": { - "start": { - "line": 5, - "column": 49 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 177, - "end": 263, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 183, - "end": 190, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 191, - "end": 263, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 205, - "end": 253, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 205, - "end": 207, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 208, - "end": 209, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - }, - "identifierName": "n" - }, - "name": "n" - } - ], - "body": { - "type": "BlockStatement", - "start": 211, - "end": 253, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 229, - "end": 239, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 26 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 236, - "end": 238, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 25 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 272, - "end": 353, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 272, - "end": 352, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 272, - "end": 290, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 272, - "end": 279, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 280, - "end": 290, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 291, - "end": 320, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 305, - "end": 310, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 17 - } - }, - "callee": { - "type": "Identifier", - "start": 305, - "end": 308, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "Tap" - }, - "name": "Tap" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 322, - "end": 339, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 322, - "end": 329, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 330, - "end": 339, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 341, - "end": 345, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 347, - "end": 351, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 362, - "end": 392, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 368, - "end": 391, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 368, - "end": 375, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 378, - "end": 391, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 382, - "end": 389, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 401, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 401, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 401, - "end": 432, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 401, - "end": 426, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 33 - } - }, - "object": { - "type": "CallExpression", - "start": 401, - "end": 423, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 401, - "end": 407, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 408, - "end": 422, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 408, - "end": 418, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 416, - "end": 418, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 419, - "end": 421, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 28 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 424, - "end": 426, - "loc": { - "start": { - "line": 15, - "column": 31 - }, - "end": { - "line": 15, - "column": 33 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 427, - "end": 432, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 39 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 433, - "end": 435, - "loc": { - "start": { - "line": 15, - "column": 40 - }, - "end": { - "line": 15, - "column": 42 - } - }, - "extra": { - "rawValue": 50, - "raw": "50" - }, - "value": 50 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 91, - "_esdocTestName": "it91" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 90, - "_esdocTestName": "describe90" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Tap", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./tap", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 94, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tap", - "start": 103, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 108, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 110, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 111, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 113, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 122, - "end": 124, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 124, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should return the first argument", - "start": 125, - "end": 159, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 41 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 159, - "end": 160, - "loc": { - "start": { - "line": 5, - "column": 41 - }, - "end": { - "line": 5, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 161, - "end": 162, - "loc": { - "start": { - "line": 5, - "column": 43 - }, - "end": { - "line": 5, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 162, - "end": 163, - "loc": { - "start": { - "line": 5, - "column": 44 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 164, - "end": 166, - "loc": { - "start": { - "line": 5, - "column": 46 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 167, - "end": 168, - "loc": { - "start": { - "line": 5, - "column": 49 - }, - "end": { - "line": 5, - "column": 50 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 177, - "end": 182, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 183, - "end": 190, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 191, - "end": 192, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 205, - "end": 207, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 207, - "end": 208, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 208, - "end": 209, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 209, - "end": 210, - "loc": { - "start": { - "line": 7, - "column": 16 - }, - "end": { - "line": 7, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 211, - "end": 212, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 19 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 229, - "end": 235, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 236, - "end": 238, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 238, - "end": 239, - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 26 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 252, - "end": 253, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 262, - "end": 263, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 272, - "end": 279, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 279, - "end": 280, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 280, - "end": 290, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 290, - "end": 291, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 291, - "end": 292, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Tap", - "start": 305, - "end": 308, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 308, - "end": 309, - "loc": { - "start": { - "line": 12, - "column": 15 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 319, - "end": 320, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 320, - "end": 321, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 322, - "end": 329, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 330, - "end": 339, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 339, - "end": 340, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 341, - "end": 345, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 345, - "end": 346, - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 347, - "end": 351, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 351, - "end": 352, - "loc": { - "start": { - "line": 13, - "column": 40 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 352, - "end": 353, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 362, - "end": 367, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 368, - "end": 375, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 376, - "end": 377, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 378, - "end": 381, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 382, - "end": 389, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 389, - "end": 390, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 390, - "end": 391, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 391, - "end": 392, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 401, - "end": 407, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 407, - "end": 408, - "loc": { - "start": { - "line": 15, - "column": 14 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 415, - "end": 416, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 416, - "end": 418, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 418, - "end": 419, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 419, - "end": 421, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 421, - "end": 422, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 423, - "end": 424, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 424, - "end": 426, - "loc": { - "start": { - "line": 15, - "column": 31 - }, - "end": { - "line": 15, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 426, - "end": 427, - "loc": { - "start": { - "line": 15, - "column": 33 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 427, - "end": 432, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 432, - "end": 433, - "loc": { - "start": { - "line": 15, - "column": 39 - }, - "end": { - "line": 15, - "column": 40 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 50, - "start": 433, - "end": 435, - "loc": { - "start": { - "line": 15, - "column": 40 - }, - "end": { - "line": 15, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 435, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 42 - }, - "end": { - "line": 15, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 436, - "end": 437, - "loc": { - "start": { - "line": 15, - "column": 43 - }, - "end": { - "line": 15, - "column": 44 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 442, - "end": 443, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 443, - "end": 444, - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 444, - "end": 445, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 446, - "end": 447, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 447, - "end": 448, - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 448, - "end": 449, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 450, - "end": 450, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/throttle.spec.js.json b/docs/ast/test/throttle.spec.js.json deleted file mode 100644 index 18f122e..0000000 --- a/docs/ast/test/throttle.spec.js.json +++ /dev/null @@ -1,21211 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 2514, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 84, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 2514, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 84, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 28 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - }, - "identifierName": "spy" - }, - "name": "spy" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - }, - "extra": { - "rawValue": "sinon", - "raw": "'sinon'" - }, - "value": "sinon" - } - }, - { - "type": "ImportDeclaration", - "start": 94, - "end": 164, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 70 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 103, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - } - }, - "imported": { - "type": "Identifier", - "start": 103, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - }, - "identifierName": "Throttle" - }, - "name": "Throttle" - }, - "local": { - "type": "Identifier", - "start": 103, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - }, - "identifierName": "Throttle" - }, - "name": "Throttle" - } - }, - { - "type": "ImportSpecifier", - "start": 113, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 33 - } - }, - "imported": { - "type": "Identifier", - "start": 113, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 33 - }, - "identifierName": "ThrottleSetter" - }, - "name": "ThrottleSetter" - }, - "local": { - "type": "Identifier", - "start": 113, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 33 - }, - "identifierName": "ThrottleSetter" - }, - "name": "ThrottleSetter" - } - }, - { - "type": "ImportSpecifier", - "start": 129, - "end": 143, - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 49 - } - }, - "imported": { - "type": "Identifier", - "start": 129, - "end": 143, - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 49 - }, - "identifierName": "ThrottleGetter" - }, - "name": "ThrottleGetter" - }, - "local": { - "type": "Identifier", - "start": 129, - "end": 143, - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 49 - }, - "identifierName": "ThrottleGetter" - }, - "name": "ThrottleGetter" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 151, - "end": 163, - "loc": { - "start": { - "line": 4, - "column": 57 - }, - "end": { - "line": 4, - "column": 69 - } - }, - "extra": { - "rawValue": "./throttle", - "raw": "'./throttle'" - }, - "value": "./throttle" - } - }, - { - "type": "ExpressionStatement", - "start": 165, - "end": 2513, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 83, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 165, - "end": 2512, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 83, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 165, - "end": 173, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 174, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 19 - } - }, - "extra": { - "rawValue": "throttle", - "raw": "'throttle'" - }, - "value": "throttle" - }, - { - "type": "ArrowFunctionExpression", - "start": 186, - "end": 2511, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 83, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 192, - "end": 2511, - "loc": { - "start": { - "line": 5, - "column": 27 - }, - "end": { - "line": 83, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 198, - "end": 747, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 25, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 198, - "end": 746, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 25, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 198, - "end": 200, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 201, - "end": 229, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 35 - } - }, - "extra": { - "rawValue": "should throttle the method", - "raw": "'should throttle the method'" - }, - "value": "should throttle the method" - }, - { - "type": "ArrowFunctionExpression", - "start": 231, - "end": 745, - "loc": { - "start": { - "line": 6, - "column": 37 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 231, - "end": 235, - "loc": { - "start": { - "line": 6, - "column": 37 - }, - "end": { - "line": 6, - "column": 41 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 239, - "end": 745, - "loc": { - "start": { - "line": 6, - "column": 45 - }, - "end": { - "line": 25, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 249, - "end": 266, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 25 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 253, - "end": 265, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 24 - } - }, - "id": { - "type": "Identifier", - "start": 253, - "end": 257, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 16 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "init": { - "type": "CallExpression", - "start": 260, - "end": 265, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 260, - "end": 263, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 22 - }, - "identifierName": "spy" - }, - "name": "spy" - }, - "arguments": [] - } - } - ], - "kind": "let" - }, - { - "type": "ClassDeclaration", - "start": 275, - "end": 358, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 12, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 281, - "end": 288, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 289, - "end": 358, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 12, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 303, - "end": 348, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 11, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 303, - "end": 305, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 306, - "end": 307, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - }, - "identifierName": "n" - }, - "name": "n" - } - ], - "body": { - "type": "BlockStatement", - "start": 309, - "end": 348, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 11, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 327, - "end": 334, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 23 - } - }, - "expression": { - "type": "CallExpression", - "start": 327, - "end": 333, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 22 - } - }, - "callee": { - "type": "Identifier", - "start": 327, - "end": 331, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 20 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "arguments": [] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 367, - "end": 455, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 15, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 367, - "end": 454, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 15, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 367, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 367, - "end": 374, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 375, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 386, - "end": 422, - "loc": { - "start": { - "line": 13, - "column": 27 - }, - "end": { - "line": 15, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 400, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 400, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 20 - }, - "identifierName": "Throttle" - }, - "name": "Throttle" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 409, - "end": 411, - "loc": { - "start": { - "line": 14, - "column": 21 - }, - "end": { - "line": 14, - "column": 23 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 424, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 424, - "end": 431, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 432, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 443, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 449, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 464, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 470, - "end": 493, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 470, - "end": 477, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 480, - "end": 493, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 484, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 503, - "end": 517, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 503, - "end": 516, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 503, - "end": 513, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 503, - "end": 510, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 511, - "end": 513, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 514, - "end": 515, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 526, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 526, - "end": 539, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 526, - "end": 536, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 526, - "end": 533, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 534, - "end": 536, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 537, - "end": 538, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 549, - "end": 584, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 549, - "end": 583, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 549, - "end": 559, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 560, - "end": 579, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 38 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [], - "body": { - "type": "CallExpression", - "start": 566, - "end": 579, - "loc": { - "start": { - "line": 19, - "column": 25 - }, - "end": { - "line": 19, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 566, - "end": 576, - "loc": { - "start": { - "line": 19, - "column": 25 - }, - "end": { - "line": 19, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 566, - "end": 573, - "loc": { - "start": { - "line": 19, - "column": 25 - }, - "end": { - "line": 19, - "column": 32 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 574, - "end": 576, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 35 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 577, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 36 - }, - "end": { - "line": 19, - "column": 37 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - } - ] - } - }, - { - "type": "NumericLiteral", - "start": 581, - "end": 582, - "loc": { - "start": { - "line": 19, - "column": 40 - }, - "end": { - "line": 19, - "column": 41 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 593, - "end": 628, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 593, - "end": 627, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 593, - "end": 603, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 604, - "end": 623, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 38 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [], - "body": { - "type": "CallExpression", - "start": 610, - "end": 623, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 610, - "end": 620, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 610, - "end": 617, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 32 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 618, - "end": 620, - "loc": { - "start": { - "line": 20, - "column": 33 - }, - "end": { - "line": 20, - "column": 35 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 621, - "end": 622, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 37 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - }, - { - "type": "NumericLiteral", - "start": 625, - "end": 626, - "loc": { - "start": { - "line": 20, - "column": 40 - }, - "end": { - "line": 20, - "column": 41 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 637, - "end": 739, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 24, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 637, - "end": 738, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 24, - "column": 14 - } - }, - "callee": { - "type": "Identifier", - "start": 637, - "end": 647, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 648, - "end": 733, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 654, - "end": 733, - "loc": { - "start": { - "line": 21, - "column": 25 - }, - "end": { - "line": 24, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 668, - "end": 703, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 668, - "end": 702, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 668, - "end": 699, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 668, - "end": 693, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 37 - } - }, - "object": { - "type": "CallExpression", - "start": 668, - "end": 690, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 34 - } - }, - "callee": { - "type": "Identifier", - "start": 668, - "end": 674, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 675, - "end": 689, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 675, - "end": 679, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 23 - }, - "identifierName": "_spy" - }, - "name": "_spy" - }, - "property": { - "type": "Identifier", - "start": 680, - "end": 689, - "loc": { - "start": { - "line": 22, - "column": 24 - }, - "end": { - "line": 22, - "column": 33 - }, - "identifierName": "callCount" - }, - "name": "callCount" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 691, - "end": 693, - "loc": { - "start": { - "line": 22, - "column": 35 - }, - "end": { - "line": 22, - "column": 37 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 694, - "end": 699, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 43 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 22, - "column": 44 - }, - "end": { - "line": 22, - "column": 45 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 716, - "end": 723, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 716, - "end": 722, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 716, - "end": 720, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 735, - "end": 737, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 13 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 93, - "_esdocTestName": "it93" - } - }, - { - "type": "ExpressionStatement", - "start": 752, - "end": 1483, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 50, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 752, - "end": 1482, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 50, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 752, - "end": 754, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 755, - "end": 792, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 44 - } - }, - "extra": { - "rawValue": "should debounce the property setter", - "raw": "'should debounce the property setter'" - }, - "value": "should debounce the property setter" - }, - { - "type": "ArrowFunctionExpression", - "start": 794, - "end": 1481, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 794, - "end": 798, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 26, - "column": 50 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 802, - "end": 1481, - "loc": { - "start": { - "line": 26, - "column": 54 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 812, - "end": 1072, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 37, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 818, - "end": 825, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 826, - "end": 1072, - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 37, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 840, - "end": 904, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 840, - "end": 851, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 854, - "end": 904, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 30, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 872, - "end": 890, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 872, - "end": 889, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 872, - "end": 883, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 872, - "end": 876, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 877, - "end": 883, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 27 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 886, - "end": 889, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 33 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 917, - "end": 986, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 33, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 921, - "end": 926, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "static": false, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 927, - "end": 932, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - }, - "identifierName": "value" - }, - "name": "value" - } - ], - "body": { - "type": "BlockStatement", - "start": 934, - "end": 986, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 33, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 952, - "end": 972, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 952, - "end": 971, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 952, - "end": 963, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 952, - "end": 956, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 957, - "end": 963, - "loc": { - "start": { - "line": 32, - "column": 21 - }, - "end": { - "line": 32, - "column": 27 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 966, - "end": 971, - "loc": { - "start": { - "line": 32, - "column": 30 - }, - "end": { - "line": 32, - "column": 35 - }, - "identifierName": "value" - }, - "name": "value" - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 999, - "end": 1062, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 36, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1003, - "end": 1008, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "static": false, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1011, - "end": 1062, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 36, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1029, - "end": 1048, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 35 - } - }, - "argument": { - "type": "MemberExpression", - "start": 1036, - "end": 1047, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 1036, - "end": 1040, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 1041, - "end": 1047, - "loc": { - "start": { - "line": 35, - "column": 28 - }, - "end": { - "line": 35, - "column": 34 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1081, - "end": 1178, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 40, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 1081, - "end": 1177, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 40, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1081, - "end": 1099, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1081, - "end": 1088, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1089, - "end": 1099, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1100, - "end": 1142, - "loc": { - "start": { - "line": 38, - "column": 27 - }, - "end": { - "line": 40, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1114, - "end": 1132, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 1114, - "end": 1128, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 26 - }, - "identifierName": "ThrottleSetter" - }, - "name": "ThrottleSetter" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1129, - "end": 1131, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 39, - "column": 29 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1144, - "end": 1161, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1144, - "end": 1151, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1152, - "end": 1161, - "loc": { - "start": { - "line": 40, - "column": 19 - }, - "end": { - "line": 40, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1163, - "end": 1170, - "loc": { - "start": { - "line": 40, - "column": 30 - }, - "end": { - "line": 40, - "column": 37 - } - }, - "extra": { - "rawValue": "value", - "raw": "\"value\"" - }, - "value": "value" - }, - { - "type": "NullLiteral", - "start": 1172, - "end": 1176, - "loc": { - "start": { - "line": 40, - "column": 39 - }, - "end": { - "line": 40, - "column": 43 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1187, - "end": 1217, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1193, - "end": 1216, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1193, - "end": 1200, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1203, - "end": 1216, - "loc": { - "start": { - "line": 41, - "column": 24 - }, - "end": { - "line": 41, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1207, - "end": 1214, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1226, - "end": 1244, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1226, - "end": 1243, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1226, - "end": 1239, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 1226, - "end": 1233, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1234, - "end": 1239, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1242, - "end": 1243, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 25 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1253, - "end": 1272, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 27 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1253, - "end": 1271, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 26 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1253, - "end": 1266, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 1253, - "end": 1260, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1261, - "end": 1266, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1269, - "end": 1271, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 26 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 - } - } - }, - { - "type": "ExpressionStatement", - "start": 1281, - "end": 1321, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 1281, - "end": 1320, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 47 - } - }, - "callee": { - "type": "Identifier", - "start": 1281, - "end": 1291, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1292, - "end": 1316, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 43 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [], - "body": { - "type": "AssignmentExpression", - "start": 1298, - "end": 1316, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 44, - "column": 43 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1298, - "end": 1311, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 44, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 1298, - "end": 1305, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 44, - "column": 32 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1306, - "end": 1311, - "loc": { - "start": { - "line": 44, - "column": 33 - }, - "end": { - "line": 44, - "column": 38 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1314, - "end": 1316, - "loc": { - "start": { - "line": 44, - "column": 41 - }, - "end": { - "line": 44, - "column": 43 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - } - }, - { - "type": "NumericLiteral", - "start": 1318, - "end": 1319, - "loc": { - "start": { - "line": 44, - "column": 45 - }, - "end": { - "line": 44, - "column": 46 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1330, - "end": 1364, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 1330, - "end": 1363, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1330, - "end": 1360, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 1330, - "end": 1354, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 1330, - "end": 1351, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 1330, - "end": 1336, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1337, - "end": 1350, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1337, - "end": 1344, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1345, - "end": 1350, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 28 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1352, - "end": 1354, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1355, - "end": 1360, - "loc": { - "start": { - "line": 45, - "column": 33 - }, - "end": { - "line": 45, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1361, - "end": 1362, - "loc": { - "start": { - "line": 45, - "column": 39 - }, - "end": { - "line": 45, - "column": 40 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1373, - "end": 1475, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 49, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 1373, - "end": 1474, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 49, - "column": 14 - } - }, - "callee": { - "type": "Identifier", - "start": 1373, - "end": 1383, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1384, - "end": 1469, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 49, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1390, - "end": 1469, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 49, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1404, - "end": 1439, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 1404, - "end": 1438, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1404, - "end": 1434, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 1404, - "end": 1428, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 1404, - "end": 1425, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 1404, - "end": 1410, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1411, - "end": 1424, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 1411, - "end": 1418, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1419, - "end": 1424, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 32 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1426, - "end": 1428, - "loc": { - "start": { - "line": 47, - "column": 34 - }, - "end": { - "line": 47, - "column": 36 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1429, - "end": 1434, - "loc": { - "start": { - "line": 47, - "column": 37 - }, - "end": { - "line": 47, - "column": 42 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1435, - "end": 1437, - "loc": { - "start": { - "line": 47, - "column": 43 - }, - "end": { - "line": 47, - "column": 45 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1452, - "end": 1459, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 1452, - "end": 1458, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 1452, - "end": 1456, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 1471, - "end": 1473, - "loc": { - "start": { - "line": 49, - "column": 11 - }, - "end": { - "line": 49, - "column": 13 - } - }, - "extra": { - "rawValue": 11, - "raw": "11" - }, - "value": 11 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 94, - "_esdocTestName": "it94" - } - }, - { - "type": "ExpressionStatement", - "start": 1488, - "end": 2139, - "loc": { - "start": { - "line": 51, - "column": 4 - }, - "end": { - "line": 71, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 1488, - "end": 2138, - "loc": { - "start": { - "line": 51, - "column": 4 - }, - "end": { - "line": 71, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 1488, - "end": 1490, - "loc": { - "start": { - "line": 51, - "column": 4 - }, - "end": { - "line": 51, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1491, - "end": 1528, - "loc": { - "start": { - "line": 51, - "column": 7 - }, - "end": { - "line": 51, - "column": 44 - } - }, - "extra": { - "rawValue": "should debounce the property getter", - "raw": "'should debounce the property getter'" - }, - "value": "should debounce the property getter" - }, - { - "type": "ArrowFunctionExpression", - "start": 1530, - "end": 2137, - "loc": { - "start": { - "line": 51, - "column": 46 - }, - "end": { - "line": 71, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1530, - "end": 1534, - "loc": { - "start": { - "line": 51, - "column": 46 - }, - "end": { - "line": 51, - "column": 50 - }, - "identifierName": "done" - }, - "name": "done" - } - ], - "body": { - "type": "BlockStatement", - "start": 1538, - "end": 2137, - "loc": { - "start": { - "line": 51, - "column": 54 - }, - "end": { - "line": 71, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 1548, - "end": 1726, - "loc": { - "start": { - "line": 52, - "column": 8 - }, - "end": { - "line": 59, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 1554, - "end": 1561, - "loc": { - "start": { - "line": 52, - "column": 14 - }, - "end": { - "line": 52, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 1562, - "end": 1726, - "loc": { - "start": { - "line": 52, - "column": 22 - }, - "end": { - "line": 59, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 1576, - "end": 1638, - "loc": { - "start": { - "line": 53, - "column": 12 - }, - "end": { - "line": 55, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1576, - "end": 1587, - "loc": { - "start": { - "line": 53, - "column": 12 - }, - "end": { - "line": 53, - "column": 23 - }, - "identifierName": "constructor" - }, - "name": "constructor" - }, - "static": false, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1590, - "end": 1638, - "loc": { - "start": { - "line": 53, - "column": 26 - }, - "end": { - "line": 55, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1608, - "end": 1624, - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, - "column": 32 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1608, - "end": 1623, - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, - "column": 31 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1608, - "end": 1619, - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 1608, - "end": 1612, - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 1613, - "end": 1619, - "loc": { - "start": { - "line": 54, - "column": 21 - }, - "end": { - "line": 54, - "column": 27 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "right": { - "type": "NumericLiteral", - "start": 1622, - "end": 1623, - "loc": { - "start": { - "line": 54, - "column": 30 - }, - "end": { - "line": 54, - "column": 31 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - } - ], - "directives": [] - } - }, - { - "type": "ClassMethod", - "start": 1651, - "end": 1716, - "loc": { - "start": { - "line": 56, - "column": 12 - }, - "end": { - "line": 58, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 1655, - "end": 1660, - "loc": { - "start": { - "line": 56, - "column": 16 - }, - "end": { - "line": 56, - "column": 21 - }, - "identifierName": "value" - }, - "name": "value" - }, - "static": false, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1663, - "end": 1716, - "loc": { - "start": { - "line": 56, - "column": 24 - }, - "end": { - "line": 58, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1681, - "end": 1702, - "loc": { - "start": { - "line": 57, - "column": 16 - }, - "end": { - "line": 57, - "column": 37 - } - }, - "argument": { - "type": "UpdateExpression", - "start": 1688, - "end": 1701, - "loc": { - "start": { - "line": 57, - "column": 23 - }, - "end": { - "line": 57, - "column": 36 - } - }, - "operator": "++", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 1690, - "end": 1701, - "loc": { - "start": { - "line": 57, - "column": 25 - }, - "end": { - "line": 57, - "column": 36 - } - }, - "object": { - "type": "ThisExpression", - "start": 1690, - "end": 1694, - "loc": { - "start": { - "line": 57, - "column": 25 - }, - "end": { - "line": 57, - "column": 29 - } - } - }, - "property": { - "type": "Identifier", - "start": 1695, - "end": 1701, - "loc": { - "start": { - "line": 57, - "column": 30 - }, - "end": { - "line": 57, - "column": 36 - }, - "identifierName": "_value" - }, - "name": "_value" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1735, - "end": 1832, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 62, - "column": 45 - } - }, - "expression": { - "type": "CallExpression", - "start": 1735, - "end": 1831, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 62, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1735, - "end": 1753, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1735, - "end": 1742, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 1743, - "end": 1753, - "loc": { - "start": { - "line": 60, - "column": 16 - }, - "end": { - "line": 60, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 1754, - "end": 1796, - "loc": { - "start": { - "line": 60, - "column": 27 - }, - "end": { - "line": 62, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 1768, - "end": 1786, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 1768, - "end": 1782, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 26 - }, - "identifierName": "ThrottleGetter" - }, - "name": "ThrottleGetter" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1783, - "end": 1785, - "loc": { - "start": { - "line": 61, - "column": 27 - }, - "end": { - "line": 61, - "column": 29 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 1798, - "end": 1815, - "loc": { - "start": { - "line": 62, - "column": 11 - }, - "end": { - "line": 62, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1798, - "end": 1805, - "loc": { - "start": { - "line": 62, - "column": 11 - }, - "end": { - "line": 62, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 1806, - "end": 1815, - "loc": { - "start": { - "line": 62, - "column": 19 - }, - "end": { - "line": 62, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1817, - "end": 1824, - "loc": { - "start": { - "line": 62, - "column": 30 - }, - "end": { - "line": 62, - "column": 37 - } - }, - "extra": { - "rawValue": "value", - "raw": "\"value\"" - }, - "value": "value" - }, - { - "type": "NullLiteral", - "start": 1826, - "end": 1830, - "loc": { - "start": { - "line": 62, - "column": 39 - }, - "end": { - "line": 62, - "column": 43 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 1841, - "end": 1871, - "loc": { - "start": { - "line": 63, - "column": 8 - }, - "end": { - "line": 63, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1847, - "end": 1870, - "loc": { - "start": { - "line": 63, - "column": 14 - }, - "end": { - "line": 63, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1847, - "end": 1854, - "loc": { - "start": { - "line": 63, - "column": 14 - }, - "end": { - "line": 63, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 1857, - "end": 1870, - "loc": { - "start": { - "line": 63, - "column": 24 - }, - "end": { - "line": 63, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 1861, - "end": 1868, - "loc": { - "start": { - "line": 63, - "column": 28 - }, - "end": { - "line": 63, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1880, - "end": 1914, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 1880, - "end": 1913, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1880, - "end": 1910, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 1880, - "end": 1904, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 1880, - "end": 1901, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 1880, - "end": 1886, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1887, - "end": 1900, - "loc": { - "start": { - "line": 64, - "column": 15 - }, - "end": { - "line": 64, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1887, - "end": 1894, - "loc": { - "start": { - "line": 64, - "column": 15 - }, - "end": { - "line": 64, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1895, - "end": 1900, - "loc": { - "start": { - "line": 64, - "column": 23 - }, - "end": { - "line": 64, - "column": 28 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1902, - "end": 1904, - "loc": { - "start": { - "line": 64, - "column": 30 - }, - "end": { - "line": 64, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1905, - "end": 1910, - "loc": { - "start": { - "line": 64, - "column": 33 - }, - "end": { - "line": 64, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1911, - "end": 1912, - "loc": { - "start": { - "line": 64, - "column": 39 - }, - "end": { - "line": 64, - "column": 40 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1923, - "end": 1957, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 1923, - "end": 1956, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1923, - "end": 1953, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 1923, - "end": 1947, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 32 - } - }, - "object": { - "type": "CallExpression", - "start": 1923, - "end": 1944, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 1923, - "end": 1929, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1930, - "end": 1943, - "loc": { - "start": { - "line": 65, - "column": 15 - }, - "end": { - "line": 65, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1930, - "end": 1937, - "loc": { - "start": { - "line": 65, - "column": 15 - }, - "end": { - "line": 65, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1938, - "end": 1943, - "loc": { - "start": { - "line": 65, - "column": 23 - }, - "end": { - "line": 65, - "column": 28 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1945, - "end": 1947, - "loc": { - "start": { - "line": 65, - "column": 30 - }, - "end": { - "line": 65, - "column": 32 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1948, - "end": 1953, - "loc": { - "start": { - "line": 65, - "column": 33 - }, - "end": { - "line": 65, - "column": 38 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1954, - "end": 1955, - "loc": { - "start": { - "line": 65, - "column": 39 - }, - "end": { - "line": 65, - "column": 40 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1966, - "end": 2021, - "loc": { - "start": { - "line": 66, - "column": 8 - }, - "end": { - "line": 66, - "column": 63 - } - }, - "expression": { - "type": "CallExpression", - "start": 1966, - "end": 2020, - "loc": { - "start": { - "line": 66, - "column": 8 - }, - "end": { - "line": 66, - "column": 62 - } - }, - "callee": { - "type": "Identifier", - "start": 1966, - "end": 1976, - "loc": { - "start": { - "line": 66, - "column": 8 - }, - "end": { - "line": 66, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1977, - "end": 2016, - "loc": { - "start": { - "line": 66, - "column": 19 - }, - "end": { - "line": 66, - "column": 58 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [], - "body": { - "type": "CallExpression", - "start": 1983, - "end": 2016, - "loc": { - "start": { - "line": 66, - "column": 25 - }, - "end": { - "line": 66, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1983, - "end": 2013, - "loc": { - "start": { - "line": 66, - "column": 25 - }, - "end": { - "line": 66, - "column": 55 - } - }, - "object": { - "type": "MemberExpression", - "start": 1983, - "end": 2007, - "loc": { - "start": { - "line": 66, - "column": 25 - }, - "end": { - "line": 66, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 1983, - "end": 2004, - "loc": { - "start": { - "line": 66, - "column": 25 - }, - "end": { - "line": 66, - "column": 46 - } - }, - "callee": { - "type": "Identifier", - "start": 1983, - "end": 1989, - "loc": { - "start": { - "line": 66, - "column": 25 - }, - "end": { - "line": 66, - "column": 31 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1990, - "end": 2003, - "loc": { - "start": { - "line": 66, - "column": 32 - }, - "end": { - "line": 66, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 1990, - "end": 1997, - "loc": { - "start": { - "line": 66, - "column": 32 - }, - "end": { - "line": 66, - "column": 39 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 1998, - "end": 2003, - "loc": { - "start": { - "line": 66, - "column": 40 - }, - "end": { - "line": 66, - "column": 45 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 2005, - "end": 2007, - "loc": { - "start": { - "line": 66, - "column": 47 - }, - "end": { - "line": 66, - "column": 49 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2008, - "end": 2013, - "loc": { - "start": { - "line": 66, - "column": 50 - }, - "end": { - "line": 66, - "column": 55 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2014, - "end": 2015, - "loc": { - "start": { - "line": 66, - "column": 56 - }, - "end": { - "line": 66, - "column": 57 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - }, - { - "type": "NumericLiteral", - "start": 2018, - "end": 2019, - "loc": { - "start": { - "line": 66, - "column": 60 - }, - "end": { - "line": 66, - "column": 61 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2030, - "end": 2131, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 70, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 2030, - "end": 2130, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 70, - "column": 14 - } - }, - "callee": { - "type": "Identifier", - "start": 2030, - "end": 2040, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 67, - "column": 18 - }, - "identifierName": "setTimeout" - }, - "name": "setTimeout" - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 2041, - "end": 2125, - "loc": { - "start": { - "line": 67, - "column": 19 - }, - "end": { - "line": 70, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2047, - "end": 2125, - "loc": { - "start": { - "line": 67, - "column": 25 - }, - "end": { - "line": 70, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2061, - "end": 2095, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 46 - } - }, - "expression": { - "type": "CallExpression", - "start": 2061, - "end": 2094, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2061, - "end": 2091, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 2061, - "end": 2085, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 2061, - "end": 2082, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 2061, - "end": 2067, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 18 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2068, - "end": 2081, - "loc": { - "start": { - "line": 68, - "column": 19 - }, - "end": { - "line": 68, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 2068, - "end": 2075, - "loc": { - "start": { - "line": 68, - "column": 19 - }, - "end": { - "line": 68, - "column": 26 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2076, - "end": 2081, - "loc": { - "start": { - "line": 68, - "column": 27 - }, - "end": { - "line": 68, - "column": 32 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 2083, - "end": 2085, - "loc": { - "start": { - "line": 68, - "column": 34 - }, - "end": { - "line": 68, - "column": 36 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2086, - "end": 2091, - "loc": { - "start": { - "line": 68, - "column": 37 - }, - "end": { - "line": 68, - "column": 42 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2092, - "end": 2093, - "loc": { - "start": { - "line": 68, - "column": 43 - }, - "end": { - "line": 68, - "column": 44 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2108, - "end": 2115, - "loc": { - "start": { - "line": 69, - "column": 12 - }, - "end": { - "line": 69, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 2108, - "end": 2114, - "loc": { - "start": { - "line": 69, - "column": 12 - }, - "end": { - "line": 69, - "column": 18 - } - }, - "callee": { - "type": "Identifier", - "start": 2108, - "end": 2112, - "loc": { - "start": { - "line": 69, - "column": 12 - }, - "end": { - "line": 69, - "column": 16 - }, - "identifierName": "done" - }, - "name": "done" - }, - "arguments": [] - } - } - ], - "directives": [] - } - }, - { - "type": "NumericLiteral", - "start": 2127, - "end": 2129, - "loc": { - "start": { - "line": 70, - "column": 11 - }, - "end": { - "line": 70, - "column": 13 - } - }, - "extra": { - "rawValue": 11, - "raw": "11" - }, - "value": 11 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 95, - "_esdocTestName": "it95" - } - }, - { - "type": "ExpressionStatement", - "start": 2144, - "end": 2509, - "loc": { - "start": { - "line": 72, - "column": 4 - }, - "end": { - "line": 82, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 2144, - "end": 2508, - "loc": { - "start": { - "line": 72, - "column": 4 - }, - "end": { - "line": 82, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 2144, - "end": 2146, - "loc": { - "start": { - "line": 72, - "column": 4 - }, - "end": { - "line": 72, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2147, - "end": 2192, - "loc": { - "start": { - "line": 72, - "column": 7 - }, - "end": { - "line": 72, - "column": 52 - } - }, - "extra": { - "rawValue": "should contain the cancel and flush methods", - "raw": "'should contain the cancel and flush methods'" - }, - "value": "should contain the cancel and flush methods" - }, - { - "type": "ArrowFunctionExpression", - "start": 2194, - "end": 2507, - "loc": { - "start": { - "line": 72, - "column": 54 - }, - "end": { - "line": 82, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2200, - "end": 2507, - "loc": { - "start": { - "line": 72, - "column": 60 - }, - "end": { - "line": 82, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 2210, - "end": 2256, - "loc": { - "start": { - "line": 73, - "column": 8 - }, - "end": { - "line": 75, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 2216, - "end": 2223, - "loc": { - "start": { - "line": 73, - "column": 14 - }, - "end": { - "line": 73, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 2224, - "end": 2256, - "loc": { - "start": { - "line": 73, - "column": 22 - }, - "end": { - "line": 75, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 2238, - "end": 2246, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 20 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 2238, - "end": 2240, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2243, - "end": 2246, - "loc": { - "start": { - "line": 74, - "column": 17 - }, - "end": { - "line": 74, - "column": 20 - } - }, - "body": [], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2265, - "end": 2353, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 78, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 2265, - "end": 2352, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 78, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2265, - "end": 2283, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 76, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 2265, - "end": 2272, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 76, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 2273, - "end": 2283, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 2284, - "end": 2320, - "loc": { - "start": { - "line": 76, - "column": 27 - }, - "end": { - "line": 78, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 2298, - "end": 2310, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 24 - } - }, - "callee": { - "type": "Identifier", - "start": 2298, - "end": 2306, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 20 - }, - "identifierName": "Throttle" - }, - "name": "Throttle" - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 2307, - "end": 2309, - "loc": { - "start": { - "line": 77, - "column": 21 - }, - "end": { - "line": 77, - "column": 23 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - ] - } - ] - }, - { - "type": "MemberExpression", - "start": 2322, - "end": 2339, - "loc": { - "start": { - "line": 78, - "column": 11 - }, - "end": { - "line": 78, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 2322, - "end": 2329, - "loc": { - "start": { - "line": 78, - "column": 11 - }, - "end": { - "line": 78, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 2330, - "end": 2339, - "loc": { - "start": { - "line": 78, - "column": 19 - }, - "end": { - "line": 78, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 2341, - "end": 2345, - "loc": { - "start": { - "line": 78, - "column": 30 - }, - "end": { - "line": 78, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 2347, - "end": 2351, - "loc": { - "start": { - "line": 78, - "column": 36 - }, - "end": { - "line": 78, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 2362, - "end": 2392, - "loc": { - "start": { - "line": 79, - "column": 8 - }, - "end": { - "line": 79, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2368, - "end": 2391, - "loc": { - "start": { - "line": 79, - "column": 14 - }, - "end": { - "line": 79, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 2368, - "end": 2375, - "loc": { - "start": { - "line": 79, - "column": 14 - }, - "end": { - "line": 79, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 2378, - "end": 2391, - "loc": { - "start": { - "line": 79, - "column": 24 - }, - "end": { - "line": 79, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 2382, - "end": 2389, - "loc": { - "start": { - "line": 79, - "column": 28 - }, - "end": { - "line": 79, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 2401, - "end": 2447, - "loc": { - "start": { - "line": 80, - "column": 8 - }, - "end": { - "line": 80, - "column": 54 - } - }, - "expression": { - "type": "CallExpression", - "start": 2401, - "end": 2446, - "loc": { - "start": { - "line": 80, - "column": 8 - }, - "end": { - "line": 80, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2401, - "end": 2434, - "loc": { - "start": { - "line": 80, - "column": 8 - }, - "end": { - "line": 80, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 2401, - "end": 2432, - "loc": { - "start": { - "line": 80, - "column": 8 - }, - "end": { - "line": 80, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 2401, - "end": 2429, - "loc": { - "start": { - "line": 80, - "column": 8 - }, - "end": { - "line": 80, - "column": 36 - } - }, - "object": { - "type": "CallExpression", - "start": 2401, - "end": 2426, - "loc": { - "start": { - "line": 80, - "column": 8 - }, - "end": { - "line": 80, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 2401, - "end": 2407, - "loc": { - "start": { - "line": 80, - "column": 8 - }, - "end": { - "line": 80, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2408, - "end": 2425, - "loc": { - "start": { - "line": 80, - "column": 15 - }, - "end": { - "line": 80, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 2408, - "end": 2418, - "loc": { - "start": { - "line": 80, - "column": 15 - }, - "end": { - "line": 80, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 2408, - "end": 2415, - "loc": { - "start": { - "line": 80, - "column": 15 - }, - "end": { - "line": 80, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2416, - "end": 2418, - "loc": { - "start": { - "line": 80, - "column": 23 - }, - "end": { - "line": 80, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2419, - "end": 2425, - "loc": { - "start": { - "line": 80, - "column": 26 - }, - "end": { - "line": 80, - "column": 32 - }, - "identifierName": "cancel" - }, - "name": "cancel" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 2427, - "end": 2429, - "loc": { - "start": { - "line": 80, - "column": 34 - }, - "end": { - "line": 80, - "column": 36 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2430, - "end": 2432, - "loc": { - "start": { - "line": 80, - "column": 37 - }, - "end": { - "line": 80, - "column": 39 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2433, - "end": 2434, - "loc": { - "start": { - "line": 80, - "column": 40 - }, - "end": { - "line": 80, - "column": 41 - }, - "identifierName": "a" - }, - "name": "a" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2435, - "end": 2445, - "loc": { - "start": { - "line": 80, - "column": 42 - }, - "end": { - "line": 80, - "column": 52 - } - }, - "extra": { - "rawValue": "function", - "raw": "'function'" - }, - "value": "function" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2456, - "end": 2501, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 53 - } - }, - "expression": { - "type": "CallExpression", - "start": 2456, - "end": 2500, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 52 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2456, - "end": 2488, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 40 - } - }, - "object": { - "type": "MemberExpression", - "start": 2456, - "end": 2486, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 2456, - "end": 2483, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 35 - } - }, - "object": { - "type": "CallExpression", - "start": 2456, - "end": 2480, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 32 - } - }, - "callee": { - "type": "Identifier", - "start": 2456, - "end": 2462, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 14 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2463, - "end": 2479, - "loc": { - "start": { - "line": 81, - "column": 15 - }, - "end": { - "line": 81, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 2463, - "end": 2473, - "loc": { - "start": { - "line": 81, - "column": 15 - }, - "end": { - "line": 81, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 2463, - "end": 2470, - "loc": { - "start": { - "line": 81, - "column": 15 - }, - "end": { - "line": 81, - "column": 22 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 2471, - "end": 2473, - "loc": { - "start": { - "line": 81, - "column": 23 - }, - "end": { - "line": 81, - "column": 25 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2474, - "end": 2479, - "loc": { - "start": { - "line": 81, - "column": 26 - }, - "end": { - "line": 81, - "column": 31 - }, - "identifierName": "flush" - }, - "name": "flush" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 2481, - "end": 2483, - "loc": { - "start": { - "line": 81, - "column": 33 - }, - "end": { - "line": 81, - "column": 35 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2484, - "end": 2486, - "loc": { - "start": { - "line": 81, - "column": 36 - }, - "end": { - "line": 81, - "column": 38 - }, - "identifierName": "be" - }, - "name": "be" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2487, - "end": 2488, - "loc": { - "start": { - "line": 81, - "column": 39 - }, - "end": { - "line": 81, - "column": 40 - }, - "identifierName": "a" - }, - "name": "a" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2489, - "end": 2499, - "loc": { - "start": { - "line": 81, - "column": 41 - }, - "end": { - "line": 81, - "column": 51 - } - }, - "extra": { - "rawValue": "function", - "raw": "'function'" - }, - "value": "function" - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 96, - "_esdocTestName": "it96" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 92, - "_esdocTestName": "describe92" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 74, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 80, - "end": 84, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "sinon", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 3, - "column": 20 - }, - "end": { - "line": 3, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 3, - "column": 27 - }, - "end": { - "line": 3, - "column": 28 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 94, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 101, - "end": 102, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Throttle", - "start": 103, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 111, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ThrottleSetter", - "start": 113, - "end": 127, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 33 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 127, - "end": 128, - "loc": { - "start": { - "line": 4, - "column": 33 - }, - "end": { - "line": 4, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ThrottleGetter", - "start": 129, - "end": 143, - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 49 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 144, - "end": 145, - "loc": { - "start": { - "line": 4, - "column": 50 - }, - "end": { - "line": 4, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 146, - "end": 150, - "loc": { - "start": { - "line": 4, - "column": 52 - }, - "end": { - "line": 4, - "column": 56 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./throttle", - "start": 151, - "end": 163, - "loc": { - "start": { - "line": 4, - "column": 57 - }, - "end": { - "line": 4, - "column": 69 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 163, - "end": 164, - "loc": { - "start": { - "line": 4, - "column": 69 - }, - "end": { - "line": 4, - "column": 70 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 165, - "end": 173, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 173, - "end": 174, - "loc": { - "start": { - "line": 5, - "column": 8 - }, - "end": { - "line": 5, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "throttle", - "start": 174, - "end": 184, - "loc": { - "start": { - "line": 5, - "column": 9 - }, - "end": { - "line": 5, - "column": 19 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 184, - "end": 185, - "loc": { - "start": { - "line": 5, - "column": 19 - }, - "end": { - "line": 5, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 186, - "end": 187, - "loc": { - "start": { - "line": 5, - "column": 21 - }, - "end": { - "line": 5, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 187, - "end": 188, - "loc": { - "start": { - "line": 5, - "column": 22 - }, - "end": { - "line": 5, - "column": 23 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 189, - "end": 191, - "loc": { - "start": { - "line": 5, - "column": 24 - }, - "end": { - "line": 5, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 192, - "end": 193, - "loc": { - "start": { - "line": 5, - "column": 27 - }, - "end": { - "line": 5, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 198, - "end": 200, - "loc": { - "start": { - "line": 6, - "column": 4 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 200, - "end": 201, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should throttle the method", - "start": 201, - "end": 229, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 229, - "end": 230, - "loc": { - "start": { - "line": 6, - "column": 35 - }, - "end": { - "line": 6, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 231, - "end": 235, - "loc": { - "start": { - "line": 6, - "column": 37 - }, - "end": { - "line": 6, - "column": 41 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 236, - "end": 238, - "loc": { - "start": { - "line": 6, - "column": 42 - }, - "end": { - "line": 6, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 239, - "end": 240, - "loc": { - "start": { - "line": 6, - "column": 45 - }, - "end": { - "line": 6, - "column": 46 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 249, - "end": 252, - "loc": { - "start": { - "line": 7, - "column": 8 - }, - "end": { - "line": 7, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 253, - "end": 257, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 258, - "end": 259, - "loc": { - "start": { - "line": 7, - "column": 17 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "spy", - "start": 260, - "end": 263, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 263, - "end": 264, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 264, - "end": 265, - "loc": { - "start": { - "line": 7, - "column": 23 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 265, - "end": 266, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 275, - "end": 280, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 281, - "end": 288, - "loc": { - "start": { - "line": 8, - "column": 14 - }, - "end": { - "line": 8, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 289, - "end": 290, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 303, - "end": 305, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 305, - "end": 306, - "loc": { - "start": { - "line": 9, - "column": 14 - }, - "end": { - "line": 9, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "n", - "start": 306, - "end": 307, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 307, - "end": 308, - "loc": { - "start": { - "line": 9, - "column": 16 - }, - "end": { - "line": 9, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 309, - "end": 310, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 327, - "end": 331, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 331, - "end": 332, - "loc": { - "start": { - "line": 10, - "column": 20 - }, - "end": { - "line": 10, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 332, - "end": 333, - "loc": { - "start": { - "line": 10, - "column": 21 - }, - "end": { - "line": 10, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 333, - "end": 334, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 23 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 347, - "end": 348, - "loc": { - "start": { - "line": 11, - "column": 12 - }, - "end": { - "line": 11, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 357, - "end": 358, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 367, - "end": 374, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 374, - "end": 375, - "loc": { - "start": { - "line": 13, - "column": 15 - }, - "end": { - "line": 13, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 375, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 16 - }, - "end": { - "line": 13, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 13, - "column": 26 - }, - "end": { - "line": 13, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 386, - "end": 387, - "loc": { - "start": { - "line": 13, - "column": 27 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Throttle", - "start": 400, - "end": 408, - "loc": { - "start": { - "line": 14, - "column": 12 - }, - "end": { - "line": 14, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 408, - "end": 409, - "loc": { - "start": { - "line": 14, - "column": 20 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 409, - "end": 411, - "loc": { - "start": { - "line": 14, - "column": 21 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 411, - "end": 412, - "loc": { - "start": { - "line": 14, - "column": 23 - }, - "end": { - "line": 14, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 421, - "end": 422, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 15, - "column": 9 - }, - "end": { - "line": 15, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 424, - "end": 431, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 431, - "end": 432, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 432, - "end": 441, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 441, - "end": 442, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 443, - "end": 447, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 447, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 34 - }, - "end": { - "line": 15, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 449, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 15, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 453, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 40 - }, - "end": { - "line": 15, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 454, - "end": 455, - "loc": { - "start": { - "line": 15, - "column": 41 - }, - "end": { - "line": 15, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 464, - "end": 469, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 470, - "end": 477, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 478, - "end": 479, - "loc": { - "start": { - "line": 16, - "column": 22 - }, - "end": { - "line": 16, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 480, - "end": 483, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 484, - "end": 491, - "loc": { - "start": { - "line": 16, - "column": 28 - }, - "end": { - "line": 16, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 491, - "end": 492, - "loc": { - "start": { - "line": 16, - "column": 35 - }, - "end": { - "line": 16, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 492, - "end": 493, - "loc": { - "start": { - "line": 16, - "column": 36 - }, - "end": { - "line": 16, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 493, - "end": 494, - "loc": { - "start": { - "line": 16, - "column": 37 - }, - "end": { - "line": 16, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 503, - "end": 510, - "loc": { - "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 510, - "end": 511, - "loc": { - "start": { - "line": 17, - "column": 15 - }, - "end": { - "line": 17, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 511, - "end": 513, - "loc": { - "start": { - "line": 17, - "column": 16 - }, - "end": { - "line": 17, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 513, - "end": 514, - "loc": { - "start": { - "line": 17, - "column": 18 - }, - "end": { - "line": 17, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 514, - "end": 515, - "loc": { - "start": { - "line": 17, - "column": 19 - }, - "end": { - "line": 17, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 515, - "end": 516, - "loc": { - "start": { - "line": 17, - "column": 20 - }, - "end": { - "line": 17, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 516, - "end": 517, - "loc": { - "start": { - "line": 17, - "column": 21 - }, - "end": { - "line": 17, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 526, - "end": 533, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 533, - "end": 534, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 534, - "end": 536, - "loc": { - "start": { - "line": 18, - "column": 16 - }, - "end": { - "line": 18, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 536, - "end": 537, - "loc": { - "start": { - "line": 18, - "column": 18 - }, - "end": { - "line": 18, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 537, - "end": 538, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 538, - "end": 539, - "loc": { - "start": { - "line": 18, - "column": 20 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 539, - "end": 540, - "loc": { - "start": { - "line": 18, - "column": 21 - }, - "end": { - "line": 18, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 549, - "end": 559, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 559, - "end": 560, - "loc": { - "start": { - "line": 19, - "column": 18 - }, - "end": { - "line": 19, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 560, - "end": 561, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 561, - "end": 562, - "loc": { - "start": { - "line": 19, - "column": 20 - }, - "end": { - "line": 19, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 563, - "end": 565, - "loc": { - "start": { - "line": 19, - "column": 22 - }, - "end": { - "line": 19, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 566, - "end": 573, - "loc": { - "start": { - "line": 19, - "column": 25 - }, - "end": { - "line": 19, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 573, - "end": 574, - "loc": { - "start": { - "line": 19, - "column": 32 - }, - "end": { - "line": 19, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 574, - "end": 576, - "loc": { - "start": { - "line": 19, - "column": 33 - }, - "end": { - "line": 19, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 576, - "end": 577, - "loc": { - "start": { - "line": 19, - "column": 35 - }, - "end": { - "line": 19, - "column": 36 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 577, - "end": 578, - "loc": { - "start": { - "line": 19, - "column": 36 - }, - "end": { - "line": 19, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 578, - "end": 579, - "loc": { - "start": { - "line": 19, - "column": 37 - }, - "end": { - "line": 19, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 579, - "end": 580, - "loc": { - "start": { - "line": 19, - "column": 38 - }, - "end": { - "line": 19, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 581, - "end": 582, - "loc": { - "start": { - "line": 19, - "column": 40 - }, - "end": { - "line": 19, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 582, - "end": 583, - "loc": { - "start": { - "line": 19, - "column": 41 - }, - "end": { - "line": 19, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 583, - "end": 584, - "loc": { - "start": { - "line": 19, - "column": 42 - }, - "end": { - "line": 19, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 593, - "end": 603, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 603, - "end": 604, - "loc": { - "start": { - "line": 20, - "column": 18 - }, - "end": { - "line": 20, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 604, - "end": 605, - "loc": { - "start": { - "line": 20, - "column": 19 - }, - "end": { - "line": 20, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 605, - "end": 606, - "loc": { - "start": { - "line": 20, - "column": 20 - }, - "end": { - "line": 20, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 607, - "end": 609, - "loc": { - "start": { - "line": 20, - "column": 22 - }, - "end": { - "line": 20, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 610, - "end": 617, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 617, - "end": 618, - "loc": { - "start": { - "line": 20, - "column": 32 - }, - "end": { - "line": 20, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 618, - "end": 620, - "loc": { - "start": { - "line": 20, - "column": 33 - }, - "end": { - "line": 20, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 620, - "end": 621, - "loc": { - "start": { - "line": 20, - "column": 35 - }, - "end": { - "line": 20, - "column": 36 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 621, - "end": 622, - "loc": { - "start": { - "line": 20, - "column": 36 - }, - "end": { - "line": 20, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 622, - "end": 623, - "loc": { - "start": { - "line": 20, - "column": 37 - }, - "end": { - "line": 20, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 623, - "end": 624, - "loc": { - "start": { - "line": 20, - "column": 38 - }, - "end": { - "line": 20, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 625, - "end": 626, - "loc": { - "start": { - "line": 20, - "column": 40 - }, - "end": { - "line": 20, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 626, - "end": 627, - "loc": { - "start": { - "line": 20, - "column": 41 - }, - "end": { - "line": 20, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 627, - "end": 628, - "loc": { - "start": { - "line": 20, - "column": 42 - }, - "end": { - "line": 20, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 637, - "end": 647, - "loc": { - "start": { - "line": 21, - "column": 8 - }, - "end": { - "line": 21, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 647, - "end": 648, - "loc": { - "start": { - "line": 21, - "column": 18 - }, - "end": { - "line": 21, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 648, - "end": 649, - "loc": { - "start": { - "line": 21, - "column": 19 - }, - "end": { - "line": 21, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 649, - "end": 650, - "loc": { - "start": { - "line": 21, - "column": 20 - }, - "end": { - "line": 21, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 651, - "end": 653, - "loc": { - "start": { - "line": 21, - "column": 22 - }, - "end": { - "line": 21, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 654, - "end": 655, - "loc": { - "start": { - "line": 21, - "column": 25 - }, - "end": { - "line": 21, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 668, - "end": 674, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 674, - "end": 675, - "loc": { - "start": { - "line": 22, - "column": 18 - }, - "end": { - "line": 22, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_spy", - "start": 675, - "end": 679, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 679, - "end": 680, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "callCount", - "start": 680, - "end": 689, - "loc": { - "start": { - "line": 22, - "column": 24 - }, - "end": { - "line": 22, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 689, - "end": 690, - "loc": { - "start": { - "line": 22, - "column": 33 - }, - "end": { - "line": 22, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 690, - "end": 691, - "loc": { - "start": { - "line": 22, - "column": 34 - }, - "end": { - "line": 22, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 691, - "end": 693, - "loc": { - "start": { - "line": 22, - "column": 35 - }, - "end": { - "line": 22, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 693, - "end": 694, - "loc": { - "start": { - "line": 22, - "column": 37 - }, - "end": { - "line": 22, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 694, - "end": 699, - "loc": { - "start": { - "line": 22, - "column": 38 - }, - "end": { - "line": 22, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 699, - "end": 700, - "loc": { - "start": { - "line": 22, - "column": 43 - }, - "end": { - "line": 22, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 700, - "end": 701, - "loc": { - "start": { - "line": 22, - "column": 44 - }, - "end": { - "line": 22, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 701, - "end": 702, - "loc": { - "start": { - "line": 22, - "column": 45 - }, - "end": { - "line": 22, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 702, - "end": 703, - "loc": { - "start": { - "line": 22, - "column": 46 - }, - "end": { - "line": 22, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 716, - "end": 720, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 720, - "end": 721, - "loc": { - "start": { - "line": 23, - "column": 16 - }, - "end": { - "line": 23, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 721, - "end": 722, - "loc": { - "start": { - "line": 23, - "column": 17 - }, - "end": { - "line": 23, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 722, - "end": 723, - "loc": { - "start": { - "line": 23, - "column": 18 - }, - "end": { - "line": 23, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 732, - "end": 733, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 733, - "end": 734, - "loc": { - "start": { - "line": 24, - "column": 9 - }, - "end": { - "line": 24, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 735, - "end": 737, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 737, - "end": 738, - "loc": { - "start": { - "line": 24, - "column": 13 - }, - "end": { - "line": 24, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 738, - "end": 739, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 744, - "end": 745, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 745, - "end": 746, - "loc": { - "start": { - "line": 25, - "column": 5 - }, - "end": { - "line": 25, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 746, - "end": 747, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 752, - "end": 754, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 754, - "end": 755, - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should debounce the property setter", - "start": 755, - "end": 792, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 792, - "end": 793, - "loc": { - "start": { - "line": 26, - "column": 44 - }, - "end": { - "line": 26, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 794, - "end": 798, - "loc": { - "start": { - "line": 26, - "column": 46 - }, - "end": { - "line": 26, - "column": 50 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 799, - "end": 801, - "loc": { - "start": { - "line": 26, - "column": 51 - }, - "end": { - "line": 26, - "column": 53 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 802, - "end": 803, - "loc": { - "start": { - "line": 26, - "column": 54 - }, - "end": { - "line": 26, - "column": 55 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 812, - "end": 817, - "loc": { - "start": { - "line": 27, - "column": 8 - }, - "end": { - "line": 27, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 818, - "end": 825, - "loc": { - "start": { - "line": 27, - "column": 14 - }, - "end": { - "line": 27, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 826, - "end": 827, - "loc": { - "start": { - "line": 27, - "column": 22 - }, - "end": { - "line": 27, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 840, - "end": 851, - "loc": { - "start": { - "line": 28, - "column": 12 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 851, - "end": 852, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 852, - "end": 853, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 28, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 854, - "end": 855, - "loc": { - "start": { - "line": 28, - "column": 26 - }, - "end": { - "line": 28, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 872, - "end": 876, - "loc": { - "start": { - "line": 29, - "column": 16 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 876, - "end": 877, - "loc": { - "start": { - "line": 29, - "column": 20 - }, - "end": { - "line": 29, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 877, - "end": 883, - "loc": { - "start": { - "line": 29, - "column": 21 - }, - "end": { - "line": 29, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 884, - "end": 885, - "loc": { - "start": { - "line": 29, - "column": 28 - }, - "end": { - "line": 29, - "column": 29 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 886, - "end": 889, - "loc": { - "start": { - "line": 29, - "column": 30 - }, - "end": { - "line": 29, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 889, - "end": 890, - "loc": { - "start": { - "line": 29, - "column": 33 - }, - "end": { - "line": 29, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 903, - "end": 904, - "loc": { - "start": { - "line": 30, - "column": 12 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "set", - "start": 917, - "end": 920, - "loc": { - "start": { - "line": 31, - "column": 12 - }, - "end": { - "line": 31, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 921, - "end": 926, - "loc": { - "start": { - "line": 31, - "column": 16 - }, - "end": { - "line": 31, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 926, - "end": 927, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 927, - "end": 932, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 932, - "end": 933, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 934, - "end": 935, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 31, - "column": 30 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 952, - "end": 956, - "loc": { - "start": { - "line": 32, - "column": 16 - }, - "end": { - "line": 32, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 956, - "end": 957, - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 957, - "end": 963, - "loc": { - "start": { - "line": 32, - "column": 21 - }, - "end": { - "line": 32, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 964, - "end": 965, - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 966, - "end": 971, - "loc": { - "start": { - "line": 32, - "column": 30 - }, - "end": { - "line": 32, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 971, - "end": 972, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 985, - "end": 986, - "loc": { - "start": { - "line": 33, - "column": 12 - }, - "end": { - "line": 33, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 999, - "end": 1002, - "loc": { - "start": { - "line": 34, - "column": 12 - }, - "end": { - "line": 34, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1003, - "end": 1008, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1008, - "end": 1009, - "loc": { - "start": { - "line": 34, - "column": 21 - }, - "end": { - "line": 34, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1009, - "end": 1010, - "loc": { - "start": { - "line": 34, - "column": 22 - }, - "end": { - "line": 34, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1011, - "end": 1012, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 34, - "column": 25 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 1029, - "end": 1035, - "loc": { - "start": { - "line": 35, - "column": 16 - }, - "end": { - "line": 35, - "column": 22 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1036, - "end": 1040, - "loc": { - "start": { - "line": 35, - "column": 23 - }, - "end": { - "line": 35, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1040, - "end": 1041, - "loc": { - "start": { - "line": 35, - "column": 27 - }, - "end": { - "line": 35, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 1041, - "end": 1047, - "loc": { - "start": { - "line": 35, - "column": 28 - }, - "end": { - "line": 35, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1047, - "end": 1048, - "loc": { - "start": { - "line": 35, - "column": 34 - }, - "end": { - "line": 35, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1061, - "end": 1062, - "loc": { - "start": { - "line": 36, - "column": 12 - }, - "end": { - "line": 36, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1071, - "end": 1072, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1081, - "end": 1088, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1088, - "end": 1089, - "loc": { - "start": { - "line": 38, - "column": 15 - }, - "end": { - "line": 38, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1089, - "end": 1099, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1099, - "end": 1100, - "loc": { - "start": { - "line": 38, - "column": 26 - }, - "end": { - "line": 38, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1100, - "end": 1101, - "loc": { - "start": { - "line": 38, - "column": 27 - }, - "end": { - "line": 38, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ThrottleSetter", - "start": 1114, - "end": 1128, - "loc": { - "start": { - "line": 39, - "column": 12 - }, - "end": { - "line": 39, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1128, - "end": 1129, - "loc": { - "start": { - "line": 39, - "column": 26 - }, - "end": { - "line": 39, - "column": 27 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1129, - "end": 1131, - "loc": { - "start": { - "line": 39, - "column": 27 - }, - "end": { - "line": 39, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1131, - "end": 1132, - "loc": { - "start": { - "line": 39, - "column": 29 - }, - "end": { - "line": 39, - "column": 30 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1141, - "end": 1142, - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1142, - "end": 1143, - "loc": { - "start": { - "line": 40, - "column": 9 - }, - "end": { - "line": 40, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1144, - "end": 1151, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1151, - "end": 1152, - "loc": { - "start": { - "line": 40, - "column": 18 - }, - "end": { - "line": 40, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1152, - "end": 1161, - "loc": { - "start": { - "line": 40, - "column": 19 - }, - "end": { - "line": 40, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1161, - "end": 1162, - "loc": { - "start": { - "line": 40, - "column": 28 - }, - "end": { - "line": 40, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "value", - "start": 1163, - "end": 1170, - "loc": { - "start": { - "line": 40, - "column": 30 - }, - "end": { - "line": 40, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1170, - "end": 1171, - "loc": { - "start": { - "line": 40, - "column": 37 - }, - "end": { - "line": 40, - "column": 38 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1172, - "end": 1176, - "loc": { - "start": { - "line": 40, - "column": 39 - }, - "end": { - "line": 40, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1176, - "end": 1177, - "loc": { - "start": { - "line": 40, - "column": 43 - }, - "end": { - "line": 40, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1177, - "end": 1178, - "loc": { - "start": { - "line": 40, - "column": 44 - }, - "end": { - "line": 40, - "column": 45 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1187, - "end": 1192, - "loc": { - "start": { - "line": 41, - "column": 8 - }, - "end": { - "line": 41, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1193, - "end": 1200, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1201, - "end": 1202, - "loc": { - "start": { - "line": 41, - "column": 22 - }, - "end": { - "line": 41, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1203, - "end": 1206, - "loc": { - "start": { - "line": 41, - "column": 24 - }, - "end": { - "line": 41, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1207, - "end": 1214, - "loc": { - "start": { - "line": 41, - "column": 28 - }, - "end": { - "line": 41, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1214, - "end": 1215, - "loc": { - "start": { - "line": 41, - "column": 35 - }, - "end": { - "line": 41, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1215, - "end": 1216, - "loc": { - "start": { - "line": 41, - "column": 36 - }, - "end": { - "line": 41, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1216, - "end": 1217, - "loc": { - "start": { - "line": 41, - "column": 37 - }, - "end": { - "line": 41, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1226, - "end": 1233, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1233, - "end": 1234, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1234, - "end": 1239, - "loc": { - "start": { - "line": 42, - "column": 16 - }, - "end": { - "line": 42, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1240, - "end": 1241, - "loc": { - "start": { - "line": 42, - "column": 22 - }, - "end": { - "line": 42, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1242, - "end": 1243, - "loc": { - "start": { - "line": 42, - "column": 24 - }, - "end": { - "line": 42, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1243, - "end": 1244, - "loc": { - "start": { - "line": 42, - "column": 25 - }, - "end": { - "line": 42, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1253, - "end": 1260, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1260, - "end": 1261, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1261, - "end": 1266, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1267, - "end": 1268, - "loc": { - "start": { - "line": 43, - "column": 22 - }, - "end": { - "line": 43, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 15, - "start": 1269, - "end": 1271, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1271, - "end": 1272, - "loc": { - "start": { - "line": 43, - "column": 26 - }, - "end": { - "line": 43, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 1281, - "end": 1291, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1291, - "end": 1292, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1292, - "end": 1293, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1293, - "end": 1294, - "loc": { - "start": { - "line": 44, - "column": 20 - }, - "end": { - "line": 44, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1295, - "end": 1297, - "loc": { - "start": { - "line": 44, - "column": 22 - }, - "end": { - "line": 44, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1298, - "end": 1305, - "loc": { - "start": { - "line": 44, - "column": 25 - }, - "end": { - "line": 44, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1305, - "end": 1306, - "loc": { - "start": { - "line": 44, - "column": 32 - }, - "end": { - "line": 44, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1306, - "end": 1311, - "loc": { - "start": { - "line": 44, - "column": 33 - }, - "end": { - "line": 44, - "column": 38 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1312, - "end": 1313, - "loc": { - "start": { - "line": 44, - "column": 39 - }, - "end": { - "line": 44, - "column": 40 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 1314, - "end": 1316, - "loc": { - "start": { - "line": 44, - "column": 41 - }, - "end": { - "line": 44, - "column": 43 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1316, - "end": 1317, - "loc": { - "start": { - "line": 44, - "column": 43 - }, - "end": { - "line": 44, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1318, - "end": 1319, - "loc": { - "start": { - "line": 44, - "column": 45 - }, - "end": { - "line": 44, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1319, - "end": 1320, - "loc": { - "start": { - "line": 44, - "column": 46 - }, - "end": { - "line": 44, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1320, - "end": 1321, - "loc": { - "start": { - "line": 44, - "column": 47 - }, - "end": { - "line": 44, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1330, - "end": 1336, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1336, - "end": 1337, - "loc": { - "start": { - "line": 45, - "column": 14 - }, - "end": { - "line": 45, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1337, - "end": 1344, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1344, - "end": 1345, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 45, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1345, - "end": 1350, - "loc": { - "start": { - "line": 45, - "column": 23 - }, - "end": { - "line": 45, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1350, - "end": 1351, - "loc": { - "start": { - "line": 45, - "column": 28 - }, - "end": { - "line": 45, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1351, - "end": 1352, - "loc": { - "start": { - "line": 45, - "column": 29 - }, - "end": { - "line": 45, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1352, - "end": 1354, - "loc": { - "start": { - "line": 45, - "column": 30 - }, - "end": { - "line": 45, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1354, - "end": 1355, - "loc": { - "start": { - "line": 45, - "column": 32 - }, - "end": { - "line": 45, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1355, - "end": 1360, - "loc": { - "start": { - "line": 45, - "column": 33 - }, - "end": { - "line": 45, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1360, - "end": 1361, - "loc": { - "start": { - "line": 45, - "column": 38 - }, - "end": { - "line": 45, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 1361, - "end": 1362, - "loc": { - "start": { - "line": 45, - "column": 39 - }, - "end": { - "line": 45, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1362, - "end": 1363, - "loc": { - "start": { - "line": 45, - "column": 40 - }, - "end": { - "line": 45, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1363, - "end": 1364, - "loc": { - "start": { - "line": 45, - "column": 41 - }, - "end": { - "line": 45, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 1373, - "end": 1383, - "loc": { - "start": { - "line": 46, - "column": 8 - }, - "end": { - "line": 46, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1383, - "end": 1384, - "loc": { - "start": { - "line": 46, - "column": 18 - }, - "end": { - "line": 46, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1384, - "end": 1385, - "loc": { - "start": { - "line": 46, - "column": 19 - }, - "end": { - "line": 46, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1385, - "end": 1386, - "loc": { - "start": { - "line": 46, - "column": 20 - }, - "end": { - "line": 46, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1387, - "end": 1389, - "loc": { - "start": { - "line": 46, - "column": 22 - }, - "end": { - "line": 46, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1390, - "end": 1391, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1404, - "end": 1410, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1410, - "end": 1411, - "loc": { - "start": { - "line": 47, - "column": 18 - }, - "end": { - "line": 47, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1411, - "end": 1418, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1418, - "end": 1419, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1419, - "end": 1424, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1424, - "end": 1425, - "loc": { - "start": { - "line": 47, - "column": 32 - }, - "end": { - "line": 47, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1425, - "end": 1426, - "loc": { - "start": { - "line": 47, - "column": 33 - }, - "end": { - "line": 47, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1426, - "end": 1428, - "loc": { - "start": { - "line": 47, - "column": 34 - }, - "end": { - "line": 47, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1428, - "end": 1429, - "loc": { - "start": { - "line": 47, - "column": 36 - }, - "end": { - "line": 47, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1429, - "end": 1434, - "loc": { - "start": { - "line": 47, - "column": 37 - }, - "end": { - "line": 47, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1434, - "end": 1435, - "loc": { - "start": { - "line": 47, - "column": 42 - }, - "end": { - "line": 47, - "column": 43 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 20, - "start": 1435, - "end": 1437, - "loc": { - "start": { - "line": 47, - "column": 43 - }, - "end": { - "line": 47, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1437, - "end": 1438, - "loc": { - "start": { - "line": 47, - "column": 45 - }, - "end": { - "line": 47, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1438, - "end": 1439, - "loc": { - "start": { - "line": 47, - "column": 46 - }, - "end": { - "line": 47, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 1452, - "end": 1456, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1456, - "end": 1457, - "loc": { - "start": { - "line": 48, - "column": 16 - }, - "end": { - "line": 48, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1457, - "end": 1458, - "loc": { - "start": { - "line": 48, - "column": 17 - }, - "end": { - "line": 48, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1458, - "end": 1459, - "loc": { - "start": { - "line": 48, - "column": 18 - }, - "end": { - "line": 48, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1468, - "end": 1469, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1469, - "end": 1470, - "loc": { - "start": { - "line": 49, - "column": 9 - }, - "end": { - "line": 49, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 11, - "start": 1471, - "end": 1473, - "loc": { - "start": { - "line": 49, - "column": 11 - }, - "end": { - "line": 49, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1473, - "end": 1474, - "loc": { - "start": { - "line": 49, - "column": 13 - }, - "end": { - "line": 49, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1474, - "end": 1475, - "loc": { - "start": { - "line": 49, - "column": 14 - }, - "end": { - "line": 49, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1480, - "end": 1481, - "loc": { - "start": { - "line": 50, - "column": 4 - }, - "end": { - "line": 50, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1481, - "end": 1482, - "loc": { - "start": { - "line": 50, - "column": 5 - }, - "end": { - "line": 50, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1482, - "end": 1483, - "loc": { - "start": { - "line": 50, - "column": 6 - }, - "end": { - "line": 50, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 1488, - "end": 1490, - "loc": { - "start": { - "line": 51, - "column": 4 - }, - "end": { - "line": 51, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1490, - "end": 1491, - "loc": { - "start": { - "line": 51, - "column": 6 - }, - "end": { - "line": 51, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should debounce the property getter", - "start": 1491, - "end": 1528, - "loc": { - "start": { - "line": 51, - "column": 7 - }, - "end": { - "line": 51, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1528, - "end": 1529, - "loc": { - "start": { - "line": 51, - "column": 44 - }, - "end": { - "line": 51, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 1530, - "end": 1534, - "loc": { - "start": { - "line": 51, - "column": 46 - }, - "end": { - "line": 51, - "column": 50 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1535, - "end": 1537, - "loc": { - "start": { - "line": 51, - "column": 51 - }, - "end": { - "line": 51, - "column": 53 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1538, - "end": 1539, - "loc": { - "start": { - "line": 51, - "column": 54 - }, - "end": { - "line": 51, - "column": 55 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 1548, - "end": 1553, - "loc": { - "start": { - "line": 52, - "column": 8 - }, - "end": { - "line": 52, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1554, - "end": 1561, - "loc": { - "start": { - "line": 52, - "column": 14 - }, - "end": { - "line": 52, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1562, - "end": 1563, - "loc": { - "start": { - "line": 52, - "column": 22 - }, - "end": { - "line": 52, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 1576, - "end": 1587, - "loc": { - "start": { - "line": 53, - "column": 12 - }, - "end": { - "line": 53, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1587, - "end": 1588, - "loc": { - "start": { - "line": 53, - "column": 23 - }, - "end": { - "line": 53, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1588, - "end": 1589, - "loc": { - "start": { - "line": 53, - "column": 24 - }, - "end": { - "line": 53, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1590, - "end": 1591, - "loc": { - "start": { - "line": 53, - "column": 26 - }, - "end": { - "line": 53, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1608, - "end": 1612, - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1612, - "end": 1613, - "loc": { - "start": { - "line": 54, - "column": 20 - }, - "end": { - "line": 54, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 1613, - "end": 1619, - "loc": { - "start": { - "line": 54, - "column": 21 - }, - "end": { - "line": 54, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1620, - "end": 1621, - "loc": { - "start": { - "line": 54, - "column": 28 - }, - "end": { - "line": 54, - "column": 29 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 1622, - "end": 1623, - "loc": { - "start": { - "line": 54, - "column": 30 - }, - "end": { - "line": 54, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1623, - "end": 1624, - "loc": { - "start": { - "line": 54, - "column": 31 - }, - "end": { - "line": 54, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1637, - "end": 1638, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "get", - "start": 1651, - "end": 1654, - "loc": { - "start": { - "line": 56, - "column": 12 - }, - "end": { - "line": 56, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1655, - "end": 1660, - "loc": { - "start": { - "line": 56, - "column": 16 - }, - "end": { - "line": 56, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1660, - "end": 1661, - "loc": { - "start": { - "line": 56, - "column": 21 - }, - "end": { - "line": 56, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1661, - "end": 1662, - "loc": { - "start": { - "line": 56, - "column": 22 - }, - "end": { - "line": 56, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1663, - "end": 1664, - "loc": { - "start": { - "line": 56, - "column": 24 - }, - "end": { - "line": 56, - "column": 25 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 1681, - "end": 1687, - "loc": { - "start": { - "line": 57, - "column": 16 - }, - "end": { - "line": 57, - "column": 22 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 1688, - "end": 1690, - "loc": { - "start": { - "line": 57, - "column": 23 - }, - "end": { - "line": 57, - "column": 25 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1690, - "end": 1694, - "loc": { - "start": { - "line": 57, - "column": 25 - }, - "end": { - "line": 57, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1694, - "end": 1695, - "loc": { - "start": { - "line": 57, - "column": 29 - }, - "end": { - "line": 57, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "_value", - "start": 1695, - "end": 1701, - "loc": { - "start": { - "line": 57, - "column": 30 - }, - "end": { - "line": 57, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1701, - "end": 1702, - "loc": { - "start": { - "line": 57, - "column": 36 - }, - "end": { - "line": 57, - "column": 37 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1715, - "end": 1716, - "loc": { - "start": { - "line": 58, - "column": 12 - }, - "end": { - "line": 58, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1725, - "end": 1726, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 1735, - "end": 1742, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1742, - "end": 1743, - "loc": { - "start": { - "line": 60, - "column": 15 - }, - "end": { - "line": 60, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 1743, - "end": 1753, - "loc": { - "start": { - "line": 60, - "column": 16 - }, - "end": { - "line": 60, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1753, - "end": 1754, - "loc": { - "start": { - "line": 60, - "column": 26 - }, - "end": { - "line": 60, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1754, - "end": 1755, - "loc": { - "start": { - "line": 60, - "column": 27 - }, - "end": { - "line": 60, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ThrottleGetter", - "start": 1768, - "end": 1782, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1782, - "end": 1783, - "loc": { - "start": { - "line": 61, - "column": 26 - }, - "end": { - "line": 61, - "column": 27 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 1783, - "end": 1785, - "loc": { - "start": { - "line": 61, - "column": 27 - }, - "end": { - "line": 61, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1785, - "end": 1786, - "loc": { - "start": { - "line": 61, - "column": 29 - }, - "end": { - "line": 61, - "column": 30 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1795, - "end": 1796, - "loc": { - "start": { - "line": 62, - "column": 8 - }, - "end": { - "line": 62, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1796, - "end": 1797, - "loc": { - "start": { - "line": 62, - "column": 9 - }, - "end": { - "line": 62, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1798, - "end": 1805, - "loc": { - "start": { - "line": 62, - "column": 11 - }, - "end": { - "line": 62, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1805, - "end": 1806, - "loc": { - "start": { - "line": 62, - "column": 18 - }, - "end": { - "line": 62, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 1806, - "end": 1815, - "loc": { - "start": { - "line": 62, - "column": 19 - }, - "end": { - "line": 62, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1815, - "end": 1816, - "loc": { - "start": { - "line": 62, - "column": 28 - }, - "end": { - "line": 62, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "value", - "start": 1817, - "end": 1824, - "loc": { - "start": { - "line": 62, - "column": 30 - }, - "end": { - "line": 62, - "column": 37 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1824, - "end": 1825, - "loc": { - "start": { - "line": 62, - "column": 37 - }, - "end": { - "line": 62, - "column": 38 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 1826, - "end": 1830, - "loc": { - "start": { - "line": 62, - "column": 39 - }, - "end": { - "line": 62, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1830, - "end": 1831, - "loc": { - "start": { - "line": 62, - "column": 43 - }, - "end": { - "line": 62, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1831, - "end": 1832, - "loc": { - "start": { - "line": 62, - "column": 44 - }, - "end": { - "line": 62, - "column": 45 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1841, - "end": 1846, - "loc": { - "start": { - "line": 63, - "column": 8 - }, - "end": { - "line": 63, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1847, - "end": 1854, - "loc": { - "start": { - "line": 63, - "column": 14 - }, - "end": { - "line": 63, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1855, - "end": 1856, - "loc": { - "start": { - "line": 63, - "column": 22 - }, - "end": { - "line": 63, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 1857, - "end": 1860, - "loc": { - "start": { - "line": 63, - "column": 24 - }, - "end": { - "line": 63, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 1861, - "end": 1868, - "loc": { - "start": { - "line": 63, - "column": 28 - }, - "end": { - "line": 63, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1868, - "end": 1869, - "loc": { - "start": { - "line": 63, - "column": 35 - }, - "end": { - "line": 63, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1869, - "end": 1870, - "loc": { - "start": { - "line": 63, - "column": 36 - }, - "end": { - "line": 63, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1870, - "end": 1871, - "loc": { - "start": { - "line": 63, - "column": 37 - }, - "end": { - "line": 63, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1880, - "end": 1886, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1886, - "end": 1887, - "loc": { - "start": { - "line": 64, - "column": 14 - }, - "end": { - "line": 64, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1887, - "end": 1894, - "loc": { - "start": { - "line": 64, - "column": 15 - }, - "end": { - "line": 64, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1894, - "end": 1895, - "loc": { - "start": { - "line": 64, - "column": 22 - }, - "end": { - "line": 64, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1895, - "end": 1900, - "loc": { - "start": { - "line": 64, - "column": 23 - }, - "end": { - "line": 64, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1900, - "end": 1901, - "loc": { - "start": { - "line": 64, - "column": 28 - }, - "end": { - "line": 64, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1901, - "end": 1902, - "loc": { - "start": { - "line": 64, - "column": 29 - }, - "end": { - "line": 64, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1902, - "end": 1904, - "loc": { - "start": { - "line": 64, - "column": 30 - }, - "end": { - "line": 64, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1904, - "end": 1905, - "loc": { - "start": { - "line": 64, - "column": 32 - }, - "end": { - "line": 64, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1905, - "end": 1910, - "loc": { - "start": { - "line": 64, - "column": 33 - }, - "end": { - "line": 64, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1910, - "end": 1911, - "loc": { - "start": { - "line": 64, - "column": 38 - }, - "end": { - "line": 64, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1911, - "end": 1912, - "loc": { - "start": { - "line": 64, - "column": 39 - }, - "end": { - "line": 64, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1912, - "end": 1913, - "loc": { - "start": { - "line": 64, - "column": 40 - }, - "end": { - "line": 64, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1913, - "end": 1914, - "loc": { - "start": { - "line": 64, - "column": 41 - }, - "end": { - "line": 64, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1923, - "end": 1929, - "loc": { - "start": { - "line": 65, - "column": 8 - }, - "end": { - "line": 65, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1929, - "end": 1930, - "loc": { - "start": { - "line": 65, - "column": 14 - }, - "end": { - "line": 65, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1930, - "end": 1937, - "loc": { - "start": { - "line": 65, - "column": 15 - }, - "end": { - "line": 65, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1937, - "end": 1938, - "loc": { - "start": { - "line": 65, - "column": 22 - }, - "end": { - "line": 65, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1938, - "end": 1943, - "loc": { - "start": { - "line": 65, - "column": 23 - }, - "end": { - "line": 65, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1943, - "end": 1944, - "loc": { - "start": { - "line": 65, - "column": 28 - }, - "end": { - "line": 65, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1944, - "end": 1945, - "loc": { - "start": { - "line": 65, - "column": 29 - }, - "end": { - "line": 65, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 1945, - "end": 1947, - "loc": { - "start": { - "line": 65, - "column": 30 - }, - "end": { - "line": 65, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1947, - "end": 1948, - "loc": { - "start": { - "line": 65, - "column": 32 - }, - "end": { - "line": 65, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 1948, - "end": 1953, - "loc": { - "start": { - "line": 65, - "column": 33 - }, - "end": { - "line": 65, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1953, - "end": 1954, - "loc": { - "start": { - "line": 65, - "column": 38 - }, - "end": { - "line": 65, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1954, - "end": 1955, - "loc": { - "start": { - "line": 65, - "column": 39 - }, - "end": { - "line": 65, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1955, - "end": 1956, - "loc": { - "start": { - "line": 65, - "column": 40 - }, - "end": { - "line": 65, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1956, - "end": 1957, - "loc": { - "start": { - "line": 65, - "column": 41 - }, - "end": { - "line": 65, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 1966, - "end": 1976, - "loc": { - "start": { - "line": 66, - "column": 8 - }, - "end": { - "line": 66, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1976, - "end": 1977, - "loc": { - "start": { - "line": 66, - "column": 18 - }, - "end": { - "line": 66, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1977, - "end": 1978, - "loc": { - "start": { - "line": 66, - "column": 19 - }, - "end": { - "line": 66, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1978, - "end": 1979, - "loc": { - "start": { - "line": 66, - "column": 20 - }, - "end": { - "line": 66, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1980, - "end": 1982, - "loc": { - "start": { - "line": 66, - "column": 22 - }, - "end": { - "line": 66, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 1983, - "end": 1989, - "loc": { - "start": { - "line": 66, - "column": 25 - }, - "end": { - "line": 66, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1989, - "end": 1990, - "loc": { - "start": { - "line": 66, - "column": 31 - }, - "end": { - "line": 66, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 1990, - "end": 1997, - "loc": { - "start": { - "line": 66, - "column": 32 - }, - "end": { - "line": 66, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1997, - "end": 1998, - "loc": { - "start": { - "line": 66, - "column": 39 - }, - "end": { - "line": 66, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 1998, - "end": 2003, - "loc": { - "start": { - "line": 66, - "column": 40 - }, - "end": { - "line": 66, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2003, - "end": 2004, - "loc": { - "start": { - "line": 66, - "column": 45 - }, - "end": { - "line": 66, - "column": 46 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2004, - "end": 2005, - "loc": { - "start": { - "line": 66, - "column": 46 - }, - "end": { - "line": 66, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2005, - "end": 2007, - "loc": { - "start": { - "line": 66, - "column": 47 - }, - "end": { - "line": 66, - "column": 49 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2007, - "end": 2008, - "loc": { - "start": { - "line": 66, - "column": 49 - }, - "end": { - "line": 66, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 2008, - "end": 2013, - "loc": { - "start": { - "line": 66, - "column": 50 - }, - "end": { - "line": 66, - "column": 55 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2013, - "end": 2014, - "loc": { - "start": { - "line": 66, - "column": 55 - }, - "end": { - "line": 66, - "column": 56 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 2014, - "end": 2015, - "loc": { - "start": { - "line": 66, - "column": 56 - }, - "end": { - "line": 66, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2015, - "end": 2016, - "loc": { - "start": { - "line": 66, - "column": 57 - }, - "end": { - "line": 66, - "column": 58 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2016, - "end": 2017, - "loc": { - "start": { - "line": 66, - "column": 58 - }, - "end": { - "line": 66, - "column": 59 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 2018, - "end": 2019, - "loc": { - "start": { - "line": 66, - "column": 60 - }, - "end": { - "line": 66, - "column": 61 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2019, - "end": 2020, - "loc": { - "start": { - "line": 66, - "column": 61 - }, - "end": { - "line": 66, - "column": 62 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2020, - "end": 2021, - "loc": { - "start": { - "line": 66, - "column": 62 - }, - "end": { - "line": 66, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setTimeout", - "start": 2030, - "end": 2040, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 67, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2040, - "end": 2041, - "loc": { - "start": { - "line": 67, - "column": 18 - }, - "end": { - "line": 67, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2041, - "end": 2042, - "loc": { - "start": { - "line": 67, - "column": 19 - }, - "end": { - "line": 67, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2042, - "end": 2043, - "loc": { - "start": { - "line": 67, - "column": 20 - }, - "end": { - "line": 67, - "column": 21 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2044, - "end": 2046, - "loc": { - "start": { - "line": 67, - "column": 22 - }, - "end": { - "line": 67, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2047, - "end": 2048, - "loc": { - "start": { - "line": 67, - "column": 25 - }, - "end": { - "line": 67, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2061, - "end": 2067, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2067, - "end": 2068, - "loc": { - "start": { - "line": 68, - "column": 18 - }, - "end": { - "line": 68, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2068, - "end": 2075, - "loc": { - "start": { - "line": 68, - "column": 19 - }, - "end": { - "line": 68, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2075, - "end": 2076, - "loc": { - "start": { - "line": 68, - "column": 26 - }, - "end": { - "line": 68, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 2076, - "end": 2081, - "loc": { - "start": { - "line": 68, - "column": 27 - }, - "end": { - "line": 68, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2081, - "end": 2082, - "loc": { - "start": { - "line": 68, - "column": 32 - }, - "end": { - "line": 68, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2082, - "end": 2083, - "loc": { - "start": { - "line": 68, - "column": 33 - }, - "end": { - "line": 68, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2083, - "end": 2085, - "loc": { - "start": { - "line": 68, - "column": 34 - }, - "end": { - "line": 68, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2085, - "end": 2086, - "loc": { - "start": { - "line": 68, - "column": 36 - }, - "end": { - "line": 68, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 2086, - "end": 2091, - "loc": { - "start": { - "line": 68, - "column": 37 - }, - "end": { - "line": 68, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2091, - "end": 2092, - "loc": { - "start": { - "line": 68, - "column": 42 - }, - "end": { - "line": 68, - "column": 43 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 2092, - "end": 2093, - "loc": { - "start": { - "line": 68, - "column": 43 - }, - "end": { - "line": 68, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2093, - "end": 2094, - "loc": { - "start": { - "line": 68, - "column": 44 - }, - "end": { - "line": 68, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2094, - "end": 2095, - "loc": { - "start": { - "line": 68, - "column": 45 - }, - "end": { - "line": 68, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "done", - "start": 2108, - "end": 2112, - "loc": { - "start": { - "line": 69, - "column": 12 - }, - "end": { - "line": 69, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2112, - "end": 2113, - "loc": { - "start": { - "line": 69, - "column": 16 - }, - "end": { - "line": 69, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2113, - "end": 2114, - "loc": { - "start": { - "line": 69, - "column": 17 - }, - "end": { - "line": 69, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2114, - "end": 2115, - "loc": { - "start": { - "line": 69, - "column": 18 - }, - "end": { - "line": 69, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2124, - "end": 2125, - "loc": { - "start": { - "line": 70, - "column": 8 - }, - "end": { - "line": 70, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2125, - "end": 2126, - "loc": { - "start": { - "line": 70, - "column": 9 - }, - "end": { - "line": 70, - "column": 10 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 11, - "start": 2127, - "end": 2129, - "loc": { - "start": { - "line": 70, - "column": 11 - }, - "end": { - "line": 70, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2129, - "end": 2130, - "loc": { - "start": { - "line": 70, - "column": 13 - }, - "end": { - "line": 70, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2130, - "end": 2131, - "loc": { - "start": { - "line": 70, - "column": 14 - }, - "end": { - "line": 70, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2136, - "end": 2137, - "loc": { - "start": { - "line": 71, - "column": 4 - }, - "end": { - "line": 71, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2137, - "end": 2138, - "loc": { - "start": { - "line": 71, - "column": 5 - }, - "end": { - "line": 71, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2138, - "end": 2139, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 2144, - "end": 2146, - "loc": { - "start": { - "line": 72, - "column": 4 - }, - "end": { - "line": 72, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2146, - "end": 2147, - "loc": { - "start": { - "line": 72, - "column": 6 - }, - "end": { - "line": 72, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should contain the cancel and flush methods", - "start": 2147, - "end": 2192, - "loc": { - "start": { - "line": 72, - "column": 7 - }, - "end": { - "line": 72, - "column": 52 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2192, - "end": 2193, - "loc": { - "start": { - "line": 72, - "column": 52 - }, - "end": { - "line": 72, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2194, - "end": 2195, - "loc": { - "start": { - "line": 72, - "column": 54 - }, - "end": { - "line": 72, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2195, - "end": 2196, - "loc": { - "start": { - "line": 72, - "column": 55 - }, - "end": { - "line": 72, - "column": 56 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2197, - "end": 2199, - "loc": { - "start": { - "line": 72, - "column": 57 - }, - "end": { - "line": 72, - "column": 59 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2200, - "end": 2201, - "loc": { - "start": { - "line": 72, - "column": 60 - }, - "end": { - "line": 72, - "column": 61 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 2210, - "end": 2215, - "loc": { - "start": { - "line": 73, - "column": 8 - }, - "end": { - "line": 73, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 2216, - "end": 2223, - "loc": { - "start": { - "line": 73, - "column": 14 - }, - "end": { - "line": 73, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2224, - "end": 2225, - "loc": { - "start": { - "line": 73, - "column": 22 - }, - "end": { - "line": 73, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2238, - "end": 2240, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2240, - "end": 2241, - "loc": { - "start": { - "line": 74, - "column": 14 - }, - "end": { - "line": 74, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2241, - "end": 2242, - "loc": { - "start": { - "line": 74, - "column": 15 - }, - "end": { - "line": 74, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2243, - "end": 2244, - "loc": { - "start": { - "line": 74, - "column": 17 - }, - "end": { - "line": 74, - "column": 18 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2245, - "end": 2246, - "loc": { - "start": { - "line": 74, - "column": 19 - }, - "end": { - "line": 74, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2255, - "end": 2256, - "loc": { - "start": { - "line": 75, - "column": 8 - }, - "end": { - "line": 75, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 2265, - "end": 2272, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 76, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2272, - "end": 2273, - "loc": { - "start": { - "line": 76, - "column": 15 - }, - "end": { - "line": 76, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 2273, - "end": 2283, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2283, - "end": 2284, - "loc": { - "start": { - "line": 76, - "column": 26 - }, - "end": { - "line": 76, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2284, - "end": 2285, - "loc": { - "start": { - "line": 76, - "column": 27 - }, - "end": { - "line": 76, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Throttle", - "start": 2298, - "end": 2306, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2306, - "end": 2307, - "loc": { - "start": { - "line": 77, - "column": 20 - }, - "end": { - "line": 77, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 10, - "start": 2307, - "end": 2309, - "loc": { - "start": { - "line": 77, - "column": 21 - }, - "end": { - "line": 77, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2309, - "end": 2310, - "loc": { - "start": { - "line": 77, - "column": 23 - }, - "end": { - "line": 77, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2319, - "end": 2320, - "loc": { - "start": { - "line": 78, - "column": 8 - }, - "end": { - "line": 78, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2320, - "end": 2321, - "loc": { - "start": { - "line": 78, - "column": 9 - }, - "end": { - "line": 78, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 2322, - "end": 2329, - "loc": { - "start": { - "line": 78, - "column": 11 - }, - "end": { - "line": 78, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2329, - "end": 2330, - "loc": { - "start": { - "line": 78, - "column": 18 - }, - "end": { - "line": 78, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 2330, - "end": 2339, - "loc": { - "start": { - "line": 78, - "column": 19 - }, - "end": { - "line": 78, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2339, - "end": 2340, - "loc": { - "start": { - "line": 78, - "column": 28 - }, - "end": { - "line": 78, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 2341, - "end": 2345, - "loc": { - "start": { - "line": 78, - "column": 30 - }, - "end": { - "line": 78, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2345, - "end": 2346, - "loc": { - "start": { - "line": 78, - "column": 34 - }, - "end": { - "line": 78, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 2347, - "end": 2351, - "loc": { - "start": { - "line": 78, - "column": 36 - }, - "end": { - "line": 78, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2351, - "end": 2352, - "loc": { - "start": { - "line": 78, - "column": 40 - }, - "end": { - "line": 78, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2352, - "end": 2353, - "loc": { - "start": { - "line": 78, - "column": 41 - }, - "end": { - "line": 78, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 2362, - "end": 2367, - "loc": { - "start": { - "line": 79, - "column": 8 - }, - "end": { - "line": 79, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2368, - "end": 2375, - "loc": { - "start": { - "line": 79, - "column": 14 - }, - "end": { - "line": 79, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2376, - "end": 2377, - "loc": { - "start": { - "line": 79, - "column": 22 - }, - "end": { - "line": 79, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 2378, - "end": 2381, - "loc": { - "start": { - "line": 79, - "column": 24 - }, - "end": { - "line": 79, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 2382, - "end": 2389, - "loc": { - "start": { - "line": 79, - "column": 28 - }, - "end": { - "line": 79, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2389, - "end": 2390, - "loc": { - "start": { - "line": 79, - "column": 35 - }, - "end": { - "line": 79, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2390, - "end": 2391, - "loc": { - "start": { - "line": 79, - "column": 36 - }, - "end": { - "line": 79, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2391, - "end": 2392, - "loc": { - "start": { - "line": 79, - "column": 37 - }, - "end": { - "line": 79, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2401, - "end": 2407, - "loc": { - "start": { - "line": 80, - "column": 8 - }, - "end": { - "line": 80, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2407, - "end": 2408, - "loc": { - "start": { - "line": 80, - "column": 14 - }, - "end": { - "line": 80, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2408, - "end": 2415, - "loc": { - "start": { - "line": 80, - "column": 15 - }, - "end": { - "line": 80, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2415, - "end": 2416, - "loc": { - "start": { - "line": 80, - "column": 22 - }, - "end": { - "line": 80, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2416, - "end": 2418, - "loc": { - "start": { - "line": 80, - "column": 23 - }, - "end": { - "line": 80, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2418, - "end": 2419, - "loc": { - "start": { - "line": 80, - "column": 25 - }, - "end": { - "line": 80, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cancel", - "start": 2419, - "end": 2425, - "loc": { - "start": { - "line": 80, - "column": 26 - }, - "end": { - "line": 80, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2425, - "end": 2426, - "loc": { - "start": { - "line": 80, - "column": 32 - }, - "end": { - "line": 80, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2426, - "end": 2427, - "loc": { - "start": { - "line": 80, - "column": 33 - }, - "end": { - "line": 80, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2427, - "end": 2429, - "loc": { - "start": { - "line": 80, - "column": 34 - }, - "end": { - "line": 80, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2429, - "end": 2430, - "loc": { - "start": { - "line": 80, - "column": 36 - }, - "end": { - "line": 80, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 2430, - "end": 2432, - "loc": { - "start": { - "line": 80, - "column": 37 - }, - "end": { - "line": 80, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2432, - "end": 2433, - "loc": { - "start": { - "line": 80, - "column": 39 - }, - "end": { - "line": 80, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 2433, - "end": 2434, - "loc": { - "start": { - "line": 80, - "column": 40 - }, - "end": { - "line": 80, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2434, - "end": 2435, - "loc": { - "start": { - "line": 80, - "column": 41 - }, - "end": { - "line": 80, - "column": 42 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 2435, - "end": 2445, - "loc": { - "start": { - "line": 80, - "column": 42 - }, - "end": { - "line": 80, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2445, - "end": 2446, - "loc": { - "start": { - "line": 80, - "column": 52 - }, - "end": { - "line": 80, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2446, - "end": 2447, - "loc": { - "start": { - "line": 80, - "column": 53 - }, - "end": { - "line": 80, - "column": 54 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 2456, - "end": 2462, - "loc": { - "start": { - "line": 81, - "column": 8 - }, - "end": { - "line": 81, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2462, - "end": 2463, - "loc": { - "start": { - "line": 81, - "column": 14 - }, - "end": { - "line": 81, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 2463, - "end": 2470, - "loc": { - "start": { - "line": 81, - "column": 15 - }, - "end": { - "line": 81, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2470, - "end": 2471, - "loc": { - "start": { - "line": 81, - "column": 22 - }, - "end": { - "line": 81, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 2471, - "end": 2473, - "loc": { - "start": { - "line": 81, - "column": 23 - }, - "end": { - "line": 81, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2473, - "end": 2474, - "loc": { - "start": { - "line": 81, - "column": 25 - }, - "end": { - "line": 81, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "flush", - "start": 2474, - "end": 2479, - "loc": { - "start": { - "line": 81, - "column": 26 - }, - "end": { - "line": 81, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2479, - "end": 2480, - "loc": { - "start": { - "line": 81, - "column": 31 - }, - "end": { - "line": 81, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2480, - "end": 2481, - "loc": { - "start": { - "line": 81, - "column": 32 - }, - "end": { - "line": 81, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 2481, - "end": 2483, - "loc": { - "start": { - "line": 81, - "column": 33 - }, - "end": { - "line": 81, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2483, - "end": 2484, - "loc": { - "start": { - "line": 81, - "column": 35 - }, - "end": { - "line": 81, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "be", - "start": 2484, - "end": 2486, - "loc": { - "start": { - "line": 81, - "column": 36 - }, - "end": { - "line": 81, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2486, - "end": 2487, - "loc": { - "start": { - "line": 81, - "column": 38 - }, - "end": { - "line": 81, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "a", - "start": 2487, - "end": 2488, - "loc": { - "start": { - "line": 81, - "column": 39 - }, - "end": { - "line": 81, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2488, - "end": 2489, - "loc": { - "start": { - "line": 81, - "column": 40 - }, - "end": { - "line": 81, - "column": 41 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "function", - "start": 2489, - "end": 2499, - "loc": { - "start": { - "line": 81, - "column": 41 - }, - "end": { - "line": 81, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2499, - "end": 2500, - "loc": { - "start": { - "line": 81, - "column": 51 - }, - "end": { - "line": 81, - "column": 52 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2500, - "end": 2501, - "loc": { - "start": { - "line": 81, - "column": 52 - }, - "end": { - "line": 81, - "column": 53 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2506, - "end": 2507, - "loc": { - "start": { - "line": 82, - "column": 4 - }, - "end": { - "line": 82, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2507, - "end": 2508, - "loc": { - "start": { - "line": 82, - "column": 5 - }, - "end": { - "line": 82, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2508, - "end": 2509, - "loc": { - "start": { - "line": 82, - "column": 6 - }, - "end": { - "line": 82, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2510, - "end": 2511, - "loc": { - "start": { - "line": 83, - "column": 0 - }, - "end": { - "line": 83, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2511, - "end": 2512, - "loc": { - "start": { - "line": 83, - "column": 1 - }, - "end": { - "line": 83, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2512, - "end": 2513, - "loc": { - "start": { - "line": 83, - "column": 2 - }, - "end": { - "line": 83, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2514, - "end": 2514, - "loc": { - "start": { - "line": 84, - "column": 0 - }, - "end": { - "line": 84, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/test/unary.spec.js.json b/docs/ast/test/unary.spec.js.json deleted file mode 100644 index cdc79ac..0000000 --- a/docs/ast/test/unary.spec.js.json +++ /dev/null @@ -1,4128 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 477, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 477, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "specifiers": [ - { - "type": "ImportNamespaceSpecifier", - "start": 7, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "extra": { - "rawValue": "tslib", - "raw": "\"tslib\"" - }, - "value": "tslib" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 30 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - }, - "identifierName": "expect" - }, - "name": "expect" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - }, - "extra": { - "rawValue": "chai", - "raw": "'chai'" - }, - "value": "chai" - } - }, - { - "type": "ImportDeclaration", - "start": 65, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "Unary" - }, - "name": "Unary" - }, - "local": { - "type": "Identifier", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - }, - "identifierName": "Unary" - }, - "name": "Unary" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - }, - "extra": { - "rawValue": "./unary", - "raw": "'./unary'" - }, - "value": "./unary" - } - }, - { - "type": "ExpressionStatement", - "start": 98, - "end": 476, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 3 - } - }, - "expression": { - "type": "CallExpression", - "start": 98, - "end": 475, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 17, - "column": 2 - } - }, - "callee": { - "type": "Identifier", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - }, - "identifierName": "describe" - }, - "name": "describe" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - }, - "extra": { - "rawValue": "unary", - "raw": "'unary'" - }, - "value": "unary" - }, - { - "type": "ArrowFunctionExpression", - "start": 116, - "end": 474, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 122, - "end": 474, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 17, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 128, - "end": 472, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 7 - } - }, - "expression": { - "type": "CallExpression", - "start": 128, - "end": 471, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 16, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - }, - "identifierName": "it" - }, - "name": "it" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 131, - "end": 169, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 45 - } - }, - "extra": { - "rawValue": "should only invoke with one argument", - "raw": "'should only invoke with one argument'" - }, - "value": "should only invoke with one argument" - }, - { - "type": "ArrowFunctionExpression", - "start": 171, - "end": 470, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 177, - "end": 470, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 16, - "column": 5 - } - }, - "body": [ - { - "type": "ClassDeclaration", - "start": 187, - "end": 301, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "id": { - "type": "Identifier", - "start": 193, - "end": 200, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 201, - "end": 301, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 10, - "column": 9 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 215, - "end": 291, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 215, - "end": 217, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "static": false, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 218, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 22 - } - }, - "argument": { - "type": "Identifier", - "start": 221, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 22 - }, - "identifierName": "args" - }, - "name": "args" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 227, - "end": 291, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 9, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 245, - "end": 277, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 48 - } - }, - "expression": { - "type": "CallExpression", - "start": 245, - "end": 276, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 245, - "end": 273, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 245, - "end": 267, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 38 - } - }, - "object": { - "type": "CallExpression", - "start": 245, - "end": 264, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 35 - } - }, - "callee": { - "type": "Identifier", - "start": 245, - "end": 251, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - }, - "identifierName": "expect" - }, - "name": "expect" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 252, - "end": 263, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 252, - "end": 256, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - }, - "identifierName": "args" - }, - "name": "args" - }, - "property": { - "type": "Identifier", - "start": 257, - "end": 263, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 265, - "end": 267, - "loc": { - "start": { - "line": 8, - "column": 36 - }, - "end": { - "line": 8, - "column": 38 - }, - "identifierName": "to" - }, - "name": "to" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 268, - "end": 273, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 44 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 274, - "end": 275, - "loc": { - "start": { - "line": 8, - "column": 45 - }, - "end": { - "line": 8, - "column": 46 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 310, - "end": 393, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 310, - "end": 392, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 13, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 310, - "end": 328, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 310, - "end": 317, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - }, - "identifierName": "tslib_1" - }, - "name": "tslib_1" - }, - "property": { - "type": "Identifier", - "start": 318, - "end": 328, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - }, - "identifierName": "__decorate" - }, - "name": "__decorate" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 329, - "end": 360, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 13, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 343, - "end": 350, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 19 - } - }, - "callee": { - "type": "Identifier", - "start": 343, - "end": 348, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 17 - }, - "identifierName": "Unary" - }, - "name": "Unary" - }, - "arguments": [] - } - ] - }, - { - "type": "MemberExpression", - "start": 362, - "end": 379, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 362, - "end": 369, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "property": { - "type": "Identifier", - "start": 370, - "end": 379, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 381, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - }, - "extra": { - "rawValue": "fn", - "raw": "\"fn\"" - }, - "value": "fn" - }, - { - "type": "NullLiteral", - "start": 387, - "end": 391, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - } - ] - } - }, - { - "type": "VariableDeclaration", - "start": 402, - "end": 432, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 408, - "end": 431, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "init": { - "type": "NewExpression", - "start": 418, - "end": 431, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 422, - "end": 429, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - }, - "identifierName": "MyClass" - }, - "name": "MyClass" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 441, - "end": 464, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 31 - } - }, - "expression": { - "type": "CallExpression", - "start": 441, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 441, - "end": 451, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 441, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 15 - }, - "identifierName": "myClass" - }, - "name": "myClass" - }, - "property": { - "type": "Identifier", - "start": 449, - "end": 451, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 18 - }, - "identifierName": "fn" - }, - "name": "fn" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 452, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 455, - "end": 456, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - { - "type": "NumericLiteral", - "start": 458, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - { - "type": "NumericLiteral", - "start": 461, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 98, - "_esdocTestName": "it98" - } - } - ], - "directives": [] - } - } - ], - "_esdocTestId": 97, - "_esdocTestName": "describe97" - } - } - ], - "directives": [] - }, - "comments": [], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "as", - "start": 9, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 20, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "tslib", - "start": 25, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 43, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 52, - "end": 56, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "chai", - "start": 57, - "end": 63, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 63, - "end": 64, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 30 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 65, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Unary", - "start": 74, - "end": 79, - "loc": { - "start": { - "line": 3, - "column": 9 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 80, - "end": 81, - "loc": { - "start": { - "line": 3, - "column": 15 - }, - "end": { - "line": 3, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 82, - "end": 86, - "loc": { - "start": { - "line": 3, - "column": 17 - }, - "end": { - "line": 3, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./unary", - "start": 87, - "end": 96, - "loc": { - "start": { - "line": 3, - "column": 22 - }, - "end": { - "line": 3, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 96, - "end": 97, - "loc": { - "start": { - "line": 3, - "column": 31 - }, - "end": { - "line": 3, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "describe", - "start": 98, - "end": 106, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 106, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 9 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "unary", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 9 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 114, - "end": 115, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 117, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 119, - "end": 121, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 122, - "end": 123, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "it", - "start": 128, - "end": 130, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 5, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 130, - "end": 131, - "loc": { - "start": { - "line": 5, - "column": 6 - }, - "end": { - "line": 5, - "column": 7 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "should only invoke with one argument", - "start": 131, - "end": 169, - "loc": { - "start": { - "line": 5, - "column": 7 - }, - "end": { - "line": 5, - "column": 45 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 169, - "end": 170, - "loc": { - "start": { - "line": 5, - "column": 45 - }, - "end": { - "line": 5, - "column": 46 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 171, - "end": 172, - "loc": { - "start": { - "line": 5, - "column": 47 - }, - "end": { - "line": 5, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 172, - "end": 173, - "loc": { - "start": { - "line": 5, - "column": 48 - }, - "end": { - "line": 5, - "column": 49 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 174, - "end": 176, - "loc": { - "start": { - "line": 5, - "column": 50 - }, - "end": { - "line": 5, - "column": 52 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 177, - "end": 178, - "loc": { - "start": { - "line": 5, - "column": 53 - }, - "end": { - "line": 5, - "column": 54 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 187, - "end": 192, - "loc": { - "start": { - "line": 6, - "column": 8 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 193, - "end": 200, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 201, - "end": 202, - "loc": { - "start": { - "line": 6, - "column": 22 - }, - "end": { - "line": 6, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 215, - "end": 217, - "loc": { - "start": { - "line": 7, - "column": 12 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 217, - "end": 218, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 15 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 218, - "end": 221, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 221, - "end": 225, - "loc": { - "start": { - "line": 7, - "column": 18 - }, - "end": { - "line": 7, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 225, - "end": 226, - "loc": { - "start": { - "line": 7, - "column": 22 - }, - "end": { - "line": 7, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 227, - "end": 228, - "loc": { - "start": { - "line": 7, - "column": 24 - }, - "end": { - "line": 7, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "expect", - "start": 245, - "end": 251, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 8, - "column": 22 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "args", - "start": 252, - "end": 256, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 256, - "end": 257, - "loc": { - "start": { - "line": 8, - "column": 27 - }, - "end": { - "line": 8, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 257, - "end": 263, - "loc": { - "start": { - "line": 8, - "column": 28 - }, - "end": { - "line": 8, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 263, - "end": 264, - "loc": { - "start": { - "line": 8, - "column": 34 - }, - "end": { - "line": 8, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 264, - "end": 265, - "loc": { - "start": { - "line": 8, - "column": 35 - }, - "end": { - "line": 8, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "to", - "start": 265, - "end": 267, - "loc": { - "start": { - "line": 8, - "column": 36 - }, - "end": { - "line": 8, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 267, - "end": 268, - "loc": { - "start": { - "line": 8, - "column": 38 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "equal", - "start": 268, - "end": 273, - "loc": { - "start": { - "line": 8, - "column": 39 - }, - "end": { - "line": 8, - "column": 44 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 273, - "end": 274, - "loc": { - "start": { - "line": 8, - "column": 44 - }, - "end": { - "line": 8, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 274, - "end": 275, - "loc": { - "start": { - "line": 8, - "column": 45 - }, - "end": { - "line": 8, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 275, - "end": 276, - "loc": { - "start": { - "line": 8, - "column": 46 - }, - "end": { - "line": 8, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 276, - "end": 277, - "loc": { - "start": { - "line": 8, - "column": 47 - }, - "end": { - "line": 8, - "column": 48 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 290, - "end": 291, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 300, - "end": 301, - "loc": { - "start": { - "line": 10, - "column": 8 - }, - "end": { - "line": 10, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tslib_1", - "start": 310, - "end": 317, - "loc": { - "start": { - "line": 11, - "column": 8 - }, - "end": { - "line": 11, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 317, - "end": 318, - "loc": { - "start": { - "line": 11, - "column": 15 - }, - "end": { - "line": 11, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "__decorate", - "start": 318, - "end": 328, - "loc": { - "start": { - "line": 11, - "column": 16 - }, - "end": { - "line": 11, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 328, - "end": 329, - "loc": { - "start": { - "line": 11, - "column": 26 - }, - "end": { - "line": 11, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 329, - "end": 330, - "loc": { - "start": { - "line": 11, - "column": 27 - }, - "end": { - "line": 11, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Unary", - "start": 343, - "end": 348, - "loc": { - "start": { - "line": 12, - "column": 12 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 348, - "end": 349, - "loc": { - "start": { - "line": 12, - "column": 17 - }, - "end": { - "line": 12, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 349, - "end": 350, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 13, - "column": 8 - }, - "end": { - "line": 13, - "column": 9 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 360, - "end": 361, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 362, - "end": 369, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 369, - "end": 370, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prototype", - "start": 370, - "end": 379, - "loc": { - "start": { - "line": 13, - "column": 19 - }, - "end": { - "line": 13, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 379, - "end": 380, - "loc": { - "start": { - "line": 13, - "column": 28 - }, - "end": { - "line": 13, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "fn", - "start": 381, - "end": 385, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 385, - "end": 386, - "loc": { - "start": { - "line": 13, - "column": 34 - }, - "end": { - "line": 13, - "column": 35 - } - } - }, - { - "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "null", - "start": 387, - "end": 391, - "loc": { - "start": { - "line": 13, - "column": 36 - }, - "end": { - "line": 13, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 391, - "end": 392, - "loc": { - "start": { - "line": 13, - "column": 40 - }, - "end": { - "line": 13, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 392, - "end": 393, - "loc": { - "start": { - "line": 13, - "column": 41 - }, - "end": { - "line": 13, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 402, - "end": 407, - "loc": { - "start": { - "line": 14, - "column": 8 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 408, - "end": 415, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 416, - "end": 417, - "loc": { - "start": { - "line": 14, - "column": 22 - }, - "end": { - "line": 14, - "column": 23 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 418, - "end": 421, - "loc": { - "start": { - "line": 14, - "column": 24 - }, - "end": { - "line": 14, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "MyClass", - "start": 422, - "end": 429, - "loc": { - "start": { - "line": 14, - "column": 28 - }, - "end": { - "line": 14, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 429, - "end": 430, - "loc": { - "start": { - "line": 14, - "column": 35 - }, - "end": { - "line": 14, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 430, - "end": 431, - "loc": { - "start": { - "line": 14, - "column": 36 - }, - "end": { - "line": 14, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 431, - "end": 432, - "loc": { - "start": { - "line": 14, - "column": 37 - }, - "end": { - "line": 14, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "myClass", - "start": 441, - "end": 448, - "loc": { - "start": { - "line": 15, - "column": 8 - }, - "end": { - "line": 15, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 448, - "end": 449, - "loc": { - "start": { - "line": 15, - "column": 15 - }, - "end": { - "line": 15, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fn", - "start": 449, - "end": 451, - "loc": { - "start": { - "line": 15, - "column": 16 - }, - "end": { - "line": 15, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 451, - "end": 452, - "loc": { - "start": { - "line": 15, - "column": 18 - }, - "end": { - "line": 15, - "column": 19 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 452, - "end": 453, - "loc": { - "start": { - "line": 15, - "column": 19 - }, - "end": { - "line": 15, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 453, - "end": 454, - "loc": { - "start": { - "line": 15, - "column": 20 - }, - "end": { - "line": 15, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 455, - "end": 456, - "loc": { - "start": { - "line": 15, - "column": 22 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 456, - "end": 457, - "loc": { - "start": { - "line": 15, - "column": 23 - }, - "end": { - "line": 15, - "column": 24 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 458, - "end": 459, - "loc": { - "start": { - "line": 15, - "column": 25 - }, - "end": { - "line": 15, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 459, - "end": 460, - "loc": { - "start": { - "line": 15, - "column": 26 - }, - "end": { - "line": 15, - "column": 27 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 461, - "end": 462, - "loc": { - "start": { - "line": 15, - "column": 28 - }, - "end": { - "line": 15, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 462, - "end": 463, - "loc": { - "start": { - "line": 15, - "column": 29 - }, - "end": { - "line": 15, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 15, - "column": 30 - }, - "end": { - "line": 15, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 469, - "end": 470, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 5 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 470, - "end": 471, - "loc": { - "start": { - "line": 16, - "column": 5 - }, - "end": { - "line": 16, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 471, - "end": 472, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 7 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 473, - "end": 474, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 1 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 474, - "end": 475, - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 2 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 475, - "end": 476, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 477, - "end": 477, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/badge.svg b/docs/badge.svg index 2995409..2a1f501 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -5,13 +5,13 @@ - - + + document document - 28% - 28% + 70% + 70% diff --git a/docs/class/buildDocs/applicators/Applicator.js~Applicator.html b/docs/class/buildDocs/applicators/Applicator.js~Applicator.html deleted file mode 100644 index 999442f..0000000 --- a/docs/class/buildDocs/applicators/Applicator.js~Applicator.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - Applicator | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -
- - public - class - - - - | source -
- - - - - - - - - - - - - - - - -
- - - - - - - - - - - - diff --git a/docs/class/src/applicators/Applicator.ts~Applicator.html b/docs/class/src/applicators/Applicator.ts~Applicator.html new file mode 100644 index 0000000..9da5a3f --- /dev/null +++ b/docs/class/src/applicators/Applicator.ts~Applicator.html @@ -0,0 +1,183 @@ + + + + + + Applicator | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +
+ + public + class + + + + | source +
+ +
+

Applicator

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +
+ + + + + + + + + + + + diff --git a/docs/class/buildDocs/applicators/BindApplicator.js~BindApplicator.html b/docs/class/src/applicators/BindApplicator.ts~BindApplicator.html similarity index 50% rename from docs/class/buildDocs/applicators/BindApplicator.js~BindApplicator.html rename to docs/class/src/applicators/BindApplicator.ts~BindApplicator.html index 131fbee..b835d2a 100644 --- a/docs/class/buildDocs/applicators/BindApplicator.js~BindApplicator.html +++ b/docs/class/src/applicators/BindApplicator.ts~BindApplicator.html @@ -3,14 +3,12 @@ - BindApplicator | Lodash Decorators Documentation API Document + BindApplicator | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- + public class - | source + | source
@@ -105,7 +131,7 @@

BindApplicator

-

Extends:

Applicator → BindApplicator
+

Extends:

src/applicators/Applicator.js~Applicator → BindApplicator
@@ -148,7 +174,8 @@

BindApplicator

- apply(objectPattern: {"value": *, "config": *, "args": *, "instance": *, "target": *}): * + + apply(undefined: ApplicateOptions): *

@@ -182,11 +209,11 @@

- apply(objectPattern: {"value": *, "config": *, "args": *, "instance": *, "target": *}): * + apply(undefined: ApplicateOptions): * - source + source

@@ -206,9 +233,9 @@

Params:

- objectPattern - {"value": *, "config": *, "args": *, "instance": *, "target": *} -
  • default: {"value":null,"config":null,"args":null,"instance":null,"target":null}
+ undefined + ApplicateOptions + @@ -221,7 +248,7 @@

Return:

- + @@ -249,7 +276,7 @@

Return:

diff --git a/docs/class/buildDocs/applicators/ComposeApplicator.js~ComposeApplicator.html b/docs/class/src/applicators/ComposeApplicator.ts~ComposeApplicator.html similarity index 52% rename from docs/class/buildDocs/applicators/ComposeApplicator.js~ComposeApplicator.html rename to docs/class/src/applicators/ComposeApplicator.ts~ComposeApplicator.html index 5259bd2..4367b07 100644 --- a/docs/class/buildDocs/applicators/ComposeApplicator.js~ComposeApplicator.html +++ b/docs/class/src/applicators/ComposeApplicator.ts~ComposeApplicator.html @@ -3,14 +3,12 @@ - ComposeApplicator | Lodash Decorators Documentation API Document + ComposeApplicator | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- + public class - | source + | source
@@ -105,7 +131,7 @@

ComposeApplicator

-

Extends:

Applicator → ComposeApplicator
+

Extends:

src/applicators/Applicator.js~Applicator → ComposeApplicator
@@ -146,7 +172,8 @@

ComposeApplicator

- constructor(_config: {}) + + constructor()

@@ -180,7 +207,8 @@

ComposeApplicator

- post: * + + post: boolean

@@ -214,7 +242,8 @@

ComposeApplicator

- apply(objectPattern: {"config": *, "value": *, "args": *, "target": *}): * + + apply(undefined: ApplicateOptions): *

@@ -246,11 +275,11 @@

- constructor(_config: {}) + constructor() - source + source

@@ -261,24 +290,7 @@

-
-

Params:

-

**
- - - - - - - - - - - - -
NameTypeAttributeDescription
_config{}
  • optional
  • -
  • default: {}
-
+
@@ -309,11 +321,11 @@

- post: * + post: boolean - source + source

@@ -355,11 +367,11 @@

- apply(objectPattern: {"config": *, "value": *, "args": *, "target": *}): * + apply(undefined: ApplicateOptions): * - source + source

@@ -379,9 +391,9 @@

Params:

- objectPattern - {"config": *, "value": *, "args": *, "target": *} -
  • default: {"config":null,"value":null,"args":null,"target":null}
+ undefined + ApplicateOptions + @@ -394,7 +406,7 @@

Return:

- + @@ -422,7 +434,7 @@

Return:

diff --git a/docs/class/buildDocs/applicators/InvokeApplicator.js~InvokeApplicator.html b/docs/class/src/applicators/InvokeApplicator.ts~InvokeApplicator.html similarity index 50% rename from docs/class/buildDocs/applicators/InvokeApplicator.js~InvokeApplicator.html rename to docs/class/src/applicators/InvokeApplicator.ts~InvokeApplicator.html index 6bc11ea..6961ea2 100644 --- a/docs/class/buildDocs/applicators/InvokeApplicator.js~InvokeApplicator.html +++ b/docs/class/src/applicators/InvokeApplicator.ts~InvokeApplicator.html @@ -3,14 +3,12 @@ - InvokeApplicator | Lodash Decorators Documentation API Document + InvokeApplicator | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- + public class - | source + | source
@@ -105,7 +131,7 @@

InvokeApplicator

-

Extends:

Applicator → InvokeApplicator
+

Extends:

src/applicators/Applicator.js~Applicator → InvokeApplicator
@@ -148,7 +174,8 @@

InvokeApplicator

- apply(objectPattern: {"args": *, "target": *, "config": *, "value": *}): * + + apply(undefined: ApplicateOptions): *

@@ -182,11 +209,11 @@

- apply(objectPattern: {"args": *, "target": *, "config": *, "value": *}): * + apply(undefined: ApplicateOptions): * - source + source

@@ -206,9 +233,9 @@

Params:

- - - + + + @@ -221,7 +248,7 @@

Return:

**
objectPattern{"args": *, "target": *, "config": *, "value": *}
  • default: {"args":null,"target":null,"config":null,"value":null}
undefinedApplicateOptions
- + @@ -249,7 +276,7 @@

Return:

diff --git a/docs/class/buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator.html b/docs/class/src/applicators/MemoizeApplicator.ts~MemoizeApplicator.html similarity index 50% rename from docs/class/buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator.html rename to docs/class/src/applicators/MemoizeApplicator.ts~MemoizeApplicator.html index 94ef55b..be53155 100644 --- a/docs/class/buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator.html +++ b/docs/class/src/applicators/MemoizeApplicator.ts~MemoizeApplicator.html @@ -3,14 +3,12 @@ - MemoizeApplicator | Lodash Decorators Documentation API Document + MemoizeApplicator | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- + public class - | source + | source
@@ -105,7 +131,7 @@

MemoizeApplicator

-

Extends:

Applicator → MemoizeApplicator
+

Extends:

src/applicators/Applicator.js~Applicator → MemoizeApplicator
@@ -148,7 +174,8 @@

MemoizeApplicator

- apply(objectPattern: {"value": *, "instance": *, "config": *, "args": *, "target": *}): * + + apply(undefined: ApplicateOptions): *

@@ -182,11 +209,11 @@

- apply(objectPattern: {"value": *, "instance": *, "config": *, "args": *, "target": *}): * + apply(undefined: ApplicateOptions): * - source + source

@@ -206,9 +233,9 @@

Params:

- - - + + + @@ -221,7 +248,7 @@

Return:

**
objectPattern{"value": *, "instance": *, "config": *, "args": *, "target": *}
  • default: {"value":null,"instance":null,"config":null,"args":null,"target":null}
undefinedApplicateOptions
- + @@ -249,7 +276,7 @@

Return:

diff --git a/docs/class/buildDocs/applicators/PartialApplicator.js~PartialApplicator.html b/docs/class/src/applicators/PartialApplicator.ts~PartialApplicator.html similarity index 50% rename from docs/class/buildDocs/applicators/PartialApplicator.js~PartialApplicator.html rename to docs/class/src/applicators/PartialApplicator.ts~PartialApplicator.html index 88c7413..a31504f 100644 --- a/docs/class/buildDocs/applicators/PartialApplicator.js~PartialApplicator.html +++ b/docs/class/src/applicators/PartialApplicator.ts~PartialApplicator.html @@ -3,14 +3,12 @@ - PartialApplicator | Lodash Decorators Documentation API Document + PartialApplicator | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- + public class - | source + | source
@@ -105,7 +131,7 @@

PartialApplicator

-

Extends:

Applicator → PartialApplicator
+

Extends:

src/applicators/Applicator.js~Applicator → PartialApplicator
@@ -148,7 +174,8 @@

PartialApplicator

- apply(objectPattern: {"args": *, "target": *, "config": *}): * + + apply(undefined: ApplicateOptions): *

@@ -182,11 +209,11 @@

- apply(objectPattern: {"args": *, "target": *, "config": *}): * + apply(undefined: ApplicateOptions): * - source + source

@@ -206,9 +233,9 @@

Params:

- - - + + + @@ -221,7 +248,7 @@

Return:

**
objectPattern{"args": *, "target": *, "config": *}
  • default: {"args":null,"target":null,"config":null}
undefinedApplicateOptions
- + @@ -249,7 +276,7 @@

Return:

diff --git a/docs/class/src/applicators/PartialValueApplicator.ts~PartialValueApplicator.html b/docs/class/src/applicators/PartialValueApplicator.ts~PartialValueApplicator.html new file mode 100644 index 0000000..fef74d0 --- /dev/null +++ b/docs/class/src/applicators/PartialValueApplicator.ts~PartialValueApplicator.html @@ -0,0 +1,290 @@ + + + + + + PartialValueApplicator | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +
+ + public + class + + + + | source +
+ +
+

PartialValueApplicator

+ + + + + +

Extends:

src/applicators/Applicator.js~Applicator → PartialValueApplicator
+ + + + + + + + + + + + + + + + + + + +
+ + + + + +

Method Summary

**
+ + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + apply(undefined: ApplicateOptions): * +

+
+
+ + + +
+
+ + +
+
+ + + + + + + +

Public Methods

+ +
+

+ public + + + + + + apply(undefined: ApplicateOptions): * + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
undefinedApplicateOptions
+
+
+ +
+

Return:

+ + + + + + + +
*
+
+
+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + diff --git a/docs/class/buildDocs/applicators/PartialedApplicator.js~PartialedApplicator.html b/docs/class/src/applicators/PartialedApplicator.ts~PartialedApplicator.html similarity index 50% rename from docs/class/buildDocs/applicators/PartialedApplicator.js~PartialedApplicator.html rename to docs/class/src/applicators/PartialedApplicator.ts~PartialedApplicator.html index 94ef0a0..c02f475 100644 --- a/docs/class/buildDocs/applicators/PartialedApplicator.js~PartialedApplicator.html +++ b/docs/class/src/applicators/PartialedApplicator.ts~PartialedApplicator.html @@ -3,14 +3,12 @@ - PartialedApplicator | Lodash Decorators Documentation API Document + PartialedApplicator | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- + public class - | source + | source
@@ -105,7 +131,7 @@

PartialedApplicator

-

Extends:

Applicator → PartialedApplicator
+

Extends:

src/applicators/Applicator.js~Applicator → PartialedApplicator
@@ -148,7 +174,8 @@

PartialedApplicator

- apply(objectPattern: {"config": *, "value": *, "args": *}): * + + apply(undefined: ApplicateOptions): *

@@ -182,11 +209,11 @@

- apply(objectPattern: {"config": *, "value": *, "args": *}): * + apply(undefined: ApplicateOptions): * - source + source

@@ -206,9 +233,9 @@

Params:

- objectPattern - {"config": *, "value": *, "args": *} -
  • default: {"config":null,"value":null,"args":null}
+ undefined + ApplicateOptions + @@ -221,7 +248,7 @@

Return:

- + @@ -249,7 +276,7 @@

Return:

diff --git a/docs/class/buildDocs/applicators/PostValueApplicator.js~PostValueApplicator.html b/docs/class/src/applicators/PostValueApplicator.ts~PostValueApplicator.html similarity index 50% rename from docs/class/buildDocs/applicators/PostValueApplicator.js~PostValueApplicator.html rename to docs/class/src/applicators/PostValueApplicator.ts~PostValueApplicator.html index 8909768..090a043 100644 --- a/docs/class/buildDocs/applicators/PostValueApplicator.js~PostValueApplicator.html +++ b/docs/class/src/applicators/PostValueApplicator.ts~PostValueApplicator.html @@ -3,14 +3,12 @@ - PostValueApplicator | Lodash Decorators Documentation API Document + PostValueApplicator | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- + public class - | source + | source
@@ -105,7 +131,7 @@

PostValueApplicator

-

Extends:

Applicator → PostValueApplicator
+

Extends:

src/applicators/Applicator.js~Applicator → PostValueApplicator
@@ -148,7 +174,8 @@

PostValueApplicator

- apply(objectPattern: {"config": *, "args": *, "value": *}): * + + apply(undefined: ApplicateOptions): *

@@ -182,11 +209,11 @@

- apply(objectPattern: {"config": *, "args": *, "value": *}): * + apply(undefined: ApplicateOptions): * - source + source

@@ -206,9 +233,9 @@

Params:

- - - + + + @@ -221,7 +248,7 @@

Return:

**
objectPattern{"config": *, "args": *, "value": *}
  • default: {"config":null,"args":null,"value":null}
undefinedApplicateOptions
- + @@ -249,7 +276,7 @@

Return:

diff --git a/docs/class/buildDocs/applicators/PreValueApplicator.js~PreValueApplicator.html b/docs/class/src/applicators/PreValueApplicator.ts~PreValueApplicator.html similarity index 50% rename from docs/class/buildDocs/applicators/PreValueApplicator.js~PreValueApplicator.html rename to docs/class/src/applicators/PreValueApplicator.ts~PreValueApplicator.html index 589247c..9179618 100644 --- a/docs/class/buildDocs/applicators/PreValueApplicator.js~PreValueApplicator.html +++ b/docs/class/src/applicators/PreValueApplicator.ts~PreValueApplicator.html @@ -3,14 +3,12 @@ - PreValueApplicator | Lodash Decorators Documentation API Document + PreValueApplicator | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- + public class - | source + | source
@@ -105,7 +131,7 @@

PreValueApplicator

-

Extends:

Applicator → PreValueApplicator
+

Extends:

src/applicators/Applicator.js~Applicator → PreValueApplicator
@@ -148,7 +174,8 @@

PreValueApplicator

- apply(objectPattern: {"value": *, "config": *, "args": *}): * + + apply(undefined: ApplicateOptions): *

@@ -182,11 +209,11 @@

- apply(objectPattern: {"value": *, "config": *, "args": *}): * + apply(undefined: ApplicateOptions): * - source + source

@@ -206,9 +233,9 @@

Params:

- - - + + + @@ -221,7 +248,7 @@

Return:

**
objectPattern{"value": *, "config": *, "args": *}
  • default: {"value":null,"config":null,"args":null}
undefinedApplicateOptions
- + @@ -249,7 +276,7 @@

Return:

diff --git a/docs/class/buildDocs/applicators/WrapApplicator.js~WrapApplicator.html b/docs/class/src/applicators/WrapApplicator.ts~WrapApplicator.html similarity index 50% rename from docs/class/buildDocs/applicators/WrapApplicator.js~WrapApplicator.html rename to docs/class/src/applicators/WrapApplicator.ts~WrapApplicator.html index 8137349..61403fb 100644 --- a/docs/class/buildDocs/applicators/WrapApplicator.js~WrapApplicator.html +++ b/docs/class/src/applicators/WrapApplicator.ts~WrapApplicator.html @@ -3,14 +3,12 @@ - WrapApplicator | Lodash Decorators Documentation API Document + WrapApplicator | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- + public class - | source + | source
@@ -105,7 +131,7 @@

WrapApplicator

-

Extends:

Applicator → WrapApplicator
+

Extends:

src/applicators/Applicator.js~Applicator → WrapApplicator
@@ -148,7 +174,8 @@

WrapApplicator

- apply(objectPattern: {"args": *, "config": *, "target": *, "value": *}): * + + apply(undefined: ApplicateOptions): *

@@ -182,11 +209,11 @@

- apply(objectPattern: {"args": *, "config": *, "target": *, "value": *}): * + apply(undefined: ApplicateOptions): * - source + source

@@ -206,9 +233,9 @@

Params:

- - - + + + @@ -221,7 +248,7 @@

Return:

**
objectPattern{"args": *, "config": *, "target": *, "value": *}
  • default: {"args":null,"config":null,"target":null,"value":null}
undefinedApplicateOptions
- + @@ -249,7 +276,7 @@

Return:

diff --git a/docs/class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html b/docs/class/src/factory/DecoratorConfig.ts~DecoratorConfig.html similarity index 50% rename from docs/class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html rename to docs/class/src/factory/DecoratorConfig.ts~DecoratorConfig.html index 145cf65..11e9c07 100644 --- a/docs/class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html +++ b/docs/class/src/factory/DecoratorConfig.ts~DecoratorConfig.html @@ -3,14 +3,12 @@ - DecoratorConfig | Lodash Decorators Documentation API Document + DecoratorConfig | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
- +
import {DecoratorConfig} from 'lodash-decorators/src/factory/DecoratorConfig.ts'
public class - | source + | source
@@ -146,7 +172,8 @@

DecoratorConfig

- constructor(execute: *, applicator: *, options: {}) + + constructor()

@@ -180,7 +207,8 @@

DecoratorConfig

- applicator: * + + applicator: *

@@ -207,7 +235,8 @@

DecoratorConfig

- bound: * + + bound: boolean

@@ -234,7 +263,8 @@

DecoratorConfig

- execute: * + + execute: *

@@ -261,7 +291,8 @@

DecoratorConfig

- getter: * + + getter: boolean

@@ -288,7 +319,36 @@

DecoratorConfig

- method: * + + method: boolean +

+
+
+ + + +
+ +
+ + + + - - + + @@ -330,7 +359,7 @@

Return:

**
+ + +
+ public + + get + + + +
+

+ + + + optionalParams: boolean

@@ -315,7 +375,8 @@

DecoratorConfig

- options: * + + options: *

@@ -342,7 +403,8 @@

DecoratorConfig

- property: * + + property: boolean

@@ -369,7 +431,8 @@

DecoratorConfig

- setter: * + + setter: boolean

@@ -402,11 +465,11 @@

- constructor(execute: *, applicator: *, options: {}) + constructor() - source + source

@@ -417,36 +480,7 @@

-
-

Params:

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributeDescription
execute*
applicator*
options{}
  • optional
  • -
  • default: {}
-
+
@@ -477,11 +511,11 @@

- applicator: * + applicator: * - source + source

@@ -520,11 +554,11 @@

- bound: * + bound: boolean - source + source

@@ -563,11 +597,11 @@

- execute: * + execute: * - source + source

@@ -606,11 +640,11 @@

- getter: * + getter: boolean - source + source

@@ -649,11 +683,54 @@

- method: * + method: boolean + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + get + + + + optionalParams: boolean - source + source

@@ -692,11 +769,11 @@

- options: * + options: * - source + source

@@ -735,11 +812,11 @@

- property: * + property: boolean - source + source

@@ -778,11 +855,11 @@

- setter: * + setter: boolean - source + source

@@ -818,7 +895,7 @@

diff --git a/docs/class/buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory.html b/docs/class/src/factory/DecoratorFactory.ts~InternalDecoratorFactory.html similarity index 52% rename from docs/class/buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory.html rename to docs/class/src/factory/DecoratorFactory.ts~InternalDecoratorFactory.html index 2a82770..fc72290 100644 --- a/docs/class/buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory.html +++ b/docs/class/src/factory/DecoratorFactory.ts~InternalDecoratorFactory.html @@ -3,14 +3,12 @@ - InternalDecoratorFactory | Lodash Decorators Documentation API Document + InternalDecoratorFactory | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository
-
import {InternalDecoratorFactory} from 'lodash-decorators/buildDocs/factory/DecoratorFactory.js'
+
import {InternalDecoratorFactory} from 'lodash-decorators/src/factory/DecoratorFactory.ts'
public class - | source + | source
@@ -151,7 +177,8 @@

InternalDecoratorFactory

- [name]: * + + [name]: *

@@ -185,7 +212,8 @@

InternalDecoratorFactory

- createDecorator(config: *): * + + createDecorator(config: DecoratorConfig): GenericDecorator

@@ -212,7 +240,8 @@

InternalDecoratorFactory

- createInstanceDecorator(config: *): * + + createInstanceDecorator(config: DecoratorConfig): GenericDecorator

@@ -245,11 +274,11 @@

- [name]: * + [name]: * - source + source

@@ -291,11 +320,11 @@

- createDecorator(config: *): * + createDecorator(config: DecoratorConfig): GenericDecorator - source + source

@@ -315,8 +344,8 @@

Params:

config*configDecoratorConfig
- + @@ -362,11 +391,11 @@

- createInstanceDecorator(config: *): * + createInstanceDecorator(config: DecoratorConfig): GenericDecorator - source + source

@@ -386,8 +415,8 @@

Params:

- - + + @@ -401,7 +430,7 @@

Return:

*GenericDecorator
config*configDecoratorConfig
- + @@ -429,7 +458,7 @@

Return:

diff --git a/docs/class/src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap.html b/docs/class/src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap.html new file mode 100644 index 0000000..0ca5458 --- /dev/null +++ b/docs/class/src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap.html @@ -0,0 +1,566 @@ + + + + + + CompositeKeyWeakMap | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +
+
import {CompositeKeyWeakMap} from 'lodash-decorators/src/utils/CompositeKeyWeakMap.ts'
+ public + class + + + + | source +
+ +
+

CompositeKeyWeakMap

+ +
+ You can directly use an instance of this class. + + InstanceChainMap +
+ + + + + + + + + + + + + +

A map for weakly holding nested references.

+
+ + + + + + + + + +
+ + + +

Constructor Summary

*GenericDecorator
+ + + + + + + + + +
Public Constructor
+ public + + + + + +
+

+ + + + constructor() +

+
+
+ + + +
+
+ + +
+
+ +

Method Summary

+ + + + + + + + + + + + + + + + + + + +
Public Methods
+ public + + + + + +
+

+ + + + get(keys: undefined): T +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + has(keys: undefined): boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ + + + set(keys: undefined, value: T) +

+
+
+ + + +
+
+ + +
+
+ + + + + +

Public Constructors

+ +
+

+ public + + + + + + constructor() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+ +

Public Methods

+ +
+

+ public + + + + + + get(keys: undefined): T + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
keysundefined
+
+
+ +
+

Return:

+ + + + + + + +
T
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + has(keys: undefined): boolean + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
keysundefined
+
+
+ +
+

Return:

+ + + + + + + +
boolean
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + set(keys: undefined, value: T) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
keysundefined
valueT
+
+
+ + + + + + + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + diff --git a/docs/coverage.json b/docs/coverage.json index aad68d2..e7f10a1 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,333 +1,369 @@ { - "coverage": "28%", - "expectCount": 75, - "actualCount": 21, + "coverage": "70.08%", + "expectCount": 117, + "actualCount": 82, "files": { - "buildDocs/after.js": { - "expectCount": 1, + "src/after.ts": { + "expectCount": 2, "actualCount": 1, - "undocumentLines": [] + "undocumentLines": [ + 3 + ] }, - "buildDocs/afterAll.js": { - "expectCount": 1, + "src/afterAll.ts": { + "expectCount": 2, "actualCount": 1, - "undocumentLines": [] - }, - "buildDocs/applicators/Applicator.js": { - "expectCount": 1, - "actualCount": 0, "undocumentLines": [ - 1 + 3 ] }, - "buildDocs/ary.js": { + "src/applicators/Applicator.ts": { "expectCount": 1, "actualCount": 1, "undocumentLines": [] }, - "buildDocs/attempt.js": { - "expectCount": 1, - "actualCount": 1, + "src/applicators/BindApplicator.ts": { + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, - "buildDocs/before.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] + "src/applicators/ComposeApplicator.ts": { + "expectCount": 5, + "actualCount": 3, + "undocumentLines": [ + 10, + 12 + ] }, - "buildDocs/beforeAll.js": { - "expectCount": 1, - "actualCount": 1, + "src/applicators/InvokeApplicator.ts": { + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, - "buildDocs/bind.js": { - "expectCount": 1, - "actualCount": 1, + "src/applicators/MemoizeApplicator.ts": { + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, - "buildDocs/bindAll.js": { - "expectCount": 1, - "actualCount": 1, + "src/applicators/PartialApplicator.ts": { + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, - "buildDocs/applicators/BindApplicator.js": { + "src/applicators/PartialValueApplicator.ts": { "expectCount": 2, - "actualCount": 0, - "undocumentLines": [ - 2, - 3 - ] - }, - "buildDocs/applicators/ComposeApplicator.js": { - "expectCount": 4, - "actualCount": 0, - "undocumentLines": [ - 4, - 12, - 5, - 9 - ] + "actualCount": 2, + "undocumentLines": [] }, - "buildDocs/curry.js": { - "expectCount": 1, - "actualCount": 1, + "src/applicators/PartialedApplicator.ts": { + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, - "buildDocs/curryAll.js": { - "expectCount": 1, - "actualCount": 1, + "src/applicators/PostValueApplicator.ts": { + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, - "buildDocs/curryRight.js": { - "expectCount": 1, - "actualCount": 1, + "src/applicators/PreValueApplicator.ts": { + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, - "buildDocs/curryRightAll.js": { - "expectCount": 1, - "actualCount": 1, + "src/applicators/WrapApplicator.ts": { + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, - "buildDocs/debounce.js": { - "expectCount": 1, + "src/ary.ts": { + "expectCount": 2, "actualCount": 1, - "undocumentLines": [] + "undocumentLines": [ + 3 + ] }, - "buildDocs/debounceAll.js": { - "expectCount": 1, + "src/attempt.ts": { + "expectCount": 2, "actualCount": 1, - "undocumentLines": [] + "undocumentLines": [ + 3 + ] }, - "buildDocs/factory/DecoratorConfig.js": { - "expectCount": 10, - "actualCount": 0, + "src/before.ts": { + "expectCount": 2, + "actualCount": 1, "undocumentLines": [ - 1, - 4, - 7, - 2, - 3, - 13, - 19, - 5, - 16, - 10 + 3 ] }, - "buildDocs/factory/DecoratorFactory.js": { - "expectCount": 5, - "actualCount": 0, + "src/beforeAll.ts": { + "expectCount": 2, + "actualCount": 1, "undocumentLines": [ - 125, - 4, - 105, - 5, - 28 + 3 ] }, - "buildDocs/defer.js": { + "src/bind.ts": { "expectCount": 1, "actualCount": 1, "undocumentLines": [] }, - "buildDocs/delay.js": { - "expectCount": 1, - "actualCount": 1, + "src/bindAll.ts": { + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, - "buildDocs/flip.js": { + "src/curry.ts": { "expectCount": 1, "actualCount": 1, "undocumentLines": [] }, - "buildDocs/flow.js": { + "src/curryAll.ts": { "expectCount": 1, "actualCount": 1, "undocumentLines": [] }, - "buildDocs/flowRight.js": { + "src/curryRight.ts": { "expectCount": 1, "actualCount": 1, "undocumentLines": [] }, - "buildDocs/factory/common.js": { + "src/curryRightAll.ts": { "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 2 - ] + "actualCount": 1, + "undocumentLines": [] }, - "buildDocs/applicators/InvokeApplicator.js": { + "src/debounce.ts": { "expectCount": 2, - "actualCount": 0, + "actualCount": 1, "undocumentLines": [ - 2, 3 ] }, - "buildDocs/memoize.js": { - "expectCount": 1, - "actualCount": 0, + "src/debounceAll.ts": { + "expectCount": 2, + "actualCount": 1, "undocumentLines": [ - 4 + 3 ] }, - "buildDocs/memoizeAll.js": { + "src/defer.ts": { "expectCount": 1, "actualCount": 1, "undocumentLines": [] }, - "buildDocs/applicators/MemoizeApplicator.js": { + "src/delay.ts": { "expectCount": 2, - "actualCount": 0, - "undocumentLines": [ - 4, - 5 - ] - }, - "buildDocs/mixin.js": { - "expectCount": 1, - "actualCount": 0, + "actualCount": 1, "undocumentLines": [ - 2 + 3 ] }, - "buildDocs/negate.js": { - "expectCount": 1, - "actualCount": 0, + "src/factory/DecoratorConfig.ts": { + "expectCount": 11, + "actualCount": 7, "undocumentLines": [ - 4 + 8, + 9, + 10, + 11 ] }, - "buildDocs/once.js": { - "expectCount": 1, - "actualCount": 0, + "src/factory/DecoratorFactory.ts": { + "expectCount": 7, + "actualCount": 5, "undocumentLines": [ - 4 + 148, + 199 ] }, - "buildDocs/onceAll.js": { + "src/factory/common.ts": { "expectCount": 1, "actualCount": 0, "undocumentLines": [ - 4 + 2 ] }, - "buildDocs/overArgs.js": { - "expectCount": 1, - "actualCount": 0, + "src/flip.ts": { + "expectCount": 2, + "actualCount": 1, "undocumentLines": [ - 4 + 3 ] }, - "buildDocs/partial.js": { - "expectCount": 1, - "actualCount": 0, + "src/flow.ts": { + "expectCount": 2, + "actualCount": 1, "undocumentLines": [ - 4 + 3 ] }, - "buildDocs/applicators/PartialApplicator.js": { + "src/flowRight.ts": { "expectCount": 2, - "actualCount": 0, + "actualCount": 1, "undocumentLines": [ - 3, - 4 + 3 ] }, - "buildDocs/partialRight.js": { + "src/memoize.ts": { "expectCount": 1, - "actualCount": 0, - "undocumentLines": [ - 4 - ] + "actualCount": 1, + "undocumentLines": [] + }, + "src/memoizeAll.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] }, - "buildDocs/applicators/PartialedApplicator.js": { + "src/mixin.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/negate.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/once.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/onceAll.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/overArgs.ts": { "expectCount": 2, - "actualCount": 0, + "actualCount": 1, "undocumentLines": [ - 3, - 4 + 3 ] }, - "buildDocs/applicators/PostValueApplicator.js": { + "src/partial.ts": { "expectCount": 2, - "actualCount": 0, + "actualCount": 1, "undocumentLines": [ - 2, 3 ] }, - "buildDocs/applicators/PreValueApplicator.js": { + "src/partialRight.ts": { "expectCount": 2, - "actualCount": 0, + "actualCount": 1, "undocumentLines": [ - 2, 3 ] }, - "buildDocs/rearg.js": { - "expectCount": 1, - "actualCount": 0, + "src/rearg.ts": { + "expectCount": 2, + "actualCount": 1, "undocumentLines": [ - 4 + 3 ] }, - "buildDocs/rest.js": { + "src/rest.ts": { "expectCount": 1, "actualCount": 0, "undocumentLines": [ - 4 + 3 ] }, - "buildDocs/spread.js": { + "src/spread.ts": { "expectCount": 1, "actualCount": 0, "undocumentLines": [ - 4 + 3 ] }, - "buildDocs/tap.js": { + "src/tap.ts": { "expectCount": 1, "actualCount": 1, "undocumentLines": [] }, - "buildDocs/throttle.js": { + "src/throttle.ts": { "expectCount": 3, "actualCount": 0, "undocumentLines": [ + 3, 4, - 5, - 6 + 5 ] }, - "buildDocs/throttleAll.js": { - "expectCount": 1, - "actualCount": 0, + "src/throttleAll.ts": { + "expectCount": 2, + "actualCount": 1, "undocumentLines": [ - 4 + 3 ] }, - "buildDocs/unary.js": { + "src/unary.ts": { "expectCount": 1, "actualCount": 0, "undocumentLines": [ - 4 + 3 ] }, - "buildDocs/wrap.js": { + "src/utils/CompositeKeyWeakMap.ts": { + "expectCount": 6, + "actualCount": 5, + "undocumentLines": [ + 8 + ] + }, + "src/utils/assignAll.ts": { + "expectCount": 2, + "actualCount": 2, + "undocumentLines": [] + }, + "src/utils/bind.ts": { "expectCount": 1, - "actualCount": 0, + "actualCount": 1, + "undocumentLines": [] + }, + "src/utils/copyMetaData.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/utils/isDecoratorArgs.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/utils/isPrototypeAccess.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/utils/log.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/utils/resolveFunction.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/utils/returnAtIndex.ts": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, + "src/utils/wrapConstructor.ts": { + "expectCount": 2, + "actualCount": 1, "undocumentLines": [ - 4 + 2 ] }, - "buildDocs/applicators/WrapApplicator.js": { + "src/wrap.ts": { "expectCount": 2, - "actualCount": 0, + "actualCount": 1, "undocumentLines": [ - 3, - 4 + 3 ] } } diff --git a/docs/css/github.css b/docs/css/github.css new file mode 100644 index 0000000..db9ca23 --- /dev/null +++ b/docs/css/github.css @@ -0,0 +1,83 @@ +/* github markdown */ +.github-markdown { + font-size: 16px; +} + +.github-markdown h1, +.github-markdown h2, +.github-markdown h3, +.github-markdown h4, +.github-markdown h5 { + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + padding: 0; +} + +.github-markdown h1:nth-of-type(1) { + margin-top: 0; +} + +.github-markdown h1 { + font-size: 2em; + padding-bottom: 0.3em; +} + +.github-markdown h2 { + font-size: 1.75em; + padding-bottom: 0.3em; +} + +.github-markdown h3 { + font-size: 1.5em; +} + +.github-markdown h4 { + font-size: 1.25em; +} + +.github-markdown h5 { + font-size: 1em; +} + +.github-markdown ul, .github-markdown ol { + padding-left: 2em; +} + +.github-markdown pre > code { + font-size: 0.85em; +} + +.github-markdown table { + margin-bottom: 1em; + border-collapse: collapse; + border-spacing: 0; +} + +.github-markdown table tr { + background-color: #fff; + border-top: 1px solid #ccc; +} + +.github-markdown table th, +.github-markdown table td { + padding: 6px 13px; + border: 1px solid #ddd; +} + +.github-markdown table tr:nth-child(2n) { + background-color: #f8f8f8; +} + +.github-markdown hr { + border-right: 0; + border-bottom: 1px solid #e5e5e5; + border-left: 0; + border-top: 0; +} + +/** badge(.svg) does not have border */ +.github-markdown img:not([src*=".svg"]) { + max-width: 100%; + box-shadow: 1px 1px 1px rgba(0,0,0,0.5); +} diff --git a/docs/css/identifiers.css b/docs/css/identifiers.css new file mode 100644 index 0000000..52c8461 --- /dev/null +++ b/docs/css/identifiers.css @@ -0,0 +1,37 @@ +.identifiers-wrap { + display: flex; + align-items: flex-start; +} + +.identifier-dir-tree { + background: #fff; + border: solid 1px #ddd; + border-radius: 0.25em; + top: 52px; + position: -webkit-sticky; + position: sticky; + max-height: calc(100vh - 155px); + overflow-y: scroll; + min-width: 200px; + margin-left: 1em; +} + +.identifier-dir-tree-header { + padding: 0.5em; + background-color: #fafafa; + border-bottom: solid 1px #ddd; +} + +.identifier-dir-tree-content { + padding: 0 0.5em 0; +} + +.identifier-dir-tree-content > div { + padding-top: 0.25em; + padding-bottom: 0.25em; +} + +.identifier-dir-tree-content a { + color: inherit; +} + diff --git a/docs/css/manual.css b/docs/css/manual.css new file mode 100644 index 0000000..138a07f --- /dev/null +++ b/docs/css/manual.css @@ -0,0 +1,134 @@ +.github-markdown .manual-toc { + padding-left: 0; +} + +.manual-index .manual-cards { + display: flex; + flex-wrap: wrap; +} + +.manual-index .manual-card-wrap { + width: 280px; + padding: 10px 20px 10px 0; + box-sizing: border-box; +} + +.manual-index .manual-card-wrap > h1 { + margin: 0; + font-size: 1em; + font-weight: 600; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em 0.1em 0 0; + border: none; +} + +.manual-index .manual-card-wrap > h1 span { + color: #555; +} + +.manual-index .manual-card { + height: 200px; + overflow: hidden; + border: solid 1px rgba(230, 230, 230, 0.84); + border-radius: 0 0 0.1em 0.1em; + padding: 8px; + position: relative; +} + +.manual-index .manual-card > div { + transform: scale(0.4); + transform-origin: 0 0; + width: 250%; +} + +.manual-index .manual-card > a { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(210, 210, 210, 0.1); +} + +.manual-index .manual-card > a:hover { + background: none; +} + +.manual-index .manual-badge { + margin: 0; +} + +.manual-index .manual-user-index { + margin-bottom: 1em; + border-bottom: solid 1px #ddd; +} + +.manual-root .navigation { + padding-left: 4px; + margin-top: 4px; +} + +.navigation .manual-toc-root > div { + padding-left: 0.25em; + padding-right: 0.75em; +} + +.github-markdown .manual-toc-title a { + color: inherit; +} + +.manual-breadcrumb-list { + font-size: 0.8em; + margin-bottom: 1em; +} + +.manual-toc-title a:hover { + color: #039BE5; +} + +.manual-toc li { + margin: 0.75em 0; + list-style-type: none; +} + +.navigation .manual-toc [class^="indent-h"] a { + color: #666; +} + +.navigation .manual-toc .indent-h1 a { + color: #555; + font-weight: 600; + display: block; +} + +.manual-toc .indent-h1 { + display: block; + margin: 0.4em 0 0 0.25em; + padding: 0.2em 0 0.2em 0.5em; + border-radius: 0.1em; +} + +.manual-root .navigation .manual-toc li:not(.indent-h1) { + margin-top: 0.5em; +} + +.manual-toc .indent-h2 { + display: none; + margin-left: 1.5em; +} +.manual-toc .indent-h3 { + display: none; + margin-left: 2.5em; +} +.manual-toc .indent-h4 { + display: none; + margin-left: 3.5em; +} +.manual-toc .indent-h5 { + display: none; + margin-left: 4.5em; +} + +.manual-nav li { + margin: 0.75em 0; +} diff --git a/docs/css/search.css b/docs/css/search.css new file mode 100644 index 0000000..9940a54 --- /dev/null +++ b/docs/css/search.css @@ -0,0 +1,84 @@ +/* search box */ +.search-box { + position: absolute; + top: 10px; + right: 50px; + padding-right: 8px; + padding-bottom: 10px; + line-height: normal; + font-size: 12px; +} + +.search-box img { + width: 20px; + vertical-align: top; +} + +.search-input { + display: inline; + visibility: hidden; + width: 0; + padding: 2px; + height: 1.5em; + outline: none; + background: transparent; + border: 1px #0af; + border-style: none none solid none; + vertical-align: bottom; +} + +.search-input-edge { + display: none; + width: 1px; + height: 5px; + background-color: #0af; + vertical-align: bottom; +} + +.search-result { + position: absolute; + display: none; + height: 600px; + width: 100%; + padding: 0; + margin-top: 5px; + margin-left: 24px; + background: white; + box-shadow: 1px 1px 4px rgb(0,0,0); + white-space: nowrap; + overflow-y: scroll; +} + +.search-result-import-path { + color: #aaa; + font-size: 12px; +} + +.search-result li { + list-style: none; + padding: 2px 4px; +} + +.search-result li a { + display: block; +} + +.search-result li.selected { + background: #ddd; +} + +.search-result li.search-separator { + background: rgb(37, 138, 175); + color: white; +} + +.search-box.active .search-input { + visibility: visible; + transition: width 0.2s ease-out; + width: 300px; +} + +.search-box.active .search-input-edge { + display: inline-block; +} + diff --git a/docs/css/source.css b/docs/css/source.css new file mode 100644 index 0000000..3b9c92d --- /dev/null +++ b/docs/css/source.css @@ -0,0 +1,55 @@ +table.files-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; + text-align: right; +} + +table.files-summary tbody tr:hover { + background: #eee; +} + +table.files-summary td:first-child, +table.files-summary td:nth-of-type(2) { + text-align: left; +} + +table.files-summary[data-use-coverage="false"] td.coverage { + display: none; +} + +table.files-summary thead { + background: #fafafa; +} + +table.files-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.files-summary td.identifiers > span { + display: block; + margin-top: 4px; +} +table.files-summary td.identifiers > span:first-child { + margin-top: 0; +} + +table.files-summary .coverage-count { + font-size: 12px; + color: #aaa; + display: inline-block; + min-width: 40px; +} + +.total-coverage-count { + position: relative; + bottom: 2px; + font-size: 12px; + color: #666; + font-weight: 500; + padding-left: 5px; +} diff --git a/docs/css/style.css b/docs/css/style.css index 5ad3785..fe3b2d9 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -1,5 +1,11 @@ @import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700); @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,700); +@import url(./manual.css); +@import url(./source.css); +@import url(./test.css); +@import url(./identifiers.css); +@import url(./github.css); +@import url(./search.css); * { margin: 0; @@ -60,11 +66,14 @@ h3 { position: relative; font-size: 16px; margin-bottom: 12px; - background-color: #E2E2E2; padding: 4px; font-weight: 300; } +details { + cursor: pointer; +} + del { text-decoration: line-through; } @@ -74,6 +83,10 @@ p { line-height: 1.5; } +code { + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; +} + pre > code { display: block; } @@ -98,6 +111,11 @@ li > code { border-radius: 3px; } +.code { + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-size: 13px; +} + .import-path pre.prettyprint, .import-path pre.prettyprint code { margin: 0; @@ -114,6 +132,7 @@ li > code { } .layout-container > header { + display: flex; height: 40px; line-height: 40px; font-size: 16px; @@ -172,10 +191,10 @@ li > code { } .navigation .nav-dir-path { + display: block; margin-top: 0.7em; margin-bottom: 0.25em; - font-size: 0.8em; - color: #aaa; + font-weight: 600; } .kind-class, @@ -192,6 +211,7 @@ li > code { border-radius: 0.2em; margin-right: 0.2em; font-weight: bold; + line-height: 1.2em; } .kind-class { @@ -224,6 +244,10 @@ li > code { background-color: #bbcbea; } +.summary span[class^="kind-"] { + margin-left: 0; +} + h1 .version, h1 .url a { font-size: 14px; @@ -298,8 +322,7 @@ table.summary { } table.summary thead { - background: #999; - color: white; + background: #fafafa; } table.summary td { @@ -390,6 +413,7 @@ table.params td p { .content .detail > h3 { color: black; + background-color: #f0f0f0; } .content .detail > div { @@ -518,13 +542,34 @@ footer img { } pre.source-code { - background: #f5f5f5; padding: 4px; } pre.raw-source-code > code { padding: 0; margin: 0; + font-size: 12px; + background: #fff; + border: solid 1px #ddd; + line-height: 1.5; +} + +pre.raw-source-code > code > ol { + counter-reset:number; + list-style:none; + margin:0; + padding:0; + overflow: hidden; +} + +pre.raw-source-code > code > ol li:before { + counter-increment: number; + content: counter(number); + display: inline-block; + min-width: 3em; + color: #aaa; + text-align: right; + padding-right: 1em; } pre.source-code.line-number { @@ -544,481 +589,20 @@ pre.source-code li { } pre.source-code.line-number li.active { - background: rgb(255, 255, 150); + background: rgb(255, 255, 150) !important; } pre.source-code.line-number li.error-line { background: #ffb8bf; } -table.files-summary { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; - text-align: right; -} - -table.files-summary tbody tr:hover { - background: #eee; -} - -table.files-summary td:first-child, -table.files-summary td:nth-of-type(2) { - text-align: left; -} - -table.files-summary[data-use-coverage="false"] td.coverage { - display: none; -} - -table.files-summary thead { - background: #999; - color: white; -} - -table.files-summary td { - border: solid 1px #ddd; - padding: 4px 10px; - vertical-align: top; -} - -table.files-summary td.identifiers > span { - display: block; - margin-top: 4px; -} -table.files-summary td.identifiers > span:first-child { - margin-top: 0; -} - -table.files-summary .coverage-count { - font-size: 12px; - color: #aaa; - display: inline-block; - min-width: 40px; -} - -.total-coverage-count { - position: relative; - bottom: 2px; - font-size: 12px; - color: #666; - font-weight: 500; - padding-left: 5px; -} - -table.test-summary thead { - background: #999; - color: white; -} - -table.test-summary thead .test-description { - width: 50%; -} - -table.test-summary { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; -} - -table.test-summary thead .test-count { - width: 3em; -} - -table.test-summary tbody tr:hover { - background-color: #eee; -} - -table.test-summary td { - border: solid 1px #ddd; - padding: 4px 10px; - vertical-align: top; -} - -table.test-summary td p { - margin: 0; -} - -table.test-summary tr.test-describe .toggle { - display: inline-block; - float: left; - margin-right: 4px; - cursor: pointer; - font-size: 0.8em; - padding-top: 0.25em; -} - -table.test-summary tr.test-describe .toggle.opened:before { - content: 'â–¼'; -} - -table.test-summary tr.test-describe .toggle.closed:before { - content: 'â–¶'; -} - -table.test-summary .test-target > span { - display: block; - margin-top: 4px; -} -table.test-summary .test-target > span:first-child { - margin-top: 0; -} - .inner-link-active { - background: rgb(255, 255, 150); -} - -/* search box */ -.search-box { - position: absolute; - top: 10px; - right: 50px; - padding-right: 8px; - padding-bottom: 10px; - line-height: normal; - font-size: 12px; -} - -.search-box img { - width: 20px; - vertical-align: top; -} - -.search-input { - display: inline; - visibility: hidden; - width: 0; - padding: 2px; - height: 1.5em; - outline: none; - background: transparent; - border: 1px #0af; - border-style: none none solid none; - vertical-align: bottom; -} - -.search-input-edge { - display: none; - width: 1px; - height: 5px; - background-color: #0af; - vertical-align: bottom; -} - -.search-result { - position: absolute; - display: none; - height: 600px; - width: 100%; - padding: 0; - margin-top: 5px; - margin-left: 24px; - background: white; - box-shadow: 1px 1px 4px rgb(0,0,0); - white-space: nowrap; - overflow-y: scroll; -} - -.search-result-import-path { - color: #aaa; - font-size: 12px; -} - -.search-result li { - list-style: none; - padding: 2px 4px; -} - -.search-result li a { - display: block; -} - -.search-result li.selected { - background: #ddd; -} - -.search-result li.search-separator { - background: rgb(37, 138, 175); - color: white; -} - -.search-box.active .search-input { - visibility: visible; - transition: width 0.2s ease-out; - width: 300px; -} - -.search-box.active .search-input-edge { - display: inline-block; -} - -.github-markdown .manual-toc { - padding-left: 0; -} - -/** manual */ - -.manual-index .manual-cards { - display: flex; - flex-wrap: wrap; -} - -.manual-index .manual-card-wrap { - width: 280px; - padding: 10px 20px 10px 0; - box-sizing: border-box; -} - -.manual-index .manual-card-wrap > h1 { - margin: 0; - font-size: 1em; - font-weight: 600; - padding: 0.2em 0 0.2em 0.5em; - border-radius: 0.1em 0.1em 0 0; - border: none; -} - -.manual-index .manual-card-wrap > h1 span { - color: #555; -} - -.manual-index .manual-card { - height: 200px; - overflow: hidden; - border: solid 1px rgba(230, 230, 230, 0.84); - border-radius: 0 0 0.1em 0.1em; - padding: 8px; - position: relative; - border-top: none; -} - -.manual-index .manual-card > div { - transform: scale(0.4); - transform-origin: 0 0; - width: 250%; -} - -.manual-index .manual-card > a { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(210, 210, 210, 0.1); -} - -.manual-index .manual-card > a:hover { - background: none; -} - -.manual-index .manual-badge { - margin: 0; -} - -.manual-index .manual-user-index { - margin-bottom: 1em; - border-bottom: solid 1px #ddd; -} - -.manual-root .navigation { - padding-left: 4px; - margin-top: 4px; + /*background: rgb(255, 255, 150) !important;*/ + background: #039BE5 !important; + color: #fff !important; + padding-left: 0.1em !important; } -.navigation .manual-toc { - margin-top: -0.25em; -} - -.navigation .manual-toc-root > div { - padding-top: 1px; - padding-left: 0.25em; - padding-right: 0.75em; -} - -.github-markdown .manual-toc-title a { +.inner-link-active a { color: inherit; } - -.manual-breadcrumb-list { - font-size: 0.8em; - margin-bottom: 1em; -} - -.manual-toc-title a:hover { - color: #039BE5; -} - -.manual-toc li { - margin: 0.75em 0; - list-style-type: none; -} - -.navigation .manual-toc [class^="indent-h"] a { - color: #666; -} - -.navigation .manual-toc .indent-h1 a { - color: #555; - font-weight: 600; - display: block; -} - -.manual-toc .indent-h1 { - display: block; - margin: 1em 0 0 0.25em; - padding: 0.2em 0 0.2em 0.5em; - border-radius: 0.1em; -} -.manual-toc .indent-h2 { - display: none; - margin-left: 1.5em; -} -.manual-toc .indent-h3 { - display: none; - margin-left: 2.5em; -} -.manual-toc .indent-h4 { - display: none; - margin-left: 3.5em; -} -.manual-toc .indent-h5 { - display: none; - margin-left: 4.5em; -} - -.manual-color { - position: relative; -} - -.manual-color:after { - content: attr(data-section-count); - font-size: 0.5em; - opacity: 0.5; - position: absolute; - right: 0.5em; - top: 0.5em; -} - -.manual-color-overview, -.manual-color-design { - color: #db001e; - background-color: #edbec3; -} - -.manual-color-installation, -.manual-color-tutorial, -.manual-color-usage, -.manual-color-configuration, -.manual-color-advanced { - color: #009800; - background-color: #bfe5bf; -} - -.manual-color-example { - color: #eb6420; - background-color: #fad8c7; -} - -.manual-color-reference { - color: #6b0090; - background-color: #d6bdde; -} - -.manual-color-faq, -.manual-color-changelog { - color: #0738c3; - background-color: #bbcbea; -} - -.manual-nav li { - margin: 0.75em 0; -} - -/* github markdown */ -.github-markdown { - font-size: 16px; -} - -.github-markdown h1, -.github-markdown h2, -.github-markdown h3, -.github-markdown h4, -.github-markdown h5 { - margin-top: 1em; - margin-bottom: 16px; - font-weight: bold; - padding: 0; -} - -.github-markdown h1:nth-of-type(1) { - margin-top: 0; -} - -.github-markdown h1 { - font-size: 2em; - padding-bottom: 0.3em; -} - -.github-markdown h2 { - font-size: 1.75em; - padding-bottom: 0.3em; -} - -.github-markdown h3 { - font-size: 1.5em; - background-color: transparent; -} - -.github-markdown h4 { - font-size: 1.25em; -} - -.github-markdown h5 { - font-size: 1em; -} - -.github-markdown ul, .github-markdown ol { - padding-left: 2em; -} - -.github-markdown pre > code { - font-size: 0.85em; -} - -.github-markdown table { - margin-bottom: 1em; - border-collapse: collapse; - border-spacing: 0; -} - -.github-markdown table tr { - background-color: #fff; - border-top: 1px solid #ccc; -} - -.github-markdown table th, -.github-markdown table td { - padding: 6px 13px; - border: 1px solid #ddd; -} - -.github-markdown table tr:nth-child(2n) { - background-color: #f8f8f8; -} - -.github-markdown hr { - border-right: 0; - border-bottom: 1px solid #e5e5e5; - border-left: 0; - border-top: 0; -} - -/** badge(.svg) does not have border */ -.github-markdown img:not([src*=".svg"]) { - max-width: 100%; - box-shadow: 1px 1px 1px rgba(0,0,0,0.5); -} diff --git a/docs/css/test.css b/docs/css/test.css new file mode 100644 index 0000000..8ce1266 --- /dev/null +++ b/docs/css/test.css @@ -0,0 +1,58 @@ +table.test-summary thead { + background: #fafafa; +} + +table.test-summary thead .test-description { + width: 50%; +} + +table.test-summary { + width: 100%; + margin: 10px 0; + border-spacing: 0; + border: 0; + border-collapse: collapse; +} + +table.test-summary thead .test-count { + width: 3em; +} + +table.test-summary tbody tr:hover { + background-color: #eee; +} + +table.test-summary td { + border: solid 1px #ddd; + padding: 4px 10px; + vertical-align: top; +} + +table.test-summary td p { + margin: 0; +} + +table.test-summary tr.test-interface .toggle { + display: inline-block; + float: left; + margin-right: 4px; + cursor: pointer; + font-size: 0.8em; + padding-top: 0.25em; +} + +table.test-summary tr.test-interface .toggle.opened:before { + content: 'â–¼'; +} + +table.test-summary tr.test-interface .toggle.closed:before { + content: 'â–¶'; +} + +table.test-summary .test-target > span { + display: block; + margin-top: 4px; +} +table.test-summary .test-target > span:first-child { + margin-top: 0; +} diff --git a/docs/dump.json b/docs/dump.json deleted file mode 100644 index d268250..0000000 --- a/docs/dump.json +++ /dev/null @@ -1,5864 +0,0 @@ -[ - { - "__docId__": 0, - "kind": "file", - "name": "buildDocs/after.js", - "content": "import { after } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PostValueApplicator } from './applicators';\n/**\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @After(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n */\nexport const After = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(after, new PostValueApplicator(), { setter: true }));\nexport { After as after };\nexport default After;\n", - "static": true, - "longname": "buildDocs/after.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 1, - "kind": "variable", - "name": "After", - "memberof": "buildDocs/after.js", - "static": true, - "longname": "buildDocs/after.js~After", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/after.js", - "importStyle": "{After}", - "description": "The opposite of Before. This method creates a function that invokes once it's called n or more times.", - "examples": [ - "\nclass MyClass {\n @After(2)\n fn() {\n return 10;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.fn(); // => undefined\nmyClass.fn(); // => 10" - ], - "lineNumber": 21, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": false, - "name": "n", - "description": "The number of calls before the function is invoked." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 2, - "kind": "file", - "name": "buildDocs/afterAll.js", - "content": "import { after } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PostValueApplicator } from './applicators';\n/**\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @AfterAll(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n\n * myClass2.fn(); // => 10\n * myClass2.fn(); // => 10\n */\nexport const AfterAll = DecoratorFactory.createDecorator(new DecoratorConfig(after, new PostValueApplicator(), { setter: true }));\nexport { AfterAll as afterAll };\nexport default AfterAll;\n", - "static": true, - "longname": "buildDocs/afterAll.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 3, - "kind": "variable", - "name": "AfterAll", - "memberof": "buildDocs/afterAll.js", - "static": true, - "longname": "buildDocs/afterAll.js~AfterAll", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/afterAll.js", - "importStyle": "{AfterAll}", - "description": "The opposite of Before. This method creates a function that invokes once it's called n or more times.\nThis spans across all instances of the class instead of the instance.", - "examples": [ - "\nclass MyClass {\n @AfterAll(2)\n fn() {\n return 10;\n }\n}\n\nconst myClass = new MyClass();\nconst myClass2 = new MyClass();\n\nmyClass.fn(); // => undefined\nmyClass.fn(); // => 10\n\nmyClass2.fn(); // => 10\nmyClass2.fn(); // => 10" - ], - "lineNumber": 26, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": false, - "name": "n", - "description": "The number of calls before the function is invoked." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 4, - "kind": "file", - "name": "buildDocs/applicators/Applicator.js", - "content": "export class Applicator {\n}\n", - "static": true, - "longname": "buildDocs/applicators/Applicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 5, - "kind": "class", - "name": "Applicator", - "memberof": "buildDocs/applicators/Applicator.js", - "static": true, - "longname": "buildDocs/applicators/Applicator.js~Applicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/Applicator.js", - "importStyle": "{Applicator}", - "description": null, - "lineNumber": 1, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false - }, - { - "__docId__": 6, - "kind": "file", - "name": "buildDocs/applicators/BindApplicator.js", - "content": "import { Applicator } from './Applicator';\nexport class BindApplicator extends Applicator {\n apply({ value, config: { execute }, args, instance, target }) {\n if (!instance) {\n return value;\n }\n return execute(value, instance, ...args);\n }\n}\n", - "static": true, - "longname": "buildDocs/applicators/BindApplicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 7, - "kind": "class", - "name": "BindApplicator", - "memberof": "buildDocs/applicators/BindApplicator.js", - "static": true, - "longname": "buildDocs/applicators/BindApplicator.js~BindApplicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/BindApplicator.js", - "importStyle": "{BindApplicator}", - "description": null, - "lineNumber": 2, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false, - "extends": [ - "buildDocs/applicators/Applicator.js~Applicator" - ] - }, - { - "__docId__": 8, - "kind": "method", - "name": "apply", - "memberof": "buildDocs/applicators/BindApplicator.js~BindApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/BindApplicator.js~BindApplicator#apply", - "access": null, - "description": null, - "lineNumber": 3, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "objectPattern", - "types": [ - "{\"value\": *, \"config\": *, \"args\": *, \"instance\": *, \"target\": *}" - ], - "defaultRaw": { - "value": null, - "config": null, - "args": null, - "instance": null, - "target": null - }, - "defaultValue": "{\"value\":null,\"config\":null,\"args\":null,\"instance\":null,\"target\":null}" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 9, - "kind": "file", - "name": "buildDocs/applicators/ComposeApplicator.js", - "content": "import { identity } from 'lodash';\nimport { Applicator } from './Applicator';\nimport { resolveFunction } from '../utils';\nexport class ComposeApplicator extends Applicator {\n constructor(_config = {}) {\n super();\n this._config = _config;\n }\n get post() {\n return this._config.post === true;\n }\n apply({ config: { execute }, value = identity, args, target }) {\n const applicator = this;\n return function (...invokeArgs) {\n const _args = [\n ...args.map(method => resolveFunction(method, this, target))\n ];\n if (applicator.post) {\n _args.push(value);\n }\n else {\n _args.unshift(value);\n }\n return execute(..._args).apply(this, invokeArgs);\n };\n }\n}\n", - "static": true, - "longname": "buildDocs/applicators/ComposeApplicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 10, - "kind": "class", - "name": "ComposeApplicator", - "memberof": "buildDocs/applicators/ComposeApplicator.js", - "static": true, - "longname": "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/ComposeApplicator.js", - "importStyle": "{ComposeApplicator}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false, - "extends": [ - "buildDocs/applicators/Applicator.js~Applicator" - ] - }, - { - "__docId__": 11, - "kind": "constructor", - "name": "constructor", - "memberof": "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator#constructor", - "access": null, - "description": null, - "lineNumber": 5, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "_config", - "optional": true, - "types": [ - "{}" - ], - "defaultRaw": {}, - "defaultValue": "{}" - } - ] - }, - { - "__docId__": 12, - "kind": "member", - "name": "_config", - "memberof": "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator", - "static": false, - "longname": "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator#_config", - "access": null, - "description": null, - "lineNumber": 7, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 13, - "kind": "get", - "name": "post", - "memberof": "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator#post", - "access": null, - "description": null, - "lineNumber": 9, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 14, - "kind": "method", - "name": "apply", - "memberof": "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator#apply", - "access": null, - "description": null, - "lineNumber": 12, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "objectPattern", - "types": [ - "{\"config\": *, \"value\": *, \"args\": *, \"target\": *}" - ], - "defaultRaw": { - "config": null, - "value": null, - "args": null, - "target": null - }, - "defaultValue": "{\"config\":null,\"value\":null,\"args\":null,\"target\":null}" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 15, - "kind": "file", - "name": "buildDocs/applicators/InvokeApplicator.js", - "content": "import { Applicator } from './Applicator';\nexport class InvokeApplicator extends Applicator {\n apply({ args, target, config: { execute }, value }) {\n return function (...invokeArgs) {\n return execute(value.bind(this), ...invokeArgs, ...args);\n };\n }\n}\n", - "static": true, - "longname": "buildDocs/applicators/InvokeApplicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 16, - "kind": "class", - "name": "InvokeApplicator", - "memberof": "buildDocs/applicators/InvokeApplicator.js", - "static": true, - "longname": "buildDocs/applicators/InvokeApplicator.js~InvokeApplicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/InvokeApplicator.js", - "importStyle": "{InvokeApplicator}", - "description": null, - "lineNumber": 2, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false, - "extends": [ - "buildDocs/applicators/Applicator.js~Applicator" - ] - }, - { - "__docId__": 17, - "kind": "method", - "name": "apply", - "memberof": "buildDocs/applicators/InvokeApplicator.js~InvokeApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/InvokeApplicator.js~InvokeApplicator#apply", - "access": null, - "description": null, - "lineNumber": 3, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "objectPattern", - "types": [ - "{\"args\": *, \"target\": *, \"config\": *, \"value\": *}" - ], - "defaultRaw": { - "args": null, - "target": null, - "config": null, - "value": null - }, - "defaultValue": "{\"args\":null,\"target\":null,\"config\":null,\"value\":null}" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 18, - "kind": "file", - "name": "buildDocs/applicators/MemoizeApplicator.js", - "content": "import { isFunction, isObject } from 'lodash';\nimport { Applicator } from './Applicator';\nimport { resolveFunction } from '../utils';\nexport class MemoizeApplicator extends Applicator {\n apply({ value, instance, config: { execute }, args, target }) {\n let resolver = resolveFunction(isFunction(args[0]) ? args[0] : isObject(args[0]) ? args[0].resolver : args[0], instance, target, false);\n if (resolver && instance) {\n resolver = resolver.bind(instance);\n }\n const memoized = resolver ? execute(value, resolver) : execute(value);\n if (isObject(args[0])) {\n const { cache, type } = args[0];\n if (cache) {\n memoized.cache = cache;\n }\n else if (isFunction(type)) {\n memoized.cache = new type();\n }\n }\n return memoized;\n }\n}\n", - "static": true, - "longname": "buildDocs/applicators/MemoizeApplicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 19, - "kind": "class", - "name": "MemoizeApplicator", - "memberof": "buildDocs/applicators/MemoizeApplicator.js", - "static": true, - "longname": "buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/MemoizeApplicator.js", - "importStyle": "{MemoizeApplicator}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false, - "extends": [ - "buildDocs/applicators/Applicator.js~Applicator" - ] - }, - { - "__docId__": 20, - "kind": "method", - "name": "apply", - "memberof": "buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator#apply", - "access": null, - "description": null, - "lineNumber": 5, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "objectPattern", - "types": [ - "{\"value\": *, \"instance\": *, \"config\": *, \"args\": *, \"target\": *}" - ], - "defaultRaw": { - "value": null, - "instance": null, - "config": null, - "args": null, - "target": null - }, - "defaultValue": "{\"value\":null,\"instance\":null,\"config\":null,\"args\":null,\"target\":null}" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 21, - "kind": "file", - "name": "buildDocs/applicators/PartialApplicator.js", - "content": "import { Applicator } from './Applicator';\nimport { resolveFunction } from '../utils';\nexport class PartialApplicator extends Applicator {\n apply({ args, target, config: { execute } }) {\n return function (...invokeArgs) {\n return execute(resolveFunction(args[0], this, target), ...args.slice(1)).apply(this, invokeArgs);\n };\n }\n}\n", - "static": true, - "longname": "buildDocs/applicators/PartialApplicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 22, - "kind": "class", - "name": "PartialApplicator", - "memberof": "buildDocs/applicators/PartialApplicator.js", - "static": true, - "longname": "buildDocs/applicators/PartialApplicator.js~PartialApplicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/PartialApplicator.js", - "importStyle": "{PartialApplicator}", - "description": null, - "lineNumber": 3, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false, - "extends": [ - "buildDocs/applicators/Applicator.js~Applicator" - ] - }, - { - "__docId__": 23, - "kind": "method", - "name": "apply", - "memberof": "buildDocs/applicators/PartialApplicator.js~PartialApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/PartialApplicator.js~PartialApplicator#apply", - "access": null, - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "objectPattern", - "types": [ - "{\"args\": *, \"target\": *, \"config\": *}" - ], - "defaultRaw": { - "args": null, - "target": null, - "config": null - }, - "defaultValue": "{\"args\":null,\"target\":null,\"config\":null}" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 24, - "kind": "file", - "name": "buildDocs/applicators/PartialedApplicator.js", - "content": "import { partial } from 'lodash';\nimport { Applicator } from './Applicator';\nexport class PartialedApplicator extends Applicator {\n apply({ config: { execute }, value, args }) {\n return partial(execute, value, ...args);\n }\n}\n", - "static": true, - "longname": "buildDocs/applicators/PartialedApplicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 25, - "kind": "class", - "name": "PartialedApplicator", - "memberof": "buildDocs/applicators/PartialedApplicator.js", - "static": true, - "longname": "buildDocs/applicators/PartialedApplicator.js~PartialedApplicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/PartialedApplicator.js", - "importStyle": "{PartialedApplicator}", - "description": null, - "lineNumber": 3, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false, - "extends": [ - "buildDocs/applicators/Applicator.js~Applicator" - ] - }, - { - "__docId__": 26, - "kind": "method", - "name": "apply", - "memberof": "buildDocs/applicators/PartialedApplicator.js~PartialedApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/PartialedApplicator.js~PartialedApplicator#apply", - "access": null, - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "objectPattern", - "types": [ - "{\"config\": *, \"value\": *, \"args\": *}" - ], - "defaultRaw": { - "config": null, - "value": null, - "args": null - }, - "defaultValue": "{\"config\":null,\"value\":null,\"args\":null}" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 27, - "kind": "file", - "name": "buildDocs/applicators/PostValueApplicator.js", - "content": "import { Applicator } from './Applicator';\nexport class PostValueApplicator extends Applicator {\n apply({ config: { execute, bound }, args, value }) {\n return execute(...args, value);\n }\n}\n", - "static": true, - "longname": "buildDocs/applicators/PostValueApplicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 28, - "kind": "class", - "name": "PostValueApplicator", - "memberof": "buildDocs/applicators/PostValueApplicator.js", - "static": true, - "longname": "buildDocs/applicators/PostValueApplicator.js~PostValueApplicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/PostValueApplicator.js", - "importStyle": "{PostValueApplicator}", - "description": null, - "lineNumber": 2, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false, - "extends": [ - "buildDocs/applicators/Applicator.js~Applicator" - ] - }, - { - "__docId__": 29, - "kind": "method", - "name": "apply", - "memberof": "buildDocs/applicators/PostValueApplicator.js~PostValueApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/PostValueApplicator.js~PostValueApplicator#apply", - "access": null, - "description": null, - "lineNumber": 3, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "objectPattern", - "types": [ - "{\"config\": *, \"args\": *, \"value\": *}" - ], - "defaultRaw": { - "config": null, - "args": null, - "value": null - }, - "defaultValue": "{\"config\":null,\"args\":null,\"value\":null}" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 30, - "kind": "file", - "name": "buildDocs/applicators/PreValueApplicator.js", - "content": "import { Applicator } from './Applicator';\nexport class PreValueApplicator extends Applicator {\n apply({ value, config: { execute }, args }) {\n return execute(value, ...args);\n }\n}\n", - "static": true, - "longname": "buildDocs/applicators/PreValueApplicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 31, - "kind": "class", - "name": "PreValueApplicator", - "memberof": "buildDocs/applicators/PreValueApplicator.js", - "static": true, - "longname": "buildDocs/applicators/PreValueApplicator.js~PreValueApplicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/PreValueApplicator.js", - "importStyle": "{PreValueApplicator}", - "description": null, - "lineNumber": 2, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false, - "extends": [ - "buildDocs/applicators/Applicator.js~Applicator" - ] - }, - { - "__docId__": 32, - "kind": "method", - "name": "apply", - "memberof": "buildDocs/applicators/PreValueApplicator.js~PreValueApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/PreValueApplicator.js~PreValueApplicator#apply", - "access": null, - "description": null, - "lineNumber": 3, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "objectPattern", - "types": [ - "{\"value\": *, \"config\": *, \"args\": *}" - ], - "defaultRaw": { - "value": null, - "config": null, - "args": null - }, - "defaultValue": "{\"value\":null,\"config\":null,\"args\":null}" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 33, - "kind": "file", - "name": "buildDocs/applicators/WrapApplicator.js", - "content": "import { Applicator } from './Applicator';\nimport { resolveFunction } from '../utils';\nexport class WrapApplicator extends Applicator {\n apply({ args, config: { execute }, target, value }) {\n return function (...invokeArgs) {\n return execute(resolveFunction(args[0], this, target), value).apply(this, invokeArgs);\n };\n }\n}\n", - "static": true, - "longname": "buildDocs/applicators/WrapApplicator.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 34, - "kind": "class", - "name": "WrapApplicator", - "memberof": "buildDocs/applicators/WrapApplicator.js", - "static": true, - "longname": "buildDocs/applicators/WrapApplicator.js~WrapApplicator", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/applicators/WrapApplicator.js", - "importStyle": "{WrapApplicator}", - "description": null, - "lineNumber": 3, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false, - "extends": [ - "buildDocs/applicators/Applicator.js~Applicator" - ] - }, - { - "__docId__": 35, - "kind": "method", - "name": "apply", - "memberof": "buildDocs/applicators/WrapApplicator.js~WrapApplicator", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/applicators/WrapApplicator.js~WrapApplicator#apply", - "access": null, - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "objectPattern", - "types": [ - "{\"args\": *, \"config\": *, \"target\": *, \"value\": *}" - ], - "defaultRaw": { - "args": null, - "config": null, - "target": null, - "value": null - }, - "defaultValue": "{\"args\":null,\"config\":null,\"target\":null,\"value\":null}" - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 36, - "kind": "file", - "name": "buildDocs/applicators/index.js", - "content": "export * from './Applicator';\nexport * from './ComposeApplicator';\nexport * from './PartialApplicator';\nexport * from './PartialedApplicator';\nexport * from './PostValueApplicator';\nexport * from './PreValueApplicator';\nexport * from './WrapApplicator';\nexport * from './BindApplicator';\nexport * from './InvokeApplicator';\nexport * from './MemoizeApplicator';\n", - "static": true, - "longname": "buildDocs/applicators/index.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 37, - "kind": "file", - "name": "buildDocs/ary.js", - "content": "import { ary } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\n/**\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n * @param {number} n The arity cap.\n * @example\n *\n * class MyClass {\n * @Ary(1)\n * fn(...args) {\n * return args;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(1, 2, 3, 4); // => [ 1 ]\n */\nexport const Ary = DecoratorFactory.createDecorator(new DecoratorConfig(ary, new PreValueApplicator()));\nexport { Ary as ary };\nexport default Ary;\n", - "static": true, - "longname": "buildDocs/ary.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 38, - "kind": "variable", - "name": "Ary", - "memberof": "buildDocs/ary.js", - "static": true, - "longname": "buildDocs/ary.js~Ary", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/ary.js", - "importStyle": "{Ary}", - "description": "Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.", - "examples": [ - "\nclass MyClass {\n @Ary(1)\n fn(...args) {\n return args;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.fn(1, 2, 3, 4); // => [ 1 ]" - ], - "lineNumber": 20, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": false, - "name": "n", - "description": "The arity cap." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 39, - "kind": "file", - "name": "buildDocs/attempt.js", - "content": "import { attempt, partial } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nconst _attempt = (fn) => partial(attempt, fn);\n/**\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n */\nexport const Attempt = DecoratorFactory.createDecorator(new DecoratorConfig(_attempt, new PreValueApplicator()));\nexport { Attempt as attempt };\nexport default Attempt;\n", - "static": true, - "longname": "buildDocs/attempt.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 40, - "kind": "function", - "name": "_attempt", - "memberof": "buildDocs/attempt.js", - "generator": false, - "async": false, - "static": true, - "longname": "buildDocs/attempt.js~_attempt", - "access": null, - "export": false, - "importPath": "lodash-decorators/buildDocs/attempt.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "fn", - "types": [ - "*" - ] - } - ] - }, - { - "__docId__": 41, - "kind": "variable", - "name": "Attempt", - "memberof": "buildDocs/attempt.js", - "static": true, - "longname": "buildDocs/attempt.js~Attempt", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/attempt.js", - "importStyle": "{Attempt}", - "description": "Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.", - "examples": [ - "\nclass MyClass {\n @Attempt()\n fn(value) {\n if (typeof value === 'number') {\n return value\n }\n\n throw new Error();\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.fn(10); // => 10;\nmyClass.fn(null); // => Error" - ], - "lineNumber": 26, - "params": [ - { - "nullable": null, - "types": [ - "...*" - ], - "spread": true, - "optional": true, - "name": "args", - "description": "The arguments to invoke func with." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 42, - "kind": "file", - "name": "buildDocs/before.js", - "content": "import { before } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PostValueApplicator } from './applicators';\n/**\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @Before(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n *\n * calls === 2; // => true\n */\nexport const Before = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(before, new PostValueApplicator(), { setter: true }));\nexport { Before as before };\nexport default Before;\n", - "static": true, - "longname": "buildDocs/before.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 43, - "kind": "variable", - "name": "Before", - "memberof": "buildDocs/before.js", - "static": true, - "longname": "buildDocs/before.js~Before", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/before.js", - "importStyle": "{Before}", - "description": "Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\nSubsequent calls to the created function return the result of the last func invocation.", - "examples": [ - "\nlet calls = 0;\n\nclass MyClass {\n @Before(3)\n fn() {\n calls++;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.fn();\nmyClass.fn();\nmyClass.fn();\nmyClass.fn();\n\ncalls === 2; // => true" - ], - "lineNumber": 28, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": false, - "name": "n", - "description": "The number of calls at whichc func is no longer invoked." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 44, - "kind": "file", - "name": "buildDocs/beforeAll.js", - "content": "import { before } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PostValueApplicator } from './applicators';\n/**\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @BeforeAll(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n\n * myClass2.fn();\n *\n * calls === 3; // => true\n */\nexport const BeforeAll = DecoratorFactory.createDecorator(new DecoratorConfig(before, new PostValueApplicator(), { setter: true }));\nexport { BeforeAll as beforeAll };\nexport default BeforeAll;\n", - "static": true, - "longname": "buildDocs/beforeAll.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 45, - "kind": "variable", - "name": "BeforeAll", - "memberof": "buildDocs/beforeAll.js", - "static": true, - "longname": "buildDocs/beforeAll.js~BeforeAll", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/beforeAll.js", - "importStyle": "{BeforeAll}", - "description": "Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\nSubsequent calls to the created function return the result of the last func invocation.", - "examples": [ - "\nlet calls = 0;\n\nclass MyClass {\n @BeforeAll(3)\n fn() {\n calls++;\n }\n}\n\nconst myClass = new MyClass();\nconst myClass2 = new MyClass();\n\nmyClass.fn();\nmyClass.fn();\nmyClass.fn();\nmyClass.fn();\n\nmyClass2.fn();\n\ncalls === 3; // => true" - ], - "lineNumber": 31, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": false, - "name": "n", - "description": "The number of calls at whichc func is no longer invoked." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 46, - "kind": "file", - "name": "buildDocs/bind.js", - "content": "import { bind } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { BindApplicator } from './applicators';\n/**\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n */\nexport const Bind = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(bind, new BindApplicator()));\nexport { Bind as bind };\nexport default Bind;\n", - "static": true, - "longname": "buildDocs/bind.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 47, - "kind": "variable", - "name": "Bind", - "memberof": "buildDocs/bind.js", - "static": true, - "longname": "buildDocs/bind.js~Bind", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/bind.js", - "importStyle": "{Bind}", - "description": "Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n\nThe _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n\nNote: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.", - "examples": [ - "\nclass MyClass {\n @Bind()\n bound() {\n return this;\n }\n\n unbound() {\n return this;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.bound.call(null); // => myClass {}\nmyClass.unbound.call(null); // => null" - ], - "lineNumber": 29, - "params": [ - { - "nullable": null, - "types": [ - "...*" - ], - "spread": true, - "optional": true, - "name": "partials", - "description": "The argument to be partially applied." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 48, - "kind": "file", - "name": "buildDocs/bindAll.js", - "content": "import { copyMetadata } from './utils';\n/**\n * Binds methods of an object to the object itself, overwriting the existing method.\n * @export\n * @param {string[]} [methods=[]]\n * @returns {ClassDecorator}\n * @example\n *\n * @BindAll()\n * class MyClass {\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => MyClass {}\n * myClass.unbound.call(null); // => MyClass {}\n */\nexport function BindAll(methods = []) {\n return (target) => {\n function BindAllWrapper(...args) {\n bindAllMethods(target, this, methods);\n target.apply(this, args);\n }\n ;\n BindAllWrapper.prototype = target.prototype;\n return BindAllWrapper;\n };\n}\nfunction bindAllMethods(target, instance, methods = []) {\n let proto = target.prototype;\n while (proto && proto !== Object.prototype) {\n for (const key of Object.getOwnPropertyNames(proto)) {\n const include = methods.length ? methods.indexOf(key) !== -1 : true;\n const descriptor = Object.getOwnPropertyDescriptor(proto, key);\n if (include && key !== 'constructor' && !instance.hasOwnProperty(key)) {\n Object.defineProperty(instance, key, {\n value: copyMetadata(instance[key].bind(instance), instance[key]),\n configurable: true,\n enumerable: descriptor.enumerable,\n writable: descriptor.writable\n });\n }\n }\n proto = Object.getPrototypeOf(proto);\n }\n}\nexport { BindAll as bindAll };\nexport default BindAll;\n", - "static": true, - "longname": "buildDocs/bindAll.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 49, - "kind": "function", - "name": "BindAll", - "memberof": "buildDocs/bindAll.js", - "generator": false, - "async": false, - "static": true, - "longname": "buildDocs/bindAll.js~BindAll", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/bindAll.js", - "importStyle": "{BindAll}", - "description": "Binds methods of an object to the object itself, overwriting the existing method.", - "examples": [ - "\n@BindAll()\nclass MyClass {\n bound() {\n return this;\n }\n\n unbound() {\n return this;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.bound.call(null); // => MyClass {}\nmyClass.unbound.call(null); // => MyClass {}" - ], - "lineNumber": 25, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{ClassDecorator}" - } - ], - "params": [ - { - "nullable": null, - "types": [ - "string[]" - ], - "spread": false, - "optional": true, - "defaultValue": "[]", - "defaultRaw": [], - "name": "methods", - "description": "" - } - ], - "return": { - "nullable": null, - "types": [ - "ClassDecorator" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 50, - "kind": "function", - "name": "bindAllMethods", - "memberof": "buildDocs/bindAll.js", - "generator": false, - "async": false, - "static": true, - "longname": "buildDocs/bindAll.js~bindAllMethods", - "access": null, - "export": false, - "importPath": "lodash-decorators/buildDocs/bindAll.js", - "importStyle": null, - "description": null, - "lineNumber": 36, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "target", - "types": [ - "*" - ] - }, - { - "name": "instance", - "types": [ - "*" - ] - }, - { - "name": "methods", - "optional": true, - "types": [ - "*[]" - ], - "defaultRaw": [], - "defaultValue": "[]" - } - ] - }, - { - "__docId__": 51, - "kind": "file", - "name": "buildDocs/curry.js", - "content": "import { curry } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\n/**\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n */\nexport const Curry = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(curry, new PreValueApplicator(), { bound: true }));\nexport { Curry as curry };\nexport default Curry;\n", - "static": true, - "longname": "buildDocs/curry.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 52, - "kind": "variable", - "name": "Curry", - "memberof": "buildDocs/curry.js", - "static": true, - "longname": "buildDocs/curry.js~Curry", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/curry.js", - "importStyle": "{Curry}", - "description": "Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\nThe arity of func may be specified if func.length is not sufficient.\nThe original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n\nThe _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n\nNote: This method doesn't set the \"length\" property of curried functions.", - "examples": [ - "\nclass MyClass {\n multiplier = 2;\n\n @Curry()\n add(a, b) {\n return (a + b) * this.multiplier;\n }\n}\n\nconst myClass = new MyClass();\n\nconst add5 = myClass.add(5);\n\nadd5AndMultiply(10); // => 30" - ], - "lineNumber": 30, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "arity", - "description": "The arity of func." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 53, - "kind": "file", - "name": "buildDocs/curryAll.js", - "content": "import { curry } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\n/**\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n */\nexport const CurryAll = DecoratorFactory.createDecorator(new DecoratorConfig(curry, new PreValueApplicator()));\nexport { CurryAll as curryAll };\nexport default CurryAll;\n", - "static": true, - "longname": "buildDocs/curryAll.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 54, - "kind": "variable", - "name": "CurryAll", - "memberof": "buildDocs/curryAll.js", - "static": true, - "longname": "buildDocs/curryAll.js~CurryAll", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/curryAll.js", - "importStyle": "{CurryAll}", - "description": "Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\nThe arity of func may be specified if func.length is not sufficient.\n\nThe _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n\nNote: This method doesn't set the \"length\" property of curried functions.\nNote: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.", - "examples": [ - "\nclass MyClass {\n @CurryAll()\n add(a, b) {\n return (a + b);\n }\n}\n\nconst myClass = new MyClass();\n\nconst add5 = myClass.add(5);\n\nadd5AndMultiply(10); // => 15" - ], - "lineNumber": 28, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "arity", - "description": "The arity of func." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 55, - "kind": "file", - "name": "buildDocs/curryRight.js", - "content": "import { curryRight } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\n/**\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n */\nexport const CurryRight = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(curryRight, new PreValueApplicator(), { bound: true }));\nexport { CurryRight as curryRight };\nexport default CurryRight;\n", - "static": true, - "longname": "buildDocs/curryRight.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 56, - "kind": "variable", - "name": "CurryRight", - "memberof": "buildDocs/curryRight.js", - "static": true, - "longname": "buildDocs/curryRight.js~CurryRight", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/curryRight.js", - "importStyle": "{CurryRight}", - "description": "This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\nThe arity of func may be specified if func.length is not sufficient.\nThe original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n\nThe _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n\nNote: This method doesn't set the \"length\" property of curried functions.", - "examples": [ - "\nclass MyClass {\n multiplier = 2;\n\n @CurryRight()\n add(a, b) {\n return (a + b) * this.multiplier;\n }\n}\n\nconst myClass = new MyClass();\n\nconst add5 = myClass.add(5);\n\nadd5AndMultiply(10); // => 30" - ], - "lineNumber": 30, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "arity", - "description": "The arity of func." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 57, - "kind": "file", - "name": "buildDocs/curryRightAll.js", - "content": "import { curryRight } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\n/**\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n */\nexport const CurryRightAll = DecoratorFactory.createDecorator(new DecoratorConfig(curryRight, new PreValueApplicator()));\nexport { CurryRightAll as curryRightAll };\nexport default CurryRightAll;\n", - "static": true, - "longname": "buildDocs/curryRightAll.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 58, - "kind": "variable", - "name": "CurryRightAll", - "memberof": "buildDocs/curryRightAll.js", - "static": true, - "longname": "buildDocs/curryRightAll.js~CurryRightAll", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/curryRightAll.js", - "importStyle": "{CurryRightAll}", - "description": "This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\nThe arity of func may be specified if func.length is not sufficient.\nThe original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n\nThe _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n\nNote: This method doesn't set the \"length\" property of curried functions.", - "examples": [ - "\nclass MyClass {\n @CurryRightAll()\n add(a, b) {\n return (a + b);\n }\n}\n\nconst myClass = new MyClass();\n\nconst add5 = myClass.add(5);\n\nadd5AndMultiply(10); // => 15" - ], - "lineNumber": 28, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "name": "arity", - "description": "The arity of func." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 59, - "kind": "file", - "name": "buildDocs/debounce.js", - "content": "import { debounce } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\n/**\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Debounce(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n */\nexport const Debounce = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(debounce, new PreValueApplicator(), { setter: true }));\nexport { Debounce as debounce };\nexport default Debounce;\n", - "static": true, - "longname": "buildDocs/debounce.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 60, - "kind": "variable", - "name": "Debounce", - "memberof": "buildDocs/debounce.js", - "static": true, - "longname": "buildDocs/debounce.js~Debounce", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/debounce.js", - "importStyle": "{Debounce}", - "description": "Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\nThe debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\nProvide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\nSubsequent calls to the debounced function return the result of the last func invocation.\n\nNote: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n\nIf wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.", - "examples": [ - "\nclass MyClass {\n value = 100;\n\n @Debounce(10)\n add(a) {\n this.value += a;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.add(10);\nmyClass.add(50);\nmyClass.add(20);\n\nmyClass.value; // => 100;\n\nsetTimeout(() => {\n myClass.value; // => 120;\n}, 11);" - ], - "lineNumber": 39, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "defaultValue": "0", - "defaultRaw": 0, - "name": "wait", - "description": "The number in milliseconds to delay." - }, - { - "nullable": null, - "types": [ - "DebounceOptions" - ], - "spread": false, - "optional": true, - "name": "options", - "description": "The options object." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 61, - "kind": "file", - "name": "buildDocs/debounceAll.js", - "content": "import { debounce } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\n/**\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @DebounceAll(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n */\nexport const DebounceAll = DecoratorFactory.createDecorator(new DecoratorConfig(debounce, new PreValueApplicator()));\nexport { DebounceAll as debounceAll };\nexport default DebounceAll;\n", - "static": true, - "longname": "buildDocs/debounceAll.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 62, - "kind": "variable", - "name": "DebounceAll", - "memberof": "buildDocs/debounceAll.js", - "static": true, - "longname": "buildDocs/debounceAll.js~DebounceAll", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/debounceAll.js", - "importStyle": "{DebounceAll}", - "description": "Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\nThe debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\nProvide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\nSubsequent calls to the debounced function return the result of the last func invocation.\n\nThe debounce state is shared across all instances of the class.\n\nNote: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n\nIf wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.", - "examples": [ - "\nclass MyClass {\n value = 100;\n\n @DebounceAll(10)\n add(a) {\n this.value += a;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.add(10);\nmyClass.add(50);\nmyClass.add(20);\n\nmyClass.value; // => 100;\n\nsetTimeout(() => {\n myClass.value; // => 120;\n}, 11);" - ], - "lineNumber": 41, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": true, - "defaultValue": "0", - "defaultRaw": 0, - "name": "wait", - "description": "The number in milliseconds to delay." - }, - { - "nullable": null, - "types": [ - "DebounceOptions" - ], - "spread": false, - "optional": true, - "name": "options", - "description": "The options object." - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 63, - "kind": "file", - "name": "buildDocs/defer.js", - "content": "import { defer } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { InvokeApplicator } from './applicators';\n/**\n * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Defer()\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 0);\n */\nexport const Defer = DecoratorFactory.createDecorator(new DecoratorConfig(defer, new InvokeApplicator(), { setter: true }));\nexport { Defer as defer };\nexport default Defer;\n", - "static": true, - "longname": "buildDocs/defer.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 64, - "kind": "variable", - "name": "Defer", - "memberof": "buildDocs/defer.js", - "static": true, - "longname": "buildDocs/defer.js~Defer", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/defer.js", - "importStyle": "{Defer}", - "description": "Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.", - "examples": [ - "\nclass MyClass {\n value = 100;\n\n @Defer()\n add(a) {\n this.value += a;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.add(10);\n\nmyClass.value; // => 100;\n\nsetTimeout(() => {\n myClass.value; // => 110;\n}, 0);" - ], - "lineNumber": 29, - "params": [ - { - "nullable": null, - "types": [ - "...*" - ], - "spread": true, - "optional": true, - "name": "args", - "description": "Additional arguments to invoke the function with" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 65, - "kind": "file", - "name": "buildDocs/delay.js", - "content": "import { delay } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\n/**\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n *\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Delay(20)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 30);\n */\nexport const Delay = DecoratorFactory.createDecorator(new DecoratorConfig(function (value, wait, ...args) {\n return function (...invokeArgs) {\n return delay(value.bind(this), wait, ...invokeArgs, ...args);\n };\n}, new PreValueApplicator(), { setter: true }));\nexport { Delay as delay };\nexport default Delay;\n", - "static": true, - "longname": "buildDocs/delay.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 66, - "kind": "variable", - "name": "Delay", - "memberof": "buildDocs/delay.js", - "static": true, - "longname": "buildDocs/delay.js~Delay", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/delay.js", - "importStyle": "{Delay}", - "description": "Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.", - "examples": [ - "\nclass MyClass {\n value = 100;\n\n @Delay(20)\n add(a) {\n this.value += a;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.add(10);\n\nmyClass.value; // => 100;\n\nsetTimeout(() => {\n myClass.value; // => 110;\n}, 30);" - ], - "lineNumber": 30, - "params": [ - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": false, - "name": "wait", - "description": "The number of milliseconds to delay invocation." - }, - { - "nullable": null, - "types": [ - "...*" - ], - "spread": true, - "optional": true, - "name": "args", - "description": "Additional arguments to invoke the function with" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 67, - "kind": "file", - "name": "buildDocs/factory/DecoratorConfig.js", - "content": "export class DecoratorConfig {\n constructor(execute, applicator, options = {}) {\n this.execute = execute;\n this.applicator = applicator;\n this.options = options;\n }\n get bound() {\n return this.options.bound != null ? this.options.bound : false;\n }\n get setter() {\n return this.options.setter != null ? this.options.setter : false;\n }\n get getter() {\n return this.options.getter != null ? this.options.getter : false;\n }\n get property() {\n return this.options.property != null ? this.options.property : false;\n }\n get method() {\n return this.options.method != null ? this.options.method : true;\n }\n}\n", - "static": true, - "longname": "buildDocs/factory/DecoratorConfig.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 68, - "kind": "class", - "name": "DecoratorConfig", - "memberof": "buildDocs/factory/DecoratorConfig.js", - "static": true, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/factory/DecoratorConfig.js", - "importStyle": "{DecoratorConfig}", - "description": null, - "lineNumber": 1, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false - }, - { - "__docId__": 69, - "kind": "constructor", - "name": "constructor", - "memberof": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#constructor", - "access": null, - "description": null, - "lineNumber": 2, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "execute", - "types": [ - "*" - ] - }, - { - "name": "applicator", - "types": [ - "*" - ] - }, - { - "name": "options", - "optional": true, - "types": [ - "{}" - ], - "defaultRaw": {}, - "defaultValue": "{}" - } - ] - }, - { - "__docId__": 70, - "kind": "member", - "name": "execute", - "memberof": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "static": false, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#execute", - "access": null, - "description": null, - "lineNumber": 3, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 71, - "kind": "member", - "name": "applicator", - "memberof": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "static": false, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#applicator", - "access": null, - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 72, - "kind": "member", - "name": "options", - "memberof": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "static": false, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#options", - "access": null, - "description": null, - "lineNumber": 5, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 73, - "kind": "get", - "name": "bound", - "memberof": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#bound", - "access": null, - "description": null, - "lineNumber": 7, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 74, - "kind": "get", - "name": "setter", - "memberof": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#setter", - "access": null, - "description": null, - "lineNumber": 10, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 75, - "kind": "get", - "name": "getter", - "memberof": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#getter", - "access": null, - "description": null, - "lineNumber": 13, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 76, - "kind": "get", - "name": "property", - "memberof": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#property", - "access": null, - "description": null, - "lineNumber": 16, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 77, - "kind": "get", - "name": "method", - "memberof": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#method", - "access": null, - "description": null, - "lineNumber": 19, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 78, - "kind": "file", - "name": "buildDocs/factory/DecoratorFactory.js", - "content": "import { isFunction } from 'lodash';\nimport { InstanceChainMap } from './common';\nimport { copyMetadata, bind } from '../utils';\nexport class InternalDecoratorFactory {\n createDecorator(config) {\n const { applicator } = config;\n return (...args) => {\n return (target, name, _descriptor) => {\n const descriptor = this._resolveDescriptor(target, name, _descriptor);\n const { value, get, set } = descriptor;\n // If this decorator is being applied after an instance decorator we simply ignore it\n // as we can't apply it correctly.\n if (!InstanceChainMap.has([target, name])) {\n if (isFunction(value)) {\n descriptor.value = copyMetadata(applicator.apply({ config, target, value, args }), value);\n }\n else if (isFunction(get) && config.getter) {\n descriptor.get = copyMetadata(applicator.apply({ config, target, value: get, args }), get);\n }\n else if (isFunction(set) && config.setter) {\n descriptor.set = copyMetadata(applicator.apply({ config, target, value: set, args }), get);\n }\n }\n return descriptor;\n };\n };\n }\n createInstanceDecorator(config) {\n const { applicator, bound } = config;\n return (...args) => {\n return (target, name, _descriptor) => {\n const descriptor = this._resolveDescriptor(target, name, _descriptor);\n const { value, writable, enumerable, configurable, get, set } = descriptor;\n const isFirstInstance = !InstanceChainMap.has([target, name]);\n const fnChain = InstanceChainMap.get([target, name]) || [];\n const isGetter = isFirstInstance && isFunction(get);\n const isSetter = isFirstInstance && isFunction(set);\n const isMethod = isFirstInstance && isFunction(value);\n const isProperty = isFirstInstance && !isGetter && !isSetter && !isMethod;\n fnChain.push((fn, instance, context) => {\n if (!this._isApplicable(context, config)) {\n return fn;\n }\n if (bound) {\n fn = bind(fn, instance);\n }\n return copyMetadata(applicator.apply({ args, target, instance, value: fn, config }), fn);\n });\n InstanceChainMap.set([target, name], fnChain);\n if (!isFirstInstance) {\n return descriptor;\n }\n const applyChain = (fn, context, instance) => {\n return fnChain.reduce((result, next) => next(result, instance, context), fn);\n };\n const applyDecorator = (instance) => {\n let getter = get || undefined;\n let setter = set || undefined;\n if (isGetter || isSetter) {\n // If we have a getter apply the decorators to the getter and assign it to the instance.\n if (isGetter) {\n getter = applyChain(get, { value: get, getter: true }, instance);\n }\n if (isSetter) {\n setter = applyChain(set, { value: set, setter: true }, instance);\n }\n Object.defineProperty(instance, name, {\n enumerable,\n configurable,\n get: getter,\n set: setter\n });\n }\n else if (isMethod || isProperty) {\n const newFn = isMethod\n ? applyChain(value, { value, method: true }, instance)\n : applyChain(value, { value, property: true }, instance);\n Object.defineProperty(instance, name, {\n writable,\n enumerable,\n configurable,\n value: newFn\n });\n }\n };\n if (isMethod || isProperty) {\n delete descriptor.value;\n delete descriptor.writable;\n }\n descriptor.get = function () {\n applyDecorator(this);\n const descriptor = Object.getOwnPropertyDescriptor(this, name);\n if (descriptor.get) {\n return descriptor.get.call(this);\n }\n return descriptor.value;\n };\n descriptor.set = function (value) {\n applyDecorator(this);\n const descriptor = Object.getOwnPropertyDescriptor(this, name);\n if (descriptor.set) {\n descriptor.set.call(this, value);\n }\n else if (isProperty || isMethod) {\n this[name] = value;\n }\n };\n return descriptor;\n };\n };\n }\n _isApplicable(context, config) {\n return !Boolean(context.getter && !config.getter\n || context.setter && !config.setter\n || context.method && !config.method\n || context.property && !config.property);\n }\n _resolveDescriptor(target, name, descriptor) {\n if (descriptor) {\n return descriptor;\n }\n return Object.getOwnPropertyDescriptor(target, name) || {};\n }\n}\nexport const DecoratorFactory = new InternalDecoratorFactory();\n", - "static": true, - "longname": "buildDocs/factory/DecoratorFactory.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 79, - "kind": "class", - "name": "InternalDecoratorFactory", - "memberof": "buildDocs/factory/DecoratorFactory.js", - "static": true, - "longname": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/factory/DecoratorFactory.js", - "importStyle": "{InternalDecoratorFactory}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "interface": false - }, - { - "__docId__": 80, - "kind": "method", - "name": "createDecorator", - "memberof": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory#createDecorator", - "access": null, - "description": null, - "lineNumber": 5, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "config", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 81, - "kind": "method", - "name": "createInstanceDecorator", - "memberof": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory#createInstanceDecorator", - "access": null, - "description": null, - "lineNumber": 28, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "config", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 82, - "kind": "member", - "name": "[name]", - "memberof": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory", - "static": false, - "longname": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory#[name]", - "access": null, - "description": null, - "lineNumber": 105, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 83, - "kind": "method", - "name": "_isApplicable", - "memberof": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory#_isApplicable", - "access": null, - "description": null, - "lineNumber": 112, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "context", - "types": [ - "*" - ] - }, - { - "name": "config", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 84, - "kind": "method", - "name": "_resolveDescriptor", - "memberof": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory#_resolveDescriptor", - "access": null, - "description": null, - "lineNumber": 118, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "target", - "types": [ - "*" - ] - }, - { - "name": "name", - "types": [ - "*" - ] - }, - { - "name": "descriptor", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 85, - "kind": "variable", - "name": "DecoratorFactory", - "memberof": "buildDocs/factory/DecoratorFactory.js", - "static": true, - "longname": "buildDocs/factory/DecoratorFactory.js~DecoratorFactory", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/factory/DecoratorFactory.js", - "importStyle": "{DecoratorFactory}", - "description": null, - "lineNumber": 125, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory" - ] - } - }, - { - "__docId__": 86, - "kind": "file", - "name": "buildDocs/factory/common.js", - "content": "import { CompositeKeyWeakMap } from '../utils';\nexport const InstanceChainMap = new CompositeKeyWeakMap();\n", - "static": true, - "longname": "buildDocs/factory/common.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 87, - "kind": "variable", - "name": "InstanceChainMap", - "memberof": "buildDocs/factory/common.js", - "static": true, - "longname": "buildDocs/factory/common.js~InstanceChainMap", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/factory/common.js", - "importStyle": "{InstanceChainMap}", - "description": null, - "lineNumber": 2, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "buildDocs/utils.js~CompositeKeyWeakMap" - ] - } - }, - { - "__docId__": 88, - "kind": "file", - "name": "buildDocs/factory/index.js", - "content": "export * from './DecoratorConfig';\nexport * from './DecoratorFactory';\nexport * from './common';\n", - "static": true, - "longname": "buildDocs/factory/index.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 89, - "kind": "file", - "name": "buildDocs/flip.js", - "content": "import { flip } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\n/**\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n *\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Flip()\n * fn(a, b) {\n * return [ a, b ];\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10, 20); // => [ 20, 10 ]\n */\nexport const Flip = DecoratorFactory.createDecorator(new DecoratorConfig(flip, new PreValueApplicator()));\nexport { Flip as flip };\nexport default Flip;\n", - "static": true, - "longname": "buildDocs/flip.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 90, - "kind": "variable", - "name": "Flip", - "memberof": "buildDocs/flip.js", - "static": true, - "longname": "buildDocs/flip.js~Flip", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/flip.js", - "importStyle": "{Flip}", - "description": "Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\nuse for this decorator but maybe you will find one?", - "examples": [ - "\nclass MyClass {\n value = 100;\n\n @Flip()\n fn(a, b) {\n return [ a, b ];\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.fn(10, 20); // => [ 20, 10 ]" - ], - "lineNumber": 23, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 91, - "kind": "file", - "name": "buildDocs/flow.js", - "content": "import { flow } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { ComposeApplicator } from './applicators';\n/**\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @Flow('getName', toUpperCase)\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n */\nexport const Flow = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(flow, new ComposeApplicator({ post: true }), { property: true }));\nexport { Flow as flow };\nexport default Flow;\n", - "static": true, - "longname": "buildDocs/flow.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 92, - "kind": "variable", - "name": "Flow", - "memberof": "buildDocs/flow.js", - "static": true, - "longname": "buildDocs/flow.js~Flow", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/flow.js", - "importStyle": "{Flow}", - "description": "Creates a function that returns the result of invoking the given functions with the this binding of the created function,\nwhere each successive invocation is supplied the return value of the previous.", - "examples": [ - "\nclass MyClass {\n name = 'Ted';\n\n @Flow('getName', toUpperCase)\n getUpperCaseName: () => string;\n\n getName() {\n return this.name;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.getUpperCaseName(); // => 'TED'" - ], - "lineNumber": 25, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 93, - "kind": "file", - "name": "buildDocs/flowRight.js", - "content": "import { flowRight } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { ComposeApplicator } from './applicators';\n/**\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @FlowRight(toUpperCase, 'getName')\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n */\nexport const FlowRight = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(flowRight, new ComposeApplicator({ post: false }), { property: true }));\nexport { FlowRight as flowRight };\nexport default FlowRight;\n", - "static": true, - "longname": "buildDocs/flowRight.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 94, - "kind": "variable", - "name": "FlowRight", - "memberof": "buildDocs/flowRight.js", - "static": true, - "longname": "buildDocs/flowRight.js~FlowRight", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/flowRight.js", - "importStyle": "{FlowRight}", - "description": "Creates a function that returns the result of invoking the given functions with the this binding of the created function,\nwhere each successive invocation is supplied the return value of the previous.", - "examples": [ - "\nclass MyClass {\n name = 'Ted';\n\n @FlowRight(toUpperCase, 'getName')\n getUpperCaseName: () => string;\n\n getName() {\n return this.name;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.getUpperCaseName(); // => 'TED'" - ], - "lineNumber": 25, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 95, - "kind": "file", - "name": "buildDocs/index.js", - "content": "export * from './factory';\nexport * from './after';\nexport * from './afterAll';\nexport * from './ary';\nexport * from './attempt';\nexport * from './before';\nexport * from './beforeAll';\nexport * from './bind';\nexport * from './bindAll';\nexport * from './curry';\nexport * from './curryAll';\nexport * from './curryRight';\nexport * from './curryRightAll';\nexport * from './debounce';\nexport * from './debounceAll';\nexport * from './defer';\nexport * from './delay';\nexport * from './flip';\nexport * from './flow';\nexport * from './flowRight';\nexport * from './memoize';\nexport * from './memoizeAll';\nexport * from './mixin';\nexport * from './negate';\nexport * from './once';\nexport * from './overArgs';\nexport * from './partial';\nexport * from './partialRight';\nexport * from './rearg';\nexport * from './rest';\nexport * from './spread';\nexport * from './tap';\nexport * from './throttle';\nexport * from './throttleAll';\nexport * from './unary';\nexport * from './wrap';\n", - "static": true, - "longname": "buildDocs/index.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 96, - "kind": "file", - "name": "buildDocs/memoize.js", - "content": "import { memoize } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { MemoizeApplicator } from './applicators';\nexport const Memoize = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(memoize, new MemoizeApplicator()));\nexport { Memoize as memoize };\nexport default Memoize;\n", - "static": true, - "longname": "buildDocs/memoize.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 97, - "kind": "variable", - "name": "Memoize", - "memberof": "buildDocs/memoize.js", - "static": true, - "longname": "buildDocs/memoize.js~Memoize", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/memoize.js", - "importStyle": "{Memoize}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 98, - "kind": "file", - "name": "buildDocs/memoizeAll.js", - "content": "import { memoize } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { MemoizeApplicator } from './applicators';\n/**\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n * @param {Function} [resolver] Optional resolver\n */\nexport const MemoizeAll = DecoratorFactory.createDecorator(new DecoratorConfig(memoize, new MemoizeApplicator()));\nexport { MemoizeAll as memoizeAll };\nexport default MemoizeAll;\n", - "static": true, - "longname": "buildDocs/memoizeAll.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 99, - "kind": "variable", - "name": "MemoizeAll", - "memberof": "buildDocs/memoizeAll.js", - "static": true, - "longname": "buildDocs/memoizeAll.js~MemoizeAll", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/memoizeAll.js", - "importStyle": "{MemoizeAll}", - "description": "Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.", - "lineNumber": 8, - "params": [ - { - "nullable": null, - "types": [ - "Function" - ], - "spread": false, - "optional": true, - "name": "resolver", - "description": "Optional resolver" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 100, - "kind": "file", - "name": "buildDocs/mixin.js", - "content": "import { assign } from 'lodash';\nexport function Mixin(...srcs) {\n return (target) => {\n assign(target.prototype, ...srcs);\n return target;\n };\n}\nexport { Mixin as mixin };\nexport default Mixin;\n", - "static": true, - "longname": "buildDocs/mixin.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 101, - "kind": "function", - "name": "Mixin", - "memberof": "buildDocs/mixin.js", - "generator": false, - "async": false, - "static": true, - "longname": "buildDocs/mixin.js~Mixin", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/mixin.js", - "importStyle": "{Mixin}", - "description": null, - "lineNumber": 2, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "srcs", - "types": [ - "...*" - ], - "spread": true - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 102, - "kind": "file", - "name": "buildDocs/negate.js", - "content": "import { negate } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const Negate = DecoratorFactory.createDecorator(new DecoratorConfig(negate, new PreValueApplicator()));\nexport { Negate as negate };\nexport default Negate;\n", - "static": true, - "longname": "buildDocs/negate.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 103, - "kind": "variable", - "name": "Negate", - "memberof": "buildDocs/negate.js", - "static": true, - "longname": "buildDocs/negate.js~Negate", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/negate.js", - "importStyle": "{Negate}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 104, - "kind": "file", - "name": "buildDocs/once.js", - "content": "import { once } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const Once = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(once, new PreValueApplicator(), { setter: true }));\nexport { Once as once };\nexport default Once;\n", - "static": true, - "longname": "buildDocs/once.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 105, - "kind": "variable", - "name": "Once", - "memberof": "buildDocs/once.js", - "static": true, - "longname": "buildDocs/once.js~Once", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/once.js", - "importStyle": "{Once}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 106, - "kind": "file", - "name": "buildDocs/onceAll.js", - "content": "import { once } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const OnceAll = DecoratorFactory.createDecorator(new DecoratorConfig(once, new PreValueApplicator(), { setter: true }))();\nexport { OnceAll as onceAll };\nexport default OnceAll;\n", - "static": true, - "longname": "buildDocs/onceAll.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 107, - "kind": "variable", - "name": "OnceAll", - "memberof": "buildDocs/onceAll.js", - "static": true, - "longname": "buildDocs/onceAll.js~OnceAll", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/onceAll.js", - "importStyle": "{OnceAll}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 108, - "kind": "file", - "name": "buildDocs/overArgs.js", - "content": "import { overArgs } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const OverArgs = DecoratorFactory.createDecorator(new DecoratorConfig(overArgs, new PreValueApplicator(), { setter: true }));\nexport { OverArgs as overArgs };\nexport default OverArgs;\n", - "static": true, - "longname": "buildDocs/overArgs.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 109, - "kind": "variable", - "name": "OverArgs", - "memberof": "buildDocs/overArgs.js", - "static": true, - "longname": "buildDocs/overArgs.js~OverArgs", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/overArgs.js", - "importStyle": "{OverArgs}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 110, - "kind": "file", - "name": "buildDocs/partial.js", - "content": "import { partial } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PartialApplicator } from './applicators';\nexport const Partial = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(partial, new PartialApplicator(), { property: true, method: false }));\nexport { Partial as partial };\nexport default Partial;\n", - "static": true, - "longname": "buildDocs/partial.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 111, - "kind": "variable", - "name": "Partial", - "memberof": "buildDocs/partial.js", - "static": true, - "longname": "buildDocs/partial.js~Partial", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/partial.js", - "importStyle": "{Partial}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 112, - "kind": "file", - "name": "buildDocs/partialRight.js", - "content": "import { partialRight } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PartialApplicator } from './applicators';\nexport const PartialRight = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(partialRight, new PartialApplicator(), { property: true, method: false }));\nexport { PartialRight as partialRight };\nexport default PartialRight;\n", - "static": true, - "longname": "buildDocs/partialRight.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 113, - "kind": "variable", - "name": "PartialRight", - "memberof": "buildDocs/partialRight.js", - "static": true, - "longname": "buildDocs/partialRight.js~PartialRight", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/partialRight.js", - "importStyle": "{PartialRight}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 114, - "kind": "file", - "name": "buildDocs/rearg.js", - "content": "import { rearg } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const Rearg = DecoratorFactory.createDecorator(new DecoratorConfig(rearg, new PreValueApplicator()));\nexport { Rearg as rearg };\nexport default Rearg;\n", - "static": true, - "longname": "buildDocs/rearg.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 115, - "kind": "variable", - "name": "Rearg", - "memberof": "buildDocs/rearg.js", - "static": true, - "longname": "buildDocs/rearg.js~Rearg", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/rearg.js", - "importStyle": "{Rearg}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 116, - "kind": "file", - "name": "buildDocs/rest.js", - "content": "import { rest } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const Rest = DecoratorFactory.createDecorator(new DecoratorConfig(rest, new PreValueApplicator()));\nexport { Rest as rest };\nexport default Rest;\n", - "static": true, - "longname": "buildDocs/rest.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 117, - "kind": "variable", - "name": "Rest", - "memberof": "buildDocs/rest.js", - "static": true, - "longname": "buildDocs/rest.js~Rest", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/rest.js", - "importStyle": "{Rest}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 118, - "kind": "file", - "name": "buildDocs/shared.js", - "content": "", - "static": true, - "longname": "buildDocs/shared.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 119, - "kind": "file", - "name": "buildDocs/spread.js", - "content": "import { spread } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const Spread = DecoratorFactory.createDecorator(new DecoratorConfig(spread, new PreValueApplicator()));\nexport { Spread as spread };\nexport default Spread;\n", - "static": true, - "longname": "buildDocs/spread.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 120, - "kind": "variable", - "name": "Spread", - "memberof": "buildDocs/spread.js", - "static": true, - "longname": "buildDocs/spread.js~Spread", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/spread.js", - "importStyle": "{Spread}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 121, - "kind": "file", - "name": "buildDocs/tap.js", - "content": "import { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nimport { returnAtIndex } from './utils';\n/**\n * Returns the first argument from the function regardless of\n * the decorated functions return value.\n */\nexport const Tap = DecoratorFactory.createDecorator(new DecoratorConfig((fn) => returnAtIndex(fn, 0), new PreValueApplicator()));\nexport { Tap as tap };\nexport default Tap;\n", - "static": true, - "longname": "buildDocs/tap.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 122, - "kind": "variable", - "name": "Tap", - "memberof": "buildDocs/tap.js", - "static": true, - "longname": "buildDocs/tap.js~Tap", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/tap.js", - "importStyle": "{Tap}", - "description": "Returns the first argument from the function regardless of\nthe decorated functions return value.", - "lineNumber": 8, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 123, - "kind": "file", - "name": "buildDocs/throttle.js", - "content": "import { throttle } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const Throttle = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true, getter: true }));\nexport const ThrottleGetter = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { getter: true }));\nexport const ThrottleSetter = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true }));\nexport { Throttle as throttle };\nexport { ThrottleGetter as throttleGetter };\nexport { ThrottleSetter as throttleSetter };\nexport default Throttle;\n", - "static": true, - "longname": "buildDocs/throttle.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 124, - "kind": "variable", - "name": "Throttle", - "memberof": "buildDocs/throttle.js", - "static": true, - "longname": "buildDocs/throttle.js~Throttle", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/throttle.js", - "importStyle": "{Throttle}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 125, - "kind": "variable", - "name": "ThrottleGetter", - "memberof": "buildDocs/throttle.js", - "static": true, - "longname": "buildDocs/throttle.js~ThrottleGetter", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/throttle.js", - "importStyle": "{ThrottleGetter}", - "description": null, - "lineNumber": 5, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 126, - "kind": "variable", - "name": "ThrottleSetter", - "memberof": "buildDocs/throttle.js", - "static": true, - "longname": "buildDocs/throttle.js~ThrottleSetter", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/throttle.js", - "importStyle": "{ThrottleSetter}", - "description": null, - "lineNumber": 6, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 127, - "kind": "file", - "name": "buildDocs/throttleAll.js", - "content": "import { throttle } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const ThrottleAll = DecoratorFactory.createDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true }));\nexport { ThrottleAll as throttleAll };\nexport default ThrottleAll;\n", - "static": true, - "longname": "buildDocs/throttleAll.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 128, - "kind": "variable", - "name": "ThrottleAll", - "memberof": "buildDocs/throttleAll.js", - "static": true, - "longname": "buildDocs/throttleAll.js~ThrottleAll", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/throttleAll.js", - "importStyle": "{ThrottleAll}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 129, - "kind": "file", - "name": "buildDocs/unary.js", - "content": "import { unary } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PreValueApplicator } from './applicators';\nexport const Unary = DecoratorFactory.createDecorator(new DecoratorConfig(unary, new PreValueApplicator()));\nexport { Unary as unary };\nexport default Unary;\n", - "static": true, - "longname": "buildDocs/unary.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 130, - "kind": "variable", - "name": "Unary", - "memberof": "buildDocs/unary.js", - "static": true, - "longname": "buildDocs/unary.js~Unary", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/unary.js", - "importStyle": "{Unary}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 131, - "kind": "file", - "name": "buildDocs/utils/CompositeKeyWeakMap.js", - "content": "import { isUndefined } from 'lodash';\n/**\n * A map for weakly holding nested references.\n * @private\n * @export\n * @class CompositeKeyWeakMap\n * @template T\n */\nexport class CompositeKeyWeakMap {\n constructor() {\n this._weakMap = new WeakMap();\n }\n set(keys, value) {\n let map = this._weakMap;\n for (let i = 0, len = keys.length - 1; i < len; i++) {\n const key = keys[i];\n let next = map.get(key);\n if (!next) {\n next = new Map();\n map.set(key, next);\n }\n map = next;\n }\n map.set(keys[keys.length - 1], value);\n }\n get(keys) {\n let next = this._weakMap;\n for (let i = 0, len = keys.length; i < len; i++) {\n next = next.get(keys[i]);\n if (isUndefined(next)) {\n break;\n }\n }\n return next;\n }\n has(keys) {\n return !isUndefined(this.get(keys));\n }\n}\n", - "static": true, - "longname": "buildDocs/utils/CompositeKeyWeakMap.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 132, - "kind": "class", - "name": "CompositeKeyWeakMap", - "memberof": "buildDocs/utils/CompositeKeyWeakMap.js", - "static": true, - "longname": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap", - "access": "private", - "export": true, - "importPath": "lodash-decorators/buildDocs/utils/CompositeKeyWeakMap.js", - "importStyle": "{CompositeKeyWeakMap}", - "description": "A map for weakly holding nested references.", - "lineNumber": 9, - "unknown": [ - { - "tagName": "@class", - "tagValue": "CompositeKeyWeakMap" - }, - { - "tagName": "@template", - "tagValue": "T" - } - ], - "interface": false - }, - { - "__docId__": 133, - "kind": "constructor", - "name": "constructor", - "memberof": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap#constructor", - "access": null, - "description": null, - "lineNumber": 10, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [] - }, - { - "__docId__": 134, - "kind": "member", - "name": "_weakMap", - "memberof": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap", - "static": false, - "longname": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap#_weakMap", - "access": null, - "description": null, - "lineNumber": 11, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 135, - "kind": "method", - "name": "set", - "memberof": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap#set", - "access": null, - "description": null, - "lineNumber": 13, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "keys", - "types": [ - "*" - ] - }, - { - "name": "value", - "types": [ - "*" - ] - } - ] - }, - { - "__docId__": 136, - "kind": "method", - "name": "get", - "memberof": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap#get", - "access": null, - "description": null, - "lineNumber": 26, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "keys", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 137, - "kind": "method", - "name": "has", - "memberof": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap", - "generator": false, - "async": false, - "static": false, - "longname": "buildDocs/utils/CompositeKeyWeakMap.js~CompositeKeyWeakMap#has", - "access": null, - "description": null, - "lineNumber": 36, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "params": [ - { - "name": "keys", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 138, - "kind": "file", - "name": "buildDocs/utils/bind.js", - "content": "import { copyMetadata } from './copyMetaData';\n/**\n * Binds a function and copies metadata.\n * @private\n * @export\n * @param {Function} fn\n * @param {*} context\n * @returns {Function}\n */\nexport function bind(fn, context) {\n return copyMetadata(fn.bind(context), fn);\n}\n", - "static": true, - "longname": "buildDocs/utils/bind.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 139, - "kind": "function", - "name": "bind", - "memberof": "buildDocs/utils/bind.js", - "generator": false, - "async": false, - "static": true, - "longname": "buildDocs/utils/bind.js~bind", - "access": "private", - "export": true, - "importPath": "lodash-decorators/buildDocs/utils/bind.js", - "importStyle": "{bind}", - "description": "Binds a function and copies metadata.", - "lineNumber": 10, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{Function}" - } - ], - "params": [ - { - "nullable": null, - "types": [ - "Function" - ], - "spread": false, - "optional": false, - "name": "fn", - "description": "" - }, - { - "nullable": null, - "types": [ - "*" - ], - "spread": false, - "optional": false, - "name": "context", - "description": "" - } - ], - "return": { - "nullable": null, - "types": [ - "Function" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 140, - "kind": "file", - "name": "buildDocs/utils/copyMetaData.js", - "content": "import { forOwn } from 'lodash';\n/**\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n * @private\n */\nexport function copyMetadata(to, from) {\n forOwn(from, (value, key) => to[key] = value);\n return to;\n}\n", - "static": true, - "longname": "buildDocs/utils/copyMetaData.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 141, - "kind": "function", - "name": "copyMetadata", - "memberof": "buildDocs/utils/copyMetaData.js", - "generator": false, - "async": false, - "static": true, - "longname": "buildDocs/utils/copyMetaData.js~copyMetadata", - "access": "private", - "export": true, - "importPath": "lodash-decorators/buildDocs/utils/copyMetaData.js", - "importStyle": "{copyMetadata}", - "description": "Used to copy over meta data from function to function.\nIf meta data is attached to a function. This can get lost\nwhen wrapping functions. This tries to persist that.", - "lineNumber": 8, - "params": [ - { - "name": "to", - "types": [ - "*" - ] - }, - { - "name": "from", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 142, - "kind": "file", - "name": "buildDocs/utils/index.js", - "content": "export * from './log';\nexport * from './resolveFunction';\nexport * from './CompositeKeyWeakMap';\nexport * from './returnAtIndex';\nexport * from './copyMetaData';\nexport * from './bind';\n", - "static": true, - "longname": "buildDocs/utils/index.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 143, - "kind": "file", - "name": "buildDocs/utils/log.js", - "content": "/**\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n */\n/**\n * Creates a log message.\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n */ export function log(message = '') {\n return `lodash-decorators -> ${message}`;\n}\n", - "static": true, - "longname": "buildDocs/utils/log.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 144, - "kind": "function", - "name": "log", - "memberof": "buildDocs/utils/log.js", - "generator": false, - "async": false, - "static": true, - "longname": "buildDocs/utils/log.js~log", - "access": "private", - "export": true, - "importPath": "lodash-decorators/buildDocs/utils/log.js", - "importStyle": "{log}", - "description": "Creates a log message.", - "lineNumber": 14, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{string}" - } - ], - "params": [ - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": true, - "defaultValue": "''", - "defaultRaw": "''", - "name": "message", - "description": "" - } - ], - "return": { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 145, - "kind": "file", - "name": "buildDocs/utils/resolveFunction.js", - "content": "import { isFunction, isString } from 'lodash';\nimport { log } from './log';\n/**\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n * @private\n * @param {Function|string} method The method or method name.\n * @param {Object} [context] The context object to resolve from.\n * @param {Object} [target] The target object to resolve from.\n * @returns {Function} The resolved function.\n */\nexport function resolveFunction(method, context, target, throwNotFound = true) {\n if (isFunction(method)) {\n return method;\n }\n else if (isString(method)) {\n if (context && isFunction(context[method])) {\n return context[method];\n }\n else if (target && isFunction(target[method])) {\n return target[method];\n }\n }\n if (throwNotFound) {\n throw new ReferenceError(log(`Can not resolve method ${method} on any target Objects`));\n }\n}\n", - "static": true, - "longname": "buildDocs/utils/resolveFunction.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 146, - "kind": "function", - "name": "resolveFunction", - "memberof": "buildDocs/utils/resolveFunction.js", - "generator": false, - "async": false, - "static": true, - "longname": "buildDocs/utils/resolveFunction.js~resolveFunction", - "access": "private", - "export": true, - "importPath": "lodash-decorators/buildDocs/utils/resolveFunction.js", - "importStyle": "{resolveFunction}", - "description": "Resolves a function on the current target object. It first will\ntry and resolve on the context object, then the target object,\nthen an error will be thrown if the method can not be resolved.", - "lineNumber": 13, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{Function} The resolved function." - } - ], - "params": [ - { - "nullable": null, - "types": [ - "Function", - "string" - ], - "spread": false, - "optional": false, - "name": "method", - "description": "The method or method name." - }, - { - "nullable": null, - "types": [ - "Object" - ], - "spread": false, - "optional": true, - "name": "context", - "description": "The context object to resolve from." - }, - { - "nullable": null, - "types": [ - "Object" - ], - "spread": false, - "optional": true, - "name": "target", - "description": "The target object to resolve from." - } - ], - "return": { - "nullable": null, - "types": [ - "Function" - ], - "spread": false, - "description": "The resolved function." - } - }, - { - "__docId__": 147, - "kind": "file", - "name": "buildDocs/utils/returnAtIndex.js", - "content": "/**\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n */\n/**\n * Creates a function the returns the specific index.\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n */ export function returnAtIndex(fn, index) {\n return function (...args) {\n fn.call(this, ...args);\n return args[index];\n };\n}\n", - "static": true, - "longname": "buildDocs/utils/returnAtIndex.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 148, - "kind": "function", - "name": "returnAtIndex", - "memberof": "buildDocs/utils/returnAtIndex.js", - "generator": false, - "async": false, - "static": true, - "longname": "buildDocs/utils/returnAtIndex.js~returnAtIndex", - "access": "private", - "export": true, - "importPath": "lodash-decorators/buildDocs/utils/returnAtIndex.js", - "importStyle": "{returnAtIndex}", - "description": "Creates a function the returns the specific index.", - "lineNumber": 16, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{Function}" - } - ], - "params": [ - { - "nullable": null, - "types": [ - "Function" - ], - "spread": false, - "optional": false, - "name": "fn", - "description": "" - }, - { - "nullable": null, - "types": [ - "number" - ], - "spread": false, - "optional": false, - "name": "index", - "description": "" - } - ], - "return": { - "nullable": null, - "types": [ - "Function" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 149, - "kind": "file", - "name": "buildDocs/wrap.js", - "content": "import { wrap } from 'lodash';\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { WrapApplicator } from './applicators';\nexport const Wrap = DecoratorFactory.createDecorator(new DecoratorConfig(wrap, new WrapApplicator()));\nexport { Wrap as wrap };\nexport default Wrap;\n", - "static": true, - "longname": "buildDocs/wrap.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 150, - "kind": "variable", - "name": "Wrap", - "memberof": "buildDocs/wrap.js", - "static": true, - "longname": "buildDocs/wrap.js~Wrap", - "access": null, - "export": true, - "importPath": "lodash-decorators/buildDocs/wrap.js", - "importStyle": "{Wrap}", - "description": null, - "lineNumber": 4, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 152, - "kind": "external", - "name": "Infinity", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Infinity", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 153, - "kind": "external", - "name": "NaN", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~NaN", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 154, - "kind": "external", - "name": "undefined", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~undefined", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 155, - "kind": "external", - "name": "null", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~null", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 156, - "kind": "external", - "name": "Object", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Object", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 157, - "kind": "external", - "name": "object", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~object", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 158, - "kind": "external", - "name": "Function", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Function", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 159, - "kind": "external", - "name": "function", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~function", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 160, - "kind": "external", - "name": "Boolean", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Boolean", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 161, - "kind": "external", - "name": "boolean", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~boolean", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 162, - "kind": "external", - "name": "Symbol", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Symbol", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 163, - "kind": "external", - "name": "Error", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Error", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 164, - "kind": "external", - "name": "EvalError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~EvalError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 165, - "kind": "external", - "name": "InternalError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~InternalError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 166, - "kind": "external", - "name": "RangeError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~RangeError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 167, - "kind": "external", - "name": "ReferenceError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 168, - "kind": "external", - "name": "SyntaxError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 169, - "kind": "external", - "name": "TypeError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~TypeError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 170, - "kind": "external", - "name": "URIError", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~URIError", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 171, - "kind": "external", - "name": "Number", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Number", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 172, - "kind": "external", - "name": "number", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~number", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 173, - "kind": "external", - "name": "Date", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Date", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 174, - "kind": "external", - "name": "String", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~String", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 175, - "kind": "external", - "name": "string", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~string", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 176, - "kind": "external", - "name": "RegExp", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~RegExp", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 177, - "kind": "external", - "name": "Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 178, - "kind": "external", - "name": "Int8Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Int8Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 179, - "kind": "external", - "name": "Uint8Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 180, - "kind": "external", - "name": "Uint8ClampedArray", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 181, - "kind": "external", - "name": "Int16Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Int16Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 182, - "kind": "external", - "name": "Uint16Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 183, - "kind": "external", - "name": "Int32Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Int32Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 184, - "kind": "external", - "name": "Uint32Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 185, - "kind": "external", - "name": "Float32Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Float32Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 186, - "kind": "external", - "name": "Float64Array", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Float64Array", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 187, - "kind": "external", - "name": "Map", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Map", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 188, - "kind": "external", - "name": "Set", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Set", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 189, - "kind": "external", - "name": "WeakMap", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakMap", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 190, - "kind": "external", - "name": "WeakSet", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~WeakSet", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 191, - "kind": "external", - "name": "ArrayBuffer", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 192, - "kind": "external", - "name": "DataView", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~DataView", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 193, - "kind": "external", - "name": "JSON", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~JSON", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 194, - "kind": "external", - "name": "Promise", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Promise", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 195, - "kind": "external", - "name": "Generator", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Generator", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 196, - "kind": "external", - "name": "GeneratorFunction", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 197, - "kind": "external", - "name": "Reflect", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Reflect", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 198, - "kind": "external", - "name": "Proxy", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", - "memberof": "BuiltinExternal/ECMAScriptExternal.js", - "static": true, - "longname": "BuiltinExternal/ECMAScriptExternal.js~Proxy", - "access": null, - "description": "", - "lineNumber": 193, - "builtinExternal": true - }, - { - "__docId__": 200, - "kind": "external", - "name": "CanvasRenderingContext2D", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 201, - "kind": "external", - "name": "DocumentFragment", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~DocumentFragment", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 202, - "kind": "external", - "name": "Element", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~Element", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 203, - "kind": "external", - "name": "Event", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~Event", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 204, - "kind": "external", - "name": "Node", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~Node", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 205, - "kind": "external", - "name": "NodeList", - "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~NodeList", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 206, - "kind": "external", - "name": "XMLHttpRequest", - "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", - "access": null, - "description": "", - "builtinExternal": true - }, - { - "__docId__": 207, - "kind": "external", - "name": "AudioContext", - "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", - "memberof": "BuiltinExternal/WebAPIExternal.js", - "static": true, - "longname": "BuiltinExternal/WebAPIExternal.js~AudioContext", - "access": null, - "description": "", - "lineNumber": 34, - "builtinExternal": true - }, - { - "__docId__": 208, - "kind": "testFile", - "name": "buildDocs/after.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { After } from './after';\ndescribe('after', () => {\n it('should invoke the method after 3 times', () => {\n let calls = 0;\n class MyClass {\n constructor() {\n this.props = [];\n }\n set prop(val) {\n this.props.push(val);\n }\n fn() {\n calls++;\n }\n }\n tslib_1.__decorate([\n After(2)\n ], MyClass.prototype, \"prop\", null);\n tslib_1.__decorate([\n After(3)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n expect(calls, 'single class').to.equal(2);\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n expect(calls, 'multiple class').to.equal(4);\n myClass.prop = 50;\n myClass.prop = 100;\n expect(myClass.props.length, 'setter length').to.equal(1);\n expect(myClass.props[0], 'setter value').to.equal(100);\n });\n});\n", - "static": true, - "longname": "buildDocs/after.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 209, - "kind": "testDescribe", - "name": "describe0", - "testId": 0, - "memberof": "buildDocs/after.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/after.spec.js~describe0", - "access": null, - "description": "after", - "lineNumber": 4 - }, - { - "__docId__": 210, - "kind": "testIt", - "name": "it1", - "testId": 1, - "memberof": "buildDocs/after.spec.js~describe0", - "testDepth": 1, - "static": true, - "longname": "buildDocs/after.spec.js~describe0.it1", - "access": null, - "description": "should invoke the method after 3 times", - "lineNumber": 5 - }, - { - "__docId__": 211, - "kind": "testFile", - "name": "buildDocs/afterAll.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { AfterAll } from './afterAll';\ndescribe('afterAll', () => {\n it('should invoke the method after 3 times', () => {\n let calls = 0;\n class MyClass {\n fn() {\n calls++;\n }\n }\n tslib_1.__decorate([\n AfterAll(3)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n expect(calls, 'single class').to.equal(2);\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n expect(calls, 'multiple class').to.equal(6);\n });\n});\n", - "static": true, - "longname": "buildDocs/afterAll.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 212, - "kind": "testDescribe", - "name": "describe2", - "testId": 2, - "memberof": "buildDocs/afterAll.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/afterAll.spec.js~describe2", - "access": null, - "description": "afterAll", - "lineNumber": 4 - }, - { - "__docId__": 213, - "kind": "testIt", - "name": "it3", - "testId": 3, - "memberof": "buildDocs/afterAll.spec.js~describe2", - "testDepth": 1, - "static": true, - "longname": "buildDocs/afterAll.spec.js~describe2.it3", - "access": null, - "description": "should invoke the method after 3 times", - "lineNumber": 5 - }, - { - "__docId__": 214, - "kind": "testFile", - "name": "buildDocs/ary.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Ary } from './ary';\ndescribe('ary', () => {\n it('should invoke the method with specified arguments', () => {\n class MyClass {\n fn(...args) {\n expect(args.length).to.equal(2);\n }\n }\n tslib_1.__decorate([\n Ary(2)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn(1, 2, 3, 4, 5);\n });\n});\n", - "static": true, - "longname": "buildDocs/ary.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 215, - "kind": "testDescribe", - "name": "describe4", - "testId": 4, - "memberof": "buildDocs/ary.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/ary.spec.js~describe4", - "access": null, - "description": "ary", - "lineNumber": 4 - }, - { - "__docId__": 216, - "kind": "testIt", - "name": "it5", - "testId": 5, - "memberof": "buildDocs/ary.spec.js~describe4", - "testDepth": 1, - "static": true, - "longname": "buildDocs/ary.spec.js~describe4.it5", - "access": null, - "description": "should invoke the method with specified arguments", - "lineNumber": 5 - }, - { - "__docId__": 217, - "kind": "testFile", - "name": "buildDocs/attempt.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Attempt } from './attempt';\ndescribe('attempt', () => {\n it('should catch the error and return it', () => {\n class MyClass {\n fn() {\n throw new Error();\n }\n fn2() {\n return 10;\n }\n }\n tslib_1.__decorate([\n Attempt()\n ], MyClass.prototype, \"fn\", null);\n tslib_1.__decorate([\n Attempt()\n ], MyClass.prototype, \"fn2\", null);\n const myClass = new MyClass();\n expect(myClass.fn()).to.be.an.instanceOf(Error);\n expect(myClass.fn2()).to.equal(10);\n });\n});\n", - "static": true, - "longname": "buildDocs/attempt.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 218, - "kind": "testDescribe", - "name": "describe6", - "testId": 6, - "memberof": "buildDocs/attempt.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/attempt.spec.js~describe6", - "access": null, - "description": "attempt", - "lineNumber": 4 - }, - { - "__docId__": 219, - "kind": "testIt", - "name": "it7", - "testId": 7, - "memberof": "buildDocs/attempt.spec.js~describe6", - "testDepth": 1, - "static": true, - "longname": "buildDocs/attempt.spec.js~describe6.it7", - "access": null, - "description": "should catch the error and return it", - "lineNumber": 5 - }, - { - "__docId__": 220, - "kind": "testFile", - "name": "buildDocs/before.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Before } from './before';\ndescribe('before', () => {\n it('should invoke the method before 3 times', () => {\n let calls = 0;\n class MyClass {\n fn() {\n calls++;\n }\n }\n tslib_1.__decorate([\n Before(3)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n expect(calls, 'single class').to.equal(2);\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n expect(calls, 'multiple class').to.equal(4);\n });\n});\n", - "static": true, - "longname": "buildDocs/before.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 221, - "kind": "testDescribe", - "name": "describe8", - "testId": 8, - "memberof": "buildDocs/before.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/before.spec.js~describe8", - "access": null, - "description": "before", - "lineNumber": 4 - }, - { - "__docId__": 222, - "kind": "testIt", - "name": "it9", - "testId": 9, - "memberof": "buildDocs/before.spec.js~describe8", - "testDepth": 1, - "static": true, - "longname": "buildDocs/before.spec.js~describe8.it9", - "access": null, - "description": "should invoke the method before 3 times", - "lineNumber": 5 - }, - { - "__docId__": 223, - "kind": "testFile", - "name": "buildDocs/beforeAll.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { BeforeAll } from './beforeAll';\ndescribe('beforeAll', () => {\n it('should invoke the method before 3 times', () => {\n let calls = 0;\n class MyClass {\n fn() {\n calls++;\n }\n }\n tslib_1.__decorate([\n BeforeAll(3)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n expect(calls, 'single class').to.equal(2);\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n expect(calls, 'multiple class').to.equal(2);\n });\n});\n", - "static": true, - "longname": "buildDocs/beforeAll.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 224, - "kind": "testDescribe", - "name": "describe10", - "testId": 10, - "memberof": "buildDocs/beforeAll.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/beforeAll.spec.js~describe10", - "access": null, - "description": "beforeAll", - "lineNumber": 4 - }, - { - "__docId__": 225, - "kind": "testIt", - "name": "it11", - "testId": 11, - "memberof": "buildDocs/beforeAll.spec.js~describe10", - "testDepth": 1, - "static": true, - "longname": "buildDocs/beforeAll.spec.js~describe10.it11", - "access": null, - "description": "should invoke the method before 3 times", - "lineNumber": 5 - }, - { - "__docId__": 226, - "kind": "testFile", - "name": "buildDocs/bind.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Bind } from './bind';\nimport { Once } from './once';\ndescribe('bind', () => {\n it('should bind the context of the method', () => {\n let context;\n class MyClass {\n fn() {\n context = this;\n }\n }\n tslib_1.__decorate([\n Bind()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n myClass.fn.call(null);\n expect(context).to.equal(myClass);\n myClass2.fn.call(null);\n expect(context).to.equal(myClass2);\n });\n it('should bind with other decorators', () => {\n let context;\n class MyClass {\n fn() {\n context = this;\n }\n }\n tslib_1.__decorate([\n Once(),\n Bind()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn.call(null);\n expect(context).to.equal(myClass);\n });\n});\n", - "static": true, - "longname": "buildDocs/bind.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 227, - "kind": "testDescribe", - "name": "describe12", - "testId": 12, - "memberof": "buildDocs/bind.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/bind.spec.js~describe12", - "access": null, - "description": "bind", - "lineNumber": 5 - }, - { - "__docId__": 228, - "kind": "testIt", - "name": "it13", - "testId": 13, - "memberof": "buildDocs/bind.spec.js~describe12", - "testDepth": 1, - "static": true, - "longname": "buildDocs/bind.spec.js~describe12.it13", - "access": null, - "description": "should bind the context of the method", - "lineNumber": 6 - }, - { - "__docId__": 229, - "kind": "testIt", - "name": "it14", - "testId": 14, - "memberof": "buildDocs/bind.spec.js~describe12", - "testDepth": 1, - "static": true, - "longname": "buildDocs/bind.spec.js~describe12.it14", - "access": null, - "description": "should bind with other decorators", - "lineNumber": 23 - }, - { - "__docId__": 230, - "kind": "testFile", - "name": "buildDocs/bindAll.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { BindAll } from './bindAll';\ndescribe('bindAll', () => {\n it('should bind all method to the context', () => {\n let context;\n class Parent {\n fn() {\n context = this;\n }\n }\n let MyClass = class MyClass extends Parent {\n fn2() {\n context = this;\n }\n };\n MyClass = tslib_1.__decorate([\n BindAll()\n ], MyClass);\n const myClass = new MyClass();\n myClass.fn.call(null);\n expect(context).to.equal(myClass);\n myClass.fn2.call(null);\n expect(context).to.equal(myClass);\n });\n it('should bind only specified methods to the context', () => {\n let context;\n class Parent {\n fn() {\n context = this;\n }\n }\n let MyClass = class MyClass extends Parent {\n fn2() {\n context = this;\n }\n };\n MyClass = tslib_1.__decorate([\n BindAll(['fn'])\n ], MyClass);\n const myClass = new MyClass();\n myClass.fn.call(null);\n expect(context).to.equal(myClass);\n myClass.fn2.call(null);\n expect(context).to.equal(null);\n });\n});\n", - "static": true, - "longname": "buildDocs/bindAll.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 231, - "kind": "testDescribe", - "name": "describe15", - "testId": 15, - "memberof": "buildDocs/bindAll.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/bindAll.spec.js~describe15", - "access": null, - "description": "bindAll", - "lineNumber": 4 - }, - { - "__docId__": 232, - "kind": "testIt", - "name": "it16", - "testId": 16, - "memberof": "buildDocs/bindAll.spec.js~describe15", - "testDepth": 1, - "static": true, - "longname": "buildDocs/bindAll.spec.js~describe15.it16", - "access": null, - "description": "should bind all method to the context", - "lineNumber": 5 - }, - { - "__docId__": 233, - "kind": "testIt", - "name": "it17", - "testId": 17, - "memberof": "buildDocs/bindAll.spec.js~describe15", - "testDepth": 1, - "static": true, - "longname": "buildDocs/bindAll.spec.js~describe15.it17", - "access": null, - "description": "should bind only specified methods to the context", - "lineNumber": 26 - }, - { - "__docId__": 234, - "kind": "testFile", - "name": "buildDocs/combinationTest.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { spy } from 'sinon';\nimport { Bind } from './bind';\nimport { Memoize } from './memoize';\nimport { Curry } from './curry';\nimport { Delay } from './delay';\ndescribe('multiple decorators', () => {\n describe('when using multiple instance decorators', () => {\n it('should apply both decorators', () => {\n const _spy = spy();\n class MyClass {\n fn(n) {\n expect(this).to.equal(myClass);\n _spy();\n }\n }\n tslib_1.__decorate([\n Bind(),\n Memoize()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn.call(null, 1);\n myClass.fn.call(null, 2);\n myClass.fn.call(null, 1);\n myClass.fn.call(null, 2);\n expect(_spy.callCount).to.equal(2);\n });\n });\n describe('when combining proto and instance decorators', () => {\n it('should apply both decorators', done => {\n const _spy = spy();\n class MyClass {\n fn(n, n2) {\n expect(this).to.equal(myClass);\n _spy(n, n2);\n }\n }\n tslib_1.__decorate([\n Curry(2),\n Delay(10)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const add10 = myClass.fn(10);\n expect(_spy.called).to.be.false;\n add10(5);\n expect(_spy.called).to.be.false;\n setTimeout(() => {\n expect(_spy.callCount).to.equal(1);\n expect(_spy.getCalls()[0].args).to.eql([10, 5]);\n done();\n }, 20);\n });\n describe('when proto is after instance', () => {\n it('should only apply the instance decorator', () => {\n const _spy = spy();\n class MyClass {\n fn(n, n2) {\n expect(this).to.equal(myClass);\n _spy(n, n2);\n }\n }\n tslib_1.__decorate([\n Delay(10),\n Curry(2)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const add10 = myClass.fn(10);\n expect(_spy.called).to.be.false;\n add10(5);\n expect(_spy.called).to.be.true;\n expect(_spy.getCalls()[0].args).to.eql([10, 5]);\n });\n });\n });\n});\n", - "static": true, - "longname": "buildDocs/combinationTest.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 235, - "kind": "testDescribe", - "name": "describe18", - "testId": 18, - "memberof": "buildDocs/combinationTest.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/combinationTest.spec.js~describe18", - "access": null, - "description": "multiple decorators", - "lineNumber": 8 - }, - { - "__docId__": 236, - "kind": "testDescribe", - "name": "describe19", - "testId": 19, - "memberof": "buildDocs/combinationTest.spec.js~describe18", - "testDepth": 1, - "static": true, - "longname": "buildDocs/combinationTest.spec.js~describe18.describe19", - "access": null, - "description": "when using multiple instance decorators", - "lineNumber": 9 - }, - { - "__docId__": 237, - "kind": "testIt", - "name": "it20", - "testId": 20, - "memberof": "buildDocs/combinationTest.spec.js~describe18.describe19", - "testDepth": 2, - "static": true, - "longname": "buildDocs/combinationTest.spec.js~describe18.describe19.it20", - "access": null, - "description": "should apply both decorators", - "lineNumber": 10 - }, - { - "__docId__": 238, - "kind": "testDescribe", - "name": "describe21", - "testId": 21, - "memberof": "buildDocs/combinationTest.spec.js~describe18", - "testDepth": 1, - "static": true, - "longname": "buildDocs/combinationTest.spec.js~describe18.describe21", - "access": null, - "description": "when combining proto and instance decorators", - "lineNumber": 30 - }, - { - "__docId__": 239, - "kind": "testIt", - "name": "it22", - "testId": 22, - "memberof": "buildDocs/combinationTest.spec.js~describe18.describe21", - "testDepth": 2, - "static": true, - "longname": "buildDocs/combinationTest.spec.js~describe18.describe21.it22", - "access": null, - "description": "should apply both decorators", - "lineNumber": 31 - }, - { - "__docId__": 240, - "kind": "testDescribe", - "name": "describe23", - "testId": 23, - "memberof": "buildDocs/combinationTest.spec.js~describe18.describe21", - "testDepth": 2, - "static": true, - "longname": "buildDocs/combinationTest.spec.js~describe18.describe21.describe23", - "access": null, - "description": "when proto is after instance", - "lineNumber": 54 - }, - { - "__docId__": 241, - "kind": "testIt", - "name": "it24", - "testId": 24, - "memberof": "buildDocs/combinationTest.spec.js~describe18.describe21.describe23", - "testDepth": 3, - "static": true, - "longname": "buildDocs/combinationTest.spec.js~describe18.describe21.describe23.it24", - "access": null, - "description": "should only apply the instance decorator", - "lineNumber": 55 - }, - { - "__docId__": 242, - "kind": "testFile", - "name": "buildDocs/curry.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Curry } from './curry';\ndescribe('curry', () => {\n it('should curry the method with default arity', () => {\n class MyClass {\n add(a, b) {\n return a + b;\n }\n }\n tslib_1.__decorate([\n Curry()\n ], MyClass.prototype, \"add\", null);\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10)).to.equal(15);\n });\n it('should curry the method with fixed arity', () => {\n class MyClass {\n add(a, b, c) {\n return a + b * c;\n }\n }\n tslib_1.__decorate([\n Curry(2)\n ], MyClass.prototype, \"add\", null);\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10, 2)).to.equal(25);\n });\n it('should retain the class context', () => {\n class MyClass {\n constructor() {\n this.value = 10;\n }\n add(a, b) {\n return (a + b) * this.value;\n }\n }\n tslib_1.__decorate([\n Curry()\n ], MyClass.prototype, \"add\", null);\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n expect(add5(2)).to.equal(70);\n });\n});\n", - "static": true, - "longname": "buildDocs/curry.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 243, - "kind": "testDescribe", - "name": "describe25", - "testId": 25, - "memberof": "buildDocs/curry.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/curry.spec.js~describe25", - "access": null, - "description": "curry", - "lineNumber": 4 - }, - { - "__docId__": 244, - "kind": "testIt", - "name": "it26", - "testId": 26, - "memberof": "buildDocs/curry.spec.js~describe25", - "testDepth": 1, - "static": true, - "longname": "buildDocs/curry.spec.js~describe25.it26", - "access": null, - "description": "should curry the method with default arity", - "lineNumber": 5 - }, - { - "__docId__": 245, - "kind": "testIt", - "name": "it27", - "testId": 27, - "memberof": "buildDocs/curry.spec.js~describe25", - "testDepth": 1, - "static": true, - "longname": "buildDocs/curry.spec.js~describe25.it27", - "access": null, - "description": "should curry the method with fixed arity", - "lineNumber": 19 - }, - { - "__docId__": 246, - "kind": "testIt", - "name": "it28", - "testId": 28, - "memberof": "buildDocs/curry.spec.js~describe25", - "testDepth": 1, - "static": true, - "longname": "buildDocs/curry.spec.js~describe25.it28", - "access": null, - "description": "should retain the class context", - "lineNumber": 33 - }, - { - "__docId__": 247, - "kind": "testFile", - "name": "buildDocs/curryAll.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { CurryAll } from './curryAll';\ndescribe('curryAll', () => {\n it('should curry the method with default arity', () => {\n class MyClass {\n add(a, b) {\n return a + b;\n }\n }\n tslib_1.__decorate([\n CurryAll()\n ], MyClass.prototype, \"add\", null);\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10)).to.equal(15);\n });\n it('should curry the method with fixed arity', () => {\n class MyClass {\n add(a, b, c) {\n return a + b * c;\n }\n }\n tslib_1.__decorate([\n CurryAll(2)\n ], MyClass.prototype, \"add\", null);\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10, 2)).to.equal(25);\n });\n it('should not retain the class context', () => {\n class MyClass {\n add(a, b) {\n expect(this).to.equal(global);\n }\n }\n tslib_1.__decorate([\n CurryAll()\n ], MyClass.prototype, \"add\", null);\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n add5(10);\n });\n});\n", - "static": true, - "longname": "buildDocs/curryAll.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 248, - "kind": "testDescribe", - "name": "describe29", - "testId": 29, - "memberof": "buildDocs/curryAll.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/curryAll.spec.js~describe29", - "access": null, - "description": "curryAll", - "lineNumber": 4 - }, - { - "__docId__": 249, - "kind": "testIt", - "name": "it30", - "testId": 30, - "memberof": "buildDocs/curryAll.spec.js~describe29", - "testDepth": 1, - "static": true, - "longname": "buildDocs/curryAll.spec.js~describe29.it30", - "access": null, - "description": "should curry the method with default arity", - "lineNumber": 5 - }, - { - "__docId__": 250, - "kind": "testIt", - "name": "it31", - "testId": 31, - "memberof": "buildDocs/curryAll.spec.js~describe29", - "testDepth": 1, - "static": true, - "longname": "buildDocs/curryAll.spec.js~describe29.it31", - "access": null, - "description": "should curry the method with fixed arity", - "lineNumber": 19 - }, - { - "__docId__": 251, - "kind": "testIt", - "name": "it32", - "testId": 32, - "memberof": "buildDocs/curryAll.spec.js~describe29", - "testDepth": 1, - "static": true, - "longname": "buildDocs/curryAll.spec.js~describe29.it32", - "access": null, - "description": "should not retain the class context", - "lineNumber": 33 - }, - { - "__docId__": 252, - "kind": "testFile", - "name": "buildDocs/curryRight.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { CurryRight } from './curryRight';\ndescribe('curryRight', () => {\n it('should curry the method with default arity', () => {\n class MyClass {\n add(a, b) {\n return [a, b];\n }\n }\n tslib_1.__decorate([\n CurryRight()\n ], MyClass.prototype, \"add\", null);\n const myClass = new MyClass();\n const set5 = myClass.add(5);\n expect(set5(10)).to.eql([10, 5]);\n });\n it('should retain the class context', () => {\n class MyClass {\n constructor() {\n this.value = 'blorg';\n }\n add(a, b) {\n return [a, b, this.value];\n }\n }\n tslib_1.__decorate([\n CurryRight()\n ], MyClass.prototype, \"add\", null);\n const myClass = new MyClass();\n const set5 = myClass.add(5);\n expect(set5(10)).to.eql([10, 5, 'blorg']);\n });\n});\n", - "static": true, - "longname": "buildDocs/curryRight.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 253, - "kind": "testDescribe", - "name": "describe33", - "testId": 33, - "memberof": "buildDocs/curryRight.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/curryRight.spec.js~describe33", - "access": null, - "description": "curryRight", - "lineNumber": 4 - }, - { - "__docId__": 254, - "kind": "testIt", - "name": "it34", - "testId": 34, - "memberof": "buildDocs/curryRight.spec.js~describe33", - "testDepth": 1, - "static": true, - "longname": "buildDocs/curryRight.spec.js~describe33.it34", - "access": null, - "description": "should curry the method with default arity", - "lineNumber": 5 - }, - { - "__docId__": 255, - "kind": "testIt", - "name": "it35", - "testId": 35, - "memberof": "buildDocs/curryRight.spec.js~describe33", - "testDepth": 1, - "static": true, - "longname": "buildDocs/curryRight.spec.js~describe33.it35", - "access": null, - "description": "should retain the class context", - "lineNumber": 18 - }, - { - "__docId__": 256, - "kind": "testFile", - "name": "buildDocs/curryRightAll.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { CurryRightAll } from './curryRightAll';\ndescribe('curryRightAll', () => {\n it('should curry the method with default arity', () => {\n class MyClass {\n add(a, b) {\n return [a, b];\n }\n }\n tslib_1.__decorate([\n CurryRightAll()\n ], MyClass.prototype, \"add\", null);\n const myClass = new MyClass();\n const set5 = myClass.add(5);\n expect(set5(10)).to.eql([10, 5]);\n });\n});\n", - "static": true, - "longname": "buildDocs/curryRightAll.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 257, - "kind": "testDescribe", - "name": "describe36", - "testId": 36, - "memberof": "buildDocs/curryRightAll.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/curryRightAll.spec.js~describe36", - "access": null, - "description": "curryRightAll", - "lineNumber": 4 - }, - { - "__docId__": 258, - "kind": "testIt", - "name": "it37", - "testId": 37, - "memberof": "buildDocs/curryRightAll.spec.js~describe36", - "testDepth": 1, - "static": true, - "longname": "buildDocs/curryRightAll.spec.js~describe36.it37", - "access": null, - "description": "should curry the method with default arity", - "lineNumber": 5 - }, - { - "__docId__": 259, - "kind": "testFile", - "name": "buildDocs/debounce.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Debounce } from './debounce';\ndescribe('debounce', () => {\n it('should debounce the method', done => {\n let calls = 0;\n class MyClass {\n fn() {\n calls++;\n }\n }\n tslib_1.__decorate([\n Debounce(10)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n setTimeout(() => {\n expect(calls).to.equal(1);\n done();\n }, 11);\n });\n it('should debounce the property setter', done => {\n class MyClass {\n constructor() {\n this._value = 100;\n }\n set value(value) {\n this._value = value;\n }\n get value() {\n return this._value;\n }\n }\n tslib_1.__decorate([\n Debounce(10)\n ], MyClass.prototype, \"value\", null);\n const myClass = new MyClass();\n myClass.value = 5;\n myClass.value = 15;\n expect(myClass.value).to.equal(100);\n setTimeout(() => {\n expect(myClass.value).to.equal(15);\n done();\n }, 11);\n });\n it('should contain the flush and cancel methods', () => {\n class MyClass {\n fn() { }\n }\n tslib_1.__decorate([\n Debounce(10)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn.cancel).to.be.a('function');\n expect(myClass.fn.flush).to.be.a('function');\n });\n});\n", - "static": true, - "longname": "buildDocs/debounce.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 260, - "kind": "testDescribe", - "name": "describe38", - "testId": 38, - "memberof": "buildDocs/debounce.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/debounce.spec.js~describe38", - "access": null, - "description": "debounce", - "lineNumber": 4 - }, - { - "__docId__": 261, - "kind": "testIt", - "name": "it39", - "testId": 39, - "memberof": "buildDocs/debounce.spec.js~describe38", - "testDepth": 1, - "static": true, - "longname": "buildDocs/debounce.spec.js~describe38.it39", - "access": null, - "description": "should debounce the method", - "lineNumber": 5 - }, - { - "__docId__": 262, - "kind": "testIt", - "name": "it40", - "testId": 40, - "memberof": "buildDocs/debounce.spec.js~describe38", - "testDepth": 1, - "static": true, - "longname": "buildDocs/debounce.spec.js~describe38.it40", - "access": null, - "description": "should debounce the property setter", - "lineNumber": 26 - }, - { - "__docId__": 263, - "kind": "testIt", - "name": "it41", - "testId": 41, - "memberof": "buildDocs/debounce.spec.js~describe38", - "testDepth": 1, - "static": true, - "longname": "buildDocs/debounce.spec.js~describe38.it41", - "access": null, - "description": "should contain the flush and cancel methods", - "lineNumber": 50 - }, - { - "__docId__": 264, - "kind": "testFile", - "name": "buildDocs/debounceAll.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { DebounceAll } from './debounceAll';\ndescribe('debounceAll', () => {\n it('should debounce the method across instances', done => {\n let calls = 0;\n class MyClass {\n fn() {\n calls++;\n }\n }\n tslib_1.__decorate([\n DebounceAll(10)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n setTimeout(() => {\n expect(calls).to.equal(1);\n done();\n }, 20);\n });\n});\n", - "static": true, - "longname": "buildDocs/debounceAll.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 265, - "kind": "testDescribe", - "name": "describe42", - "testId": 42, - "memberof": "buildDocs/debounceAll.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/debounceAll.spec.js~describe42", - "access": null, - "description": "debounceAll", - "lineNumber": 4 - }, - { - "__docId__": 266, - "kind": "testIt", - "name": "it43", - "testId": 43, - "memberof": "buildDocs/debounceAll.spec.js~describe42", - "testDepth": 1, - "static": true, - "longname": "buildDocs/debounceAll.spec.js~describe42.it43", - "access": null, - "description": "should debounce the method across instances", - "lineNumber": 5 - }, - { - "__docId__": 267, - "kind": "testFile", - "name": "buildDocs/defer.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { spy } from 'sinon';\nimport { Defer } from './defer';\ndescribe('defer', () => {\n it('should defer the method', done => {\n let _spy = spy();\n class MyClass {\n fn(...args) {\n expect(this, 'context').to.equal(myClass);\n _spy(...args);\n }\n }\n tslib_1.__decorate([\n Defer('test')\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn(10);\n expect(_spy.called).to.be.false;\n setTimeout(() => {\n expect(_spy.callCount).to.equal(1);\n expect(_spy.getCalls()[0].args).to.eql([10, 'test']);\n done();\n }, 0);\n });\n it('should debounce the property setter', done => {\n class MyClass {\n constructor() {\n this._value = 100;\n }\n set value(value) {\n expect(this, 'context').to.equal(myClass);\n this._value = value;\n }\n get value() {\n return this._value;\n }\n }\n tslib_1.__decorate([\n Defer()\n ], MyClass.prototype, \"value\", null);\n const myClass = new MyClass();\n myClass.value = 5;\n myClass.value = 15;\n expect(myClass.value).to.equal(100);\n setTimeout(() => {\n expect(myClass.value).to.equal(15);\n done();\n }, 0);\n });\n});\n", - "static": true, - "longname": "buildDocs/defer.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 268, - "kind": "testDescribe", - "name": "describe44", - "testId": 44, - "memberof": "buildDocs/defer.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/defer.spec.js~describe44", - "access": null, - "description": "defer", - "lineNumber": 5 - }, - { - "__docId__": 269, - "kind": "testIt", - "name": "it45", - "testId": 45, - "memberof": "buildDocs/defer.spec.js~describe44", - "testDepth": 1, - "static": true, - "longname": "buildDocs/defer.spec.js~describe44.it45", - "access": null, - "description": "should defer the method", - "lineNumber": 6 - }, - { - "__docId__": 270, - "kind": "testIt", - "name": "it46", - "testId": 46, - "memberof": "buildDocs/defer.spec.js~describe44", - "testDepth": 1, - "static": true, - "longname": "buildDocs/defer.spec.js~describe44.it46", - "access": null, - "description": "should debounce the property setter", - "lineNumber": 26 - }, - { - "__docId__": 271, - "kind": "testFile", - "name": "buildDocs/delay.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { spy } from 'sinon';\nimport { Delay } from './delay';\ndescribe('delay', () => {\n it('should delay the method', done => {\n let _spy = spy();\n class MyClass {\n fn(...args) {\n expect(this, 'context').to.equal(myClass);\n _spy(...args);\n }\n }\n tslib_1.__decorate([\n Delay(15, 'test')\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn(10);\n expect(_spy.called).to.be.false;\n setTimeout(() => {\n expect(_spy.callCount).to.equal(1);\n expect(_spy.getCalls()[0].args).to.eql([10, 'test']);\n done();\n }, 16);\n });\n it('should debounce the property setter', done => {\n class MyClass {\n constructor() {\n this._value = 100;\n }\n set value(value) {\n expect(this, 'context').to.equal(myClass);\n this._value = value;\n }\n get value() {\n return this._value;\n }\n }\n tslib_1.__decorate([\n Delay(15)\n ], MyClass.prototype, \"value\", null);\n const myClass = new MyClass();\n myClass.value = 5;\n myClass.value = 15;\n expect(myClass.value).to.equal(100);\n setTimeout(() => {\n expect(myClass.value).to.equal(15);\n done();\n }, 15);\n });\n});\n", - "static": true, - "longname": "buildDocs/delay.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 272, - "kind": "testDescribe", - "name": "describe47", - "testId": 47, - "memberof": "buildDocs/delay.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/delay.spec.js~describe47", - "access": null, - "description": "delay", - "lineNumber": 5 - }, - { - "__docId__": 273, - "kind": "testIt", - "name": "it48", - "testId": 48, - "memberof": "buildDocs/delay.spec.js~describe47", - "testDepth": 1, - "static": true, - "longname": "buildDocs/delay.spec.js~describe47.it48", - "access": null, - "description": "should delay the method", - "lineNumber": 6 - }, - { - "__docId__": 274, - "kind": "testIt", - "name": "it49", - "testId": 49, - "memberof": "buildDocs/delay.spec.js~describe47", - "testDepth": 1, - "static": true, - "longname": "buildDocs/delay.spec.js~describe47.it49", - "access": null, - "description": "should debounce the property setter", - "lineNumber": 26 - }, - { - "__docId__": 275, - "kind": "testFile", - "name": "buildDocs/flip.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Flip } from './flip';\ndescribe('flip', () => {\n it('should flip the arguments of the function', () => {\n class MyClass {\n fn(a, b) {\n return [a, b];\n }\n }\n tslib_1.__decorate([\n Flip()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn(10, 20)).to.eql([20, 10]);\n });\n});\n", - "static": true, - "longname": "buildDocs/flip.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 276, - "kind": "testDescribe", - "name": "describe50", - "testId": 50, - "memberof": "buildDocs/flip.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/flip.spec.js~describe50", - "access": null, - "description": "flip", - "lineNumber": 4 - }, - { - "__docId__": 277, - "kind": "testIt", - "name": "it51", - "testId": 51, - "memberof": "buildDocs/flip.spec.js~describe50", - "testDepth": 1, - "static": true, - "longname": "buildDocs/flip.spec.js~describe50.it51", - "access": null, - "description": "should flip the arguments of the function", - "lineNumber": 5 - }, - { - "__docId__": 278, - "kind": "testFile", - "name": "buildDocs/flow.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Flow } from './flow';\ndescribe('flow', () => {\n it('should compose the functions', () => {\n class MyClass {\n constructor() {\n this.name = 'Avry';\n }\n fn(...args) {\n return args[0];\n }\n getName() {\n expect(this, 'context').to.equal(myClass);\n return this.name;\n }\n }\n tslib_1.__decorate([\n Flow('getName', (v) => v.toUpperCase())\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn()).to.equal('AVRY');\n });\n it('should compose and assign to the property', () => {\n class MyClass {\n constructor() {\n this.name = 'Avry';\n }\n getName() {\n expect(this, 'context').to.equal(myClass);\n return this.name;\n }\n }\n tslib_1.__decorate([\n Flow('getName', (v) => v.toUpperCase())\n ], MyClass.prototype, \"fn\", void 0);\n const myClass = new MyClass();\n expect(myClass.fn()).to.equal('AVRY');\n });\n});\n", - "static": true, - "longname": "buildDocs/flow.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 279, - "kind": "testDescribe", - "name": "describe52", - "testId": 52, - "memberof": "buildDocs/flow.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/flow.spec.js~describe52", - "access": null, - "description": "flow", - "lineNumber": 4 - }, - { - "__docId__": 280, - "kind": "testIt", - "name": "it53", - "testId": 53, - "memberof": "buildDocs/flow.spec.js~describe52", - "testDepth": 1, - "static": true, - "longname": "buildDocs/flow.spec.js~describe52.it53", - "access": null, - "description": "should compose the functions", - "lineNumber": 5 - }, - { - "__docId__": 281, - "kind": "testIt", - "name": "it54", - "testId": 54, - "memberof": "buildDocs/flow.spec.js~describe52", - "testDepth": 1, - "static": true, - "longname": "buildDocs/flow.spec.js~describe52.it54", - "access": null, - "description": "should compose and assign to the property", - "lineNumber": 24 - }, - { - "__docId__": 282, - "kind": "testFile", - "name": "buildDocs/flowRight.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { FlowRight } from './flowRight';\ndescribe('flowRight', () => {\n it('should compose the functions', () => {\n class MyClass {\n constructor() {\n this.name = 'Avry';\n }\n fn(...args) {\n return args[0];\n }\n getName() {\n expect(this, 'context').to.equal(myClass);\n return this.name;\n }\n }\n tslib_1.__decorate([\n FlowRight((v) => v.toUpperCase(), 'getName')\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn()).to.equal('AVRY');\n });\n it('should compose the property', () => {\n class MyClass {\n constructor() {\n this.name = 'Avry';\n }\n getName() {\n expect(this, 'context').to.equal(myClass);\n return this.name;\n }\n }\n tslib_1.__decorate([\n FlowRight((v) => v.toUpperCase(), 'getName')\n ], MyClass.prototype, \"fn\", void 0);\n const myClass = new MyClass();\n expect(myClass.fn()).to.equal('AVRY');\n });\n});\n", - "static": true, - "longname": "buildDocs/flowRight.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 283, - "kind": "testDescribe", - "name": "describe55", - "testId": 55, - "memberof": "buildDocs/flowRight.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/flowRight.spec.js~describe55", - "access": null, - "description": "flowRight", - "lineNumber": 4 - }, - { - "__docId__": 284, - "kind": "testIt", - "name": "it56", - "testId": 56, - "memberof": "buildDocs/flowRight.spec.js~describe55", - "testDepth": 1, - "static": true, - "longname": "buildDocs/flowRight.spec.js~describe55.it56", - "access": null, - "description": "should compose the functions", - "lineNumber": 5 - }, - { - "__docId__": 285, - "kind": "testIt", - "name": "it57", - "testId": 57, - "memberof": "buildDocs/flowRight.spec.js~describe55", - "testDepth": 1, - "static": true, - "longname": "buildDocs/flowRight.spec.js~describe55.it57", - "access": null, - "description": "should compose the property", - "lineNumber": 24 - }, - { - "__docId__": 286, - "kind": "testFile", - "name": "buildDocs/memoize.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { spy } from 'sinon';\nimport { Memoize } from './memoize';\ndescribe('memoize', () => {\n it('should memoize the function', () => {\n const _spy = spy();\n class MyClass {\n fn(n) {\n _spy(n);\n expect(this, 'context').to.equal(myClass);\n return n;\n }\n }\n tslib_1.__decorate([\n Memoize()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n expect(myClass.fn(1)).to.equal(1);\n expect(_spy.callCount).to.equal(1);\n myClass.fn(2);\n myClass.fn(2);\n expect(myClass.fn(2)).to.equal(2);\n expect(_spy.callCount).to.equal(2);\n });\n describe('with function resolver', () => {\n it('should resolve the key', () => {\n const _spy = spy();\n class MyClass {\n fn(item) {\n _spy();\n expect(this, 'context').to.equal(myClass);\n return item.value;\n }\n }\n tslib_1.__decorate([\n Memoize((item) => item.key)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn({ key: 'test', value: 10 });\n myClass.fn({ key: 'test', value: 20 });\n myClass.fn({ key: 'test', value: 30 });\n expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);\n expect(_spy.callCount).to.equal(1);\n myClass.fn({ key: 'test2', value: 30 });\n expect(myClass.fn({ key: 'test2', value: 50 })).to.equal(30);\n expect(_spy.callCount).to.equal(2);\n });\n });\n describe('with string resolver', () => {\n it('should resolve the key', () => {\n const _spy = spy();\n class MyClass {\n fn(item) {\n _spy();\n expect(this, 'context').to.equal(myClass);\n return item.value;\n }\n resolve(item) {\n expect(this, 'resolver context').to.equal(myClass);\n return item.key;\n }\n }\n tslib_1.__decorate([\n Memoize('resolve')\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn({ key: 'test', value: 10 });\n myClass.fn({ key: 'test', value: 20 });\n myClass.fn({ key: 'test', value: 30 });\n expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);\n expect(_spy.callCount).to.equal(1);\n myClass.fn({ key: 'test2', value: 30 });\n expect(myClass.fn({ key: 'test2', value: 50 })).to.equal(30);\n expect(_spy.callCount).to.equal(2);\n });\n });\n describe('with custom map type', () => {\n it('should create the map of type', () => {\n class MyClass {\n fn(item) {\n return item.value;\n }\n }\n tslib_1.__decorate([\n Memoize({ type: WeakMap })\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn.cache).to.be.an.instanceOf(WeakMap);\n });\n });\n describe('with custom cache', () => {\n it('should use the provided map', () => {\n const cache = new Map();\n class MyClass {\n fn(item) {\n return item.value;\n }\n }\n tslib_1.__decorate([\n Memoize({ cache })\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n expect(myClass.fn.cache).to.equal(cache);\n expect(myClass2.fn.cache).to.equal(cache);\n });\n });\n});\n", - "static": true, - "longname": "buildDocs/memoize.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 287, - "kind": "testDescribe", - "name": "describe58", - "testId": 58, - "memberof": "buildDocs/memoize.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58", - "access": null, - "description": "memoize", - "lineNumber": 5 - }, - { - "__docId__": 288, - "kind": "testIt", - "name": "it59", - "testId": 59, - "memberof": "buildDocs/memoize.spec.js~describe58", - "testDepth": 1, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58.it59", - "access": null, - "description": "should memoize the function", - "lineNumber": 6 - }, - { - "__docId__": 289, - "kind": "testDescribe", - "name": "describe60", - "testId": 60, - "memberof": "buildDocs/memoize.spec.js~describe58", - "testDepth": 1, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58.describe60", - "access": null, - "description": "with function resolver", - "lineNumber": 31 - }, - { - "__docId__": 290, - "kind": "testIt", - "name": "it61", - "testId": 61, - "memberof": "buildDocs/memoize.spec.js~describe58.describe60", - "testDepth": 2, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58.describe60.it61", - "access": null, - "description": "should resolve the key", - "lineNumber": 32 - }, - { - "__docId__": 291, - "kind": "testDescribe", - "name": "describe62", - "testId": 62, - "memberof": "buildDocs/memoize.spec.js~describe58", - "testDepth": 1, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58.describe62", - "access": null, - "description": "with string resolver", - "lineNumber": 55 - }, - { - "__docId__": 292, - "kind": "testIt", - "name": "it63", - "testId": 63, - "memberof": "buildDocs/memoize.spec.js~describe58.describe62", - "testDepth": 2, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58.describe62.it63", - "access": null, - "description": "should resolve the key", - "lineNumber": 56 - }, - { - "__docId__": 293, - "kind": "testDescribe", - "name": "describe64", - "testId": 64, - "memberof": "buildDocs/memoize.spec.js~describe58", - "testDepth": 1, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58.describe64", - "access": null, - "description": "with custom map type", - "lineNumber": 83 - }, - { - "__docId__": 294, - "kind": "testIt", - "name": "it65", - "testId": 65, - "memberof": "buildDocs/memoize.spec.js~describe58.describe64", - "testDepth": 2, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58.describe64.it65", - "access": null, - "description": "should create the map of type", - "lineNumber": 84 - }, - { - "__docId__": 295, - "kind": "testDescribe", - "name": "describe66", - "testId": 66, - "memberof": "buildDocs/memoize.spec.js~describe58", - "testDepth": 1, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58.describe66", - "access": null, - "description": "with custom cache", - "lineNumber": 97 - }, - { - "__docId__": 296, - "kind": "testIt", - "name": "it67", - "testId": 67, - "memberof": "buildDocs/memoize.spec.js~describe58.describe66", - "testDepth": 2, - "static": true, - "longname": "buildDocs/memoize.spec.js~describe58.describe66.it67", - "access": null, - "description": "should use the provided map", - "lineNumber": 98 - }, - { - "__docId__": 297, - "kind": "testFile", - "name": "buildDocs/memoizeAll.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { spy } from 'sinon';\nimport { MemoizeAll } from './memoizeAll';\ndescribe('memoizeAll', () => {\n it('should memoize the function', () => {\n const _spy = spy();\n class MyClass {\n fn(n) {\n _spy(n);\n expect(this, 'context').to.equal(myClass);\n return n;\n }\n }\n tslib_1.__decorate([\n MemoizeAll()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n myClass2.fn(1);\n myClass2.fn(1);\n myClass2.fn(1);\n expect(_spy.callCount).to.equal(1);\n });\n describe('with function resolver', () => {\n it('should resolve the key', () => {\n const _spy = spy();\n class MyClass {\n fn(item) {\n _spy();\n expect(this, 'context').to.equal(myClass);\n return item.value;\n }\n }\n tslib_1.__decorate([\n MemoizeAll((item) => item.key)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n myClass.fn({ key: 'test', value: 10 });\n myClass.fn({ key: 'test', value: 20 });\n myClass.fn({ key: 'test', value: 30 });\n myClass2.fn({ key: 'test', value: 40 });\n myClass2.fn({ key: 'test', value: 50 });\n expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);\n expect(_spy.callCount).to.equal(1);\n });\n });\n});\n", - "static": true, - "longname": "buildDocs/memoizeAll.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 298, - "kind": "testDescribe", - "name": "describe68", - "testId": 68, - "memberof": "buildDocs/memoizeAll.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/memoizeAll.spec.js~describe68", - "access": null, - "description": "memoizeAll", - "lineNumber": 5 - }, - { - "__docId__": 299, - "kind": "testIt", - "name": "it69", - "testId": 69, - "memberof": "buildDocs/memoizeAll.spec.js~describe68", - "testDepth": 1, - "static": true, - "longname": "buildDocs/memoizeAll.spec.js~describe68.it69", - "access": null, - "description": "should memoize the function", - "lineNumber": 6 - }, - { - "__docId__": 300, - "kind": "testDescribe", - "name": "describe70", - "testId": 70, - "memberof": "buildDocs/memoizeAll.spec.js~describe68", - "testDepth": 1, - "static": true, - "longname": "buildDocs/memoizeAll.spec.js~describe68.describe70", - "access": null, - "description": "with function resolver", - "lineNumber": 28 - }, - { - "__docId__": 301, - "kind": "testIt", - "name": "it71", - "testId": 71, - "memberof": "buildDocs/memoizeAll.spec.js~describe68.describe70", - "testDepth": 2, - "static": true, - "longname": "buildDocs/memoizeAll.spec.js~describe68.describe70.it71", - "access": null, - "description": "should resolve the key", - "lineNumber": 29 - }, - { - "__docId__": 302, - "kind": "testFile", - "name": "buildDocs/mixin.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Mixin } from './mixin';\ndescribe('mixin', () => {\n it('should mixin the object', () => {\n const myApi = {\n fn2() { }\n };\n let MyClass = class MyClass {\n fn() { }\n };\n MyClass = tslib_1.__decorate([\n Mixin(myApi)\n ], MyClass);\n const myClass = new MyClass();\n expect(myClass.fn2).to.be.a('function');\n expect(MyClass.prototype.fn2).to.be.a('function');\n });\n});\n", - "static": true, - "longname": "buildDocs/mixin.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 303, - "kind": "testDescribe", - "name": "describe72", - "testId": 72, - "memberof": "buildDocs/mixin.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/mixin.spec.js~describe72", - "access": null, - "description": "mixin", - "lineNumber": 4 - }, - { - "__docId__": 304, - "kind": "testIt", - "name": "it73", - "testId": 73, - "memberof": "buildDocs/mixin.spec.js~describe72", - "testDepth": 1, - "static": true, - "longname": "buildDocs/mixin.spec.js~describe72.it73", - "access": null, - "description": "should mixin the object", - "lineNumber": 5 - }, - { - "__docId__": 305, - "kind": "testFile", - "name": "buildDocs/negate.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Negate } from './negate';\ndescribe('negate', () => {\n it('should inverse the result of the function', () => {\n class MyClass {\n fn() {\n return true;\n }\n }\n tslib_1.__decorate([\n Negate()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn()).to.be.false;\n });\n});\n", - "static": true, - "longname": "buildDocs/negate.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 306, - "kind": "testDescribe", - "name": "describe74", - "testId": 74, - "memberof": "buildDocs/negate.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/negate.spec.js~describe74", - "access": null, - "description": "negate", - "lineNumber": 4 - }, - { - "__docId__": 307, - "kind": "testIt", - "name": "it75", - "testId": 75, - "memberof": "buildDocs/negate.spec.js~describe74", - "testDepth": 1, - "static": true, - "longname": "buildDocs/negate.spec.js~describe74.it75", - "access": null, - "description": "should inverse the result of the function", - "lineNumber": 5 - }, - { - "__docId__": 308, - "kind": "testFile", - "name": "buildDocs/once.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Once } from './once';\ndescribe('once', () => {\n it('should invoke the method only once', () => {\n let calls = 0;\n class MyClass {\n fn() {\n calls++;\n }\n }\n tslib_1.__decorate([\n Once()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n expect(calls, 'single class').to.equal(1);\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n expect(calls, 'multiple class').to.equal(2);\n });\n});\n", - "static": true, - "longname": "buildDocs/once.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 309, - "kind": "testDescribe", - "name": "describe76", - "testId": 76, - "memberof": "buildDocs/once.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/once.spec.js~describe76", - "access": null, - "description": "once", - "lineNumber": 4 - }, - { - "__docId__": 310, - "kind": "testIt", - "name": "it77", - "testId": 77, - "memberof": "buildDocs/once.spec.js~describe76", - "testDepth": 1, - "static": true, - "longname": "buildDocs/once.spec.js~describe76.it77", - "access": null, - "description": "should invoke the method only once", - "lineNumber": 5 - }, - { - "__docId__": 311, - "kind": "testFile", - "name": "buildDocs/overArgs.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { OverArgs } from './overArgs';\nconst add = (n) => (v) => v + n;\ndescribe('overArgs', () => {\n it('should transform each argument', () => {\n class MyClass {\n fn(a, b) {\n return [a, b];\n }\n }\n tslib_1.__decorate([\n OverArgs(add(10), add(5))\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn(5, 50)).to.eql([15, 55]);\n });\n});\n", - "static": true, - "longname": "buildDocs/overArgs.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 312, - "kind": "testDescribe", - "name": "describe78", - "testId": 78, - "memberof": "buildDocs/overArgs.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/overArgs.spec.js~describe78", - "access": null, - "description": "overArgs", - "lineNumber": 5 - }, - { - "__docId__": 313, - "kind": "testIt", - "name": "it79", - "testId": 79, - "memberof": "buildDocs/overArgs.spec.js~describe78", - "testDepth": 1, - "static": true, - "longname": "buildDocs/overArgs.spec.js~describe78.it79", - "access": null, - "description": "should transform each argument", - "lineNumber": 6 - }, - { - "__docId__": 314, - "kind": "testFile", - "name": "buildDocs/partial.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Partial } from './partial';\ndescribe('partial', () => {\n it('should create a partially applied function', () => {\n class MyClass {\n constructor() {\n this.lastName = 'Sojka';\n }\n fn(name) {\n return `${name} ${this.lastName}`;\n }\n }\n tslib_1.__decorate([\n Partial('fn', 'Avry')\n ], MyClass.prototype, \"fn2\", void 0);\n const myClass = new MyClass();\n expect(myClass.fn2).to.be.a('function');\n expect(myClass.fn2()).to.equal('Avry Sojka');\n });\n});\n", - "static": true, - "longname": "buildDocs/partial.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 315, - "kind": "testDescribe", - "name": "describe80", - "testId": 80, - "memberof": "buildDocs/partial.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/partial.spec.js~describe80", - "access": null, - "description": "partial", - "lineNumber": 4 - }, - { - "__docId__": 316, - "kind": "testIt", - "name": "it81", - "testId": 81, - "memberof": "buildDocs/partial.spec.js~describe80", - "testDepth": 1, - "static": true, - "longname": "buildDocs/partial.spec.js~describe80.it81", - "access": null, - "description": "should create a partially applied function", - "lineNumber": 5 - }, - { - "__docId__": 317, - "kind": "testFile", - "name": "buildDocs/partialRight.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { PartialRight } from './partialRight';\ndescribe('partialRight', () => {\n it('should create a partially applied function', () => {\n class MyClass {\n constructor() {\n this.firstName = 'Avry';\n }\n fn(name) {\n return `${this.firstName} ${name}`;\n }\n }\n tslib_1.__decorate([\n PartialRight('fn', 'Sojka')\n ], MyClass.prototype, \"fn2\", void 0);\n const myClass = new MyClass();\n expect(myClass.fn2).to.be.a('function');\n expect(myClass.fn2()).to.equal('Avry Sojka');\n });\n});\n", - "static": true, - "longname": "buildDocs/partialRight.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 318, - "kind": "testDescribe", - "name": "describe82", - "testId": 82, - "memberof": "buildDocs/partialRight.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/partialRight.spec.js~describe82", - "access": null, - "description": "partialRight", - "lineNumber": 4 - }, - { - "__docId__": 319, - "kind": "testIt", - "name": "it83", - "testId": 83, - "memberof": "buildDocs/partialRight.spec.js~describe82", - "testDepth": 1, - "static": true, - "longname": "buildDocs/partialRight.spec.js~describe82.it83", - "access": null, - "description": "should create a partially applied function", - "lineNumber": 5 - }, - { - "__docId__": 320, - "kind": "testFile", - "name": "buildDocs/rearg.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Rearg } from './rearg';\ndescribe('rearg', () => {\n it('should change the order of arguments', () => {\n class MyClass {\n fn(a, b, c) {\n return [a, b, c];\n }\n }\n tslib_1.__decorate([\n Rearg(2, 1, 0)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn(1, 2, 3)).to.eql([3, 2, 1]);\n });\n});\n", - "static": true, - "longname": "buildDocs/rearg.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 321, - "kind": "testDescribe", - "name": "describe84", - "testId": 84, - "memberof": "buildDocs/rearg.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/rearg.spec.js~describe84", - "access": null, - "description": "rearg", - "lineNumber": 4 - }, - { - "__docId__": 322, - "kind": "testIt", - "name": "it85", - "testId": 85, - "memberof": "buildDocs/rearg.spec.js~describe84", - "testDepth": 1, - "static": true, - "longname": "buildDocs/rearg.spec.js~describe84.it85", - "access": null, - "description": "should change the order of arguments", - "lineNumber": 5 - }, - { - "__docId__": 323, - "kind": "testFile", - "name": "buildDocs/rest.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Rest } from './rest';\ndescribe('rest', () => {\n it('should change the order of arguments', () => {\n class MyClass {\n fn(...args) {\n expect(args.length).to.equal(2);\n expect(args[0]).to.equal(1);\n expect(args[1]).to.eql([2, 3, 4]);\n }\n }\n tslib_1.__decorate([\n Rest(1)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn(1, 2, 3, 4);\n });\n});\n", - "static": true, - "longname": "buildDocs/rest.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 324, - "kind": "testDescribe", - "name": "describe86", - "testId": 86, - "memberof": "buildDocs/rest.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/rest.spec.js~describe86", - "access": null, - "description": "rest", - "lineNumber": 4 - }, - { - "__docId__": 325, - "kind": "testIt", - "name": "it87", - "testId": 87, - "memberof": "buildDocs/rest.spec.js~describe86", - "testDepth": 1, - "static": true, - "longname": "buildDocs/rest.spec.js~describe86.it87", - "access": null, - "description": "should change the order of arguments", - "lineNumber": 5 - }, - { - "__docId__": 326, - "kind": "testFile", - "name": "buildDocs/spread.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Spread } from './spread';\ndescribe('spread', () => {\n it('should spread the arguments', () => {\n class MyClass {\n fn(...args) {\n expect(args.length).to.equal(4);\n expect(args).to.eql([1, 2, 3, 4]);\n }\n }\n tslib_1.__decorate([\n Spread()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn([1, 2, 3, 4]);\n });\n});\n", - "static": true, - "longname": "buildDocs/spread.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 327, - "kind": "testDescribe", - "name": "describe88", - "testId": 88, - "memberof": "buildDocs/spread.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/spread.spec.js~describe88", - "access": null, - "description": "spread", - "lineNumber": 4 - }, - { - "__docId__": 328, - "kind": "testIt", - "name": "it89", - "testId": 89, - "memberof": "buildDocs/spread.spec.js~describe88", - "testDepth": 1, - "static": true, - "longname": "buildDocs/spread.spec.js~describe88.it89", - "access": null, - "description": "should spread the arguments", - "lineNumber": 5 - }, - { - "__docId__": 329, - "kind": "testFile", - "name": "buildDocs/tap.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Tap } from './tap';\ndescribe('tap', () => {\n it('should return the first argument', () => {\n class MyClass {\n fn(n) {\n return 10;\n }\n }\n tslib_1.__decorate([\n Tap()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn(50)).to.equal(50);\n });\n});\n", - "static": true, - "longname": "buildDocs/tap.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 330, - "kind": "testDescribe", - "name": "describe90", - "testId": 90, - "memberof": "buildDocs/tap.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/tap.spec.js~describe90", - "access": null, - "description": "tap", - "lineNumber": 4 - }, - { - "__docId__": 331, - "kind": "testIt", - "name": "it91", - "testId": 91, - "memberof": "buildDocs/tap.spec.js~describe90", - "testDepth": 1, - "static": true, - "longname": "buildDocs/tap.spec.js~describe90.it91", - "access": null, - "description": "should return the first argument", - "lineNumber": 5 - }, - { - "__docId__": 332, - "kind": "testFile", - "name": "buildDocs/throttle.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { spy } from 'sinon';\nimport { Throttle, ThrottleSetter, ThrottleGetter } from './throttle';\ndescribe('throttle', () => {\n it('should throttle the method', done => {\n let _spy = spy();\n class MyClass {\n fn(n) {\n _spy();\n }\n }\n tslib_1.__decorate([\n Throttle(10)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn(1);\n myClass.fn(2);\n setTimeout(() => myClass.fn(3), 1);\n setTimeout(() => myClass.fn(4), 2);\n setTimeout(() => {\n expect(_spy.callCount).to.equal(2);\n done();\n }, 20);\n });\n it('should debounce the property setter', done => {\n class MyClass {\n constructor() {\n this._value = 100;\n }\n set value(value) {\n this._value = value;\n }\n get value() {\n return this._value;\n }\n }\n tslib_1.__decorate([\n ThrottleSetter(10)\n ], MyClass.prototype, \"value\", null);\n const myClass = new MyClass();\n myClass.value = 5;\n myClass.value = 15;\n setTimeout(() => myClass.value = 20, 5);\n expect(myClass.value).to.equal(5);\n setTimeout(() => {\n expect(myClass.value).to.equal(20);\n done();\n }, 11);\n });\n it('should debounce the property getter', done => {\n class MyClass {\n constructor() {\n this._value = 0;\n }\n get value() {\n return ++this._value;\n }\n }\n tslib_1.__decorate([\n ThrottleGetter(10)\n ], MyClass.prototype, \"value\", null);\n const myClass = new MyClass();\n expect(myClass.value).to.equal(1);\n expect(myClass.value).to.equal(1);\n setTimeout(() => expect(myClass.value).to.equal(1), 5);\n setTimeout(() => {\n expect(myClass.value).to.equal(2);\n done();\n }, 11);\n });\n it('should contain the cancel and flush methods', () => {\n class MyClass {\n fn() { }\n }\n tslib_1.__decorate([\n Throttle(10)\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n expect(myClass.fn.cancel).to.be.a('function');\n expect(myClass.fn.flush).to.be.a('function');\n });\n});\n", - "static": true, - "longname": "buildDocs/throttle.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 333, - "kind": "testDescribe", - "name": "describe92", - "testId": 92, - "memberof": "buildDocs/throttle.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/throttle.spec.js~describe92", - "access": null, - "description": "throttle", - "lineNumber": 5 - }, - { - "__docId__": 334, - "kind": "testIt", - "name": "it93", - "testId": 93, - "memberof": "buildDocs/throttle.spec.js~describe92", - "testDepth": 1, - "static": true, - "longname": "buildDocs/throttle.spec.js~describe92.it93", - "access": null, - "description": "should throttle the method", - "lineNumber": 6 - }, - { - "__docId__": 335, - "kind": "testIt", - "name": "it94", - "testId": 94, - "memberof": "buildDocs/throttle.spec.js~describe92", - "testDepth": 1, - "static": true, - "longname": "buildDocs/throttle.spec.js~describe92.it94", - "access": null, - "description": "should debounce the property setter", - "lineNumber": 26 - }, - { - "__docId__": 336, - "kind": "testIt", - "name": "it95", - "testId": 95, - "memberof": "buildDocs/throttle.spec.js~describe92", - "testDepth": 1, - "static": true, - "longname": "buildDocs/throttle.spec.js~describe92.it95", - "access": null, - "description": "should debounce the property getter", - "lineNumber": 51 - }, - { - "__docId__": 337, - "kind": "testIt", - "name": "it96", - "testId": 96, - "memberof": "buildDocs/throttle.spec.js~describe92", - "testDepth": 1, - "static": true, - "longname": "buildDocs/throttle.spec.js~describe92.it96", - "access": null, - "description": "should contain the cancel and flush methods", - "lineNumber": 72 - }, - { - "__docId__": 338, - "kind": "testFile", - "name": "buildDocs/unary.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Unary } from './unary';\ndescribe('unary', () => {\n it('should only invoke with one argument', () => {\n class MyClass {\n fn(...args) {\n expect(args.length).to.equal(1);\n }\n }\n tslib_1.__decorate([\n Unary()\n ], MyClass.prototype, \"fn\", null);\n const myClass = new MyClass();\n myClass.fn(1, 2, 3, 4);\n });\n});\n", - "static": true, - "longname": "buildDocs/unary.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 339, - "kind": "testDescribe", - "name": "describe97", - "testId": 97, - "memberof": "buildDocs/unary.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/unary.spec.js~describe97", - "access": null, - "description": "unary", - "lineNumber": 4 - }, - { - "__docId__": 340, - "kind": "testIt", - "name": "it98", - "testId": 98, - "memberof": "buildDocs/unary.spec.js~describe97", - "testDepth": 1, - "static": true, - "longname": "buildDocs/unary.spec.js~describe97.it98", - "access": null, - "description": "should only invoke with one argument", - "lineNumber": 5 - }, - { - "__docId__": 341, - "kind": "testFile", - "name": "buildDocs/wrap.spec.js", - "content": "import * as tslib_1 from \"tslib\";\nimport { expect } from 'chai';\nimport { Wrap } from './wrap';\ndescribe('wrap', () => {\n it('should wrap the function', () => {\n class MyClass {\n fn2(fn, arg) {\n return fn(arg);\n }\n fn(n) {\n return n;\n }\n }\n tslib_1.__decorate([\n Wrap('fn')\n ], MyClass.prototype, \"fn2\", null);\n const myClass = new MyClass();\n expect(myClass.fn2(50)).to.equal(50);\n });\n});\n", - "static": true, - "longname": "buildDocs/wrap.spec.js", - "access": null, - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 342, - "kind": "testDescribe", - "name": "describe99", - "testId": 99, - "memberof": "buildDocs/wrap.spec.js", - "testDepth": 0, - "static": true, - "longname": "buildDocs/wrap.spec.js~describe99", - "access": null, - "description": "wrap", - "lineNumber": 4 - }, - { - "__docId__": 343, - "kind": "testIt", - "name": "it100", - "testId": 100, - "memberof": "buildDocs/wrap.spec.js~describe99", - "testDepth": 1, - "static": true, - "longname": "buildDocs/wrap.spec.js~describe99.it100", - "access": null, - "description": "should wrap the function", - "lineNumber": 5 - } -] \ No newline at end of file diff --git a/docs/file/buildDocs/after.js.html b/docs/file/buildDocs/after.js.html deleted file mode 100644 index 95a86d9..0000000 --- a/docs/file/buildDocs/after.js.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - buildDocs/after.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/after.js

-
import { after } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PostValueApplicator } from './applicators';
-/**
- * The opposite of Before. This method creates a function that invokes once it's called n or more times.
- * @param {number} n The number of calls before the function is invoked.
- * @example
- *
- * class MyClass {
- *   @After(2)
- *   fn() {
- *     return 10;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.fn(); // => undefined
- * myClass.fn(); // => 10
- */
-export const After = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(after, new PostValueApplicator(), { setter: true }));
-export { After as after };
-export default After;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/afterAll.js.html b/docs/file/buildDocs/afterAll.js.html deleted file mode 100644 index 7c03d76..0000000 --- a/docs/file/buildDocs/afterAll.js.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - buildDocs/afterAll.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/afterAll.js

-
import { after } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PostValueApplicator } from './applicators';
-/**
- * The opposite of Before. This method creates a function that invokes once it's called n or more times.
- * This spans across all instances of the class instead of the instance.
- * @param {number} n The number of calls before the function is invoked.
- * @example
- *
- * class MyClass {
- *   @AfterAll(2)
- *   fn() {
- *     return 10;
- *   }
- * }
- *
- * const myClass = new MyClass();
- * const myClass2 = new MyClass();
- *
- * myClass.fn(); // => undefined
- * myClass.fn(); // => 10
-
- * myClass2.fn(); // => 10
- * myClass2.fn(); // => 10
- */
-export const AfterAll = DecoratorFactory.createDecorator(new DecoratorConfig(after, new PostValueApplicator(), { setter: true }));
-export { AfterAll as afterAll };
-export default AfterAll;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/Applicator.js.html b/docs/file/buildDocs/applicators/Applicator.js.html deleted file mode 100644 index 91591ab..0000000 --- a/docs/file/buildDocs/applicators/Applicator.js.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - buildDocs/applicators/Applicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/Applicator.js

-
export class Applicator {
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/BindApplicator.js.html b/docs/file/buildDocs/applicators/BindApplicator.js.html deleted file mode 100644 index 78fe2b1..0000000 --- a/docs/file/buildDocs/applicators/BindApplicator.js.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - buildDocs/applicators/BindApplicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/BindApplicator.js

-
import { Applicator } from './Applicator';
-export class BindApplicator extends Applicator {
-    apply({ value, config: { execute }, args, instance, target }) {
-        if (!instance) {
-            return value;
-        }
-        return execute(value, instance, ...args);
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/ComposeApplicator.js.html b/docs/file/buildDocs/applicators/ComposeApplicator.js.html deleted file mode 100644 index 5b5a0ff..0000000 --- a/docs/file/buildDocs/applicators/ComposeApplicator.js.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - buildDocs/applicators/ComposeApplicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/ComposeApplicator.js

-
import { identity } from 'lodash';
-import { Applicator } from './Applicator';
-import { resolveFunction } from '../utils';
-export class ComposeApplicator extends Applicator {
-    constructor(_config = {}) {
-        super();
-        this._config = _config;
-    }
-    get post() {
-        return this._config.post === true;
-    }
-    apply({ config: { execute }, value = identity, args, target }) {
-        const applicator = this;
-        return function (...invokeArgs) {
-            const _args = [
-                ...args.map(method => resolveFunction(method, this, target))
-            ];
-            if (applicator.post) {
-                _args.push(value);
-            }
-            else {
-                _args.unshift(value);
-            }
-            return execute(..._args).apply(this, invokeArgs);
-        };
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/InvokeApplicator.js.html b/docs/file/buildDocs/applicators/InvokeApplicator.js.html deleted file mode 100644 index 2424f99..0000000 --- a/docs/file/buildDocs/applicators/InvokeApplicator.js.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - buildDocs/applicators/InvokeApplicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/InvokeApplicator.js

-
import { Applicator } from './Applicator';
-export class InvokeApplicator extends Applicator {
-    apply({ args, target, config: { execute }, value }) {
-        return function (...invokeArgs) {
-            return execute(value.bind(this), ...invokeArgs, ...args);
-        };
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/MemoizeApplicator.js.html b/docs/file/buildDocs/applicators/MemoizeApplicator.js.html deleted file mode 100644 index 964072e..0000000 --- a/docs/file/buildDocs/applicators/MemoizeApplicator.js.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - buildDocs/applicators/MemoizeApplicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/MemoizeApplicator.js

-
import { isFunction, isObject } from 'lodash';
-import { Applicator } from './Applicator';
-import { resolveFunction } from '../utils';
-export class MemoizeApplicator extends Applicator {
-    apply({ value, instance, config: { execute }, args, target }) {
-        let resolver = resolveFunction(isFunction(args[0]) ? args[0] : isObject(args[0]) ? args[0].resolver : args[0], instance, target, false);
-        if (resolver && instance) {
-            resolver = resolver.bind(instance);
-        }
-        const memoized = resolver ? execute(value, resolver) : execute(value);
-        if (isObject(args[0])) {
-            const { cache, type } = args[0];
-            if (cache) {
-                memoized.cache = cache;
-            }
-            else if (isFunction(type)) {
-                memoized.cache = new type();
-            }
-        }
-        return memoized;
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/PartialApplicator.js.html b/docs/file/buildDocs/applicators/PartialApplicator.js.html deleted file mode 100644 index e13e903..0000000 --- a/docs/file/buildDocs/applicators/PartialApplicator.js.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - buildDocs/applicators/PartialApplicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/PartialApplicator.js

-
import { Applicator } from './Applicator';
-import { resolveFunction } from '../utils';
-export class PartialApplicator extends Applicator {
-    apply({ args, target, config: { execute } }) {
-        return function (...invokeArgs) {
-            return execute(resolveFunction(args[0], this, target), ...args.slice(1)).apply(this, invokeArgs);
-        };
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/PartialedApplicator.js.html b/docs/file/buildDocs/applicators/PartialedApplicator.js.html deleted file mode 100644 index 0ea592b..0000000 --- a/docs/file/buildDocs/applicators/PartialedApplicator.js.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - buildDocs/applicators/PartialedApplicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/PartialedApplicator.js

-
import { partial } from 'lodash';
-import { Applicator } from './Applicator';
-export class PartialedApplicator extends Applicator {
-    apply({ config: { execute }, value, args }) {
-        return partial(execute, value, ...args);
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/PostValueApplicator.js.html b/docs/file/buildDocs/applicators/PostValueApplicator.js.html deleted file mode 100644 index a36519f..0000000 --- a/docs/file/buildDocs/applicators/PostValueApplicator.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/applicators/PostValueApplicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/PostValueApplicator.js

-
import { Applicator } from './Applicator';
-export class PostValueApplicator extends Applicator {
-    apply({ config: { execute, bound }, args, value }) {
-        return execute(...args, value);
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/PreValueApplicator.js.html b/docs/file/buildDocs/applicators/PreValueApplicator.js.html deleted file mode 100644 index 3b53ea2..0000000 --- a/docs/file/buildDocs/applicators/PreValueApplicator.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/applicators/PreValueApplicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/PreValueApplicator.js

-
import { Applicator } from './Applicator';
-export class PreValueApplicator extends Applicator {
-    apply({ value, config: { execute }, args }) {
-        return execute(value, ...args);
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/WrapApplicator.js.html b/docs/file/buildDocs/applicators/WrapApplicator.js.html deleted file mode 100644 index 6092143..0000000 --- a/docs/file/buildDocs/applicators/WrapApplicator.js.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - buildDocs/applicators/WrapApplicator.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/WrapApplicator.js

-
import { Applicator } from './Applicator';
-import { resolveFunction } from '../utils';
-export class WrapApplicator extends Applicator {
-    apply({ args, config: { execute }, target, value }) {
-        return function (...invokeArgs) {
-            return execute(resolveFunction(args[0], this, target), value).apply(this, invokeArgs);
-        };
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/applicators/index.js.html b/docs/file/buildDocs/applicators/index.js.html deleted file mode 100644 index 76e7b3d..0000000 --- a/docs/file/buildDocs/applicators/index.js.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - buildDocs/applicators/index.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/applicators/index.js

-
export * from './Applicator';
-export * from './ComposeApplicator';
-export * from './PartialApplicator';
-export * from './PartialedApplicator';
-export * from './PostValueApplicator';
-export * from './PreValueApplicator';
-export * from './WrapApplicator';
-export * from './BindApplicator';
-export * from './InvokeApplicator';
-export * from './MemoizeApplicator';
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/ary.js.html b/docs/file/buildDocs/ary.js.html deleted file mode 100644 index 4bd7b07..0000000 --- a/docs/file/buildDocs/ary.js.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - buildDocs/ary.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/ary.js

-
import { ary } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-/**
- * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.
- * @param {number} n The arity cap.
- * @example
- *
- * class MyClass {
- *   @Ary(1)
- *   fn(...args) {
- *     return args;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.fn(1, 2, 3, 4); // => [ 1 ]
- */
-export const Ary = DecoratorFactory.createDecorator(new DecoratorConfig(ary, new PreValueApplicator()));
-export { Ary as ary };
-export default Ary;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/attempt.js.html b/docs/file/buildDocs/attempt.js.html deleted file mode 100644 index 27f9d1c..0000000 --- a/docs/file/buildDocs/attempt.js.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - buildDocs/attempt.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/attempt.js

-
import { attempt, partial } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-const _attempt = (fn) => partial(attempt, fn);
-/**
- * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.
- * @param {...*} [args] The arguments to invoke func with.
- * @example
- *
- * class MyClass {
- *   @Attempt()
- *   fn(value) {
- *     if (typeof value === 'number') {
- *       return value
- *     }
- *
- *     throw new Error();
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.fn(10); // => 10;
- * myClass.fn(null); // => Error
- */
-export const Attempt = DecoratorFactory.createDecorator(new DecoratorConfig(_attempt, new PreValueApplicator()));
-export { Attempt as attempt };
-export default Attempt;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/before.js.html b/docs/file/buildDocs/before.js.html deleted file mode 100644 index 10228a3..0000000 --- a/docs/file/buildDocs/before.js.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - buildDocs/before.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/before.js

-
import { before } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PostValueApplicator } from './applicators';
-/**
- * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.
- * Subsequent calls to the created function return the result of the last func invocation.
- * @param {number} n The number of calls at whichc func is no longer invoked.
- * @example
- *
- * let calls = 0;
- *
- * class MyClass {
- *   @Before(3)
- *   fn() {
- *     calls++;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.fn();
- * myClass.fn();
- * myClass.fn();
- * myClass.fn();
- *
- * calls === 2; // => true
- */
-export const Before = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(before, new PostValueApplicator(), { setter: true }));
-export { Before as before };
-export default Before;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/beforeAll.js.html b/docs/file/buildDocs/beforeAll.js.html deleted file mode 100644 index b4adc1d..0000000 --- a/docs/file/buildDocs/beforeAll.js.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - buildDocs/beforeAll.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/beforeAll.js

-
import { before } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PostValueApplicator } from './applicators';
-/**
- * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.
- * Subsequent calls to the created function return the result of the last func invocation.
- * @param {number} n The number of calls at whichc func is no longer invoked.
- * @example
- *
- * let calls = 0;
- *
- * class MyClass {
- *   @BeforeAll(3)
- *   fn() {
- *     calls++;
- *   }
- * }
- *
- * const myClass = new MyClass();
- * const myClass2 = new MyClass();
- *
- * myClass.fn();
- * myClass.fn();
- * myClass.fn();
- * myClass.fn();
-
- * myClass2.fn();
- *
- * calls === 3; // => true
- */
-export const BeforeAll = DecoratorFactory.createDecorator(new DecoratorConfig(before, new PostValueApplicator(), { setter: true }));
-export { BeforeAll as beforeAll };
-export default BeforeAll;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/bind.js.html b/docs/file/buildDocs/bind.js.html deleted file mode 100644 index 00a7d4a..0000000 --- a/docs/file/buildDocs/bind.js.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - buildDocs/bind.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/bind.js

-
import { bind } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { BindApplicator } from './applicators';
-/**
- * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.
- *
- * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.
- *
- * Note: Unlike native Function#bind, this method doesn't set the "length" property of bound functions.
- * @param {...*} [partials] The argument to be partially applied.
- * @example
- *
- * class MyClass {
- *   @Bind()
- *   bound() {
- *     return this;
- *   }
- *
- *   unbound() {
- *     return this;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.bound.call(null); // => myClass {}
- * myClass.unbound.call(null); // => null
- */
-export const Bind = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(bind, new BindApplicator()));
-export { Bind as bind };
-export default Bind;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/bindAll.js.html b/docs/file/buildDocs/bindAll.js.html deleted file mode 100644 index 6817012..0000000 --- a/docs/file/buildDocs/bindAll.js.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - buildDocs/bindAll.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/bindAll.js

-
import { copyMetadata } from './utils';
-/**
- * Binds methods of an object to the object itself, overwriting the existing method.
- * @export
- * @param {string[]} [methods=[]]
- * @returns {ClassDecorator}
- * @example
- *
- * @BindAll()
- * class MyClass {
- *   bound() {
- *     return this;
- *   }
- *
- *   unbound() {
- *     return this;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.bound.call(null); // => MyClass {}
- * myClass.unbound.call(null); // => MyClass {}
- */
-export function BindAll(methods = []) {
-    return (target) => {
-        function BindAllWrapper(...args) {
-            bindAllMethods(target, this, methods);
-            target.apply(this, args);
-        }
-        ;
-        BindAllWrapper.prototype = target.prototype;
-        return BindAllWrapper;
-    };
-}
-function bindAllMethods(target, instance, methods = []) {
-    let proto = target.prototype;
-    while (proto && proto !== Object.prototype) {
-        for (const key of Object.getOwnPropertyNames(proto)) {
-            const include = methods.length ? methods.indexOf(key) !== -1 : true;
-            const descriptor = Object.getOwnPropertyDescriptor(proto, key);
-            if (include && key !== 'constructor' && !instance.hasOwnProperty(key)) {
-                Object.defineProperty(instance, key, {
-                    value: copyMetadata(instance[key].bind(instance), instance[key]),
-                    configurable: true,
-                    enumerable: descriptor.enumerable,
-                    writable: descriptor.writable
-                });
-            }
-        }
-        proto = Object.getPrototypeOf(proto);
-    }
-}
-export { BindAll as bindAll };
-export default BindAll;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/curry.js.html b/docs/file/buildDocs/curry.js.html deleted file mode 100644 index a73355e..0000000 --- a/docs/file/buildDocs/curry.js.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - buildDocs/curry.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/curry.js

-
import { curry } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-/**
- * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.
- * The arity of func may be specified if func.length is not sufficient.
- * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.
- *
- * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.
- *
- * Note: This method doesn't set the "length" property of curried functions.
- * @param {number} [arity] The arity of func.
- * @example
- *
- * class MyClass {
- *   multiplier = 2;
- *
- *   @Curry()
- *   add(a, b) {
- *     return (a + b) * this.multiplier;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * const add5 = myClass.add(5);
- *
- * add5AndMultiply(10); // => 30
- */
-export const Curry = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(curry, new PreValueApplicator(), { bound: true }));
-export { Curry as curry };
-export default Curry;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/curryAll.js.html b/docs/file/buildDocs/curryAll.js.html deleted file mode 100644 index dae30e9..0000000 --- a/docs/file/buildDocs/curryAll.js.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - buildDocs/curryAll.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/curryAll.js

-
import { curry } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-/**
- * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.
- * The arity of func may be specified if func.length is not sufficient.
- *
- * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.
- *
- * Note: This method doesn't set the "length" property of curried functions.
- * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.
- * @param {number} [arity] The arity of func.
- * @example
- *
- * class MyClass {
- *   @CurryAll()
- *   add(a, b) {
- *     return (a + b);
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * const add5 = myClass.add(5);
- *
- * add5AndMultiply(10); // => 15
- */
-export const CurryAll = DecoratorFactory.createDecorator(new DecoratorConfig(curry, new PreValueApplicator()));
-export { CurryAll as curryAll };
-export default CurryAll;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/curryRightAll.js.html b/docs/file/buildDocs/curryRightAll.js.html deleted file mode 100644 index 414d191..0000000 --- a/docs/file/buildDocs/curryRightAll.js.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - buildDocs/curryRightAll.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/curryRightAll.js

-
import { curryRight } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-/**
- * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.
- * The arity of func may be specified if func.length is not sufficient.
- * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.
- *
- * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.
- *
- * Note: This method doesn't set the "length" property of curried functions.
- * @param {number} [arity] The arity of func.
- * @example
- *
- * class MyClass {
- *   @CurryRightAll()
- *   add(a, b) {
- *     return (a + b);
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * const add5 = myClass.add(5);
- *
- * add5AndMultiply(10); // => 15
- */
-export const CurryRightAll = DecoratorFactory.createDecorator(new DecoratorConfig(curryRight, new PreValueApplicator()));
-export { CurryRightAll as curryRightAll };
-export default CurryRightAll;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/defer.js.html b/docs/file/buildDocs/defer.js.html deleted file mode 100644 index 8e41707..0000000 --- a/docs/file/buildDocs/defer.js.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - buildDocs/defer.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/defer.js

-
import { defer } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { InvokeApplicator } from './applicators';
-/**
- * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.
- *
- * @param {...*} [args] Additional arguments to invoke the function with
- * @example
- *
- * class MyClass {
- *   value = 100;
- *
- *   @Defer()
- *   add(a) {
- *     this.value += a;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.add(10);
- *
- * myClass.value; // => 100;
- *
- * setTimeout(() => {
- *   myClass.value; // => 110;
- * }, 0);
- */
-export const Defer = DecoratorFactory.createDecorator(new DecoratorConfig(defer, new InvokeApplicator(), { setter: true }));
-export { Defer as defer };
-export default Defer;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/delay.js.html b/docs/file/buildDocs/delay.js.html deleted file mode 100644 index 0405c15..0000000 --- a/docs/file/buildDocs/delay.js.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - buildDocs/delay.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/delay.js

-
import { delay } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-/**
- * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.
- *
- * @param {number} wait The number of milliseconds to delay invocation.
- * @param {...*} [args] Additional arguments to invoke the function with
- * @example
- *
- * class MyClass {
- *   value = 100;
- *
- *   @Delay(20)
- *   add(a) {
- *     this.value += a;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.add(10);
- *
- * myClass.value; // => 100;
- *
- * setTimeout(() => {
- *   myClass.value; // => 110;
- * }, 30);
- */
-export const Delay = DecoratorFactory.createDecorator(new DecoratorConfig(function (value, wait, ...args) {
-    return function (...invokeArgs) {
-        return delay(value.bind(this), wait, ...invokeArgs, ...args);
-    };
-}, new PreValueApplicator(), { setter: true }));
-export { Delay as delay };
-export default Delay;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/factory/DecoratorConfig.js.html b/docs/file/buildDocs/factory/DecoratorConfig.js.html deleted file mode 100644 index c8810e2..0000000 --- a/docs/file/buildDocs/factory/DecoratorConfig.js.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - buildDocs/factory/DecoratorConfig.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/factory/DecoratorConfig.js

-
export class DecoratorConfig {
-    constructor(execute, applicator, options = {}) {
-        this.execute = execute;
-        this.applicator = applicator;
-        this.options = options;
-    }
-    get bound() {
-        return this.options.bound != null ? this.options.bound : false;
-    }
-    get setter() {
-        return this.options.setter != null ? this.options.setter : false;
-    }
-    get getter() {
-        return this.options.getter != null ? this.options.getter : false;
-    }
-    get property() {
-        return this.options.property != null ? this.options.property : false;
-    }
-    get method() {
-        return this.options.method != null ? this.options.method : true;
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/factory/DecoratorFactory.js.html b/docs/file/buildDocs/factory/DecoratorFactory.js.html deleted file mode 100644 index 240548b..0000000 --- a/docs/file/buildDocs/factory/DecoratorFactory.js.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - buildDocs/factory/DecoratorFactory.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/factory/DecoratorFactory.js

-
import { isFunction } from 'lodash';
-import { InstanceChainMap } from './common';
-import { copyMetadata, bind } from '../utils';
-export class InternalDecoratorFactory {
-    createDecorator(config) {
-        const { applicator } = config;
-        return (...args) => {
-            return (target, name, _descriptor) => {
-                const descriptor = this._resolveDescriptor(target, name, _descriptor);
-                const { value, get, set } = descriptor;
-                // If this decorator is being applied after an instance decorator we simply ignore it
-                // as we can't apply it correctly.
-                if (!InstanceChainMap.has([target, name])) {
-                    if (isFunction(value)) {
-                        descriptor.value = copyMetadata(applicator.apply({ config, target, value, args }), value);
-                    }
-                    else if (isFunction(get) && config.getter) {
-                        descriptor.get = copyMetadata(applicator.apply({ config, target, value: get, args }), get);
-                    }
-                    else if (isFunction(set) && config.setter) {
-                        descriptor.set = copyMetadata(applicator.apply({ config, target, value: set, args }), get);
-                    }
-                }
-                return descriptor;
-            };
-        };
-    }
-    createInstanceDecorator(config) {
-        const { applicator, bound } = config;
-        return (...args) => {
-            return (target, name, _descriptor) => {
-                const descriptor = this._resolveDescriptor(target, name, _descriptor);
-                const { value, writable, enumerable, configurable, get, set } = descriptor;
-                const isFirstInstance = !InstanceChainMap.has([target, name]);
-                const fnChain = InstanceChainMap.get([target, name]) || [];
-                const isGetter = isFirstInstance && isFunction(get);
-                const isSetter = isFirstInstance && isFunction(set);
-                const isMethod = isFirstInstance && isFunction(value);
-                const isProperty = isFirstInstance && !isGetter && !isSetter && !isMethod;
-                fnChain.push((fn, instance, context) => {
-                    if (!this._isApplicable(context, config)) {
-                        return fn;
-                    }
-                    if (bound) {
-                        fn = bind(fn, instance);
-                    }
-                    return copyMetadata(applicator.apply({ args, target, instance, value: fn, config }), fn);
-                });
-                InstanceChainMap.set([target, name], fnChain);
-                if (!isFirstInstance) {
-                    return descriptor;
-                }
-                const applyChain = (fn, context, instance) => {
-                    return fnChain.reduce((result, next) => next(result, instance, context), fn);
-                };
-                const applyDecorator = (instance) => {
-                    let getter = get || undefined;
-                    let setter = set || undefined;
-                    if (isGetter || isSetter) {
-                        // If we have a getter apply the decorators to the getter and assign it to the instance.
-                        if (isGetter) {
-                            getter = applyChain(get, { value: get, getter: true }, instance);
-                        }
-                        if (isSetter) {
-                            setter = applyChain(set, { value: set, setter: true }, instance);
-                        }
-                        Object.defineProperty(instance, name, {
-                            enumerable,
-                            configurable,
-                            get: getter,
-                            set: setter
-                        });
-                    }
-                    else if (isMethod || isProperty) {
-                        const newFn = isMethod
-                            ? applyChain(value, { value, method: true }, instance)
-                            : applyChain(value, { value, property: true }, instance);
-                        Object.defineProperty(instance, name, {
-                            writable,
-                            enumerable,
-                            configurable,
-                            value: newFn
-                        });
-                    }
-                };
-                if (isMethod || isProperty) {
-                    delete descriptor.value;
-                    delete descriptor.writable;
-                }
-                descriptor.get = function () {
-                    applyDecorator(this);
-                    const descriptor = Object.getOwnPropertyDescriptor(this, name);
-                    if (descriptor.get) {
-                        return descriptor.get.call(this);
-                    }
-                    return descriptor.value;
-                };
-                descriptor.set = function (value) {
-                    applyDecorator(this);
-                    const descriptor = Object.getOwnPropertyDescriptor(this, name);
-                    if (descriptor.set) {
-                        descriptor.set.call(this, value);
-                    }
-                    else if (isProperty || isMethod) {
-                        this[name] = value;
-                    }
-                };
-                return descriptor;
-            };
-        };
-    }
-    _isApplicable(context, config) {
-        return !Boolean(context.getter && !config.getter
-            || context.setter && !config.setter
-            || context.method && !config.method
-            || context.property && !config.property);
-    }
-    _resolveDescriptor(target, name, descriptor) {
-        if (descriptor) {
-            return descriptor;
-        }
-        return Object.getOwnPropertyDescriptor(target, name) || {};
-    }
-}
-export const DecoratorFactory = new InternalDecoratorFactory();
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/factory/common.js.html b/docs/file/buildDocs/factory/common.js.html deleted file mode 100644 index 3f43086..0000000 --- a/docs/file/buildDocs/factory/common.js.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - buildDocs/factory/common.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/factory/common.js

-
import { CompositeKeyWeakMap } from '../utils';
-export const InstanceChainMap = new CompositeKeyWeakMap();
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/factory/index.js.html b/docs/file/buildDocs/factory/index.js.html deleted file mode 100644 index 48fc6d5..0000000 --- a/docs/file/buildDocs/factory/index.js.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - buildDocs/factory/index.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/factory/index.js

-
export * from './DecoratorConfig';
-export * from './DecoratorFactory';
-export * from './common';
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/flip.js.html b/docs/file/buildDocs/flip.js.html deleted file mode 100644 index 46472e5..0000000 --- a/docs/file/buildDocs/flip.js.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - buildDocs/flip.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/flip.js

-
import { flip } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-/**
- * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much
- * use for this decorator but maybe you will find one?
- *
- * @example
- *
- * class MyClass {
- *   value = 100;
- *
- *   @Flip()
- *   fn(a, b) {
- *     return [ a, b ];
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.fn(10, 20); // => [ 20, 10 ]
- */
-export const Flip = DecoratorFactory.createDecorator(new DecoratorConfig(flip, new PreValueApplicator()));
-export { Flip as flip };
-export default Flip;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/flow.js.html b/docs/file/buildDocs/flow.js.html deleted file mode 100644 index cff54a4..0000000 --- a/docs/file/buildDocs/flow.js.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - buildDocs/flow.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/flow.js

-
import { flow } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { ComposeApplicator } from './applicators';
-/**
- * Creates a function that returns the result of invoking the given functions with the this binding of the created function,
- * where each successive invocation is supplied the return value of the previous.
- *
- * @example
- *
- * class MyClass {
- *   name = 'Ted';
- *
- *   @Flow('getName', toUpperCase)
- *   getUpperCaseName: () => string;
- *
- *   getName() {
- *     return this.name;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.getUpperCaseName(); // => 'TED'
- */
-export const Flow = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(flow, new ComposeApplicator({ post: true }), { property: true }));
-export { Flow as flow };
-export default Flow;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/flowRight.js.html b/docs/file/buildDocs/flowRight.js.html deleted file mode 100644 index cf5dc71..0000000 --- a/docs/file/buildDocs/flowRight.js.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - buildDocs/flowRight.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/flowRight.js

-
import { flowRight } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { ComposeApplicator } from './applicators';
-/**
- * Creates a function that returns the result of invoking the given functions with the this binding of the created function,
- * where each successive invocation is supplied the return value of the previous.
- *
- * @example
- *
- * class MyClass {
- *   name = 'Ted';
- *
- *   @FlowRight(toUpperCase, 'getName')
- *   getUpperCaseName: () => string;
- *
- *   getName() {
- *     return this.name;
- *   }
- * }
- *
- * const myClass = new MyClass();
- *
- * myClass.getUpperCaseName(); // => 'TED'
- */
-export const FlowRight = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(flowRight, new ComposeApplicator({ post: false }), { property: true }));
-export { FlowRight as flowRight };
-export default FlowRight;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/memoize.js.html b/docs/file/buildDocs/memoize.js.html deleted file mode 100644 index 209e813..0000000 --- a/docs/file/buildDocs/memoize.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/memoize.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/memoize.js

-
import { memoize } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { MemoizeApplicator } from './applicators';
-export const Memoize = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(memoize, new MemoizeApplicator()));
-export { Memoize as memoize };
-export default Memoize;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/memoizeAll.js.html b/docs/file/buildDocs/memoizeAll.js.html deleted file mode 100644 index fe1cf02..0000000 --- a/docs/file/buildDocs/memoizeAll.js.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - buildDocs/memoizeAll.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/memoizeAll.js

-
import { memoize } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { MemoizeApplicator } from './applicators';
-/**
- * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.
- * @param {Function} [resolver] Optional resolver
- */
-export const MemoizeAll = DecoratorFactory.createDecorator(new DecoratorConfig(memoize, new MemoizeApplicator()));
-export { MemoizeAll as memoizeAll };
-export default MemoizeAll;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/mixin.js.html b/docs/file/buildDocs/mixin.js.html deleted file mode 100644 index 9586bba..0000000 --- a/docs/file/buildDocs/mixin.js.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - buildDocs/mixin.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/mixin.js

-
import { assign } from 'lodash';
-export function Mixin(...srcs) {
-    return (target) => {
-        assign(target.prototype, ...srcs);
-        return target;
-    };
-}
-export { Mixin as mixin };
-export default Mixin;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/negate.js.html b/docs/file/buildDocs/negate.js.html deleted file mode 100644 index 67c3256..0000000 --- a/docs/file/buildDocs/negate.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/negate.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/negate.js

-
import { negate } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const Negate = DecoratorFactory.createDecorator(new DecoratorConfig(negate, new PreValueApplicator()));
-export { Negate as negate };
-export default Negate;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/once.js.html b/docs/file/buildDocs/once.js.html deleted file mode 100644 index 0aee22a..0000000 --- a/docs/file/buildDocs/once.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/once.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/once.js

-
import { once } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const Once = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(once, new PreValueApplicator(), { setter: true }));
-export { Once as once };
-export default Once;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/onceAll.js.html b/docs/file/buildDocs/onceAll.js.html deleted file mode 100644 index cfd3651..0000000 --- a/docs/file/buildDocs/onceAll.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/onceAll.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/onceAll.js

-
import { once } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const OnceAll = DecoratorFactory.createDecorator(new DecoratorConfig(once, new PreValueApplicator(), { setter: true }))();
-export { OnceAll as onceAll };
-export default OnceAll;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/overArgs.js.html b/docs/file/buildDocs/overArgs.js.html deleted file mode 100644 index 45ae6b4..0000000 --- a/docs/file/buildDocs/overArgs.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/overArgs.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/overArgs.js

-
import { overArgs } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const OverArgs = DecoratorFactory.createDecorator(new DecoratorConfig(overArgs, new PreValueApplicator(), { setter: true }));
-export { OverArgs as overArgs };
-export default OverArgs;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/partial.js.html b/docs/file/buildDocs/partial.js.html deleted file mode 100644 index 7f49be9..0000000 --- a/docs/file/buildDocs/partial.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/partial.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/partial.js

-
import { partial } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PartialApplicator } from './applicators';
-export const Partial = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(partial, new PartialApplicator(), { property: true, method: false }));
-export { Partial as partial };
-export default Partial;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/partialRight.js.html b/docs/file/buildDocs/partialRight.js.html deleted file mode 100644 index 5ee8be4..0000000 --- a/docs/file/buildDocs/partialRight.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/partialRight.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/partialRight.js

-
import { partialRight } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PartialApplicator } from './applicators';
-export const PartialRight = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(partialRight, new PartialApplicator(), { property: true, method: false }));
-export { PartialRight as partialRight };
-export default PartialRight;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/rearg.js.html b/docs/file/buildDocs/rearg.js.html deleted file mode 100644 index 66b39d2..0000000 --- a/docs/file/buildDocs/rearg.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/rearg.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/rearg.js

-
import { rearg } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const Rearg = DecoratorFactory.createDecorator(new DecoratorConfig(rearg, new PreValueApplicator()));
-export { Rearg as rearg };
-export default Rearg;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/rest.js.html b/docs/file/buildDocs/rest.js.html deleted file mode 100644 index 58bc61c..0000000 --- a/docs/file/buildDocs/rest.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/rest.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/rest.js

-
import { rest } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const Rest = DecoratorFactory.createDecorator(new DecoratorConfig(rest, new PreValueApplicator()));
-export { Rest as rest };
-export default Rest;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/shared.js.html b/docs/file/buildDocs/shared.js.html deleted file mode 100644 index dc01f3a..0000000 --- a/docs/file/buildDocs/shared.js.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - buildDocs/shared.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/shared.js

-

-

Sorry, this documentation does not provide source code.

-
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/spread.js.html b/docs/file/buildDocs/spread.js.html deleted file mode 100644 index 0efd9ff..0000000 --- a/docs/file/buildDocs/spread.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/spread.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/spread.js

-
import { spread } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const Spread = DecoratorFactory.createDecorator(new DecoratorConfig(spread, new PreValueApplicator()));
-export { Spread as spread };
-export default Spread;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/tap.js.html b/docs/file/buildDocs/tap.js.html deleted file mode 100644 index 072d914..0000000 --- a/docs/file/buildDocs/tap.js.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - buildDocs/tap.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/tap.js

-
import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-import { returnAtIndex } from './utils';
-/**
- * Returns the first argument from the function regardless of
- * the decorated functions return value.
- */
-export const Tap = DecoratorFactory.createDecorator(new DecoratorConfig((fn) => returnAtIndex(fn, 0), new PreValueApplicator()));
-export { Tap as tap };
-export default Tap;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/throttle.js.html b/docs/file/buildDocs/throttle.js.html deleted file mode 100644 index fcc6be9..0000000 --- a/docs/file/buildDocs/throttle.js.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - buildDocs/throttle.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/throttle.js

-
import { throttle } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const Throttle = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true, getter: true }));
-export const ThrottleGetter = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { getter: true }));
-export const ThrottleSetter = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true }));
-export { Throttle as throttle };
-export { ThrottleGetter as throttleGetter };
-export { ThrottleSetter as throttleSetter };
-export default Throttle;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/throttleAll.js.html b/docs/file/buildDocs/throttleAll.js.html deleted file mode 100644 index 2eae783..0000000 --- a/docs/file/buildDocs/throttleAll.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/throttleAll.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/throttleAll.js

-
import { throttle } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const ThrottleAll = DecoratorFactory.createDecorator(new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true }));
-export { ThrottleAll as throttleAll };
-export default ThrottleAll;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/unary.js.html b/docs/file/buildDocs/unary.js.html deleted file mode 100644 index 3f424fb..0000000 --- a/docs/file/buildDocs/unary.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/unary.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/unary.js

-
import { unary } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { PreValueApplicator } from './applicators';
-export const Unary = DecoratorFactory.createDecorator(new DecoratorConfig(unary, new PreValueApplicator()));
-export { Unary as unary };
-export default Unary;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/utils/CompositeKeyWeakMap.js.html b/docs/file/buildDocs/utils/CompositeKeyWeakMap.js.html deleted file mode 100644 index 16baa66..0000000 --- a/docs/file/buildDocs/utils/CompositeKeyWeakMap.js.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - buildDocs/utils/CompositeKeyWeakMap.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/utils/CompositeKeyWeakMap.js

-
import { isUndefined } from 'lodash';
-/**
- * A map for weakly holding nested references.
- * @private
- * @export
- * @class CompositeKeyWeakMap
- * @template T
- */
-export class CompositeKeyWeakMap {
-    constructor() {
-        this._weakMap = new WeakMap();
-    }
-    set(keys, value) {
-        let map = this._weakMap;
-        for (let i = 0, len = keys.length - 1; i < len; i++) {
-            const key = keys[i];
-            let next = map.get(key);
-            if (!next) {
-                next = new Map();
-                map.set(key, next);
-            }
-            map = next;
-        }
-        map.set(keys[keys.length - 1], value);
-    }
-    get(keys) {
-        let next = this._weakMap;
-        for (let i = 0, len = keys.length; i < len; i++) {
-            next = next.get(keys[i]);
-            if (isUndefined(next)) {
-                break;
-            }
-        }
-        return next;
-    }
-    has(keys) {
-        return !isUndefined(this.get(keys));
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/utils/bind.js.html b/docs/file/buildDocs/utils/bind.js.html deleted file mode 100644 index fd31a3c..0000000 --- a/docs/file/buildDocs/utils/bind.js.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - buildDocs/utils/bind.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/utils/bind.js

-
import { copyMetadata } from './copyMetaData';
-/**
- * Binds a function and copies metadata.
- * @private
- * @export
- * @param {Function} fn
- * @param {*} context
- * @returns {Function}
- */
-export function bind(fn, context) {
-    return copyMetadata(fn.bind(context), fn);
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/utils/copyMetaData.js.html b/docs/file/buildDocs/utils/copyMetaData.js.html deleted file mode 100644 index 2da1f27..0000000 --- a/docs/file/buildDocs/utils/copyMetaData.js.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - buildDocs/utils/copyMetaData.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/utils/copyMetaData.js

-
import { forOwn } from 'lodash';
-/**
- * Used to copy over meta data from function to function.
- * If meta data is attached to a function. This can get lost
- * when wrapping functions. This tries to persist that.
- * @private
- */
-export function copyMetadata(to, from) {
-    forOwn(from, (value, key) => to[key] = value);
-    return to;
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/utils/index.js.html b/docs/file/buildDocs/utils/index.js.html deleted file mode 100644 index 46678f0..0000000 --- a/docs/file/buildDocs/utils/index.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/utils/index.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/utils/index.js

-
export * from './log';
-export * from './resolveFunction';
-export * from './CompositeKeyWeakMap';
-export * from './returnAtIndex';
-export * from './copyMetaData';
-export * from './bind';
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/utils/log.js.html b/docs/file/buildDocs/utils/log.js.html deleted file mode 100644 index 51195c5..0000000 --- a/docs/file/buildDocs/utils/log.js.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - buildDocs/utils/log.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/utils/log.js

-
/**
- * Creates a log message.
- * @private
- * @export
- * @param {string} [message='']
- * @returns {string}
- */
-/**
- * Creates a log message.
- * @private
- * @export
- * @param {string} [message='']
- * @returns {string}
- */ export function log(message = '') {
-    return `lodash-decorators -> ${message}`;
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/utils/resolveFunction.js.html b/docs/file/buildDocs/utils/resolveFunction.js.html deleted file mode 100644 index dcb9ee1..0000000 --- a/docs/file/buildDocs/utils/resolveFunction.js.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - buildDocs/utils/resolveFunction.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/utils/resolveFunction.js

-
import { isFunction, isString } from 'lodash';
-import { log } from './log';
-/**
-  * Resolves a function on the current target object. It first will
-  * try and resolve on the context object, then the target object,
-  * then an error will be thrown if the method can not be resolved.
-  * @private
-  * @param {Function|string} method The method or method name.
-  * @param {Object} [context] The context object to resolve from.
-  * @param {Object} [target] The target object to resolve from.
-  * @returns {Function} The resolved function.
-  */
-export function resolveFunction(method, context, target, throwNotFound = true) {
-    if (isFunction(method)) {
-        return method;
-    }
-    else if (isString(method)) {
-        if (context && isFunction(context[method])) {
-            return context[method];
-        }
-        else if (target && isFunction(target[method])) {
-            return target[method];
-        }
-    }
-    if (throwNotFound) {
-        throw new ReferenceError(log(`Can not resolve method ${method} on any target Objects`));
-    }
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/utils/returnAtIndex.js.html b/docs/file/buildDocs/utils/returnAtIndex.js.html deleted file mode 100644 index e2d2a7a..0000000 --- a/docs/file/buildDocs/utils/returnAtIndex.js.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - buildDocs/utils/returnAtIndex.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/utils/returnAtIndex.js

-
/**
- * Creates a function the returns the specific index.
- * @private
- * @export
- * @param {Function} fn
- * @param {number} index
- * @returns {Function}
- */
-/**
- * Creates a function the returns the specific index.
- * @private
- * @export
- * @param {Function} fn
- * @param {number} index
- * @returns {Function}
- */ export function returnAtIndex(fn, index) {
-    return function (...args) {
-        fn.call(this, ...args);
-        return args[index];
-    };
-}
-
- -
- - - - - - - - - - - - diff --git a/docs/file/buildDocs/wrap.js.html b/docs/file/buildDocs/wrap.js.html deleted file mode 100644 index bdbcdd3..0000000 --- a/docs/file/buildDocs/wrap.js.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - buildDocs/wrap.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/wrap.js

-
import { wrap } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
-import { WrapApplicator } from './applicators';
-export const Wrap = DecoratorFactory.createDecorator(new DecoratorConfig(wrap, new WrapApplicator()));
-export { Wrap as wrap };
-export default Wrap;
-
- -
- - - - - - - - - - - - diff --git a/docs/file/src/after.ts.html b/docs/file/src/after.ts.html new file mode 100644 index 0000000..cbc467b --- /dev/null +++ b/docs/file/src/after.ts.html @@ -0,0 +1,166 @@ + + + + + + src/after.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/after.ts

+
import after = require('lodash/after');
+
+import { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';
+import { PostValueApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(after, new PostValueApplicator(), { setter: true })
+);
+
+/**
+ * The opposite of Before. This method creates a function that invokes once it's called n or more times.
+ *
+ * @param {number} n The number of calls before the function is invoked.
+ * @example
+ *
+ * class MyClass {
+ *   @After(2)
+ *   fn() {
+ *     return 10;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.fn(); // => undefined
+ * myClass.fn(); // => 10
+ */
+export function After(n: number): LodashDecorator {
+  return decorator(n);
+}
+export { After as after };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/afterAll.ts.html b/docs/file/src/afterAll.ts.html new file mode 100644 index 0000000..d2b8cfe --- /dev/null +++ b/docs/file/src/afterAll.ts.html @@ -0,0 +1,171 @@ + + + + + + src/afterAll.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/afterAll.ts

+
import after = require('lodash/after');
+
+import { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';
+import { PostValueApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createDecorator(
+  new DecoratorConfig(after, new PostValueApplicator(), { setter: true })
+);
+
+/**
+ * The opposite of Before. This method creates a function that invokes once it's called n or more times.
+ * This spans across all instances of the class instead of the instance.
+ *
+ * @param {number} n The number of calls before the function is invoked.
+ * @example
+ *
+ * class MyClass {
+ *   @AfterAll(2)
+ *   fn() {
+ *     return 10;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ * const myClass2 = new MyClass();
+ *
+ * myClass.fn(); // => undefined
+ * myClass.fn(); // => 10
+ *
+ * myClass2.fn(); // => 10
+ * myClass2.fn(); // => 10
+ */
+export function AfterAll(n: number): LodashDecorator {
+  return decorator(n);
+}
+export { AfterAll as afterAll };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators.ts.html b/docs/file/src/applicators.ts.html new file mode 100644 index 0000000..ece7c9d --- /dev/null +++ b/docs/file/src/applicators.ts.html @@ -0,0 +1,145 @@ + + + + + + src/applicators.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators.ts

+
export * from './applicators/Applicator';
+export * from './applicators/ComposeApplicator';
+export * from './applicators/PartialApplicator';
+export * from './applicators/PartialedApplicator';
+export * from './applicators/PartialValueApplicator';
+export * from './applicators/PostValueApplicator';
+export * from './applicators/PreValueApplicator';
+export * from './applicators/WrapApplicator';
+export * from './applicators/BindApplicator';
+export * from './applicators/InvokeApplicator';
+export * from './applicators/MemoizeApplicator';
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/Applicator.ts.html b/docs/file/src/applicators/Applicator.ts.html new file mode 100644 index 0000000..cc6c3b5 --- /dev/null +++ b/docs/file/src/applicators/Applicator.ts.html @@ -0,0 +1,140 @@ + + + + + + src/applicators/Applicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/Applicator.ts

+
import { ApplicateOptions } from '../shared';
+
+export { ApplicateOptions } from '../shared';
+
+export abstract class Applicator {
+  abstract apply(options: ApplicateOptions): any;
+}
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/BindApplicator.ts.html b/docs/file/src/applicators/BindApplicator.ts.html new file mode 100644 index 0000000..037cddc --- /dev/null +++ b/docs/file/src/applicators/BindApplicator.ts.html @@ -0,0 +1,144 @@ + + + + + + src/applicators/BindApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/BindApplicator.ts

+
import { Applicator, ApplicateOptions } from './Applicator';
+
+export class BindApplicator extends Applicator {
+  apply({ value, config: { execute } , args, instance }: ApplicateOptions): any {
+    if (!instance) {
+      return value;
+    }
+
+    return execute(value, instance, ...args);
+  }
+}
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/ComposeApplicator.ts.html b/docs/file/src/applicators/ComposeApplicator.ts.html new file mode 100644 index 0000000..a7ffe56 --- /dev/null +++ b/docs/file/src/applicators/ComposeApplicator.ts.html @@ -0,0 +1,166 @@ + + + + + + src/applicators/ComposeApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/ComposeApplicator.ts

+
import identity = require('lodash/identity');
+
+import { Applicator, ApplicateOptions } from './Applicator';
+import { resolveFunction } from '../utils';
+
+export class ComposeApplicator extends Applicator {
+  constructor(private _config: { post?: boolean } = {}) {
+    super();
+  }
+
+  get post(): boolean {
+    return this._config.post === true;
+  }
+
+  apply({ config: { execute }, value = identity, args, target }: ApplicateOptions): any {
+    const applicator = this;
+
+    return function(...invokeArgs: any[]): any {
+      const _args = [
+        ...args.map(method => resolveFunction(method, this, target))
+      ];
+
+      if (applicator.post) {
+        _args.push(value);
+      } else {
+        _args.unshift(value);
+      }
+
+      return execute(..._args).apply(this, invokeArgs);
+    };
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/InvokeApplicator.ts.html b/docs/file/src/applicators/InvokeApplicator.ts.html new file mode 100644 index 0000000..920181c --- /dev/null +++ b/docs/file/src/applicators/InvokeApplicator.ts.html @@ -0,0 +1,143 @@ + + + + + + src/applicators/InvokeApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/InvokeApplicator.ts

+
import { Applicator, ApplicateOptions } from './Applicator';
+
+export class InvokeApplicator extends Applicator {
+  apply({ args, config: { execute }, value }: ApplicateOptions): any {
+    return function(...invokeArgs: any[]): any {
+      return execute(value.bind(this), ...invokeArgs, ...args);
+    };
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/MemoizeApplicator.ts.html b/docs/file/src/applicators/MemoizeApplicator.ts.html new file mode 100644 index 0000000..3c66c25 --- /dev/null +++ b/docs/file/src/applicators/MemoizeApplicator.ts.html @@ -0,0 +1,168 @@ + + + + + + src/applicators/MemoizeApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/MemoizeApplicator.ts

+
import isFunction = require('lodash/isFunction');
+import isObjectLike = require('lodash/isObjectLike');
+
+import { Applicator, ApplicateOptions } from './Applicator';
+import { resolveFunction } from '../utils';
+
+export class MemoizeApplicator extends Applicator {
+  apply({ value, instance, config: { execute }, args: [arg], target }: ApplicateOptions): any {
+    let resolver = resolveFunction(
+      isFunction(arg) ? arg : isObjectLike(arg) ? arg.resolver : arg,
+      instance,
+      target,
+      false
+    );
+
+    if (resolver && instance) {
+      resolver = resolver.bind(instance);
+    }
+
+    const memoized = resolver ? execute(value, resolver) : execute(value);
+
+    if (isObjectLike(arg)) {
+      const { cache, type } = arg;
+
+      if (cache) {
+        memoized.cache = cache;
+      } else if (isFunction(type)) {
+        memoized.cache = new (type as any)();
+      }
+    }
+
+    return memoized;
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/PartialApplicator.ts.html b/docs/file/src/applicators/PartialApplicator.ts.html new file mode 100644 index 0000000..1232f1e --- /dev/null +++ b/docs/file/src/applicators/PartialApplicator.ts.html @@ -0,0 +1,143 @@ + + + + + + src/applicators/PartialApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/PartialApplicator.ts

+
import { Applicator, ApplicateOptions } from './Applicator';
+import { resolveFunction } from '../utils';
+
+export class PartialApplicator extends Applicator {
+  apply({ args, target, config: { execute } }: ApplicateOptions): any {
+    return function(...invokeArgs: any[]): any {
+      return execute(resolveFunction(args[0], this, target), ...args.slice(1)).apply(this, invokeArgs);
+    };
+  }
+}
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/PartialValueApplicator.ts.html b/docs/file/src/applicators/PartialValueApplicator.ts.html new file mode 100644 index 0000000..9783172 --- /dev/null +++ b/docs/file/src/applicators/PartialValueApplicator.ts.html @@ -0,0 +1,154 @@ + + + + + + src/applicators/PartialValueApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/PartialValueApplicator.ts

+
import isFunction = require('lodash/isFunction');
+
+import { Applicator, ApplicateOptions } from './Applicator';
+import { resolveFunction } from '../utils';
+
+export class PartialValueApplicator extends Applicator {
+  apply({ args, target, value, config: { execute } }: ApplicateOptions): any {
+    return function(...invokeArgs: any[]): any {
+      let fn = value;
+      let argIndex = 0;
+
+      if (!isFunction(fn)) {
+        fn = resolveFunction(args[0], this, target);
+        argIndex = 1;
+      }
+
+      return execute(fn, ...args.slice(argIndex)).apply(this, invokeArgs);
+    };
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/PartialedApplicator.ts.html b/docs/file/src/applicators/PartialedApplicator.ts.html new file mode 100644 index 0000000..070b3ca --- /dev/null +++ b/docs/file/src/applicators/PartialedApplicator.ts.html @@ -0,0 +1,144 @@ + + + + + + src/applicators/PartialedApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/PartialedApplicator.ts

+
import partial = require('lodash/partial');
+
+import { Applicator, ApplicateOptions } from './Applicator';
+
+export class PartialedApplicator extends Applicator {
+  apply({ config: { execute }, value, args }: ApplicateOptions): any {
+      // The `partial` function is over-constrained and generics locks proper use of rest parameter.
+    return (partial as any)(execute as (...argsIn: any[]) => any, value, ...args);
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/PostValueApplicator.ts.html b/docs/file/src/applicators/PostValueApplicator.ts.html new file mode 100644 index 0000000..eb14f20 --- /dev/null +++ b/docs/file/src/applicators/PostValueApplicator.ts.html @@ -0,0 +1,140 @@ + + + + + + src/applicators/PostValueApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/PostValueApplicator.ts

+
import { Applicator, ApplicateOptions } from './Applicator';
+
+export class PostValueApplicator extends Applicator {
+  apply({ config: { execute }, args, value }: ApplicateOptions): any {
+    return execute(...args, value);
+  }
+}
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/PreValueApplicator.ts.html b/docs/file/src/applicators/PreValueApplicator.ts.html new file mode 100644 index 0000000..9393e31 --- /dev/null +++ b/docs/file/src/applicators/PreValueApplicator.ts.html @@ -0,0 +1,140 @@ + + + + + + src/applicators/PreValueApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/PreValueApplicator.ts

+
import { Applicator, ApplicateOptions } from './Applicator';
+
+export class PreValueApplicator extends Applicator {
+  apply({ value, config: { execute }, args }: ApplicateOptions): any {
+    return execute(value, ...args);
+  }
+}
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/applicators/WrapApplicator.ts.html b/docs/file/src/applicators/WrapApplicator.ts.html new file mode 100644 index 0000000..4c0fe9f --- /dev/null +++ b/docs/file/src/applicators/WrapApplicator.ts.html @@ -0,0 +1,143 @@ + + + + + + src/applicators/WrapApplicator.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/applicators/WrapApplicator.ts

+
import { Applicator, ApplicateOptions } from './Applicator';
+import { resolveFunction } from '../utils';
+
+export class WrapApplicator extends Applicator {
+  apply({ args, config: { execute }, target, value }: ApplicateOptions): any {
+    return function(...invokeArgs: any[]): any {
+      return execute(resolveFunction(args[0], this, target), value).apply(this, invokeArgs);
+    };
+  }
+}
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/ary.ts.html b/docs/file/src/ary.ts.html new file mode 100644 index 0000000..c0f352c --- /dev/null +++ b/docs/file/src/ary.ts.html @@ -0,0 +1,165 @@ + + + + + + src/ary.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/ary.ts

+
import ary = require('lodash/ary');
+
+import { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';
+import { PreValueApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createDecorator(
+  new DecoratorConfig(ary, new PreValueApplicator())
+);
+
+/**
+ * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.
+ *
+ * @param {number} n The arity cap.
+ * @example
+ *
+ * class MyClass {
+ *   @Ary(1)
+ *   fn(...args) {
+ *     return args;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.fn(1, 2, 3, 4); // => [ 1 ]
+ */
+export function Ary(n: number): LodashMethodDecorator {
+  return decorator(n);
+}
+export { Ary as ary };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/attempt.ts.html b/docs/file/src/attempt.ts.html new file mode 100644 index 0000000..ea01d6f --- /dev/null +++ b/docs/file/src/attempt.ts.html @@ -0,0 +1,171 @@ + + + + + + src/attempt.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/attempt.ts

+
import attempt = require('lodash/attempt');
+import partial = require('lodash/partial');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator } from './factory';
+import { PreValueApplicator } from './applicators';
+
+const attemptFn = (fn: () => void) => partial(attempt, fn);
+
+/**
+ * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.
+ *
+ * @param {...*} [args] The arguments to invoke func with.
+ * @example
+ *
+ * class MyClass {
+ *   @Attempt()
+ *   fn(value) {
+ *     if (typeof value === 'number') {
+ *       return value
+ *     }
+ *
+ *     throw new Error();
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.fn(10); // => 10;
+ * myClass.fn(null); // => Error
+ */
+export const Attempt = DecoratorFactory.createDecorator(
+  new DecoratorConfig(attemptFn, new PreValueApplicator(), {
+    optionalParams: true
+  })
+) as BiTypedMethodDecorator;
+export { Attempt as attempt };
+export default Attempt;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/before.ts.html b/docs/file/src/before.ts.html new file mode 100644 index 0000000..869f3b4 --- /dev/null +++ b/docs/file/src/before.ts.html @@ -0,0 +1,173 @@ + + + + + + src/before.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/before.ts

+
import before = require('lodash/before');
+
+import { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';
+import { PostValueApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(before, new PostValueApplicator(), { setter: true })
+);
+
+/**
+ * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.
+ * Subsequent calls to the created function return the result of the last func invocation.
+ *
+ * @param {number} n The number of calls at whichc func is no longer invoked.
+ * @example
+ *
+ * let calls = 0;
+ *
+ * class MyClass {
+ *   @Before(3)
+ *   fn() {
+ *     calls++;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.fn();
+ * myClass.fn();
+ * myClass.fn();
+ * myClass.fn();
+ *
+ * calls === 2; // => true
+ */
+export function Before(n: number): LodashDecorator {
+  return decorator(n);
+}
+export { Before as before };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/beforeAll.ts.html b/docs/file/src/beforeAll.ts.html new file mode 100644 index 0000000..a555976 --- /dev/null +++ b/docs/file/src/beforeAll.ts.html @@ -0,0 +1,176 @@ + + + + + + src/beforeAll.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/beforeAll.ts

+
import before = require('lodash/before');
+
+import { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';
+import { PostValueApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createDecorator(
+  new DecoratorConfig(before, new PostValueApplicator(), { setter: true })
+);
+
+/**
+ * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.
+ * Subsequent calls to the created function return the result of the last func invocation.
+ *
+ * @param {number} n The number of calls at whichc func is no longer invoked.
+ * @example
+ *
+ * let calls = 0;
+ *
+ * class MyClass {
+ *   @BeforeAll(3)
+ *   fn() {
+ *     calls++;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ * const myClass2 = new MyClass();
+ *
+ * myClass.fn();
+ * myClass.fn();
+ * myClass.fn();
+ * myClass.fn();
+ *
+ * myClass2.fn();
+ *
+ * calls === 3; // => true
+ */
+export function BeforeAll(n: number): LodashDecorator {
+  return decorator(n);
+}
+export { BeforeAll as beforeAll };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/bind.ts.html b/docs/file/src/bind.ts.html new file mode 100644 index 0000000..4f67eeb --- /dev/null +++ b/docs/file/src/bind.ts.html @@ -0,0 +1,172 @@ + + + + + + src/bind.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/bind.ts

+
import bind = require('lodash/bind');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';
+import { BindApplicator } from './applicators';
+
+/**
+ * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.
+ *
+ * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.
+ *
+ * Note: Unlike native Function#bind, this method doesn't set the "length" property of bound functions.
+ *
+ * @param {...*} [partials] The argument to be partially applied.
+ * @example
+ *
+ * class MyClass {
+ *   @Bind()
+ *   bound() {
+ *     return this;
+ *   }
+ *
+ *   unbound() {
+ *     return this;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.bound.call(null); // => myClass {}
+ * myClass.unbound.call(null); // => null
+ */
+export const Bind = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(bind, new BindApplicator(), {
+    optionalParams: true
+  })
+) as BiTypedMethodDecorator1<any>;
+export { Bind as bind, };
+export default Bind;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/bindAll.ts.html b/docs/file/src/bindAll.ts.html new file mode 100644 index 0000000..9b5d535 --- /dev/null +++ b/docs/file/src/bindAll.ts.html @@ -0,0 +1,203 @@ + + + + + + src/bindAll.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/bindAll.ts

+
import isFunction = require('lodash/isFunction');
+
+import { InstanceChainMap } from './factory';
+import { Bind } from './bind';
+
+/**
+ * Binds methods of an object to the object itself, overwriting the existing method.
+ *
+ * @export
+ * @param {string[]} [methods=[]]
+ * @returns {ClassDecorator}
+ * @example
+ *
+ * @BindAll()
+ * class MyClass {
+ *   bound() {
+ *     return this;
+ *   }
+ *
+ *   unbound() {
+ *     return this;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.bound.call(null); // => MyClass {}
+ * myClass.unbound.call(null); // => MyClass {}
+ */
+export function BindAll(methods: string[] = []): ClassDecorator {
+  return (target: any) => {
+    bindAllMethods(target, methods);
+  };
+}
+
+function bindAllMethods(target: Function, methods: string[] = []): void {
+  const targetProto = target.prototype;
+  let proto = target.prototype;
+  const boundKeys: string[] = [];
+
+  while (proto && proto !== Object.prototype) {
+    for (const key of Object.getOwnPropertyNames(proto)) {
+      const include = methods.length ? methods.indexOf(key) !== -1 : true;
+      const descriptor = Object.getOwnPropertyDescriptor(proto, key);
+
+      if (descriptor && include && key !== 'constructor') {
+        // If this property is a getter and it's NOT an instance decorated
+        // method, ignore it. Instance decorators are getters until first accessed.
+        if (descriptor.get) {
+          const chainData = InstanceChainMap.get([ proto, key ]);
+
+          if (!chainData || !chainData.isMethod) {
+            continue;
+          }
+        }
+
+        if (isFunction(proto[key]) && boundKeys.indexOf(key) === -1) {
+          Object.defineProperty(targetProto, key, Bind(proto, key, descriptor)!);
+          boundKeys.push(key);
+        }
+      }
+    }
+
+    proto = Object.getPrototypeOf(proto);
+  }
+}
+
+export { BindAll as bindAll };
+export default BindAll;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/curry.ts.html b/docs/file/src/curry.ts.html new file mode 100644 index 0000000..25f4e06 --- /dev/null +++ b/docs/file/src/curry.ts.html @@ -0,0 +1,171 @@ + + + + + + src/curry.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/curry.ts

+
import curry = require('lodash/curry');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';
+import { PreValueApplicator } from './applicators';
+
+/**
+ * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.
+ * The arity of func may be specified if func.length is not sufficient.
+ * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.
+ *
+ * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.
+ *
+ * Note: This method doesn't set the "length" property of curried functions.
+ *
+ * @param {number} [arity] The arity of func.
+ * @example
+ *
+ * class MyClass {
+ *   multiplier = 2;
+ *
+ *   @Curry()
+ *   add(a, b) {
+ *     return (a + b) * this.multiplier;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * const add5 = myClass.add(5);
+ *
+ * add5AndMultiply(10); // => 30
+ */
+export const Curry = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(curry, new PreValueApplicator(), { bound: true, optionalParams: true })
+) as BiTypedMethodDecorator1<number>;
+export { Curry as curry };
+export default Curry;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/curryAll.ts.html b/docs/file/src/curryAll.ts.html new file mode 100644 index 0000000..c0642ee --- /dev/null +++ b/docs/file/src/curryAll.ts.html @@ -0,0 +1,169 @@ + + + + + + src/curryAll.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/curryAll.ts

+
import curry = require('lodash/curry');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedDecorator1 } from './factory';
+import { PreValueApplicator } from './applicators';
+
+/**
+ * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.
+ * The arity of func may be specified if func.length is not sufficient.
+ *
+ * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.
+ *
+ * Note: This method doesn't set the "length" property of curried functions.
+ * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.
+ *
+ * @param {number} [arity] The arity of func.
+ * @example
+ *
+ * class MyClass {
+ *   @CurryAll()
+ *   add(a, b) {
+ *     return (a + b);
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * const add5 = myClass.add(5);
+ *
+ * add5AndMultiply(10); // => 15
+ */
+export const CurryAll = DecoratorFactory.createDecorator(
+  new DecoratorConfig(curry, new PreValueApplicator(), { optionalParams: true })
+) as BiTypedDecorator1<number>;
+export { CurryAll as curryAll };
+export default CurryAll;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/buildDocs/curryRight.js.html b/docs/file/src/curryRight.ts.html similarity index 50% rename from docs/file/buildDocs/curryRight.js.html rename to docs/file/src/curryRight.ts.html index 852dd2b..fb0b95f 100644 --- a/docs/file/buildDocs/curryRight.js.html +++ b/docs/file/src/curryRight.ts.html @@ -3,14 +3,12 @@ - buildDocs/curryRight.js | Lodash Decorators Documentation API Document + src/curryRight.ts | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository -

buildDocs/curryRight.js

-
import { curryRight } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
+

src/curryRight.ts

+
import curryRight = require('lodash/curryRight');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';
 import { PreValueApplicator } from './applicators';
+
 /**
  * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.
  * The arity of func may be specified if func.length is not sufficient.
@@ -100,6 +128,7 @@
  * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.
  *
  * Note: This method doesn't set the "length" property of curried functions.
+ *
  * @param {number} [arity] The arity of func.
  * @example
  *
@@ -118,7 +147,9 @@
  *
  * add5AndMultiply(10); // => 30
  */
-export const CurryRight = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(curryRight, new PreValueApplicator(), { bound: true }));
+export const CurryRight = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(curryRight, new PreValueApplicator(), { bound: true, optionalParams: true })
+) as BiTypedMethodDecorator1<number>;
 export { CurryRight as curryRight };
 export default CurryRight;
 
@@ -126,7 +157,7 @@
diff --git a/docs/file/src/curryRightAll.ts.html b/docs/file/src/curryRightAll.ts.html new file mode 100644 index 0000000..459b71b --- /dev/null +++ b/docs/file/src/curryRightAll.ts.html @@ -0,0 +1,169 @@ + + + + + + src/curryRightAll.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/curryRightAll.ts

+
import curryRight = require('lodash/curryRight');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';
+import { PreValueApplicator } from './applicators';
+
+/**
+ * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.
+ * The arity of func may be specified if func.length is not sufficient.
+ * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.
+ *
+ * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.
+ *
+ * Note: This method doesn't set the "length" property of curried functions.
+ *
+ * @param {number} [arity] The arity of func.
+ * @example
+ *
+ * class MyClass {
+ *   @CurryRightAll()
+ *   add(a, b) {
+ *     return (a + b);
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * const add5 = myClass.add(5);
+ *
+ * add5AndMultiply(10); // => 15
+ */
+export const CurryRightAll = DecoratorFactory.createDecorator(
+  new DecoratorConfig(curryRight, new PreValueApplicator(), { optionalParams: true })
+) as BiTypedMethodDecorator1<number>;
+export { CurryRightAll as curryRightAll };
+export default CurryRightAll;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/buildDocs/debounce.js.html b/docs/file/src/debounce.ts.html similarity index 50% rename from docs/file/buildDocs/debounce.js.html rename to docs/file/src/debounce.ts.html index b4d3eea..7b0f02b 100644 --- a/docs/file/buildDocs/debounce.js.html +++ b/docs/file/src/debounce.ts.html @@ -3,14 +3,12 @@ - buildDocs/debounce.js | Lodash Decorators Documentation API Document + src/debounce.ts | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository -

buildDocs/debounce.js

-
import { debounce } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
+

src/debounce.ts

+
import debounce = require('lodash/debounce');
+
+import { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';
 import { PreValueApplicator } from './applicators';
+import { DebounceOptions } from './shared';
+
+const decorator = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(debounce, new PreValueApplicator(), { setter: true })
+);
+
 /**
  * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.
  * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.
@@ -127,15 +160,17 @@
  *   myClass.value; // => 120;
  * }, 11);
  */
-export const Debounce = DecoratorFactory.createInstanceDecorator(new DecoratorConfig(debounce, new PreValueApplicator(), { setter: true }));
+export function Debounce(wait?: number, options?: DebounceOptions): LodashDecorator {
+  return decorator(wait, options);
+}
 export { Debounce as debounce };
-export default Debounce;
+export default decorator;
 
diff --git a/docs/file/buildDocs/debounceAll.js.html b/docs/file/src/debounceAll.ts.html similarity index 50% rename from docs/file/buildDocs/debounceAll.js.html rename to docs/file/src/debounceAll.ts.html index 4dc3919..fa3f2a8 100644 --- a/docs/file/buildDocs/debounceAll.js.html +++ b/docs/file/src/debounceAll.ts.html @@ -3,14 +3,12 @@ - buildDocs/debounceAll.js | Lodash Decorators Documentation API Document + src/debounceAll.ts | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository -

buildDocs/debounceAll.js

-
import { debounce } from 'lodash';
-import { DecoratorConfig, DecoratorFactory } from './factory';
+

src/debounceAll.ts

+
import debounce = require('lodash/debounce');
+
+import { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';
 import { PreValueApplicator } from './applicators';
+import { DebounceOptions } from './shared';
+
+const decorator = DecoratorFactory.createDecorator(
+  new DecoratorConfig(debounce, new PreValueApplicator())
+);
+
 /**
  * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.
  * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.
@@ -129,15 +162,17 @@
  *   myClass.value; // => 120;
  * }, 11);
  */
-export const DebounceAll = DecoratorFactory.createDecorator(new DecoratorConfig(debounce, new PreValueApplicator()));
+export function DebounceAll(wait?: number, options?: DebounceOptions): LodashMethodDecorator {
+  return decorator(wait, options);
+}
 export { DebounceAll as debounceAll };
-export default DebounceAll;
+export default decorator;
 
diff --git a/docs/file/src/defer.ts.html b/docs/file/src/defer.ts.html new file mode 100644 index 0000000..2b238f3 --- /dev/null +++ b/docs/file/src/defer.ts.html @@ -0,0 +1,169 @@ + + + + + + src/defer.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/defer.ts

+
import defer = require('lodash/defer');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedDecoratorN } from './factory';
+import { InvokeApplicator } from './applicators';
+
+/**
+ * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.
+ *
+ * @param {...*} [args] Additional arguments to invoke the function with
+ * @example
+ *
+ * class MyClass {
+ *   value = 100;
+ *
+ *   @Defer()
+ *   add(a) {
+ *     this.value += a;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.add(10);
+ *
+ * myClass.value; // => 100;
+ *
+ * setTimeout(() => {
+ *   myClass.value; // => 110;
+ * }, 0);
+ */
+export const Defer = DecoratorFactory.createDecorator(
+  new DecoratorConfig(defer, new InvokeApplicator(), { setter: true, optionalParams: true })
+) as BiTypedDecoratorN;
+export { Defer as defer };
+export default Defer;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/delay.ts.html b/docs/file/src/delay.ts.html new file mode 100644 index 0000000..bf8650a --- /dev/null +++ b/docs/file/src/delay.ts.html @@ -0,0 +1,182 @@ + + + + + + src/delay.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/delay.ts

+
import delay = require('lodash/delay');
+
+import { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';
+import { PreValueApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createDecorator(
+  new DecoratorConfig(
+    function(value: Function, wait: number, ...args: any[]) {
+      return function(...invokeArgs: any[]): any {
+        return delay(value.bind(this), wait, ...invokeArgs, ...args);
+      };
+    },
+    new PreValueApplicator(),
+    { setter: true }
+  )
+);
+
+/**
+ * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.
+ *
+ * @param {number} wait The number of milliseconds to delay invocation.
+ * @param {...*} [args] Additional arguments to invoke the function with
+ * @example
+ *
+ * class MyClass {
+ *   value = 100;
+ *
+ *   @Delay(20)
+ *   add(a) {
+ *     this.value += a;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.add(10);
+ *
+ * myClass.value; // => 100;
+ *
+ * setTimeout(() => {
+ *   myClass.value; // => 110;
+ * }, 30);
+ */
+export function Delay(wait: number, ...args: any[]): LodashMethodDecorator {
+  return decorator(wait, ...args);
+}
+export { Delay as delay };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/factory.ts.html b/docs/file/src/factory.ts.html new file mode 100644 index 0000000..d5182e3 --- /dev/null +++ b/docs/file/src/factory.ts.html @@ -0,0 +1,137 @@ + + + + + + src/factory.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/factory.ts

+
export * from './factory/DecoratorConfig';
+export * from './factory/DecoratorFactory';
+export * from './factory/common';
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/factory/DecoratorConfig.ts.html b/docs/file/src/factory/DecoratorConfig.ts.html new file mode 100644 index 0000000..4644b3c --- /dev/null +++ b/docs/file/src/factory/DecoratorConfig.ts.html @@ -0,0 +1,176 @@ + + + + + + src/factory/DecoratorConfig.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/factory/DecoratorConfig.ts

+
import { Applicator } from '../applicators';
+
+export interface DecoratorConfigOptions {
+  bound?: boolean;
+  setter?: boolean;
+  getter?: boolean;
+  property?: boolean;
+  method?: boolean;
+  optionalParams?: boolean;
+}
+
+export class DecoratorConfig {
+  constructor(
+    public readonly execute: Function,
+    public readonly applicator: Applicator,
+    public readonly options: DecoratorConfigOptions = {}
+  ) {}
+
+  get bound(): boolean {
+    return this.options.bound != null ? this.options.bound : false;
+  }
+
+  get setter(): boolean {
+    return this.options.setter != null ? this.options.setter : false;
+  }
+
+  get getter(): boolean {
+    return this.options.getter != null ? this.options.getter : false;
+  }
+
+  get property(): boolean {
+    return this.options.property != null ? this.options.property : false;
+  }
+
+  get method(): boolean {
+    return this.options.method != null ? this.options.method : true;
+  }
+
+  get optionalParams(): boolean {
+    return this.options.optionalParams != null ? this.options.optionalParams : false;
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/factory/DecoratorFactory.ts.html b/docs/file/src/factory/DecoratorFactory.ts.html new file mode 100644 index 0000000..f3b9dcc --- /dev/null +++ b/docs/file/src/factory/DecoratorFactory.ts.html @@ -0,0 +1,335 @@ + + + + + + src/factory/DecoratorFactory.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/factory/DecoratorFactory.ts

+
import isFunction = require('lodash/isFunction');
+
+import {
+  InstanceChainMap,
+  LodashDecorator,
+  InstanceChainContext
+} from './common';
+import { DecoratorConfig } from './DecoratorConfig';
+import {
+  copyMetadata,
+  bind,
+  isMethodOrPropertyDecoratorArgs,
+  isPrototypeAccess
+} from '../utils';
+
+export type GenericDecorator = (...args: any[]) => LodashDecorator;
+
+export class InternalDecoratorFactory {
+  createDecorator(config: DecoratorConfig): GenericDecorator {
+    const { applicator, optionalParams } = config;
+
+    return (...args: any[]): LodashDecorator => {
+      let params = args;
+
+      const decorator = (target: Object, name: string, _descriptor?: PropertyDescriptor): PropertyDescriptor => {
+        const descriptor = this._resolveDescriptor(target, name, _descriptor);
+        const { value, get, set } = descriptor;
+
+        // If this decorator is being applied after an instance decorator we simply ignore it
+        // as we can't apply it correctly.
+        if (!InstanceChainMap.has([ target, name ])) {
+          if (isFunction(value)) {
+            descriptor.value = copyMetadata(applicator.apply({ config, target, value, args: params }), value);
+          } else if (isFunction(get) && config.getter) {
+            descriptor.get = copyMetadata(applicator.apply({ config, target, value: get, args: params }), get);
+          } else if (isFunction(set) && config.setter) {
+            descriptor.set = copyMetadata(applicator.apply({ config, target, value: set, args: params }), set);
+          }
+        }
+
+        return descriptor;
+      };
+
+      if (optionalParams && isMethodOrPropertyDecoratorArgs(...args)) {
+        params = [];
+
+        return decorator(args[0], args[1], args[2]) as any;
+      }
+
+      return decorator;
+    };
+  }
+
+  createInstanceDecorator(config: DecoratorConfig): GenericDecorator {
+    const { applicator, bound, optionalParams } = config;
+
+    return (...args: any[]): LodashDecorator => {
+      let params = args;
+      const decorator = (target: Object, name: string, _descriptor?: PropertyDescriptor): PropertyDescriptor => {
+        const descriptor = this._resolveDescriptor(target, name, _descriptor);
+        const { value, writable, enumerable, configurable, get, set } = descriptor;
+        const isFirstInstance = !InstanceChainMap.has([ target, name ]);
+        const chainData = InstanceChainMap.get([ target, name ]) || { fns: [], properties: [] };
+        const isGetter = isFirstInstance && isFunction(get);
+        const isSetter = isFirstInstance && isFunction(set);
+        const isMethod = isFirstInstance && isFunction(value);
+        const isProperty = isFirstInstance && !isGetter && !isSetter && !isMethod;
+        const baseValue = isGetter ? get : isMethod ? value : undefined;
+
+        chainData.properties.push(name);
+        chainData.fns.push((fn: Function, instance: any, context: InstanceChainContext) => {
+          if (!this._isApplicable(context, config)) {
+            return fn;
+          }
+
+          if (bound) {
+            fn = bind(fn, instance);
+          }
+
+          return copyMetadata(
+            applicator.apply({ args: params, target, instance, value: fn, config }),
+            fn
+          );
+        });
+
+        InstanceChainMap.set([ target, name ], chainData);
+
+        if (!isFirstInstance) {
+          return descriptor;
+        }
+
+        chainData.isSetter = isSetter;
+        chainData.isGetter = isGetter;
+        chainData.isMethod = isMethod;
+        chainData.isProperty = isProperty;
+
+        const applyChain = (fn: any, context: InstanceChainContext, instance: any) => {
+          return chainData.fns.reduce((result: Function, next: Function) => next(result, instance, context), fn);
+        };
+
+        const applyDecorator = (instance: any) => {
+          let getter = get || undefined;
+          let setter = set || undefined;
+
+          if (isGetter || isSetter) {
+            // If we have a getter apply the decorators to the getter and assign it to the instance.
+            if (isGetter) {
+              getter = applyChain(get, { value: get, getter: true }, instance);
+            }
+
+            if (isSetter) {
+              setter = applyChain(set, { value: set, setter: true }, instance);
+            }
+
+            Object.defineProperty(instance, name, {
+              enumerable,
+              configurable,
+              get: getter,
+              set: setter
+            });
+          } else if (isMethod || isProperty) {
+            const newFn = isMethod
+              ? applyChain(value, { value, method: true }, instance)
+              : applyChain(value, { value, property: true }, instance);
+
+            Object.defineProperty(instance, name, {
+              writable,
+              enumerable,
+              configurable,
+              value: newFn
+            });
+          }
+        };
+
+        if (isMethod || isProperty) {
+          delete descriptor.value;
+          delete descriptor.writable;
+        }
+
+        descriptor.get = function() {
+          // Check for direct access on the prototype.
+          // MyClass.prototype.fn <-- This should not apply the decorator.
+          if (isPrototypeAccess(this, target)) {
+            return baseValue;
+          }
+
+          applyDecorator(this);
+
+          const descriptor2 = Object.getOwnPropertyDescriptor(this, name)!;
+
+          if (descriptor2.get) {
+            return descriptor2.get.call(this);
+          }
+
+          return descriptor2.value;
+        };
+
+        descriptor.set = function(value2) {
+          applyDecorator(this);
+
+          const descriptor2 = Object.getOwnPropertyDescriptor(this, name)!;
+
+          if (descriptor2.set) {
+            descriptor2.set.call(this, value2);
+          } else if (isProperty || isMethod) {
+            this[name] = value2;
+          }
+        };
+
+        return descriptor;
+      };
+
+      if (optionalParams && isMethodOrPropertyDecoratorArgs(...args)) {
+        params = [];
+
+        return decorator(args[0], args[1], args[2]) as any;
+      }
+
+      return decorator;
+    };
+  }
+
+  private _isApplicable(context: InstanceChainContext, config: DecoratorConfig): boolean {
+   return !Boolean(
+     context.getter && !config.getter
+      || context.setter && !config.setter
+      || context.method && !config.method
+      || context.property && !config.property
+   );
+  }
+
+  private _resolveDescriptor(target: Object, name: string, descriptor?: PropertyDescriptor): PropertyDescriptor {
+    if (descriptor) {
+      return descriptor;
+    }
+
+    return Object.getOwnPropertyDescriptor(target, name) || {};
+  }
+}
+
+export const DecoratorFactory = new InternalDecoratorFactory();
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/factory/common.ts.html b/docs/file/src/factory/common.ts.html new file mode 100644 index 0000000..137664a --- /dev/null +++ b/docs/file/src/factory/common.ts.html @@ -0,0 +1,171 @@ + + + + + + src/factory/common.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/factory/common.ts

+
import { Applicator } from '../applicators';
+import { CompositeKeyWeakMap } from '../utils';
+
+export type ApplicatorToken = new() => Applicator;
+export type LodashMethodDecorator = MethodDecorator;
+export type LodashDecorator = MethodDecorator & PropertyDecorator;
+export type ResolvableFunction = string|Function;
+
+export type BiTypedMethodDecorator = (() => LodashMethodDecorator) & LodashMethodDecorator;
+export type BiTypedMethodDecorator1<T> = ((arg?: T) => LodashMethodDecorator) & LodashMethodDecorator;
+export type BiTypedMethodDecorator2<T, T2> = ((arg1?: T, arg2?: T2) => LodashMethodDecorator) & LodashMethodDecorator;
+export type BiTypedMethodDecorator3<T, T2, T3> = ((arg1?: T, arg2?: T2, arg3?: T3) => LodashMethodDecorator) & LodashMethodDecorator;
+export type BiTypedMethodDecoratorN = ((...args: any[]) => TypedPropertyDescriptor<(...newArgs: any[]) => void>) & LodashMethodDecorator;
+export type BiTypedDecorator = (() => LodashDecorator) & LodashDecorator;
+export type BiTypedDecorator1<T> = ((arg?: T) => LodashDecorator) & LodashDecorator;
+export type BiTypedDecorator2<T, T2> = ((arg1?: T, arg2?: T2) => LodashDecorator) & LodashDecorator;
+export type BiTypedDecorator3<T, T2, T3> = ((arg1?: T, arg2?: T2, arg3?: T3) => LodashDecorator) & LodashDecorator;
+export type BiTypedDecoratorN = ((...args: any[]) => LodashDecorator & TypedPropertyDescriptor<any>) & LodashDecorator;
+
+export interface InstanceChainContext {
+  getter?: boolean;
+  setter?: boolean;
+  method?: boolean;
+  property?: boolean;
+  value: any;
+}
+
+export interface InstanceChainData {
+  properties: string[];
+  fns: Function[];
+  isGetter: boolean;
+  isSetter: boolean;
+  isMethod: boolean;
+  isProperty: boolean;
+}
+
+export const InstanceChainMap = new CompositeKeyWeakMap<InstanceChainData>();
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/flip.ts.html b/docs/file/src/flip.ts.html new file mode 100644 index 0000000..9b79491 --- /dev/null +++ b/docs/file/src/flip.ts.html @@ -0,0 +1,174 @@ + + + + + + src/flip.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/flip.ts

+
import flip = require('lodash/flip');
+
+import {
+  DecoratorConfig,
+  DecoratorFactory,
+  LodashDecorator,
+  ResolvableFunction
+} from './factory';
+import { PartialValueApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(flip, new PartialValueApplicator(), { property: true })
+);
+
+/**
+ * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much
+ * use for this decorator but maybe you will find one?
+ *
+ * @example
+ *
+ * class MyClass {
+ *   value = 100;
+ *
+ *   @Flip('fn')
+ *   fn2: (b: number, a: string) => [ number, string ];
+ *
+ *   fn(a: string, b: number): [ string, number ] {
+ *     return [ a, b ];
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.fn2(10, '20'); // => [ '20', 10 ]
+ */
+export function Flip(fn?: ResolvableFunction): LodashDecorator {
+  return decorator(fn);
+}
+export { Flip as flip };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/flow.ts.html b/docs/file/src/flow.ts.html new file mode 100644 index 0000000..b93c4f4 --- /dev/null +++ b/docs/file/src/flow.ts.html @@ -0,0 +1,174 @@ + + + + + + src/flow.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/flow.ts

+
import flow = require('lodash/flow');
+
+import {
+  DecoratorConfig,
+  DecoratorFactory,
+  ResolvableFunction,
+  LodashDecorator
+} from './factory';
+import { ComposeApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(flow, new ComposeApplicator({ post: true }), { property: true })
+);
+
+/**
+ * Creates a function that returns the result of invoking the given functions with the this binding of the created function,
+ * where each successive invocation is supplied the return value of the previous.
+ *
+ * @example
+ *
+ * class MyClass {
+ *   name = 'Ted';
+ *
+ *   @Flow('getName', toUpperCase)
+ *   getUpperCaseName: () => string;
+ *
+ *   getName() {
+ *     return this.name;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.getUpperCaseName(); // => 'TED'
+ */
+export function Flow(...fns: ResolvableFunction[]): LodashDecorator {
+  return decorator(...fns);
+}
+export { Flow as flow };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/flowRight.ts.html b/docs/file/src/flowRight.ts.html new file mode 100644 index 0000000..0a1af06 --- /dev/null +++ b/docs/file/src/flowRight.ts.html @@ -0,0 +1,174 @@ + + + + + + src/flowRight.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/flowRight.ts

+
import flowRight = require('lodash/flowRight');
+
+import {
+  DecoratorConfig,
+  DecoratorFactory,
+  LodashDecorator,
+  ResolvableFunction
+} from './factory';
+import { ComposeApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(flowRight, new ComposeApplicator({ post: false }), { property: true })
+);
+
+/**
+ * Creates a function that returns the result of invoking the given functions with the this binding of the created function,
+ * where each successive invocation is supplied the return value of the previous.
+ *
+ * @example
+ *
+ * class MyClass {
+ *   name = 'Ted';
+ *
+ *   @FlowRight(toUpperCase, 'getName')
+ *   getUpperCaseName: () => string;
+ *
+ *   getName() {
+ *     return this.name;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.getUpperCaseName(); // => 'TED'
+ */
+export function FlowRight(...fns: ResolvableFunction[]): LodashDecorator {
+  return decorator(...fns);
+}
+export { FlowRight as flowRight };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/buildDocs/index.js.html b/docs/file/src/index.ts.html similarity index 51% rename from docs/file/buildDocs/index.js.html rename to docs/file/src/index.ts.html index bfba71c..6254ea2 100644 --- a/docs/file/buildDocs/index.js.html +++ b/docs/file/src/index.ts.html @@ -3,14 +3,12 @@ - buildDocs/index.js | Lodash Decorators Documentation API Document + src/index.ts | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository -

buildDocs/index.js

+

src/index.ts

export * from './factory';
 export * from './after';
 export * from './afterAll';
@@ -130,7 +156,7 @@
 
diff --git a/docs/file/src/memoize.ts.html b/docs/file/src/memoize.ts.html new file mode 100644 index 0000000..5a084cc --- /dev/null +++ b/docs/file/src/memoize.ts.html @@ -0,0 +1,174 @@ + + + + + + src/memoize.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/memoize.ts

+
import memoize = require('lodash/memoize');
+
+import {
+  DecoratorConfig,
+  DecoratorFactory,
+  ResolvableFunction,
+  BiTypedMethodDecorator1
+} from './factory';
+import { MemoizeApplicator } from './applicators';
+import { MemoizeConfig } from './shared';
+
+/**
+ * Creates a function that memoizes the result of func. If resolver is provided,
+ * it determines the cache key for storing the result based on the arguments provided to the memoized function.
+ * By default, the first argument provided to the memoized function is used as the map cache key.
+ * The func is invoked with the this binding of the memoized function.
+ *
+ * You can use a Function or a string that references a method on the class as the resolver.
+ * You can also use a configuration object that lets provide a prexisting cache or specify
+ * the map type to use.
+ *
+ * @example
+ *
+ * class MyClass {
+ *   @Memoize({ type: WeakMap })
+ *   getName(item) {
+ *     return item.name;
+ *   }
+ *
+ *   @Memoize('getName')
+ *   getLastName(item) {
+ *     return item.lastName;
+ *   }
+ * }
+ */
+export const Memoize = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(memoize, new MemoizeApplicator(), { optionalParams: true })
+) as BiTypedMethodDecorator1<ResolvableFunction | MemoizeConfig<any, any>>;
+export { Memoize as memoize };
+export default Memoize;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/memoizeAll.ts.html b/docs/file/src/memoizeAll.ts.html new file mode 100644 index 0000000..e34e85e --- /dev/null +++ b/docs/file/src/memoizeAll.ts.html @@ -0,0 +1,150 @@ + + + + + + src/memoizeAll.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/memoizeAll.ts

+
import memoize = require('lodash/memoize');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';
+import { MemoizeApplicator } from './applicators';
+import { MemoizeConfig } from './shared';
+
+/**
+ * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.
+ *
+ * @param {Function} [resolver] Optional resolver
+ */
+export const MemoizeAll = DecoratorFactory.createDecorator(
+  new DecoratorConfig(memoize, new MemoizeApplicator(), { optionalParams: true })
+) as BiTypedMethodDecorator1<Function | MemoizeConfig<any, any>>;
+export { MemoizeAll as memoizeAll };
+export default MemoizeAll;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/mixin.ts.html b/docs/file/src/mixin.ts.html new file mode 100644 index 0000000..b42fb5c --- /dev/null +++ b/docs/file/src/mixin.ts.html @@ -0,0 +1,164 @@ + + + + + + src/mixin.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/mixin.ts

+
import assign = require('lodash/assign');
+
+/**
+ * Mixins an object into the classes prototype.
+ *
+ * @export
+ * @param {...Object[]} srcs
+ * @returns {ClassDecorator}
+ * @example
+ *
+ * const myMixin = {
+ *   blorg: () => 'blorg!'
+ * }
+ *
+ * @Mixin(myMixin)
+ * class MyClass {}
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.blorg(); // => 'blorg!'
+ */
+export function Mixin(...srcs: Object[]): ClassDecorator {
+  return ((target: Function) => {
+    assign(target.prototype, ...srcs);
+
+    return target;
+  }) as any;
+}
+export { Mixin as mixin };
+export default Mixin;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/negate.ts.html b/docs/file/src/negate.ts.html new file mode 100644 index 0000000..0780438 --- /dev/null +++ b/docs/file/src/negate.ts.html @@ -0,0 +1,168 @@ + + + + + + src/negate.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/negate.ts

+
import negate = require('lodash/negate');
+
+import {
+  DecoratorConfig,
+  DecoratorFactory,
+  ResolvableFunction,
+  BiTypedDecorator1
+} from './factory';
+import { PartialValueApplicator } from './applicators';
+
+/**
+ * Negates a functions result or, when used on a property, creates a function that
+ * negates the result of a provided function.
+ *
+ * @param {ResolvableFunction} [fn] A resolvable function.
+ * @example
+ * class MyClass {
+ *   @Negate('fn')
+ *   fn2: () => boolean;
+ *
+ *   fn(): boolean {
+ *     return true;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.fn2(); //=> false
+ */
+export const Negate = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(negate, new PartialValueApplicator(), { property: true, optionalParams: true })
+) as BiTypedDecorator1<ResolvableFunction>;
+export { Negate as negate };
+export default Negate;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/once.ts.html b/docs/file/src/once.ts.html new file mode 100644 index 0000000..6a9fcee --- /dev/null +++ b/docs/file/src/once.ts.html @@ -0,0 +1,163 @@ + + + + + + src/once.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/once.ts

+
import once = require('lodash/once');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedDecorator } from './factory';
+import { PreValueApplicator } from './applicators';
+
+/**
+ * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.
+ *
+ * @example
+ * class MyClass {
+ *   value: number = 0;
+ *
+ *   @Once()
+ *   fn(): number {
+ *     return ++this.value;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.fn(); //=> 1
+ * myClass.fn(); //=> 1
+ * myClass.fn(); //=> 1
+ */
+export const Once = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(once, new PreValueApplicator(), { setter: true, optionalParams: true })
+) as BiTypedDecorator;
+export { Once as once };
+export default Once;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/onceAll.ts.html b/docs/file/src/onceAll.ts.html new file mode 100644 index 0000000..2ee44c8 --- /dev/null +++ b/docs/file/src/onceAll.ts.html @@ -0,0 +1,164 @@ + + + + + + src/onceAll.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/onceAll.ts

+
import once = require('lodash/once');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedDecorator } from './factory';
+import { PreValueApplicator } from './applicators';
+
+/**
+ * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.
+ * This is shared across all instances of the class.
+ *
+ * @example
+ * const value = 0;
+ *
+ * class MyClass {
+ *   @Once()
+ *   fn(): number {
+ *     return ++value;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ * const myClass2 = new MyClass();
+ *
+ * myClass.fn(); //=> 1
+ * myClass2.fn(); //=> 1
+ */
+export const OnceAll = DecoratorFactory.createDecorator(
+  new DecoratorConfig(once, new PreValueApplicator(), { setter: true, optionalParams: true })
+) as BiTypedDecorator;
+export { OnceAll as onceAll };
+export default OnceAll;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/overArgs.ts.html b/docs/file/src/overArgs.ts.html new file mode 100644 index 0000000..1931f66 --- /dev/null +++ b/docs/file/src/overArgs.ts.html @@ -0,0 +1,167 @@ + + + + + + src/overArgs.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/overArgs.ts

+
import overArgs = require('lodash/overArgs');
+
+import { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';
+import { PreValueApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createDecorator(
+  new DecoratorConfig(overArgs, new PreValueApplicator(), { setter: true })
+);
+
+/**
+ * Creates a function that invokes func with its arguments transformed.
+ *
+ * @export
+ * @param {...Function[]} transforms
+ * @returns {LodashMethodDecorator}
+ * @example
+ * class MyClass {
+ *   @OverArgs(_.castArray)
+ *   fn(list) {
+ *     return list;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.fn([ 1 ]); //=> [ 1 ];
+ * myClass.fn(1); //=> [ 1 ];
+ */
+export function OverArgs(...transforms: Function[]): LodashMethodDecorator {
+  return decorator(...transforms);
+}
+export { OverArgs as overArgs };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/partial.ts.html b/docs/file/src/partial.ts.html new file mode 100644 index 0000000..71459d6 --- /dev/null +++ b/docs/file/src/partial.ts.html @@ -0,0 +1,170 @@ + + + + + + src/partial.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/partial.ts

+
import partial = require('lodash/partial');
+
+import { DecoratorConfig, DecoratorFactory } from './factory';
+import { PartialApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(partial, new PartialApplicator(), { property: true, method: false })
+);
+
+/**
+ * Partially applies arguments to a function.
+ *
+ * @export
+ * @param {...any[]} partials
+ * @returns {PropertyDecorator}
+ * @example
+ * class MyClass {
+ *   lastName: string = 'Schmo';
+ *
+ *   @Partial('fn', 'Joe')
+ *   fn2: () => string;
+ *
+ *   fn(name: string): string {
+ *     return `${name} ${this.lastName}`;
+ *   }
+ * }
+ *
+ * const myClass = new MyClass();
+ *
+ * myClass.fn2(); //=> 'Joe Schmo'
+ */
+export function Partial(...partials: any[]): PropertyDecorator {
+  return decorator(...partials);
+}
+export { Partial as partial };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/partialRight.ts.html b/docs/file/src/partialRight.ts.html new file mode 100644 index 0000000..3682321 --- /dev/null +++ b/docs/file/src/partialRight.ts.html @@ -0,0 +1,148 @@ + + + + + + src/partialRight.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/partialRight.ts

+
import partialRight = require('lodash/partialRight');
+
+import { DecoratorConfig, DecoratorFactory } from './factory';
+import { PartialApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(partialRight, new PartialApplicator(), { property: true, method: false })
+);
+
+export function PartialRight(...partials: any[]): PropertyDecorator {
+  return decorator(...partials);
+}
+export { PartialRight as partialRight };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/rearg.ts.html b/docs/file/src/rearg.ts.html new file mode 100644 index 0000000..d24971f --- /dev/null +++ b/docs/file/src/rearg.ts.html @@ -0,0 +1,153 @@ + + + + + + src/rearg.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/rearg.ts

+
import rearg = require('lodash/rearg');
+
+import {
+  DecoratorConfig,
+  DecoratorFactory,
+  LodashDecorator,
+  ResolvableFunction
+} from './factory';
+import { PartialValueApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(rearg, new PartialValueApplicator(), { property: true })
+);
+
+export function Rearg(indexes: ResolvableFunction | number | number[], ...args: (number | number[])[]): LodashDecorator {
+  return decorator(indexes, ...args);
+}
+export { Rearg as rearg };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/rest.ts.html b/docs/file/src/rest.ts.html new file mode 100644 index 0000000..d1b1780 --- /dev/null +++ b/docs/file/src/rest.ts.html @@ -0,0 +1,144 @@ + + + + + + src/rest.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/rest.ts

+
import rest = require('lodash/rest');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';
+import { PreValueApplicator } from './applicators';
+
+export const Rest = DecoratorFactory.createDecorator(
+  new DecoratorConfig(rest, new PreValueApplicator(), { optionalParams: true })
+) as BiTypedMethodDecorator1<number>;
+export { Rest as rest };
+export default Rest;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/shared.ts.html b/docs/file/src/shared.ts.html new file mode 100644 index 0000000..deebd12 --- /dev/null +++ b/docs/file/src/shared.ts.html @@ -0,0 +1,168 @@ + + + + + + src/shared.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/shared.ts

+
import { DecoratorConfig, ResolvableFunction } from './factory';
+
+export interface DebounceOptions {
+  wait?: number;
+  leading?: boolean;
+  trailing?: boolean;
+  maxWait?: number;
+}
+
+export interface ApplicateOptions {
+  config: DecoratorConfig;
+  target: any;
+  value: any;
+  args: any[];
+  instance?: Object;
+}
+
+export interface ThrottleOptions {
+  leading?: boolean;
+  trailing?: boolean;
+}
+
+export interface MemoizeMap<T, U> {
+  get(key: T): U;
+  has(key: T): boolean;
+  set(key: T, value: U): void;
+  delete(key: T): void;
+  clear?(): void;
+}
+
+export interface MemoizeConfig<T, U> {
+  resolver?: ResolvableFunction;
+  type?: new (...args: any[]) => MemoizeMap<T, U>;
+  cache?: MemoizeMap<T, U>;
+}
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/spread.ts.html b/docs/file/src/spread.ts.html new file mode 100644 index 0000000..9602113 --- /dev/null +++ b/docs/file/src/spread.ts.html @@ -0,0 +1,144 @@ + + + + + + src/spread.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/spread.ts

+
import spread = require('lodash/spread');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';
+import { PreValueApplicator } from './applicators';
+
+export const Spread = DecoratorFactory.createDecorator(
+  new DecoratorConfig(spread, new PreValueApplicator(), { optionalParams: true })
+) as BiTypedMethodDecorator1<number>;
+export { Spread as spread };
+export default Spread;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/tap.ts.html b/docs/file/src/tap.ts.html new file mode 100644 index 0000000..8a66a39 --- /dev/null +++ b/docs/file/src/tap.ts.html @@ -0,0 +1,147 @@ + + + + + + src/tap.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/tap.ts

+
import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator } from './factory';
+import { PreValueApplicator } from './applicators';
+import { returnAtIndex } from './utils';
+
+/**
+ * Returns the first argument from the function regardless of
+ * the decorated functions return value.
+ */
+export const Tap = DecoratorFactory.createDecorator(
+  new DecoratorConfig((fn: Function) => returnAtIndex(fn, 0), new PreValueApplicator(), { optionalParams: true })
+) as BiTypedMethodDecorator;
+export { Tap as tap };
+export default Tap;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/throttle.ts.html b/docs/file/src/throttle.ts.html new file mode 100644 index 0000000..670fac1 --- /dev/null +++ b/docs/file/src/throttle.ts.html @@ -0,0 +1,156 @@ + + + + + + src/throttle.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/throttle.ts

+
import throttle = require('lodash/throttle');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedDecorator2 } from './factory';
+import { PreValueApplicator } from './applicators';
+import { ThrottleOptions } from './shared';
+
+export const Throttle = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true, getter: true, optionalParams: true })
+) as BiTypedDecorator2<number, ThrottleOptions>;
+
+export const ThrottleGetter = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(throttle, new PreValueApplicator(), { getter: true, optionalParams: true })
+) as BiTypedDecorator2<number, ThrottleOptions>;
+
+export const ThrottleSetter = DecoratorFactory.createInstanceDecorator(
+  new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true, optionalParams: true })
+) as BiTypedDecorator2<number, ThrottleOptions>;
+
+export { Throttle as throttle };
+export { ThrottleGetter as throttleGetter };
+export { ThrottleSetter as throttleSetter };
+export default Throttle;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/throttleAll.ts.html b/docs/file/src/throttleAll.ts.html new file mode 100644 index 0000000..0439f7d --- /dev/null +++ b/docs/file/src/throttleAll.ts.html @@ -0,0 +1,148 @@ + + + + + + src/throttleAll.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/throttleAll.ts

+
import throttle = require('lodash/throttle');
+
+import { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';
+import { PreValueApplicator } from './applicators';
+import { ThrottleOptions } from './shared';
+
+const decorator = DecoratorFactory.createDecorator(
+  new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true })
+);
+export function ThrottleAll(wait?: number, options?: ThrottleOptions): LodashMethodDecorator {
+  return decorator(wait, options);
+}
+export { ThrottleAll as throttleAll };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/unary.ts.html b/docs/file/src/unary.ts.html new file mode 100644 index 0000000..e8583f5 --- /dev/null +++ b/docs/file/src/unary.ts.html @@ -0,0 +1,144 @@ + + + + + + src/unary.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/unary.ts

+
import unary = require('lodash/unary');
+
+import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator } from './factory';
+import { PreValueApplicator } from './applicators';
+
+export const Unary = DecoratorFactory.createDecorator(
+  new DecoratorConfig(unary, new PreValueApplicator(), { optionalParams: true })
+) as BiTypedMethodDecorator;
+export { Unary as unary };
+export default Unary;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils.ts.html b/docs/file/src/utils.ts.html new file mode 100644 index 0000000..250b954 --- /dev/null +++ b/docs/file/src/utils.ts.html @@ -0,0 +1,144 @@ + + + + + + src/utils.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils.ts

+
export * from './utils/log';
+export * from './utils/resolveFunction';
+export * from './utils/CompositeKeyWeakMap';
+export * from './utils/returnAtIndex';
+export * from './utils/copyMetaData';
+export * from './utils/bind';
+export * from './utils/wrapConstructor';
+export * from './utils/assignAll';
+export * from './utils/isDecoratorArgs';
+export * from './utils/isPrototypeAccess';
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/CompositeKeyWeakMap.ts.html b/docs/file/src/utils/CompositeKeyWeakMap.ts.html new file mode 100644 index 0000000..5580e5d --- /dev/null +++ b/docs/file/src/utils/CompositeKeyWeakMap.ts.html @@ -0,0 +1,183 @@ + + + + + + src/utils/CompositeKeyWeakMap.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/CompositeKeyWeakMap.ts

+
import isUndefined = require('lodash/isUndefined');
+
+/**
+ * A map for weakly holding nested references.
+ *
+ * @private
+ * @export
+ * @class CompositeKeyWeakMap
+ * @template T
+ */
+export class CompositeKeyWeakMap<T> {
+  private _weakMap = new WeakMap<any, any>();
+
+  set(keys: any[], value: T): void {
+    let map = this._weakMap;
+
+    for (let i = 0, len = keys.length - 1; i < len; i++) {
+      const key = keys[i];
+      let next = map.get(key);
+
+      if (!next) {
+        next = new Map();
+        map.set(key, next);
+      }
+
+      map = next;
+    }
+
+    map.set(keys[keys.length - 1], value);
+  }
+
+  get(keys: any[]): T {
+    let next = this._weakMap;
+
+    for (let i = 0, len = keys.length; i < len; i++) {
+      next = next.get(keys[i]);
+
+      if (isUndefined(next)) {
+        break;
+      }
+    }
+
+    return next as any;
+  }
+
+  has(keys: any[]): boolean {
+    return !isUndefined(this.get(keys));
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/assignAll.ts.html b/docs/file/src/utils/assignAll.ts.html new file mode 100644 index 0000000..ac7bed2 --- /dev/null +++ b/docs/file/src/utils/assignAll.ts.html @@ -0,0 +1,183 @@ + + + + + + src/utils/assignAll.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/assignAll.ts

+
import without = require('lodash/without');
+import attempt = require('lodash/attempt');
+import isObject = require('lodash/isObject');
+
+/**
+ * Assigns all properties from an object to another object including non enumerable
+ * properties.
+ *
+ * @export
+ * @template T
+ * @template U
+ * @param {T} to
+ * @param {U} from
+ * @param {string[]} [excludes=[]]
+ * @returns {T}
+ */
+export function assignAll<T, U>(to: T, from: U, excludes: string[] = []): T {
+  const properties = without(Object.getOwnPropertyNames(from), ...excludes);
+
+  for (const prop of properties) {
+    attempt(assignProperty, to, from, prop);
+  }
+
+  return to;
+}
+
+/**
+ * Assigns a property from one object to another while retaining descriptor properties.
+ *
+ * @export
+ * @template T
+ * @template U
+ * @param {T} to
+ * @param {U} from
+ * @param {string} prop
+ */
+export function assignProperty<T, U>(to: T, from: U, prop: string): void {
+  const descriptor = Object.getOwnPropertyDescriptor(to, prop);
+
+  if (!descriptor || descriptor.configurable) {
+    const srcDescriptor = Object.getOwnPropertyDescriptor(from, prop);
+
+    if (isObject(srcDescriptor)) {
+      Object.defineProperty(to, prop, srcDescriptor);
+    } else {
+      (to as any)[prop] = (from as any)[prop];
+    }
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/bind.ts.html b/docs/file/src/utils/bind.ts.html new file mode 100644 index 0000000..8f28129 --- /dev/null +++ b/docs/file/src/utils/bind.ts.html @@ -0,0 +1,147 @@ + + + + + + src/utils/bind.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/bind.ts

+
import { copyMetadata } from './copyMetaData';
+
+/**
+ * Binds a function and copies metadata.
+ *
+ * @private
+ * @export
+ * @param {Function} fn
+ * @param {*} context
+ * @returns {Function}
+ */
+export function bind(fn: Function, context: any): Function {
+  return copyMetadata(fn.bind(context), fn);
+}
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/copyMetaData.ts.html b/docs/file/src/utils/copyMetaData.ts.html new file mode 100644 index 0000000..d0f5d36 --- /dev/null +++ b/docs/file/src/utils/copyMetaData.ts.html @@ -0,0 +1,148 @@ + + + + + + src/utils/copyMetaData.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/copyMetaData.ts

+
import forOwn = require('lodash/forOwn');
+
+/**
+ * Used to copy over meta data from function to function.
+ * If meta data is attached to a function. This can get lost
+ * when wrapping functions. This tries to persist that.
+ *
+ * @private
+ */
+export function copyMetadata(to: any, from: any): any {
+  forOwn(from, (value: any, key: string) => to[key] = value);
+
+  return to;
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/isDecoratorArgs.ts.html b/docs/file/src/utils/isDecoratorArgs.ts.html new file mode 100644 index 0000000..466e2ff --- /dev/null +++ b/docs/file/src/utils/isDecoratorArgs.ts.html @@ -0,0 +1,145 @@ + + + + + + src/utils/isDecoratorArgs.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/isDecoratorArgs.ts

+
import isObject = require('lodash/isObject');
+import isFunction = require('lodash/isFunction');
+import isString = require('lodash/isString');
+
+export function isMethodOrPropertyDecoratorArgs(...args: any[]): boolean {
+  return args.length >= 2
+    && isObject(args[0])
+    && isString(args[1])
+    && isFunction(args[0].constructor)
+    && args[0].constructor.prototype === args[0];
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/isPrototypeAccess.ts.html b/docs/file/src/utils/isPrototypeAccess.ts.html new file mode 100644 index 0000000..10e1707 --- /dev/null +++ b/docs/file/src/utils/isPrototypeAccess.ts.html @@ -0,0 +1,139 @@ + + + + + + src/utils/isPrototypeAccess.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/isPrototypeAccess.ts

+
export function isPrototypeAccess(context: object, target: object): boolean {
+  return context === target
+    || (context.constructor !== target.constructor
+      && Object.getPrototypeOf(this).constructor === target.constructor);
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/log.ts.html b/docs/file/src/utils/log.ts.html new file mode 100644 index 0000000..6301ac5 --- /dev/null +++ b/docs/file/src/utils/log.ts.html @@ -0,0 +1,145 @@ + + + + + + src/utils/log.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/log.ts

+
/**
+ * Creates a log message.
+ *
+ * @private
+ * @export
+ * @param {string} [message='']
+ * @returns {string}
+ */
+export function log(message = ''): string {
+  return `lodash-decorators -> ${message}`;
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/resolveFunction.ts.html b/docs/file/src/utils/resolveFunction.ts.html new file mode 100644 index 0000000..ed34366 --- /dev/null +++ b/docs/file/src/utils/resolveFunction.ts.html @@ -0,0 +1,164 @@ + + + + + + src/utils/resolveFunction.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/resolveFunction.ts

+
import isFunction = require('lodash/isFunction');
+import isString = require('lodash/isString');
+import { log } from './log';
+
+/**
+ * Resolves a function on the current target object. It first will
+ * try and resolve on the context object, then the target object,
+ * then an error will be thrown if the method can not be resolved.
+ *
+ * @private
+ * @param {Function|string} method The method or method name.
+ * @param {Object} [context] The context object to resolve from.
+ * @param {Object} [target] The target object to resolve from.
+ * @returns {Function} The resolved function.
+ */
+export function resolveFunction(method?: string|Function, context?: any, target?: any, throwNotFound = true): any {
+  if (isFunction(method)) {
+    return method;
+  } else if (isString(method)) {
+    if (context && isFunction(context[method])) {
+      return context[method];
+    } else if (target && isFunction(target[method])) {
+      return target[method];
+    }
+  }
+
+  if (throwNotFound) {
+    throw new ReferenceError(log(`Can not resolve method ${method} on any target Objects`));
+  }
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/returnAtIndex.ts.html b/docs/file/src/utils/returnAtIndex.ts.html new file mode 100644 index 0000000..62f5767 --- /dev/null +++ b/docs/file/src/utils/returnAtIndex.ts.html @@ -0,0 +1,150 @@ + + + + + + src/utils/returnAtIndex.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/returnAtIndex.ts

+
/**
+ * Creates a function the returns the specific index.
+ *
+ * @private
+ * @export
+ * @param {Function} fn
+ * @param {number} index
+ * @returns {Function}
+ */
+export function returnAtIndex(fn: Function, index: number): Function {
+  return function(...args: any[]): any {
+    fn.call(this, ...args);
+
+    return args[index];
+  };
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/utils/wrapConstructor.ts.html b/docs/file/src/utils/wrapConstructor.ts.html new file mode 100644 index 0000000..75b7b03 --- /dev/null +++ b/docs/file/src/utils/wrapConstructor.ts.html @@ -0,0 +1,169 @@ + + + + + + src/utils/wrapConstructor.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/wrapConstructor.ts

+
import { assignAll } from './assignAll';
+
+const PROPERTY_EXCLUDES = [
+  'length',
+  'name',
+  'arguments',
+  'called',
+  'prototype'
+];
+
+/**
+ * Wraps a constructor in a wrapper function and copies all static properties
+ * and methods to the new constructor.
+ *
+ * @export
+ * @param {Function} Ctor
+ * @param {(Ctor: Function, ...args: any[]) => any} wrapper
+ * @returns {Function}
+ */
+export function wrapConstructor(Ctor: Function, wrapper: (Ctor: Function, ...args: any[]) => any): Function {
+  function ConstructorWrapper(...args: any[]) {
+    return wrapper.call(this, Ctor, ...args);
+  }
+
+  ConstructorWrapper.prototype = Ctor.prototype;
+  Object.defineProperty(ConstructorWrapper, 'name', {
+    // These values should coincide with the default descriptor values for `name`.
+    configurable: true,
+    enumerable: false,
+    value: Ctor.name,
+    writable: false
+  });
+
+  return assignAll(ConstructorWrapper, Ctor, PROPERTY_EXCLUDES);
+}
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/wrap.ts.html b/docs/file/src/wrap.ts.html new file mode 100644 index 0000000..5bbf2a3 --- /dev/null +++ b/docs/file/src/wrap.ts.html @@ -0,0 +1,153 @@ + + + + + + src/wrap.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/wrap.ts

+
import wrap = require('lodash/wrap');
+
+import {
+  DecoratorConfig,
+  DecoratorFactory,
+  ResolvableFunction,
+  LodashMethodDecorator
+} from './factory';
+import { WrapApplicator } from './applicators';
+
+const decorator = DecoratorFactory.createDecorator(
+  new DecoratorConfig(wrap, new WrapApplicator())
+);
+
+export function Wrap(fnToWrap?: ResolvableFunction): LodashMethodDecorator {
+  return decorator(fnToWrap);
+}
+export { Wrap as wrap };
+export default decorator;
+
+ +
+ + + + + + + + + + + + diff --git a/docs/function/index.html b/docs/function/index.html index 5e94bcd..1e9f818 100644 --- a/docs/function/index.html +++ b/docs/function/index.html @@ -3,14 +3,12 @@ - Function | Lodash Decorators Documentation API Document + Function | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository @@ -106,13 +132,14 @@

- BindAll(methods: string[]): ClassDecorator + + After(n: number): LodashDecorator

-

Binds methods of an object to the object itself, overwriting the existing method.

+

The opposite of Before.

@@ -134,13 +161,15 @@

- Mixin(srcs: ...*): * + + AfterAll(n: number): LodashDecorator

- +

The opposite of Before.

+
@@ -148,126 +177,2932 @@ - - + + + public + + + + + + +
+

+ + + + Ary(n: number): LodashMethodDecorator +

+
+
+ + +

Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.

-

Static Public

- -
-

- public - - - - - - BindAll(methods: string[]): ClassDecorator - +

+ + - source - - - - - - -

Binds methods of an object to the object itself, overwriting the existing method.

+ + + + + public + + + + + + +
+

+ + + + Before(n: number): LodashDecorator +

+
+
+ + +

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. +Subsequent calls to the created function return the result of the last func invocation.

- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
methodsstring[]
  • optional
  • -
  • default: []
+
+ + + + + + + + + public + + + + + + +
+

+ + + + BeforeAll(n: number): LodashDecorator +

+
+
+ + +

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. +Subsequent calls to the created function return the result of the last func invocation.

+
+ + + + + + + + + public + + + + + + +
+

+ + + + BindAll(methods: undefined): ClassDecorator +

+
+
+ + +

Binds methods of an object to the object itself, overwriting the existing method.

- -
-

Return:

- - - - + + + + + + + - -
ClassDecorator + + +
+ public + + + + + +
+

-

-
+ + + Debounce(wait: number, options: DebounceOptions): LodashDecorator +

+
+
+ + +

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

-
- - - - - - - - - -
-

Example:

- -
+
+ + -

-@BindAll()
-class MyClass {
-  bound() {
-    return this;
-  }
-
-  unbound() {
-    return this;
-  }
-}
-
-const myClass = new MyClass();
-
-myClass.bound.call(null); // => MyClass {}
-myClass.unbound.call(null); // => MyClass {}
-
+ + + + + + public + + + + + + +
+

+ + + + DebounceAll(wait: number, options: DebounceOptions): LodashMethodDecorator +

+
+
+ + +

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

- - - - - +
+ + + + + + + + + public + + + + + + +
+

+ + + + Delay(wait: number, args: undefined): LodashMethodDecorator +

+
+
+ + +

Invokes func after wait milliseconds.

-
-

- public - - - - - - Mixin(srcs: ...*): * - +

+ + - source - + + + + + public + + + + + + +
+

+ + + + Flip(fn: ResolvableFunction): LodashDecorator +

+
+
+ + +

Creates a function that invokes func with arguments reversed.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + Flow(fns: undefined): LodashDecorator +

+
+
+ + +

Creates a function that returns the result of invoking the given functions with the this binding of the created function, +where each successive invocation is supplied the return value of the previous.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + FlowRight(fns: undefined): LodashDecorator +

+
+
+ + +

Creates a function that returns the result of invoking the given functions with the this binding of the created function, +where each successive invocation is supplied the return value of the previous.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + Mixin(srcs: undefined): ClassDecorator +

+
+
+ + +

Mixins an object into the classes prototype.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + OverArgs(transforms: undefined): LodashMethodDecorator +

+
+
+ + +

Creates a function that invokes func with its arguments transformed.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + Partial(partials: undefined): PropertyDecorator +

+
+
+ + +

Partially applies arguments to a function.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + PartialRight(partials: undefined): PropertyDecorator +

+
+
+ + + +
+ + + + + + + + + public + + + + + + +
+

+ + + + Rearg(indexes: undefined, args: undefined): LodashDecorator +

+
+
+ + + +
+ + + + + + + + + public + + + + + + +
+

+ + + + ThrottleAll(wait: number, options: ThrottleOptions): LodashMethodDecorator +

+
+
+ + + +
+ + + + + + + + + public + + + + + + +
+

+ + + + Wrap(fnToWrap: ResolvableFunction): LodashMethodDecorator +

+
+
+ + + +
+ + + + + + + + + public + + + + + + +
+

+ + + + assignAll(to: T, from: U, excludes: undefined): T +

+
+
+ + +

Assigns all properties from an object to another object including non enumerable +properties.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + assignProperty(to: T, from: U, prop: string) +

+
+
+ + +

Assigns a property from one object to another while retaining descriptor properties.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + bind(fn: Function, context: undefined): Function +

+
+
+ + +

Binds a function and copies metadata.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + copyMetadata(to: undefined, from: undefined): * +

+
+
+ + +

Used to copy over meta data from function to function.

+
+
+ + + + + + + + + public + + + + + + + +
+ + + +
+ + + + + + + + + public + + + + + + +
+

+ + + + isPrototypeAccess(context: undefined, target: undefined): boolean +

+
+
+ + + +
+ + + + + + + + + public + + + + + + +
+

+ + + + log(message: undefined): string +

+
+
+ + +

Creates a log message.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + resolveFunction(method: undefined, context: undefined, target: undefined, throwNotFound: undefined): * +

+
+
+ + +

Resolves a function on the current target object.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + returnAtIndex(fn: Function, index: number): Function +

+
+
+ + +

Creates a function the returns the specific index.

+
+
+ + + + + + + + + public + + + + + + +
+

+ + + + wrapConstructor(Ctor: Function, wrapper: undefined): Function +

+
+
+ + +

Wraps a constructor in a wrapper function and copies all static properties +and methods to the new constructor.

+
+
+ + + + + + + + +
+

Static Public

+ +
+

+ public + + + + + + After(n: number): LodashDecorator + + + + source + +

+ +
import {After} from 'lodash-decorators/src/after.ts'
+ + +

The opposite of Before. This method creates a function that invokes once it's called n or more times.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
+
+
+ +
+

Return:

+ + + + + + + +
LodashDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + AfterAll(n: number): LodashDecorator + + + + source + +

+ +
import {AfterAll} from 'lodash-decorators/src/afterAll.ts'
+ + +

The opposite of Before. This method creates a function that invokes once it's called n or more times. +This spans across all instances of the class instead of the instance.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
+
+
+ +
+

Return:

+ + + + + + + +
LodashDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Ary(n: number): LodashMethodDecorator + + + + source + +

+ +
import {Ary} from 'lodash-decorators/src/ary.ts'
+ + +

Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
+
+
+ +
+

Return:

+ + + + + + + +
LodashMethodDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Before(n: number): LodashDecorator + + + + source + +

+ +
import {Before} from 'lodash-decorators/src/before.ts'
+ + +

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. +Subsequent calls to the created function return the result of the last func invocation.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
+
+
+ +
+

Return:

+ + + + + + + +
LodashDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + BeforeAll(n: number): LodashDecorator + + + + source + +

+ +
import {BeforeAll} from 'lodash-decorators/src/beforeAll.ts'
+ + +

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. +Subsequent calls to the created function return the result of the last func invocation.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
nnumber
+
+
+ +
+

Return:

+ + + + + + + +
LodashDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + BindAll(methods: undefined): ClassDecorator + + + + source + +

+ +
import {BindAll} from 'lodash-decorators/src/bindAll.ts'
+ + +

Binds methods of an object to the object itself, overwriting the existing method.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
methodsundefined
+
+
+ +
+

Return:

+ + + + + + + +
ClassDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Debounce(wait: number, options: DebounceOptions): LodashDecorator + + + + source + +

+ +
import {Debounce} from 'lodash-decorators/src/debounce.ts'
+ + +

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked. +The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them. +Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function. +Subsequent calls to the debounced function return the result of the last func invocation.

+

Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.

+

If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
waitnumber
optionsDebounceOptions
+
+
+ +
+

Return:

+ + + + + + + +
LodashDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + DebounceAll(wait: number, options: DebounceOptions): LodashMethodDecorator + + + + source + +

+ +
import {DebounceAll} from 'lodash-decorators/src/debounceAll.ts'
+ + +

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked. +The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them. +Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function. +Subsequent calls to the debounced function return the result of the last func invocation.

+

The debounce state is shared across all instances of the class.

+

Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.

+

If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
waitnumber
optionsDebounceOptions
+
+
+ +
+

Return:

+ + + + + + + +
LodashMethodDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Delay(wait: number, args: undefined): LodashMethodDecorator + + + + source + +

+ +
import {Delay} from 'lodash-decorators/src/delay.ts'
+ + +

Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
waitnumber
argsundefined
+
+
+ +
+

Return:

+ + + + + + + +
LodashMethodDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Flip(fn: ResolvableFunction): LodashDecorator + + + + source + +

+ +
import {Flip} from 'lodash-decorators/src/flip.ts'
+ + +

Creates a function that invokes func with arguments reversed. Honestly, there is probably not much +use for this decorator but maybe you will find one?

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
fnResolvableFunction
+
+
+ +
+

Return:

+ + + + + + + +
LodashDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Flow(fns: undefined): LodashDecorator + + + + source + +

+ +
import {Flow} from 'lodash-decorators/src/flow.ts'
+ + +

Creates a function that returns the result of invoking the given functions with the this binding of the created function, +where each successive invocation is supplied the return value of the previous.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
fnsundefined
+
+
+ +
+

Return:

+ + + + + + + +
LodashDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + FlowRight(fns: undefined): LodashDecorator + + + + source + +

+ +
import {FlowRight} from 'lodash-decorators/src/flowRight.ts'
+ + +

Creates a function that returns the result of invoking the given functions with the this binding of the created function, +where each successive invocation is supplied the return value of the previous.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
fnsundefined
+
+
+ +
+

Return:

+ + + + + + + +
LodashDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Mixin(srcs: undefined): ClassDecorator + + + + source + +

+ +
import {Mixin} from 'lodash-decorators/src/mixin.ts'
+ + +

Mixins an object into the classes prototype.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
srcsundefined
+
+
+ +
+

Return:

+ + + + + + + +
ClassDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + OverArgs(transforms: undefined): LodashMethodDecorator + + + + source + +

+ +
import {OverArgs} from 'lodash-decorators/src/overArgs.ts'
+ + +

Creates a function that invokes func with its arguments transformed.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
transformsundefined
+
+
+ +
+

Return:

+ + + + + + + +
LodashMethodDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Partial(partials: undefined): PropertyDecorator + + + + source + +

+ +
import {Partial} from 'lodash-decorators/src/partial.ts'
+ + +

Partially applies arguments to a function.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
partialsundefined
+
+
+ +
+

Return:

+ + + + + + + +
PropertyDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + PartialRight(partials: undefined): PropertyDecorator + + + + source + +

+ +
import {PartialRight} from 'lodash-decorators/src/partialRight.ts'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
partialsundefined
+
+
+ +
+

Return:

+ + + + + + + +
PropertyDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Rearg(indexes: undefined, args: undefined): LodashDecorator + + + + source + +

+ +
import {Rearg} from 'lodash-decorators/src/rearg.ts'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
indexesundefined
argsundefined
+
+
+ +
+

Return:

+ + + + + + + +
LodashDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + ThrottleAll(wait: number, options: ThrottleOptions): LodashMethodDecorator + + + + source + +

+ +
import {ThrottleAll} from 'lodash-decorators/src/throttleAll.ts'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
waitnumber
optionsThrottleOptions
+
+
+ +
+

Return:

+ + + + + + + +
LodashMethodDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Wrap(fnToWrap: ResolvableFunction): LodashMethodDecorator + + + + source + +

+ +
import {Wrap} from 'lodash-decorators/src/wrap.ts'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
fnToWrapResolvableFunction
+
+
+ +
+

Return:

+ + + + + + + +
LodashMethodDecorator
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + assignAll(to: T, from: U, excludes: undefined): T + + + + source + +

+ + + + +

Assigns all properties from an object to another object including non enumerable +properties.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
toT
fromU
excludesundefined
+
+
+ +
+

Return:

+ + + + + + + +
T
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + assignProperty(to: T, from: U, prop: string) + + + + source + +

+ +
import {assignProperty} from 'lodash-decorators/src/utils/assignAll.ts'
+ + +

Assigns a property from one object to another while retaining descriptor properties.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
toT
fromU
propstring
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + bind(fn: Function, context: undefined): Function + + + + source + +

+ + + + +

Binds a function and copies metadata.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
fnFunction
contextundefined
+
+
+ +
+

Return:

+ + + + + + + +
Function
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + copyMetadata(to: undefined, from: undefined): * + + + + source + +

+ +
import {copyMetadata} from 'lodash-decorators/src/utils/copyMetaData.ts'
+ + +

Used to copy over meta data from function to function. +If meta data is attached to a function. This can get lost +when wrapping functions. This tries to persist that.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
toundefined
fromundefined
+
+
+ +
+

Return:

+ + + + + + + +
*
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + isMethodOrPropertyDecoratorArgs(args: undefined): boolean + + + + source + +

+ +
import {isMethodOrPropertyDecoratorArgs} from 'lodash-decorators/src/utils/isDecoratorArgs.ts'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
argsundefined
+
+
+ +
+

Return:

+ + + + + + + +
boolean
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + isPrototypeAccess(context: undefined, target: undefined): boolean + + + + source + +

+ +
import {isPrototypeAccess} from 'lodash-decorators/src/utils/isPrototypeAccess.ts'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
contextundefined
targetundefined
+
+
+ +
+

Return:

+ + + + + + + +
boolean
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + log(message: undefined): string + + + + source + +

+ + + + +

Creates a log message.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
messageundefined
+
+
+ +
+

Return:

+ + + + + + + +
string
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + resolveFunction(method: undefined, context: undefined, target: undefined, throwNotFound: undefined): * + + + + source + +

+ +
import {resolveFunction} from 'lodash-decorators/src/utils/resolveFunction.ts'
+ + +

Resolves a function on the current target object. It first will +try and resolve on the context object, then the target object, +then an error will be thrown if the method can not be resolved.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
methodundefined
contextundefined
targetundefined
throwNotFoundundefined
+
+
+ +
+

Return:

+ + + + + + + +
*
+
+
+
+ + + + + + + + + + + + + + + +
+
+

+ public + + + + + + returnAtIndex(fn: Function, index: number): Function + + + + source +

- +
import {returnAtIndex} from 'lodash-decorators/src/utils/returnAtIndex.ts'
+ + +

Creates a function the returns the specific index.

+
+ + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
fnFunction
indexnumber
+
+
+ +
+

Return:

+ + + + + + + +
Function
+
+
+
+ + + + + + + + + + + + + + +
+
+

+ public + + + + + + wrapConstructor(Ctor: Function, wrapper: undefined): Function + + + + source + +

+ +
import {wrapConstructor} from 'lodash-decorators/src/utils/wrapConstructor.ts'
+

Wraps a constructor in a wrapper function and copies all static properties +and methods to the new constructor.

+
@@ -280,8 +3115,14 @@

Params:

- srcs - ...* + Ctor + Function + + + + + wrapper + undefined @@ -295,7 +3136,7 @@

Return:

- + @@ -323,7 +3164,7 @@

Return:

diff --git a/docs/identifiers.html b/docs/identifiers.html index 5294c33..fcc8433 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -3,14 +3,12 @@ - Index | Lodash Decorators Documentation API Document + Reference | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository

References

-

Class Summary

*Function
- + +
+
+ +
+ +
Static Public Class Summary
+ @@ -104,15 +136,17 @@ + + + + + - -
summary

+ F - Applicator + After(n: number): LodashDecorator

- +

The opposite of Before.

+
@@ -131,15 +165,17 @@

+ F - BindApplicator + AfterAll(n: number): LodashDecorator

- +

The opposite of Before.

+
@@ -158,15 +194,17 @@

+ F - ComposeApplicator + Ary(n: number): LodashMethodDecorator

- +

Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.

+
@@ -185,15 +223,18 @@

+ F - DecoratorConfig + Before(n: number): LodashDecorator

- +

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. +Subsequent calls to the created function return the result of the last func invocation.

+
@@ -212,15 +253,18 @@

+ F - InternalDecoratorFactory + BeforeAll(n: number): LodashDecorator

- +

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. +Subsequent calls to the created function return the result of the last func invocation.

+
@@ -239,15 +283,17 @@

+ F - InvokeApplicator + BindAll(methods: undefined): ClassDecorator

- +

Binds methods of an object to the object itself, overwriting the existing method.

+
@@ -266,15 +312,17 @@

+ F - MemoizeApplicator + Debounce(wait: number, options: DebounceOptions): LodashDecorator

- +

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

+
@@ -293,15 +341,17 @@

+ F - PartialApplicator + DebounceAll(wait: number, options: DebounceOptions): LodashMethodDecorator

- +

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

+
@@ -320,15 +370,17 @@

+ F - PartialedApplicator + Delay(wait: number, args: undefined): LodashMethodDecorator

- +

Invokes func after wait milliseconds.

+
@@ -347,15 +399,17 @@

+ F - PostValueApplicator + Flip(fn: ResolvableFunction): LodashDecorator

- +

Creates a function that invokes func with arguments reversed.

+
@@ -374,15 +428,18 @@

+ F - PreValueApplicator + Flow(fns: undefined): LodashDecorator

- +

Creates a function that returns the result of invoking the given functions with the this binding of the created function, +where each successive invocation is supplied the return value of the previous.

+
@@ -401,15 +458,47 @@

+ F - WrapApplicator + FlowRight(fns: undefined): LodashDecorator

+

Creates a function that returns the result of invoking the given functions with the this binding of the created function, +where each successive invocation is supplied the return value of the previous.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + Mixin(srcs: undefined): ClassDecorator +

+
+
+ +

Mixins an object into the classes prototype.

+
@@ -417,15 +506,36 @@
+ + + public + + + + + + +
+

+ F + + + OverArgs(transforms: undefined): LodashMethodDecorator +

+
+
+ + +

Creates a function that invokes func with its arguments transformed.

- -

Function Summary

- - - - + + + + + @@ -464,9 +575,10 @@ - -
Static Public Function Summary
+ + +
public @@ -436,15 +546,16 @@

+ F - BindAll(methods: string[]): ClassDecorator + Partial(partials: undefined): PropertyDecorator

-

Binds methods of an object to the object itself, overwriting the existing method.

+

Partially applies arguments to a function.

+ F - Mixin(srcs: ...*): * + PartialRight(partials: undefined): PropertyDecorator

@@ -480,14 +592,7 @@
-
-

Variable Summary

- - - - + @@ -696,16 +800,16 @@ + + + + + @@ -752,15 +885,16 @@ @@ -780,15 +914,16 @@ @@ -808,15 +943,16 @@ @@ -836,15 +972,16 @@ @@ -864,9 +1001,10 @@ @@ -947,16 +1086,16 @@
Static Public Variable Summary
public @@ -498,16 +603,16 @@

+ F - After(n: number): * + Rearg(indexes: undefined, args: undefined): LodashDecorator

-

The opposite of Before.

-
+
@@ -526,16 +631,16 @@

+ F - AfterAll(n: number): * + ThrottleAll(wait: number, options: ThrottleOptions): LodashMethodDecorator

-

The opposite of Before.

-
+
@@ -554,16 +659,16 @@

+ F - Ary(n: number): * + Wrap(fnToWrap: ResolvableFunction): LodashMethodDecorator

-

Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.

-
+
@@ -582,16 +687,16 @@

+ V - Attempt(args: ...*): * + decorator: *

-

Attempts to invoke func, returning either the result or the caught error object.

-
+
@@ -610,17 +715,16 @@

+ V - Before(n: number): * + decorator: *

-

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. -Subsequent calls to the created function return the result of the last func invocation.

-
+
@@ -639,17 +743,16 @@

+ V - BeforeAll(n: number): * + decorator: *

-

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. -Subsequent calls to the created function return the result of the last func invocation.

-
+
@@ -668,15 +771,16 @@

+ V - Bind(partials: ...*): * + Attempt(args: ...*): *

-

Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.

+

Attempts to invoke func, returning either the result or the caught error object.

+ V - Curry(arity: number): * + decorator: *

-

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.

-
+
@@ -724,15 +828,44 @@

+ V - CurryAll(arity: number): * + decorator: *

-

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.

+ +
+
+ + +
+ public + + + + + +
+

+ V + + + Bind(partials: ...*): * +

+
+
+ + +

Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.

+ V - CurryRight(arity: number): * + Curry(arity: number): *

-

This method is like .curry except that arguments are applied to func in the manner of .partialRight instead of _.partial.

+

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.

+ V - CurryRightAll(arity: number): * + CurryAll(arity: number): *

-

This method is like .curry except that arguments are applied to func in the manner of .partialRight instead of _.partial.

+

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.

+ V - Debounce(wait: number, options: DebounceOptions): * + CurryRight(arity: number): *

-

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

+

This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.

+ V - DebounceAll(wait: number, options: DebounceOptions): * + CurryRightAll(arity: number): *

-

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

+

This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.

@@ -891,16 +1029,16 @@

+ V - Defer(args: ...*): * + decorator: *

-

Defers invoking the func until the current call stack has cleared.

-
+
@@ -919,15 +1057,16 @@

+ V - Delay(wait: number, args: ...*): * + Defer(args: ...*): *

-

Invokes func after wait milliseconds.

+

Defers invoking the func until the current call stack has cleared.

+ V - Flip: * + decorator: *

-

Creates a function that invokes func with arguments reversed.

-
+
@@ -975,17 +1114,16 @@

+ V - Flow: * + decorator: *

-

Creates a function that returns the result of invoking the given functions with the this binding of the created function, -where each successive invocation is supplied the return value of the previous.

-
+
@@ -1004,17 +1142,16 @@

+ V - FlowRight: * + decorator: *

-

Creates a function that returns the result of invoking the given functions with the this binding of the created function, -where each successive invocation is supplied the return value of the previous.

-
+
@@ -1033,9 +1170,10 @@

+ V - InstanceChainMap: buildDocs/utils.js~CompositeKeyWeakMap + decorator: *

@@ -1060,15 +1198,17 @@

+ V - Memoize: * + Memoize: *

- +

Creates a function that memoizes the result of func.

+
@@ -1087,9 +1227,10 @@

+ V - MemoizeAll(resolver: Function): * + MemoizeAll(resolver: Function): *

@@ -1115,15 +1256,18 @@

+ V - Negate: * + Negate(fn: ResolvableFunction): *

- +

Negates a functions result or, when used on a property, creates a function that +negates the result of a provided function.

+
@@ -1142,15 +1286,17 @@

+ V - Once: * + Once: *

- +

Creates a function that is restricted to invoking func once.

+
@@ -1169,15 +1315,17 @@

+ V - OnceAll: * + OnceAll: *

- +

Creates a function that is restricted to invoking func once.

+
@@ -1196,9 +1344,10 @@

+ V - OverArgs: * + decorator: *

@@ -1223,9 +1372,10 @@

+ V - Partial: * + decorator: *

@@ -1250,9 +1400,10 @@

+ V - PartialRight: * + decorator: *

@@ -1277,9 +1428,10 @@

+ V - Rearg: * + decorator: *

@@ -1304,9 +1456,10 @@

+ V - Rest: * + Rest: *

@@ -1331,9 +1484,10 @@

+ V - Spread: * + Spread: *

@@ -1358,9 +1512,10 @@

+ V - Tap: * + Tap: *

@@ -1387,9 +1542,10 @@

+ V - Throttle: * + Throttle: *

@@ -1414,9 +1570,10 @@

+ V - ThrottleAll: * + ThrottleGetter: *

@@ -1441,9 +1598,10 @@
@@ -1468,9 +1626,10 @@

+ V - ThrottleSetter: * + decorator: *

@@ -1495,9 +1654,10 @@

+ V - Unary: * + Unary: *

@@ -1522,9 +1682,10 @@

+ V - Wrap: * + decorator: *

@@ -1541,12 +1702,789 @@
- - +
+
+

applicators

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
summary
+ public + + + + + +
+

+ C + + + Applicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + BindApplicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + ComposeApplicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + InvokeApplicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + MemoizeApplicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + PartialApplicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + PartialValueApplicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + PartialedApplicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + PostValueApplicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + PreValueApplicator +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + WrapApplicator +

+
+
+ + + +
+
+ + +
+
+
+
+

factory

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
summary
+ public + + + + + +
+

+ C + + + DecoratorConfig +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ C + + + InternalDecoratorFactory +

+
+
+ + + +
+
+ + +
+ public + + + + + + +
+ + + +
+
+ + +
+ public + + + + + + +
+ + + +
+
+ + +
+
+
+
+

utils

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
summary
+ public + + + + + +
+

+ C + + + CompositeKeyWeakMap +

+
+
+ + +

A map for weakly holding nested references.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + assignAll(to: T, from: U, excludes: undefined): T +

+
+
+ + +

Assigns all properties from an object to another object including non enumerable +properties.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + assignProperty(to: T, from: U, prop: string) +

+
+
+ + +

Assigns a property from one object to another while retaining descriptor properties.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + bind(fn: Function, context: undefined): Function +

+
+
+ + +

Binds a function and copies metadata.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + copyMetadata(to: undefined, from: undefined): * +

+
+
+ + +

Used to copy over meta data from function to function.

+
+
+
+ + +
+ public + + + + + + +
+ + + +
+
+ + +
+ public + + + + + +
+

+ F + + + isPrototypeAccess(context: undefined, target: undefined): boolean +

+
+
+ + + +
+
+ + +
+ public + + + + + +
+

+ F + + + log(message: undefined): string +

+
+
+ + +

Creates a log message.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + resolveFunction(method: undefined, context: undefined, target: undefined, throwNotFound: undefined): * +

+
+
+ + +

Resolves a function on the current target object.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + returnAtIndex(fn: Function, index: number): Function +

+
+
+ + +

Creates a function the returns the specific index.

+
+
+
+ + +
+ public + + + + + +
+

+ F + + + wrapConstructor(Ctor: Function, wrapper: undefined): Function +

+
+
+ + +

Wraps a constructor in a wrapper function and copies all static properties +and methods to the new constructor.

+
+
+
+ + +
+
+
+
+ +
+
Directories
+ +
+
diff --git a/docs/image/github.png b/docs/image/github.png deleted file mode 100644 index ea6ff545a246caa64074ba809bbc86fcb8589071..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4268 zcmaJ_c|25m+@2YcEGe=tO+zT_42H4qTL_VT8D=nHX3PwRki9HfBH7BIQ7JCj_beeI z(PA%IQuZumf5*MI`@VnN`<~A^=eL~adA{p8f1EgTGXqv8J|+MFz-nZuYe^f)M;9Xl z?T$df2WbN@Nzaya1?NEuL=w;dEfmfT4L0&cdZI1SNK}yDE3_&AKqrE+vL)G?nkc*D ze5H{`7-_OEp2h|MR5i$Wq`Nno1a?DvVz6qEm4+4w7=u!S*eICFn&NfPUKqn*0{Tj@ znU#C6w>ts_(NG7gl9g!!zGxB>O!oD`5|znnkUw>mY4f9P83_1K2+3Ow@|RP#rsiNB z903hhkd~8jmxV&XaJV#7UI7k=N`hgsP?(G??SxA~<&_oS$}mOn-v@+djezn{w$#=C z+ZJu52Js@1@X9hWfq{Y2fpXF~f~O1=fj}H-z+h4|gcLCdOG1*RuteeC3c6^bI{||y zVQ^URks{I!=TB0D&^-Ms1Yi6=vRLBZX`&@ehK$6^K&54mLi!CfHU0mgzP|sUi6l$( z|N8r{!bGbeJX*#QO~m;V+-ZgL5I!=6SJok*kt7_!3WxLgokepm90^DC!r{R>SKwfA zQ=~fvd$e)kPllD+ zRvxaUgpifj{ms?Ix%>N~v83Nz6pahhl84G`Y3tCq(0}C~HG?mnW?2_azyzRC`UIRW z_|Kq~G5_t0?0@_67Z>#}zWf~rt)x_q6t=RejnvErW>9V+3xJmC z`WZuvjAn72w+0gZ!c zA#ROc&m%S~RCo}xuD5jUEbXg(tZCM@w!T|#S$ju3+PKnZvOq!Te!k1i>ZlAY2d$hq zcr3hl)6*dTc>dY=Qd5hg9F-3ZJx12?th3 zY?KG;EA_?MEA`bUgvx84mEd_1K6WD6Zh&~3v&UiJT=<@uGaZ9%(IN9U?-o?uhZNz# z0#o|=;zl}_TF1jsmf+jyEQ<#bNr0KCAUYnr%4g{D(N{m#MffRnz-^cE<1DqGVEx5r zS9<&IEpl`xM442IxYkCk*}6`7oUa@Kl_Om(Wi)GrS2ItP;Ou5QroVSmsVXN0)hk8e z;lQ7wszq5KKkzMEul9)W#^WhAdM9n0$1xd~J`)gN+?&lyrT2u#TL&e_WNZu=06!YS z_X6e%y?CXFn(qe)=6ByvLZ1sdi9L_*4O%9s*q`)g@<+ngXLPynb=p>5ndD-SPd(4C`aTbdZ?bxKHELC zZeth7;3PqZD?s#@He`g7m$B$qvPY*AnR5l@#vg7e+&xsaNZJ7s<$W$OK|T@wSM zh`E>hGt7-jtmLJrt}Ivhf&`2+J~l%A7}}Xca7jJxI^wvclcjQLM5Eta<3kf9Toscy z2I56cmFzMI1s+2ser!B|B({ns8CaFV`-AdpPxNlkWi`M4xfYlJ>bcQa_Db9t&LAY; zx^2E~@4$Karl&<}9jvxNSjTQMt#zzn;Qqi*Jw&F8Na(c1_Jsc6N8&(xJElah#X~^m zO$FtV=RBR5){5SC5(*jhk?uKK7`fi`Y}eJ#ci%vh-fi6~JE0;=vP_jpjlbT?{#e-Q zg~+X2Dcc7K^U`4_pWG;HNCdX~rJUssvKg;+f3y~ob_om7(fWQVrk~|8c+5Oyh)!0u zH&@f%C3-|i_!B$Ex|tDNvP7;t@z^Uj(%<;2W8RZEAuh0EPbru^)k9_D$^x*({E+n& z{y0*heI0x$J9Uj|T}LA6SZHS^U1@BX{##YX50iv${&P>g_W{k;`KLa}>>L)9+be$H za1Hq$db|JP;I|C#s!D6abpfQ!SMEJxNrX5Po=~2~$zN$@d{C4ae%`0;u5lJIc<5zV zW0x;w_KUnGPtktlP2P#J6QNQr*8K9PVlhCrtEJW_VcAdqvfOn2!G(Z&x2T5n3f@d6yv9qGdpFIWgxra94$P&Yhsnc!#t)-Gv2pxFx>U@5&M# z7#U*2+|*`pSdAT(GQiPE$Ex`}N+I!wwb~zatxGDuvCL1$dV-cI>A&21r3eoG;Lk8> zhmAcpb*$KgS=PzD#t!=+rn>kYXx#YR)Dn+tD7G%>f%NHRvzUhtr}1(z(HiB$A-%vD z`5X-Jp!>%UspC}u?_WmmD;h%*I*Zz09eZ~A{G;;OSqJ&?c>WA=&gyqG%p)(6V*26E z{`k1QNoE~O9dKi0)Wme|c} zpD9V60svR6jT^^lPq@XY4fnzWFP@(qA|#AoRZ#%ui7nS&g(Xw!JO=DIRz0X4b&exr zkY`td`J1Q{ea9M&%2%T#Ta;&a<1sj6L)n2PV_y7NO8EsgholQRo&m^2^@skl2bJt` zu{-&e43fXh6JRAQ*3k{gK53WkKIN2vD)Z{THopDGy|Ji5&I%H;Ecs!{lt{IB9_h<_F@CJB{)}FVpTFvK zXP(=eD=e5uI3>NH`X-wAtvibZtmZ?rL z7wsuLRIVuCeEjQ}R}+ZAfvu;^h{(w;f2~*YCtDTpuuti0eA}tHeTR8%o~dzA^q5{z zUQNy_)>BQCr4&n zY9ifZI%XxIcTU~-B#>+|02RG{!zI=^*x31j0>MV-*^bTh_(BK8Ju&5MRoaw8+1sG1 zL%CEWY*}Ha7nicSa&3PfVrP_f!DVI}!S&!{Ym;aR{feM{vMO6NOZr%GWB(&Z`wMOR z#)*@43&=FFCXmN^kEWAz)MHgZ6DzNPf8RC_rbOG((u3cI+!P)?mdoPYwy+W=xS^mz zfWC?vOdizPc*paTy;7&k%4PvouNbGIDHnoj<91_&*-aZqO)}LOa&*pZeF>N7l>Pz< zd;rv0z9>AUFFFYW!822_#dpkxb^lmTJyFw~@j`t0>4*7~9p0D`MHX1=O>e$JdK(YU zaj~=9#M%X_gvkYeC*Lkko|dT;vWBG#k0&O6W2g6_Mv4}FWx^J#7cBEjg3w2YH@g)Q zuPcXBzOk0d9;`^u*e`sV2s~bPHkR-tDYRo6Xua4hTUwLG+tvh)QIX*oR|Y1Ov28Zk zylyfJyrpjDH=Jjhz5$=Jg(|PB@fV!q?btPZ{rS$TKfdo!+1YTi23~<47U94_5&pH} znfUigS(B@ik&Xh(E?Ua@PItu=bDG)ZUT{R;eznP5G{Em}%@vdRrM`+tN6I(JQMxzt zzG?+!S4Ta~BX5?vtMn^pahCg%YIEzN%1z!wZj%6cu}N6lF1c=c&0t!fJ{z?E+8|pX ztL03D#Wef7T$WgBgBg5GX1JT$UHCk!=iSaW`dgj`dWdyaEzWVS!D%kH>i&#|Y?8|9 z-4$lE_MykI*a<$47lk7Bjbdv}w_`*zdXZuGN3Iu`_YOWZs2xJ(qa;J)R&SUlR@|sR zt8oL;Vk6BgD)ama+gNdT3rq5$E=wTS_vPNL5v7O8(WRT)ia$MvhreFxtoojl@A>L* z?V3N9{Or`QzB8zrK~Wzy9(B6iNvvA2IDC!4FDT_F{|-W_zsO%Zd!zcZU$$SrY)QbT z+}KQlk=a`^_W*hzPZ#yMhjHq8PQ9i6db5c4WxBN_N7p?>>OOl+NcT)WrFk4NdiE{l z;%pD)D#!i39~nk@^PUQri!2Iu0oQ(*7KqFFs)#t$B7j`oGM}O2VyLY`9N-5vh@n;< zRNIc6&UJhY@?%IVdD-=xjGWJqn^0=jZBU)tv{v1U7ED&2v5=oi(iJ2&r=CAe0V;*$ zW$8S9fv(wveNqLlBQuhxlIr{{L<<*+21HMjNzwF5+p`Q`+5~JF9k>|vUCpaTL{(Py zw>le+8;vV|Ci0p)i8;A|+2>n*&Llb{e1az3q!#5`h2t?5>RN5A0%e*-$ySQrj$M&HIK~a9W)6d?W8J*D|_Nsk$ zGP@D92-<(_m%Dt`w&=aK1L=et-x-8!#A~nMjd>p5y_E~xqvBa(g-xz$rbrZzJy}@V zMDqqtV5Q@0Jnd^ZegdA!J_j+KUwf*Q89r!GpX^tCjM-_vCiKDr%LHG*Tq?b|4*FY1 zr|I5VzQbkN?NfI!QSV9w{6i7N+PZuZNn#B7s)KDhPO1TQJe zZL1UgBIOOdRP;I*>7?O<3ezgLDn5OQ67L#>r1#{bKe8hz0Pg XLyRvu{aX3a{{tgEGu={c*U0|?Dtn-9 diff --git a/docs/image/manual-badge.svg b/docs/image/manual-badge.svg index 54224bc..4029606 100644 --- a/docs/image/manual-badge.svg +++ b/docs/image/manual-badge.svg @@ -1,17 +1,17 @@ - + - - + + - + manual manual - @value@ - @value@ + @value@ + @value@ diff --git a/docs/index.html b/docs/index.html index ca01da1..0a3b191 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,14 +3,12 @@ - Lodash Decorators Documentation API Document + Home | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository -

lodash-decorators

-

Decorators using lodash functions. View the API docs for more in depth documentation.

-

Build Status +

lodash-decorators

Decorators using lodash functions. View the API docs for more in depth documentation.

+

Build Status npm version

    -
  • Install
  • +
  • Install +
  • Usage
    • Decorators
    • -
    • Partials
        +
      • Optional Params and Casing
      • -
      • Composition
          +
        • Partials
        • +
        • Composition +
        • Instance Decorators
        • Mixin
        • Attempt
        • Bind
        • v4 Breaking Changes
            @@ -140,18 +172,16 @@

          -

          Install

          -

          npm install --save lodash-decorators

          -

          Usage

          -

          For more in depth documentation please visit Lodash

          +

          Install

          npm install --save lodash lodash-decorators

          +

          Polyfills

          This library requires Map and WeakMap to be available globally. If Map or WeakMap is not supported in your environment then use a polyfill.

          +

          Usage

          For more in depth documentation please visit Lodash

          Decorators are exported as both start case and lower case.

          import { Debounce } from 'lodash-decorators';

          is the same as

          import { debounce } from 'lodash-decorators';

          They can also be imported directly.

          import Debounce from 'lodash-decorators/debounce';

          -

          Decorators

          -

          These decorators are included in the package. These are also exported as lowercase for those who prefer lowercase decorators.

          +

          Decorators

          These decorators are included in the package. These are also exported as lowercase for those who prefer lowercase decorators.

          • After
          • AfterAll
          • @@ -192,8 +222,7 @@

            Decorators

          • Unary
          • Wrap
          -

          Example

          -
          import { Debounce, Memoize } from 'lodash-decorators';
          +

          Example

          import { Debounce, Memoize } from 'lodash-decorators';
           
           class Person {
             constructor(firstName, lastName) {
          @@ -210,8 +239,24 @@ 

          Example

          doSomeHeavyProcessing(arg1, arg2) {} }
          -

          Partials

          -

          Some decorators work slightly differently than you would expect +

          Optional Params and Casing

          If a decorator does not require params or has optional params then the decorator does not require invocation. +Decorators are also exported in lower case as well as start case.

          +

          Example

          // These are both valid decorator usages.
          +class Person {
          +  @Memoize()
          +  doSomething() {}
          +
          +  @Memoize
          +  doSomething2() {}
          +
          +  @memoize()
          +  doSomething3() {}
          +
          +  @memoize
          +  doSomething4() {}
          +}
          +
          +

          Partials

          Some decorators work slightly differently than you would expect them to work than lodash.

          • Partial
          • @@ -221,8 +266,7 @@

            Partials

            These can take a Function as their first argument or a String. If the argument is a String then a Function is resolved from the current object.

            -

            Example

            -
            import { Partial } from 'lodash-decorators'
            +

            Example

            import { Partial, Wrap } from 'lodash-decorators'
             
             class Person {
               constructor(firstName, lastName) {
            @@ -252,12 +296,10 @@ 

            Example

            person.getLastName(); // 'Smith' person.getUpperCaseName(); // JOE SMITH
            -

            Composition

            -

            You can use methods like compose and flow similiar to +

            Composition

            You can use methods like compose and flow similiar to partials. The arguments are resolved the same way partials are resolved.

            -

            Example

            -
            import { Flow } from 'lodash-decorators'
            +

            Example

            import { Flow } from 'lodash-decorators'
             import { kebabCase } from 'lodash';
             
             class Person {
            @@ -278,8 +320,7 @@ 

            Example

            person.logName(); // joe-smith
            -

            Instance Decorators

            -

            Normally decorators are applied to the prototype method +

            Instance Decorators

            Normally decorators are applied to the prototype method of the class you are working with, but with some of these decorators that is not the desired behavour. These decorators are applied at the instance level.

            @@ -294,11 +335,15 @@

            Instance Decorators

          • Once
          • Flow
          • FlowRight
          • +
          • Rearg
          • +
          • Negate
          • +
          • Flip
          • +
          • Bind
          • +
          • Partial
          • +
          • PartialRight
          -

          Mixin

          -

          You can mixin methods into a class by using the Mixin decorator.

          -

          Example

          -
          import { Mixin } from 'lodash-decorators';
          +

          Mixin

          You can mixin methods into a class by using the Mixin decorator.

          +

          Example

          import { Mixin } from 'lodash-decorators';
           
           const MyOtherApi = {
             someCoolMethod() {
          @@ -311,10 +356,8 @@ 

          Example

          Person.prototype.someCoolMethod === MyOtherApi.someCoolMethod; // => true
          -

          Attempt

          -

          You can wrap a method in a lodash attempt method.

          -

          Example

          -
          import { Attempt } from 'lodash-decorators';
          +

          Attempt

          You can wrap a method in a lodash attempt method.

          +

          Example

          import { Attempt } from 'lodash-decorators';
           
           class Person {
             @Attempt()
          @@ -338,11 +381,9 @@ 

          Example

          result === '0_o'; // => true
          -

          Bind

          -

          Bind takes arguments based on lodash's bind and binds the Function to +

          Bind

          Bind takes arguments based on lodash's bind and binds the Function to the current instance object.

          -

          Example

          -
          import { Bind } from 'lodash-decorators'
          +

          Example

          import { Bind } from 'lodash-decorators'
           
           class Person {
             constructor(firstName, lastName) {
          @@ -368,8 +409,7 @@ 

          Example

          person.getUpperCaseName(); // JOE

          You can also bind entire classes with bindAll or bind.

          -

          Example

          -
          import { BindAll } from 'lodash-decorators'
          +

          Example

          import { BindAll } from 'lodash-decorators'
           
           @BindAll()
           class Person {
          @@ -387,14 +427,12 @@ 

          Example

          person.getName.call(null); // Joe Smith
          -

          v4 Breaking Changes

          -

          Version 4 is a rewrite of the library and has many breaking changes.

          -

          Not all decorators can be applied to or forced on getters/setters.

          -

          Only certain decorators make sense to be applied to getters/setters. Before you could specify the target of the decorator like debounce.set(15). This behavior is +

          v4 Breaking Changes

          Version 4 is a rewrite of the library and has many breaking changes.

          +

          Not all decorators can be applied to or forced on getters/setters.

          Only certain decorators make sense to be applied to getters/setters. Before you could specify the target of the decorator like debounce.set(15). This behavior is removed and decorators that make sense to apply to getters/setters are configured to be applied to methods and either the getter or the setter. For example:

          class MyClass {
             // This only gets applied to the setter as it doesn't make sense to apply it to the getter.
          -  @Debounce(1000) 
          +  @Debounce(1000)
             get value() {
               return this._value;
             }
          @@ -408,23 +446,17 @@ 

          Not }

          This keeps the API cleaner and doesn't require the developer to know how the decorator applies to the descriptor. Some decorators have explicit version that apply to either getters of setters, such as ThrottleGetter and ThrottleSetter.

          -

          No longer force instance decorator onto prototype

          -

          There is no longer a Proto decorator attached to instance decorators. Most instance decorators now have a counterpart that applies to the prototype instead of the instance. Debounce.Proto() is now DebounceAll().

          -

          All decorators now take arguments

          -

          All decorators now take arguments. So instead of @Once you would do @Once(). This keeps the API consistent and doesn't require the develop to remember which decorators take arguments.

          -

          Removal of extensions and validation package

          -

          All extensions like enumerable have been removed in favor of core-decorators. There may be some slight over lap like debounce and throttle. Fair warning, instance decorators may not play nice with other implementations of instance decorators.

          +

          No longer force instance decorator onto prototype

          There is no longer a Proto decorator attached to instance decorators. Most instance decorators now have a counterpart that applies to the prototype instead of the instance. Debounce.Proto() is now DebounceAll().

          +

          All decorators now take arguments

          All decorators now take arguments. So instead of @Once you would do @Once(). This keeps the API consistent and doesn't require the developer to remember which decorators take arguments.

          +

          Removal of extensions and validation package

          All extensions like enumerable have been removed in favor of core-decorators. There may be some slight over lap like debounce and throttle. Fair warning, instance decorators may not play nice with other implementations of instance decorators.

          We want to keep lodash decorators focused specifically on lodash specific functions.

          -

          Prototype decorator order no longer throws an error

          -

          If a prototype decorator comes after an instance decorator it will be ignored since there is no way to apply it in the chain.

          -

          Other breaking changes

          -
            +

            Prototype decorator order no longer throws an error

            If a prototype decorator comes after an instance decorator it will be ignored since there is no way to apply it in the chain.

            +

            Other breaking changes

            • Attempt now takes an argument to line up with lodash API.
            • Bind used on a class no longer delegates to BindAll. Use BindAll instead.
            • Curry, Partial, Flow, FlowRight are now instance decorators.
            -

            v4 Improvements

            -
              +

              v4 Improvements

              • Ships with TypeScript typings.
              • Predictable performance.
              • Improvements to Bind decorator.
              • @@ -438,7 +470,7 @@

                v4 Improvements

diff --git a/docs/index.json b/docs/index.json new file mode 100644 index 0000000..cdd270f --- /dev/null +++ b/docs/index.json @@ -0,0 +1,6838 @@ +[ + { + "__docId__": 1, + "kind": "external", + "name": "Infinity", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Infinity", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 2, + "kind": "external", + "name": "NaN", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~NaN", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 3, + "kind": "external", + "name": "undefined", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~undefined", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 4, + "kind": "external", + "name": "null", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~null", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 5, + "kind": "external", + "name": "Object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Object", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 6, + "kind": "external", + "name": "object", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~object", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 7, + "kind": "external", + "name": "Function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Function", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 8, + "kind": "external", + "name": "function", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~function", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 9, + "kind": "external", + "name": "Boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Boolean", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 10, + "kind": "external", + "name": "boolean", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~boolean", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 11, + "kind": "external", + "name": "Symbol", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Symbol", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 12, + "kind": "external", + "name": "Error", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Error", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 13, + "kind": "external", + "name": "EvalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~EvalError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 14, + "kind": "external", + "name": "InternalError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~InternalError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 15, + "kind": "external", + "name": "RangeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~RangeError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 16, + "kind": "external", + "name": "ReferenceError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~ReferenceError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 17, + "kind": "external", + "name": "SyntaxError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~SyntaxError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 18, + "kind": "external", + "name": "TypeError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~TypeError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 19, + "kind": "external", + "name": "URIError", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~URIError", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 20, + "kind": "external", + "name": "Number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Number", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 21, + "kind": "external", + "name": "number", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~number", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 22, + "kind": "external", + "name": "Date", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Date", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 23, + "kind": "external", + "name": "String", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~String", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 24, + "kind": "external", + "name": "string", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~string", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 25, + "kind": "external", + "name": "RegExp", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~RegExp", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 26, + "kind": "external", + "name": "Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 27, + "kind": "external", + "name": "Int8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Int8Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 28, + "kind": "external", + "name": "Uint8Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint8Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 29, + "kind": "external", + "name": "Uint8ClampedArray", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint8ClampedArray", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 30, + "kind": "external", + "name": "Int16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Int16Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 31, + "kind": "external", + "name": "Uint16Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint16Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 32, + "kind": "external", + "name": "Int32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Int32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 33, + "kind": "external", + "name": "Uint32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Uint32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 34, + "kind": "external", + "name": "Float32Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Float32Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 35, + "kind": "external", + "name": "Float64Array", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Float64Array", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 36, + "kind": "external", + "name": "Map", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Map", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 37, + "kind": "external", + "name": "Set", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Set", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 38, + "kind": "external", + "name": "WeakMap", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~WeakMap", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 39, + "kind": "external", + "name": "WeakSet", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~WeakSet", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 40, + "kind": "external", + "name": "ArrayBuffer", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~ArrayBuffer", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 41, + "kind": "external", + "name": "DataView", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~DataView", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 42, + "kind": "external", + "name": "JSON", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~JSON", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 43, + "kind": "external", + "name": "Promise", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Promise", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 44, + "kind": "external", + "name": "Generator", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Generator", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 45, + "kind": "external", + "name": "GeneratorFunction", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~GeneratorFunction", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 46, + "kind": "external", + "name": "Reflect", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Reflect", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 47, + "kind": "external", + "name": "Proxy", + "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", + "memberof": "src/.external-ecmascript.js", + "static": true, + "longname": "src/.external-ecmascript.js~Proxy", + "access": "public", + "description": "", + "builtinExternal": true + }, + { + "__docId__": 48, + "kind": "file", + "name": "src/after.ts", + "content": "import after = require('lodash/after');\n\nimport { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';\nimport { PostValueApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(after, new PostValueApplicator(), { setter: true })\n);\n\n/**\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n *\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @After(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n */\nexport function After(n: number): LodashDecorator {\n return decorator(n);\n}\nexport { After as after };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/after.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 49, + "kind": "function", + "name": "After", + "memberof": "src/after.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/after.ts~After", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/after.ts", + "importStyle": "{After}", + "description": "The opposite of Before. This method creates a function that invokes once it's called n or more times.", + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "n", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 50, + "kind": "variable", + "name": "decorator", + "memberof": "src/after.ts", + "static": true, + "longname": "src/after.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/after.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 51, + "kind": "file", + "name": "src/afterAll.ts", + "content": "import after = require('lodash/after');\n\nimport { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';\nimport { PostValueApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createDecorator(\n new DecoratorConfig(after, new PostValueApplicator(), { setter: true })\n);\n\n/**\n * The opposite of Before. This method creates a function that invokes once it's called n or more times.\n * This spans across all instances of the class instead of the instance.\n *\n * @param {number} n The number of calls before the function is invoked.\n * @example\n *\n * class MyClass {\n * @AfterAll(2)\n * fn() {\n * return 10;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); // => undefined\n * myClass.fn(); // => 10\n *\n * myClass2.fn(); // => 10\n * myClass2.fn(); // => 10\n */\nexport function AfterAll(n: number): LodashDecorator {\n return decorator(n);\n}\nexport { AfterAll as afterAll };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/afterAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 52, + "kind": "function", + "name": "AfterAll", + "memberof": "src/afterAll.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/afterAll.ts~AfterAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/afterAll.ts", + "importStyle": "{AfterAll}", + "description": "The opposite of Before. This method creates a function that invokes once it's called n or more times.\nThis spans across all instances of the class instead of the instance.", + "lineNumber": 33, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "n", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 53, + "kind": "variable", + "name": "decorator", + "memberof": "src/afterAll.ts", + "static": true, + "longname": "src/afterAll.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/afterAll.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 54, + "kind": "file", + "name": "src/applicators/Applicator.ts", + "content": "import { ApplicateOptions } from '../shared';\n\nexport { ApplicateOptions } from '../shared';\n\nexport abstract class Applicator {\n abstract apply(options: ApplicateOptions): any;\n}", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/Applicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 55, + "kind": "class", + "name": "Applicator", + "memberof": "src/applicators/Applicator.ts", + "static": true, + "longname": "src/applicators/Applicator.ts~Applicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/Applicator.ts", + "importStyle": "{Applicator}", + "description": "", + "lineNumber": 5, + "interface": false + }, + { + "__docId__": 56, + "kind": "file", + "name": "src/applicators/BindApplicator.ts", + "content": "import { Applicator, ApplicateOptions } from './Applicator';\n\nexport class BindApplicator extends Applicator {\n apply({ value, config: { execute } , args, instance }: ApplicateOptions): any {\n if (!instance) {\n return value;\n }\n\n return execute(value, instance, ...args);\n }\n}", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/BindApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 57, + "kind": "class", + "name": "BindApplicator", + "memberof": "src/applicators/BindApplicator.ts", + "static": true, + "longname": "src/applicators/BindApplicator.ts~BindApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/BindApplicator.ts", + "importStyle": "{BindApplicator}", + "description": "", + "lineNumber": 3, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 58, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/BindApplicator.ts~BindApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/BindApplicator.ts~BindApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 4, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 59, + "kind": "file", + "name": "src/applicators/ComposeApplicator.ts", + "content": "import identity = require('lodash/identity');\n\nimport { Applicator, ApplicateOptions } from './Applicator';\nimport { resolveFunction } from '../utils';\n\nexport class ComposeApplicator extends Applicator {\n constructor(private _config: { post?: boolean } = {}) {\n super();\n }\n\n get post(): boolean {\n return this._config.post === true;\n }\n\n apply({ config: { execute }, value = identity, args, target }: ApplicateOptions): any {\n const applicator = this;\n\n return function(...invokeArgs: any[]): any {\n const _args = [\n ...args.map(method => resolveFunction(method, this, target))\n ];\n\n if (applicator.post) {\n _args.push(value);\n } else {\n _args.unshift(value);\n }\n\n return execute(..._args).apply(this, invokeArgs);\n };\n }\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/ComposeApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 60, + "kind": "class", + "name": "ComposeApplicator", + "memberof": "src/applicators/ComposeApplicator.ts", + "static": true, + "longname": "src/applicators/ComposeApplicator.ts~ComposeApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/ComposeApplicator.ts", + "importStyle": "{ComposeApplicator}", + "description": "", + "lineNumber": 6, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 61, + "kind": "constructor", + "name": "constructor", + "memberof": "src/applicators/ComposeApplicator.ts~ComposeApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/ComposeApplicator.ts~ComposeApplicator#constructor", + "access": "public", + "description": null, + "lineNumber": 10, + "undocument": true + }, + { + "__docId__": 62, + "kind": "member", + "name": "_config", + "memberof": "src/applicators/ComposeApplicator.ts~ComposeApplicator", + "static": false, + "longname": "src/applicators/ComposeApplicator.ts~ComposeApplicator#_config", + "access": "private", + "description": null, + "lineNumber": 12, + "undocument": true, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 63, + "kind": "get", + "name": "post", + "memberof": "src/applicators/ComposeApplicator.ts~ComposeApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/ComposeApplicator.ts~ComposeApplicator#post", + "access": "public", + "description": "", + "lineNumber": 11, + "type": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 64, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/ComposeApplicator.ts~ComposeApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/ComposeApplicator.ts~ComposeApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 65, + "kind": "file", + "name": "src/applicators/InvokeApplicator.ts", + "content": "import { Applicator, ApplicateOptions } from './Applicator';\n\nexport class InvokeApplicator extends Applicator {\n apply({ args, config: { execute }, value }: ApplicateOptions): any {\n return function(...invokeArgs: any[]): any {\n return execute(value.bind(this), ...invokeArgs, ...args);\n };\n }\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/InvokeApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 66, + "kind": "class", + "name": "InvokeApplicator", + "memberof": "src/applicators/InvokeApplicator.ts", + "static": true, + "longname": "src/applicators/InvokeApplicator.ts~InvokeApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/InvokeApplicator.ts", + "importStyle": "{InvokeApplicator}", + "description": "", + "lineNumber": 3, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 67, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/InvokeApplicator.ts~InvokeApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/InvokeApplicator.ts~InvokeApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 4, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 68, + "kind": "file", + "name": "src/applicators/MemoizeApplicator.ts", + "content": "import isFunction = require('lodash/isFunction');\nimport isObjectLike = require('lodash/isObjectLike');\n\nimport { Applicator, ApplicateOptions } from './Applicator';\nimport { resolveFunction } from '../utils';\n\nexport class MemoizeApplicator extends Applicator {\n apply({ value, instance, config: { execute }, args: [arg], target }: ApplicateOptions): any {\n let resolver = resolveFunction(\n isFunction(arg) ? arg : isObjectLike(arg) ? arg.resolver : arg,\n instance,\n target,\n false\n );\n\n if (resolver && instance) {\n resolver = resolver.bind(instance);\n }\n\n const memoized = resolver ? execute(value, resolver) : execute(value);\n\n if (isObjectLike(arg)) {\n const { cache, type } = arg;\n\n if (cache) {\n memoized.cache = cache;\n } else if (isFunction(type)) {\n memoized.cache = new (type as any)();\n }\n }\n\n return memoized;\n }\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/MemoizeApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 69, + "kind": "class", + "name": "MemoizeApplicator", + "memberof": "src/applicators/MemoizeApplicator.ts", + "static": true, + "longname": "src/applicators/MemoizeApplicator.ts~MemoizeApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/MemoizeApplicator.ts", + "importStyle": "{MemoizeApplicator}", + "description": "", + "lineNumber": 7, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 70, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/MemoizeApplicator.ts~MemoizeApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/MemoizeApplicator.ts~MemoizeApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 8, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 71, + "kind": "file", + "name": "src/applicators/PartialApplicator.ts", + "content": "import { Applicator, ApplicateOptions } from './Applicator';\nimport { resolveFunction } from '../utils';\n\nexport class PartialApplicator extends Applicator {\n apply({ args, target, config: { execute } }: ApplicateOptions): any {\n return function(...invokeArgs: any[]): any {\n return execute(resolveFunction(args[0], this, target), ...args.slice(1)).apply(this, invokeArgs);\n };\n }\n}", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/PartialApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 72, + "kind": "class", + "name": "PartialApplicator", + "memberof": "src/applicators/PartialApplicator.ts", + "static": true, + "longname": "src/applicators/PartialApplicator.ts~PartialApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/PartialApplicator.ts", + "importStyle": "{PartialApplicator}", + "description": "", + "lineNumber": 4, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 73, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/PartialApplicator.ts~PartialApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/PartialApplicator.ts~PartialApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 5, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 74, + "kind": "file", + "name": "src/applicators/PartialValueApplicator.ts", + "content": "import isFunction = require('lodash/isFunction');\n\nimport { Applicator, ApplicateOptions } from './Applicator';\nimport { resolveFunction } from '../utils';\n\nexport class PartialValueApplicator extends Applicator {\n apply({ args, target, value, config: { execute } }: ApplicateOptions): any {\n return function(...invokeArgs: any[]): any {\n let fn = value;\n let argIndex = 0;\n\n if (!isFunction(fn)) {\n fn = resolveFunction(args[0], this, target);\n argIndex = 1;\n }\n\n return execute(fn, ...args.slice(argIndex)).apply(this, invokeArgs);\n };\n }\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/PartialValueApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 75, + "kind": "class", + "name": "PartialValueApplicator", + "memberof": "src/applicators/PartialValueApplicator.ts", + "static": true, + "longname": "src/applicators/PartialValueApplicator.ts~PartialValueApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/PartialValueApplicator.ts", + "importStyle": "{PartialValueApplicator}", + "description": "", + "lineNumber": 6, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 76, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/PartialValueApplicator.ts~PartialValueApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/PartialValueApplicator.ts~PartialValueApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 7, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 77, + "kind": "file", + "name": "src/applicators/PartialedApplicator.ts", + "content": "import partial = require('lodash/partial');\n\nimport { Applicator, ApplicateOptions } from './Applicator';\n\nexport class PartialedApplicator extends Applicator {\n apply({ config: { execute }, value, args }: ApplicateOptions): any {\n // The `partial` function is over-constrained and generics locks proper use of rest parameter.\n return (partial as any)(execute as (...argsIn: any[]) => any, value, ...args);\n }\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/PartialedApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 78, + "kind": "class", + "name": "PartialedApplicator", + "memberof": "src/applicators/PartialedApplicator.ts", + "static": true, + "longname": "src/applicators/PartialedApplicator.ts~PartialedApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/PartialedApplicator.ts", + "importStyle": "{PartialedApplicator}", + "description": "", + "lineNumber": 5, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 79, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/PartialedApplicator.ts~PartialedApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/PartialedApplicator.ts~PartialedApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 6, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 80, + "kind": "file", + "name": "src/applicators/PostValueApplicator.ts", + "content": "import { Applicator, ApplicateOptions } from './Applicator';\n\nexport class PostValueApplicator extends Applicator {\n apply({ config: { execute }, args, value }: ApplicateOptions): any {\n return execute(...args, value);\n }\n}", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/PostValueApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 81, + "kind": "class", + "name": "PostValueApplicator", + "memberof": "src/applicators/PostValueApplicator.ts", + "static": true, + "longname": "src/applicators/PostValueApplicator.ts~PostValueApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/PostValueApplicator.ts", + "importStyle": "{PostValueApplicator}", + "description": "", + "lineNumber": 3, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 82, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/PostValueApplicator.ts~PostValueApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/PostValueApplicator.ts~PostValueApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 4, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 83, + "kind": "file", + "name": "src/applicators/PreValueApplicator.ts", + "content": "import { Applicator, ApplicateOptions } from './Applicator';\n\nexport class PreValueApplicator extends Applicator {\n apply({ value, config: { execute }, args }: ApplicateOptions): any {\n return execute(value, ...args);\n }\n}", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/PreValueApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 84, + "kind": "class", + "name": "PreValueApplicator", + "memberof": "src/applicators/PreValueApplicator.ts", + "static": true, + "longname": "src/applicators/PreValueApplicator.ts~PreValueApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/PreValueApplicator.ts", + "importStyle": "{PreValueApplicator}", + "description": "", + "lineNumber": 3, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 85, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/PreValueApplicator.ts~PreValueApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/PreValueApplicator.ts~PreValueApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 4, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 86, + "kind": "file", + "name": "src/applicators/WrapApplicator.ts", + "content": "import { Applicator, ApplicateOptions } from './Applicator';\nimport { resolveFunction } from '../utils';\n\nexport class WrapApplicator extends Applicator {\n apply({ args, config: { execute }, target, value }: ApplicateOptions): any {\n return function(...invokeArgs: any[]): any {\n return execute(resolveFunction(args[0], this, target), value).apply(this, invokeArgs);\n };\n }\n}", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators/WrapApplicator.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 87, + "kind": "class", + "name": "WrapApplicator", + "memberof": "src/applicators/WrapApplicator.ts", + "static": true, + "longname": "src/applicators/WrapApplicator.ts~WrapApplicator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/applicators/WrapApplicator.ts", + "importStyle": "{WrapApplicator}", + "description": "", + "lineNumber": 4, + "interface": false, + "extends": [ + "src/applicators/Applicator.js~Applicator" + ] + }, + { + "__docId__": 88, + "kind": "method", + "name": "apply", + "memberof": "src/applicators/WrapApplicator.ts~WrapApplicator", + "generator": false, + "async": false, + "static": false, + "longname": "src/applicators/WrapApplicator.ts~WrapApplicator#apply", + "access": "public", + "description": "", + "lineNumber": 5, + "params": [ + { + "nullable": null, + "types": [ + "ApplicateOptions" + ], + "spread": false, + "optional": false, + "name": "undefined", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 89, + "kind": "file", + "name": "src/applicators.ts", + "content": "export * from './applicators/Applicator';\nexport * from './applicators/ComposeApplicator';\nexport * from './applicators/PartialApplicator';\nexport * from './applicators/PartialedApplicator';\nexport * from './applicators/PartialValueApplicator';\nexport * from './applicators/PostValueApplicator';\nexport * from './applicators/PreValueApplicator';\nexport * from './applicators/WrapApplicator';\nexport * from './applicators/BindApplicator';\nexport * from './applicators/InvokeApplicator';\nexport * from './applicators/MemoizeApplicator';\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/applicators.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 90, + "kind": "file", + "name": "src/ary.ts", + "content": "import ary = require('lodash/ary');\n\nimport { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createDecorator(\n new DecoratorConfig(ary, new PreValueApplicator())\n);\n\n/**\n * Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.\n *\n * @param {number} n The arity cap.\n * @example\n *\n * class MyClass {\n * @Ary(1)\n * fn(...args) {\n * return args;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(1, 2, 3, 4); // => [ 1 ]\n */\nexport function Ary(n: number): LodashMethodDecorator {\n return decorator(n);\n}\nexport { Ary as ary };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/ary.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 91, + "kind": "function", + "name": "Ary", + "memberof": "src/ary.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/ary.ts~Ary", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/ary.ts", + "importStyle": "{Ary}", + "description": "Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.", + "lineNumber": 27, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "n", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashMethodDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 92, + "kind": "variable", + "name": "decorator", + "memberof": "src/ary.ts", + "static": true, + "longname": "src/ary.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/ary.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 93, + "kind": "file", + "name": "src/attempt.ts", + "content": "import attempt = require('lodash/attempt');\nimport partial = require('lodash/partial');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\n\nconst attemptFn = (fn: () => void) => partial(attempt, fn);\n\n/**\n * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] The arguments to invoke func with.\n * @example\n *\n * class MyClass {\n * @Attempt()\n * fn(value) {\n * if (typeof value === 'number') {\n * return value\n * }\n *\n * throw new Error();\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(10); // => 10;\n * myClass.fn(null); // => Error\n */\nexport const Attempt = DecoratorFactory.createDecorator(\n new DecoratorConfig(attemptFn, new PreValueApplicator(), {\n optionalParams: true\n })\n) as BiTypedMethodDecorator;\nexport { Attempt as attempt };\nexport default Attempt;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/attempt.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 94, + "kind": "function", + "name": "attemptFn", + "memberof": "src/attempt.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/attempt.ts~attemptFn", + "access": "public", + "export": false, + "importPath": "lodash-decorators/src/attempt.ts", + "importStyle": null, + "description": null, + "lineNumber": 3, + "undocument": true, + "params": [ + { + "name": "fn", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 95, + "kind": "variable", + "name": "Attempt", + "memberof": "src/attempt.ts", + "static": true, + "longname": "src/attempt.ts~Attempt", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/attempt.ts", + "importStyle": "{Attempt}", + "description": "Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.", + "examples": [ + "\nclass MyClass {\n @Attempt()\n fn(value) {\n if (typeof value === 'number') {\n return value\n }\n\n throw new Error();\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.fn(10); // => 10;\nmyClass.fn(null); // => Error" + ], + "lineNumber": 26, + "params": [ + { + "nullable": null, + "types": [ + "...*" + ], + "spread": true, + "optional": true, + "name": "args", + "description": "The arguments to invoke func with." + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 96, + "kind": "file", + "name": "src/before.ts", + "content": "import before = require('lodash/before');\n\nimport { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';\nimport { PostValueApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(before, new PostValueApplicator(), { setter: true })\n);\n\n/**\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n *\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @Before(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n *\n * calls === 2; // => true\n */\nexport function Before(n: number): LodashDecorator {\n return decorator(n);\n}\nexport { Before as before };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/before.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 97, + "kind": "function", + "name": "Before", + "memberof": "src/before.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/before.ts~Before", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/before.ts", + "importStyle": "{Before}", + "description": "Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\nSubsequent calls to the created function return the result of the last func invocation.", + "lineNumber": 35, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "n", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 98, + "kind": "variable", + "name": "decorator", + "memberof": "src/before.ts", + "static": true, + "longname": "src/before.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/before.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 99, + "kind": "file", + "name": "src/beforeAll.ts", + "content": "import before = require('lodash/before');\n\nimport { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';\nimport { PostValueApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createDecorator(\n new DecoratorConfig(before, new PostValueApplicator(), { setter: true })\n);\n\n/**\n * Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\n * Subsequent calls to the created function return the result of the last func invocation.\n *\n * @param {number} n The number of calls at whichc func is no longer invoked.\n * @example\n *\n * let calls = 0;\n *\n * class MyClass {\n * @BeforeAll(3)\n * fn() {\n * calls++;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n * myClass.fn();\n *\n * myClass2.fn();\n *\n * calls === 3; // => true\n */\nexport function BeforeAll(n: number): LodashDecorator {\n return decorator(n);\n}\nexport { BeforeAll as beforeAll };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/beforeAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 100, + "kind": "function", + "name": "BeforeAll", + "memberof": "src/beforeAll.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/beforeAll.ts~BeforeAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/beforeAll.ts", + "importStyle": "{BeforeAll}", + "description": "Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times.\nSubsequent calls to the created function return the result of the last func invocation.", + "lineNumber": 38, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "n", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 101, + "kind": "variable", + "name": "decorator", + "memberof": "src/beforeAll.ts", + "static": true, + "longname": "src/beforeAll.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/beforeAll.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 102, + "kind": "file", + "name": "src/bind.ts", + "content": "import bind = require('lodash/bind');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';\nimport { BindApplicator } from './applicators';\n\n/**\n * Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n *\n * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n *\n * Note: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.\n *\n * @param {...*} [partials] The argument to be partially applied.\n * @example\n *\n * class MyClass {\n * @Bind()\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => myClass {}\n * myClass.unbound.call(null); // => null\n */\nexport const Bind = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(bind, new BindApplicator(), {\n optionalParams: true\n })\n) as BiTypedMethodDecorator1;\nexport { Bind as bind, };\nexport default Bind;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/bind.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 103, + "kind": "variable", + "name": "Bind", + "memberof": "src/bind.ts", + "static": true, + "longname": "src/bind.ts~Bind", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/bind.ts", + "importStyle": "{Bind}", + "description": "Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.\n\nThe _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.\n\nNote: Unlike native Function#bind, this method doesn't set the \"length\" property of bound functions.", + "examples": [ + "\nclass MyClass {\n @Bind()\n bound() {\n return this;\n }\n\n unbound() {\n return this;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.bound.call(null); // => myClass {}\nmyClass.unbound.call(null); // => null" + ], + "lineNumber": 29, + "params": [ + { + "nullable": null, + "types": [ + "...*" + ], + "spread": true, + "optional": true, + "name": "partials", + "description": "The argument to be partially applied." + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 104, + "kind": "file", + "name": "src/bindAll.ts", + "content": "import isFunction = require('lodash/isFunction');\n\nimport { InstanceChainMap } from './factory';\nimport { Bind } from './bind';\n\n/**\n * Binds methods of an object to the object itself, overwriting the existing method.\n *\n * @export\n * @param {string[]} [methods=[]]\n * @returns {ClassDecorator}\n * @example\n *\n * @BindAll()\n * class MyClass {\n * bound() {\n * return this;\n * }\n *\n * unbound() {\n * return this;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.bound.call(null); // => MyClass {}\n * myClass.unbound.call(null); // => MyClass {}\n */\nexport function BindAll(methods: string[] = []): ClassDecorator {\n return (target: any) => {\n bindAllMethods(target, methods);\n };\n}\n\nfunction bindAllMethods(target: Function, methods: string[] = []): void {\n const targetProto = target.prototype;\n let proto = target.prototype;\n const boundKeys: string[] = [];\n\n while (proto && proto !== Object.prototype) {\n for (const key of Object.getOwnPropertyNames(proto)) {\n const include = methods.length ? methods.indexOf(key) !== -1 : true;\n const descriptor = Object.getOwnPropertyDescriptor(proto, key);\n\n if (descriptor && include && key !== 'constructor') {\n // If this property is a getter and it's NOT an instance decorated\n // method, ignore it. Instance decorators are getters until first accessed.\n if (descriptor.get) {\n const chainData = InstanceChainMap.get([ proto, key ]);\n\n if (!chainData || !chainData.isMethod) {\n continue;\n }\n }\n\n if (isFunction(proto[key]) && boundKeys.indexOf(key) === -1) {\n Object.defineProperty(targetProto, key, Bind(proto, key, descriptor)!);\n boundKeys.push(key);\n }\n }\n }\n\n proto = Object.getPrototypeOf(proto);\n }\n}\n\nexport { BindAll as bindAll };\nexport default BindAll;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/bindAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 105, + "kind": "function", + "name": "BindAll", + "memberof": "src/bindAll.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/bindAll.ts~BindAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/bindAll.ts", + "importStyle": "{BindAll}", + "description": "Binds methods of an object to the object itself, overwriting the existing method.", + "lineNumber": 30, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "methods", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "ClassDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 106, + "kind": "function", + "name": "bindAllMethods", + "memberof": "src/bindAll.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/bindAll.ts~bindAllMethods", + "access": "public", + "export": false, + "importPath": "lodash-decorators/src/bindAll.ts", + "importStyle": null, + "description": "", + "lineNumber": 36, + "params": [ + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "target", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "methods", + "description": "" + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 107, + "kind": "file", + "name": "src/curry.ts", + "content": "import curry = require('lodash/curry');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';\nimport { PreValueApplicator } from './applicators';\n\n/**\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @Curry()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n */\nexport const Curry = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(curry, new PreValueApplicator(), { bound: true, optionalParams: true })\n) as BiTypedMethodDecorator1;\nexport { Curry as curry };\nexport default Curry;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/curry.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 108, + "kind": "variable", + "name": "Curry", + "memberof": "src/curry.ts", + "static": true, + "longname": "src/curry.ts~Curry", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/curry.ts", + "importStyle": "{Curry}", + "description": "Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\nThe arity of func may be specified if func.length is not sufficient.\nThe original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n\nThe _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n\nNote: This method doesn't set the \"length\" property of curried functions.", + "examples": [ + "\nclass MyClass {\n multiplier = 2;\n\n @Curry()\n add(a, b) {\n return (a + b) * this.multiplier;\n }\n}\n\nconst myClass = new MyClass();\n\nconst add5 = myClass.add(5);\n\nadd5AndMultiply(10); // => 30" + ], + "lineNumber": 30, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "arity", + "description": "The arity of func." + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 109, + "kind": "file", + "name": "src/curryAll.ts", + "content": "import curry = require('lodash/curry');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedDecorator1 } from './factory';\nimport { PreValueApplicator } from './applicators';\n\n/**\n * Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\n * The arity of func may be specified if func.length is not sufficient.\n *\n * The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n * Note: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n */\nexport const CurryAll = DecoratorFactory.createDecorator(\n new DecoratorConfig(curry, new PreValueApplicator(), { optionalParams: true })\n) as BiTypedDecorator1;\nexport { CurryAll as curryAll };\nexport default CurryAll;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/curryAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 110, + "kind": "variable", + "name": "CurryAll", + "memberof": "src/curryAll.ts", + "static": true, + "longname": "src/curryAll.ts~CurryAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/curryAll.ts", + "importStyle": "{CurryAll}", + "description": "Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.\nThe arity of func may be specified if func.length is not sufficient.\n\nThe _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n\nNote: This method doesn't set the \"length\" property of curried functions.\nNote: The original function invoked will not be called in the context of the instance. Use `Curry` to for using it bound.", + "examples": [ + "\nclass MyClass {\n @CurryAll()\n add(a, b) {\n return (a + b);\n }\n}\n\nconst myClass = new MyClass();\n\nconst add5 = myClass.add(5);\n\nadd5AndMultiply(10); // => 15" + ], + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "arity", + "description": "The arity of func." + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 111, + "kind": "file", + "name": "src/curryRight.ts", + "content": "import curryRight = require('lodash/curryRight');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';\nimport { PreValueApplicator } from './applicators';\n\n/**\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * multiplier = 2;\n *\n * @CurryRight()\n * add(a, b) {\n * return (a + b) * this.multiplier;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 30\n */\nexport const CurryRight = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(curryRight, new PreValueApplicator(), { bound: true, optionalParams: true })\n) as BiTypedMethodDecorator1;\nexport { CurryRight as curryRight };\nexport default CurryRight;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/curryRight.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 112, + "kind": "variable", + "name": "CurryRight", + "memberof": "src/curryRight.ts", + "static": true, + "longname": "src/curryRight.ts~CurryRight", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/curryRight.ts", + "importStyle": "{CurryRight}", + "description": "This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\nThe arity of func may be specified if func.length is not sufficient.\nThe original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n\nThe _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n\nNote: This method doesn't set the \"length\" property of curried functions.", + "examples": [ + "\nclass MyClass {\n multiplier = 2;\n\n @CurryRight()\n add(a, b) {\n return (a + b) * this.multiplier;\n }\n}\n\nconst myClass = new MyClass();\n\nconst add5 = myClass.add(5);\n\nadd5AndMultiply(10); // => 30" + ], + "lineNumber": 30, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "arity", + "description": "The arity of func." + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 113, + "kind": "file", + "name": "src/curryRightAll.ts", + "content": "import curryRight = require('lodash/curryRight');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';\nimport { PreValueApplicator } from './applicators';\n\n/**\n * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\n * The arity of func may be specified if func.length is not sufficient.\n * The original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n *\n * The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n *\n * Note: This method doesn't set the \"length\" property of curried functions.\n *\n * @param {number} [arity] The arity of func.\n * @example\n *\n * class MyClass {\n * @CurryRightAll()\n * add(a, b) {\n * return (a + b);\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * const add5 = myClass.add(5);\n *\n * add5AndMultiply(10); // => 15\n */\nexport const CurryRightAll = DecoratorFactory.createDecorator(\n new DecoratorConfig(curryRight, new PreValueApplicator(), { optionalParams: true })\n) as BiTypedMethodDecorator1;\nexport { CurryRightAll as curryRightAll };\nexport default CurryRightAll;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/curryRightAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 114, + "kind": "variable", + "name": "CurryRightAll", + "memberof": "src/curryRightAll.ts", + "static": true, + "longname": "src/curryRightAll.ts~CurryRightAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/curryRightAll.ts", + "importStyle": "{CurryRightAll}", + "description": "This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.\nThe arity of func may be specified if func.length is not sufficient.\nThe original function is bound to the instance. If the method is needed to call in a different context use `CurryAll`.\n\nThe _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.\n\nNote: This method doesn't set the \"length\" property of curried functions.", + "examples": [ + "\nclass MyClass {\n @CurryRightAll()\n add(a, b) {\n return (a + b);\n }\n}\n\nconst myClass = new MyClass();\n\nconst add5 = myClass.add(5);\n\nadd5AndMultiply(10); // => 15" + ], + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": true, + "name": "arity", + "description": "The arity of func." + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 115, + "kind": "file", + "name": "src/debounce.ts", + "content": "import debounce = require('lodash/debounce');\n\nimport { DecoratorConfig, DecoratorFactory, LodashDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\nimport { DebounceOptions } from './shared';\n\nconst decorator = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(debounce, new PreValueApplicator(), { setter: true })\n);\n\n/**\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Debounce(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n */\nexport function Debounce(wait?: number, options?: DebounceOptions): LodashDecorator {\n return decorator(wait, options);\n}\nexport { Debounce as debounce };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/debounce.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 116, + "kind": "function", + "name": "Debounce", + "memberof": "src/debounce.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/debounce.ts~Debounce", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/debounce.ts", + "importStyle": "{Debounce}", + "description": "Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\nThe debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\nProvide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\nSubsequent calls to the debounced function return the result of the last func invocation.\n\nNote: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n\nIf wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.", + "lineNumber": 46, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "wait", + "description": "" + }, + { + "nullable": null, + "types": [ + "DebounceOptions" + ], + "spread": false, + "optional": false, + "name": "options", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 117, + "kind": "variable", + "name": "decorator", + "memberof": "src/debounce.ts", + "static": true, + "longname": "src/debounce.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/debounce.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 118, + "kind": "file", + "name": "src/debounceAll.ts", + "content": "import debounce = require('lodash/debounce');\n\nimport { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\nimport { DebounceOptions } from './shared';\n\nconst decorator = DecoratorFactory.createDecorator(\n new DecoratorConfig(debounce, new PreValueApplicator())\n);\n\n/**\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\n * The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\n * Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\n * Subsequent calls to the debounced function return the result of the last func invocation.\n *\n * The debounce state is shared across all instances of the class.\n *\n * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n *\n * If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.\n *\n * @param {number} [wait=0] The number in milliseconds to delay.\n * @param {DebounceOptions} [options] The options object.\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @DebounceAll(10)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n * myClass.add(50);\n * myClass.add(20);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 120;\n * }, 11);\n */\nexport function DebounceAll(wait?: number, options?: DebounceOptions): LodashMethodDecorator {\n return decorator(wait, options);\n}\nexport { DebounceAll as debounceAll };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/debounceAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 119, + "kind": "function", + "name": "DebounceAll", + "memberof": "src/debounceAll.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/debounceAll.ts~DebounceAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/debounceAll.ts", + "importStyle": "{DebounceAll}", + "description": "Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.\nThe debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them.\nProvide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function.\nSubsequent calls to the debounced function return the result of the last func invocation.\n\nThe debounce state is shared across all instances of the class.\n\nNote: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.\n\nIf wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.", + "lineNumber": 48, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "wait", + "description": "" + }, + { + "nullable": null, + "types": [ + "DebounceOptions" + ], + "spread": false, + "optional": false, + "name": "options", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashMethodDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 120, + "kind": "variable", + "name": "decorator", + "memberof": "src/debounceAll.ts", + "static": true, + "longname": "src/debounceAll.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/debounceAll.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 121, + "kind": "file", + "name": "src/defer.ts", + "content": "import defer = require('lodash/defer');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedDecoratorN } from './factory';\nimport { InvokeApplicator } from './applicators';\n\n/**\n * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.\n *\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Defer()\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 0);\n */\nexport const Defer = DecoratorFactory.createDecorator(\n new DecoratorConfig(defer, new InvokeApplicator(), { setter: true, optionalParams: true })\n) as BiTypedDecoratorN;\nexport { Defer as defer };\nexport default Defer;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/defer.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 122, + "kind": "variable", + "name": "Defer", + "memberof": "src/defer.ts", + "static": true, + "longname": "src/defer.ts~Defer", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/defer.ts", + "importStyle": "{Defer}", + "description": "Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.", + "examples": [ + "\nclass MyClass {\n value = 100;\n\n @Defer()\n add(a) {\n this.value += a;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.add(10);\n\nmyClass.value; // => 100;\n\nsetTimeout(() => {\n myClass.value; // => 110;\n}, 0);" + ], + "lineNumber": 28, + "params": [ + { + "nullable": null, + "types": [ + "...*" + ], + "spread": true, + "optional": true, + "name": "args", + "description": "Additional arguments to invoke the function with" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 123, + "kind": "file", + "name": "src/delay.ts", + "content": "import delay = require('lodash/delay');\n\nimport { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createDecorator(\n new DecoratorConfig(\n function(value: Function, wait: number, ...args: any[]) {\n return function(...invokeArgs: any[]): any {\n return delay(value.bind(this), wait, ...invokeArgs, ...args);\n };\n },\n new PreValueApplicator(),\n { setter: true }\n )\n);\n\n/**\n * Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.\n *\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] Additional arguments to invoke the function with\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Delay(20)\n * add(a) {\n * this.value += a;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.add(10);\n *\n * myClass.value; // => 100;\n *\n * setTimeout(() => {\n * myClass.value; // => 110;\n * }, 30);\n */\nexport function Delay(wait: number, ...args: any[]): LodashMethodDecorator {\n return decorator(wait, ...args);\n}\nexport { Delay as delay };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/delay.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 124, + "kind": "function", + "name": "Delay", + "memberof": "src/delay.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/delay.ts~Delay", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/delay.ts", + "importStyle": "{Delay}", + "description": "Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.", + "lineNumber": 44, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "wait", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "args", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashMethodDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 125, + "kind": "variable", + "name": "decorator", + "memberof": "src/delay.ts", + "static": true, + "longname": "src/delay.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/delay.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 126, + "kind": "file", + "name": "src/factory/DecoratorConfig.ts", + "content": "import { Applicator } from '../applicators';\n\nexport interface DecoratorConfigOptions {\n bound?: boolean;\n setter?: boolean;\n getter?: boolean;\n property?: boolean;\n method?: boolean;\n optionalParams?: boolean;\n}\n\nexport class DecoratorConfig {\n constructor(\n public readonly execute: Function,\n public readonly applicator: Applicator,\n public readonly options: DecoratorConfigOptions = {}\n ) {}\n\n get bound(): boolean {\n return this.options.bound != null ? this.options.bound : false;\n }\n\n get setter(): boolean {\n return this.options.setter != null ? this.options.setter : false;\n }\n\n get getter(): boolean {\n return this.options.getter != null ? this.options.getter : false;\n }\n\n get property(): boolean {\n return this.options.property != null ? this.options.property : false;\n }\n\n get method(): boolean {\n return this.options.method != null ? this.options.method : true;\n }\n\n get optionalParams(): boolean {\n return this.options.optionalParams != null ? this.options.optionalParams : false;\n }\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/factory/DecoratorConfig.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 127, + "kind": "class", + "name": "DecoratorConfig", + "memberof": "src/factory/DecoratorConfig.ts", + "static": true, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/factory/DecoratorConfig.ts", + "importStyle": "{DecoratorConfig}", + "description": "", + "lineNumber": 12, + "interface": false + }, + { + "__docId__": 128, + "kind": "constructor", + "name": "constructor", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#constructor", + "access": "public", + "description": null, + "lineNumber": 8, + "undocument": true + }, + { + "__docId__": 129, + "kind": "member", + "name": "execute", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#execute", + "access": "public", + "description": null, + "lineNumber": 9, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 130, + "kind": "member", + "name": "applicator", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#applicator", + "access": "public", + "description": null, + "lineNumber": 10, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 131, + "kind": "member", + "name": "options", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#options", + "access": "public", + "description": null, + "lineNumber": 11, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 132, + "kind": "get", + "name": "bound", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#bound", + "access": "public", + "description": "", + "lineNumber": 19, + "type": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 133, + "kind": "get", + "name": "setter", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#setter", + "access": "public", + "description": "", + "lineNumber": 23, + "type": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 134, + "kind": "get", + "name": "getter", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#getter", + "access": "public", + "description": "", + "lineNumber": 27, + "type": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 135, + "kind": "get", + "name": "property", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#property", + "access": "public", + "description": "", + "lineNumber": 31, + "type": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 136, + "kind": "get", + "name": "method", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#method", + "access": "public", + "description": "", + "lineNumber": 35, + "type": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 137, + "kind": "get", + "name": "optionalParams", + "memberof": "src/factory/DecoratorConfig.ts~DecoratorConfig", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorConfig.ts~DecoratorConfig#optionalParams", + "access": "public", + "description": "", + "lineNumber": 39, + "type": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 138, + "kind": "file", + "name": "src/factory/DecoratorFactory.ts", + "content": "import isFunction = require('lodash/isFunction');\n\nimport {\n InstanceChainMap,\n LodashDecorator,\n InstanceChainContext\n} from './common';\nimport { DecoratorConfig } from './DecoratorConfig';\nimport {\n copyMetadata,\n bind,\n isMethodOrPropertyDecoratorArgs,\n isPrototypeAccess\n} from '../utils';\n\nexport type GenericDecorator = (...args: any[]) => LodashDecorator;\n\nexport class InternalDecoratorFactory {\n createDecorator(config: DecoratorConfig): GenericDecorator {\n const { applicator, optionalParams } = config;\n\n return (...args: any[]): LodashDecorator => {\n let params = args;\n\n const decorator = (target: Object, name: string, _descriptor?: PropertyDescriptor): PropertyDescriptor => {\n const descriptor = this._resolveDescriptor(target, name, _descriptor);\n const { value, get, set } = descriptor;\n\n // If this decorator is being applied after an instance decorator we simply ignore it\n // as we can't apply it correctly.\n if (!InstanceChainMap.has([ target, name ])) {\n if (isFunction(value)) {\n descriptor.value = copyMetadata(applicator.apply({ config, target, value, args: params }), value);\n } else if (isFunction(get) && config.getter) {\n descriptor.get = copyMetadata(applicator.apply({ config, target, value: get, args: params }), get);\n } else if (isFunction(set) && config.setter) {\n descriptor.set = copyMetadata(applicator.apply({ config, target, value: set, args: params }), set);\n }\n }\n\n return descriptor;\n };\n\n if (optionalParams && isMethodOrPropertyDecoratorArgs(...args)) {\n params = [];\n\n return decorator(args[0], args[1], args[2]) as any;\n }\n\n return decorator;\n };\n }\n\n createInstanceDecorator(config: DecoratorConfig): GenericDecorator {\n const { applicator, bound, optionalParams } = config;\n\n return (...args: any[]): LodashDecorator => {\n let params = args;\n const decorator = (target: Object, name: string, _descriptor?: PropertyDescriptor): PropertyDescriptor => {\n const descriptor = this._resolveDescriptor(target, name, _descriptor);\n const { value, writable, enumerable, configurable, get, set } = descriptor;\n const isFirstInstance = !InstanceChainMap.has([ target, name ]);\n const chainData = InstanceChainMap.get([ target, name ]) || { fns: [], properties: [] };\n const isGetter = isFirstInstance && isFunction(get);\n const isSetter = isFirstInstance && isFunction(set);\n const isMethod = isFirstInstance && isFunction(value);\n const isProperty = isFirstInstance && !isGetter && !isSetter && !isMethod;\n const baseValue = isGetter ? get : isMethod ? value : undefined;\n\n chainData.properties.push(name);\n chainData.fns.push((fn: Function, instance: any, context: InstanceChainContext) => {\n if (!this._isApplicable(context, config)) {\n return fn;\n }\n\n if (bound) {\n fn = bind(fn, instance);\n }\n\n return copyMetadata(\n applicator.apply({ args: params, target, instance, value: fn, config }),\n fn\n );\n });\n\n InstanceChainMap.set([ target, name ], chainData);\n\n if (!isFirstInstance) {\n return descriptor;\n }\n\n chainData.isSetter = isSetter;\n chainData.isGetter = isGetter;\n chainData.isMethod = isMethod;\n chainData.isProperty = isProperty;\n\n const applyChain = (fn: any, context: InstanceChainContext, instance: any) => {\n return chainData.fns.reduce((result: Function, next: Function) => next(result, instance, context), fn);\n };\n\n const applyDecorator = (instance: any) => {\n let getter = get || undefined;\n let setter = set || undefined;\n\n if (isGetter || isSetter) {\n // If we have a getter apply the decorators to the getter and assign it to the instance.\n if (isGetter) {\n getter = applyChain(get, { value: get, getter: true }, instance);\n }\n\n if (isSetter) {\n setter = applyChain(set, { value: set, setter: true }, instance);\n }\n\n Object.defineProperty(instance, name, {\n enumerable,\n configurable,\n get: getter,\n set: setter\n });\n } else if (isMethod || isProperty) {\n const newFn = isMethod\n ? applyChain(value, { value, method: true }, instance)\n : applyChain(value, { value, property: true }, instance);\n\n Object.defineProperty(instance, name, {\n writable,\n enumerable,\n configurable,\n value: newFn\n });\n }\n };\n\n if (isMethod || isProperty) {\n delete descriptor.value;\n delete descriptor.writable;\n }\n\n descriptor.get = function() {\n // Check for direct access on the prototype.\n // MyClass.prototype.fn <-- This should not apply the decorator.\n if (isPrototypeAccess(this, target)) {\n return baseValue;\n }\n\n applyDecorator(this);\n\n const descriptor2 = Object.getOwnPropertyDescriptor(this, name)!;\n\n if (descriptor2.get) {\n return descriptor2.get.call(this);\n }\n\n return descriptor2.value;\n };\n\n descriptor.set = function(value2) {\n applyDecorator(this);\n\n const descriptor2 = Object.getOwnPropertyDescriptor(this, name)!;\n\n if (descriptor2.set) {\n descriptor2.set.call(this, value2);\n } else if (isProperty || isMethod) {\n this[name] = value2;\n }\n };\n\n return descriptor;\n };\n\n if (optionalParams && isMethodOrPropertyDecoratorArgs(...args)) {\n params = [];\n\n return decorator(args[0], args[1], args[2]) as any;\n }\n\n return decorator;\n };\n }\n\n private _isApplicable(context: InstanceChainContext, config: DecoratorConfig): boolean {\n return !Boolean(\n context.getter && !config.getter\n || context.setter && !config.setter\n || context.method && !config.method\n || context.property && !config.property\n );\n }\n\n private _resolveDescriptor(target: Object, name: string, descriptor?: PropertyDescriptor): PropertyDescriptor {\n if (descriptor) {\n return descriptor;\n }\n\n return Object.getOwnPropertyDescriptor(target, name) || {};\n }\n}\n\nexport const DecoratorFactory = new InternalDecoratorFactory();\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/factory/DecoratorFactory.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 139, + "kind": "class", + "name": "InternalDecoratorFactory", + "memberof": "src/factory/DecoratorFactory.ts", + "static": true, + "longname": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/factory/DecoratorFactory.ts", + "importStyle": "{InternalDecoratorFactory}", + "description": "", + "lineNumber": 18, + "interface": false + }, + { + "__docId__": 140, + "kind": "method", + "name": "createDecorator", + "memberof": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory#createDecorator", + "access": "public", + "description": "", + "lineNumber": 19, + "params": [ + { + "nullable": null, + "types": [ + "DecoratorConfig" + ], + "spread": false, + "optional": false, + "name": "config", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "GenericDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 141, + "kind": "method", + "name": "createInstanceDecorator", + "memberof": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory#createInstanceDecorator", + "access": "public", + "description": "", + "lineNumber": 54, + "params": [ + { + "nullable": null, + "types": [ + "DecoratorConfig" + ], + "spread": false, + "optional": false, + "name": "config", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "GenericDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 142, + "kind": "member", + "name": "[name]", + "memberof": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory", + "static": false, + "longname": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory#[name]", + "access": "public", + "description": null, + "lineNumber": 148, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 143, + "kind": "method", + "name": "_isApplicable", + "memberof": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory#_isApplicable", + "access": "private", + "description": "", + "lineNumber": 183, + "params": [ + { + "nullable": null, + "types": [ + "InstanceChainContext" + ], + "spread": false, + "optional": false, + "name": "context", + "description": "" + }, + { + "nullable": null, + "types": [ + "DecoratorConfig" + ], + "spread": false, + "optional": false, + "name": "config", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": "" + }, + "ignore": true + }, + { + "__docId__": 144, + "kind": "method", + "name": "_resolveDescriptor", + "memberof": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory", + "generator": false, + "async": false, + "static": false, + "longname": "src/factory/DecoratorFactory.ts~InternalDecoratorFactory#_resolveDescriptor", + "access": "private", + "description": "", + "lineNumber": 192, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "target", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + }, + { + "nullable": null, + "types": [ + "PropertyDescriptor" + ], + "spread": false, + "optional": false, + "name": "descriptor", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "PropertyDescriptor" + ], + "spread": false, + "description": "" + }, + "ignore": true + }, + { + "__docId__": 145, + "kind": "variable", + "name": "DecoratorFactory", + "memberof": "src/factory/DecoratorFactory.ts", + "static": true, + "longname": "src/factory/DecoratorFactory.ts~DecoratorFactory", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/factory/DecoratorFactory.ts", + "importStyle": "{DecoratorFactory}", + "description": null, + "lineNumber": 199, + "undocument": true, + "type": { + "types": [ + "src/factory/DecoratorFactory.ts~InternalDecoratorFactory" + ] + } + }, + { + "__docId__": 146, + "kind": "file", + "name": "src/factory/common.ts", + "content": "import { Applicator } from '../applicators';\nimport { CompositeKeyWeakMap } from '../utils';\n\nexport type ApplicatorToken = new() => Applicator;\nexport type LodashMethodDecorator = MethodDecorator;\nexport type LodashDecorator = MethodDecorator & PropertyDecorator;\nexport type ResolvableFunction = string|Function;\n\nexport type BiTypedMethodDecorator = (() => LodashMethodDecorator) & LodashMethodDecorator;\nexport type BiTypedMethodDecorator1 = ((arg?: T) => LodashMethodDecorator) & LodashMethodDecorator;\nexport type BiTypedMethodDecorator2 = ((arg1?: T, arg2?: T2) => LodashMethodDecorator) & LodashMethodDecorator;\nexport type BiTypedMethodDecorator3 = ((arg1?: T, arg2?: T2, arg3?: T3) => LodashMethodDecorator) & LodashMethodDecorator;\nexport type BiTypedMethodDecoratorN = ((...args: any[]) => TypedPropertyDescriptor<(...newArgs: any[]) => void>) & LodashMethodDecorator;\nexport type BiTypedDecorator = (() => LodashDecorator) & LodashDecorator;\nexport type BiTypedDecorator1 = ((arg?: T) => LodashDecorator) & LodashDecorator;\nexport type BiTypedDecorator2 = ((arg1?: T, arg2?: T2) => LodashDecorator) & LodashDecorator;\nexport type BiTypedDecorator3 = ((arg1?: T, arg2?: T2, arg3?: T3) => LodashDecorator) & LodashDecorator;\nexport type BiTypedDecoratorN = ((...args: any[]) => LodashDecorator & TypedPropertyDescriptor) & LodashDecorator;\n\nexport interface InstanceChainContext {\n getter?: boolean;\n setter?: boolean;\n method?: boolean;\n property?: boolean;\n value: any;\n}\n\nexport interface InstanceChainData {\n properties: string[];\n fns: Function[];\n isGetter: boolean;\n isSetter: boolean;\n isMethod: boolean;\n isProperty: boolean;\n}\n\nexport const InstanceChainMap = new CompositeKeyWeakMap();\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/factory/common.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 147, + "kind": "variable", + "name": "InstanceChainMap", + "memberof": "src/factory/common.ts", + "static": true, + "longname": "src/factory/common.ts~InstanceChainMap", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/factory/common.ts", + "importStyle": "{InstanceChainMap}", + "description": null, + "lineNumber": 2, + "undocument": true, + "type": { + "types": [ + "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap" + ] + } + }, + { + "__docId__": 148, + "kind": "file", + "name": "src/factory.ts", + "content": "export * from './factory/DecoratorConfig';\nexport * from './factory/DecoratorFactory';\nexport * from './factory/common';\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/factory.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 149, + "kind": "file", + "name": "src/flip.ts", + "content": "import flip = require('lodash/flip');\n\nimport {\n DecoratorConfig,\n DecoratorFactory,\n LodashDecorator,\n ResolvableFunction\n} from './factory';\nimport { PartialValueApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(flip, new PartialValueApplicator(), { property: true })\n);\n\n/**\n * Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\n * use for this decorator but maybe you will find one?\n *\n * @example\n *\n * class MyClass {\n * value = 100;\n *\n * @Flip('fn')\n * fn2: (b: number, a: string) => [ number, string ];\n *\n * fn(a: string, b: number): [ string, number ] {\n * return [ a, b ];\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn2(10, '20'); // => [ '20', 10 ]\n */\nexport function Flip(fn?: ResolvableFunction): LodashDecorator {\n return decorator(fn);\n}\nexport { Flip as flip };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/flip.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 150, + "kind": "function", + "name": "Flip", + "memberof": "src/flip.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/flip.ts~Flip", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/flip.ts", + "importStyle": "{Flip}", + "description": "Creates a function that invokes func with arguments reversed. Honestly, there is probably not much\nuse for this decorator but maybe you will find one?", + "lineNumber": 36, + "params": [ + { + "nullable": null, + "types": [ + "ResolvableFunction" + ], + "spread": false, + "optional": false, + "name": "fn", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 151, + "kind": "variable", + "name": "decorator", + "memberof": "src/flip.ts", + "static": true, + "longname": "src/flip.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/flip.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 152, + "kind": "file", + "name": "src/flow.ts", + "content": "import flow = require('lodash/flow');\n\nimport {\n DecoratorConfig,\n DecoratorFactory,\n ResolvableFunction,\n LodashDecorator\n} from './factory';\nimport { ComposeApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(flow, new ComposeApplicator({ post: true }), { property: true })\n);\n\n/**\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @Flow('getName', toUpperCase)\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n */\nexport function Flow(...fns: ResolvableFunction[]): LodashDecorator {\n return decorator(...fns);\n}\nexport { Flow as flow };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/flow.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 153, + "kind": "function", + "name": "Flow", + "memberof": "src/flow.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/flow.ts~Flow", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/flow.ts", + "importStyle": "{Flow}", + "description": "Creates a function that returns the result of invoking the given functions with the this binding of the created function,\nwhere each successive invocation is supplied the return value of the previous.", + "lineNumber": 36, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "fns", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 154, + "kind": "variable", + "name": "decorator", + "memberof": "src/flow.ts", + "static": true, + "longname": "src/flow.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/flow.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 155, + "kind": "file", + "name": "src/flowRight.ts", + "content": "import flowRight = require('lodash/flowRight');\n\nimport {\n DecoratorConfig,\n DecoratorFactory,\n LodashDecorator,\n ResolvableFunction\n} from './factory';\nimport { ComposeApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(flowRight, new ComposeApplicator({ post: false }), { property: true })\n);\n\n/**\n * Creates a function that returns the result of invoking the given functions with the this binding of the created function,\n * where each successive invocation is supplied the return value of the previous.\n *\n * @example\n *\n * class MyClass {\n * name = 'Ted';\n *\n * @FlowRight(toUpperCase, 'getName')\n * getUpperCaseName: () => string;\n *\n * getName() {\n * return this.name;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.getUpperCaseName(); // => 'TED'\n */\nexport function FlowRight(...fns: ResolvableFunction[]): LodashDecorator {\n return decorator(...fns);\n}\nexport { FlowRight as flowRight };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/flowRight.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 156, + "kind": "function", + "name": "FlowRight", + "memberof": "src/flowRight.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/flowRight.ts~FlowRight", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/flowRight.ts", + "importStyle": "{FlowRight}", + "description": "Creates a function that returns the result of invoking the given functions with the this binding of the created function,\nwhere each successive invocation is supplied the return value of the previous.", + "lineNumber": 36, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "fns", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 157, + "kind": "variable", + "name": "decorator", + "memberof": "src/flowRight.ts", + "static": true, + "longname": "src/flowRight.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/flowRight.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 158, + "kind": "file", + "name": "src/index.ts", + "content": "export * from './factory';\nexport * from './after';\nexport * from './afterAll';\nexport * from './ary';\nexport * from './attempt';\nexport * from './before';\nexport * from './beforeAll';\nexport * from './bind';\nexport * from './bindAll';\nexport * from './curry';\nexport * from './curryAll';\nexport * from './curryRight';\nexport * from './curryRightAll';\nexport * from './debounce';\nexport * from './debounceAll';\nexport * from './defer';\nexport * from './delay';\nexport * from './flip';\nexport * from './flow';\nexport * from './flowRight';\nexport * from './memoize';\nexport * from './memoizeAll';\nexport * from './mixin';\nexport * from './negate';\nexport * from './once';\nexport * from './overArgs';\nexport * from './partial';\nexport * from './partialRight';\nexport * from './rearg';\nexport * from './rest';\nexport * from './spread';\nexport * from './tap';\nexport * from './throttle';\nexport * from './throttleAll';\nexport * from './unary';\nexport * from './wrap';\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/index.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 159, + "kind": "file", + "name": "src/memoize.ts", + "content": "import memoize = require('lodash/memoize');\n\nimport {\n DecoratorConfig,\n DecoratorFactory,\n ResolvableFunction,\n BiTypedMethodDecorator1\n} from './factory';\nimport { MemoizeApplicator } from './applicators';\nimport { MemoizeConfig } from './shared';\n\n/**\n * Creates a function that memoizes the result of func. If resolver is provided,\n * it determines the cache key for storing the result based on the arguments provided to the memoized function.\n * By default, the first argument provided to the memoized function is used as the map cache key.\n * The func is invoked with the this binding of the memoized function.\n *\n * You can use a Function or a string that references a method on the class as the resolver.\n * You can also use a configuration object that lets provide a prexisting cache or specify\n * the map type to use.\n *\n * @example\n *\n * class MyClass {\n * @Memoize({ type: WeakMap })\n * getName(item) {\n * return item.name;\n * }\n *\n * @Memoize('getName')\n * getLastName(item) {\n * return item.lastName;\n * }\n * }\n */\nexport const Memoize = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(memoize, new MemoizeApplicator(), { optionalParams: true })\n) as BiTypedMethodDecorator1>;\nexport { Memoize as memoize };\nexport default Memoize;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/memoize.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 160, + "kind": "variable", + "name": "Memoize", + "memberof": "src/memoize.ts", + "static": true, + "longname": "src/memoize.ts~Memoize", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/memoize.ts", + "importStyle": "{Memoize}", + "description": "Creates a function that memoizes the result of func. If resolver is provided,\nit determines the cache key for storing the result based on the arguments provided to the memoized function.\nBy default, the first argument provided to the memoized function is used as the map cache key.\nThe func is invoked with the this binding of the memoized function.\n\nYou can use a Function or a string that references a method on the class as the resolver.\nYou can also use a configuration object that lets provide a prexisting cache or specify\nthe map type to use.", + "examples": [ + "\nclass MyClass {\n @Memoize({ type: WeakMap })\n getName(item) {\n return item.name;\n }\n\n @Memoize('getName')\n getLastName(item) {\n return item.lastName;\n }\n}" + ], + "lineNumber": 27, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 161, + "kind": "file", + "name": "src/memoizeAll.ts", + "content": "import memoize = require('lodash/memoize');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';\nimport { MemoizeApplicator } from './applicators';\nimport { MemoizeConfig } from './shared';\n\n/**\n * Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.\n *\n * @param {Function} [resolver] Optional resolver\n */\nexport const MemoizeAll = DecoratorFactory.createDecorator(\n new DecoratorConfig(memoize, new MemoizeApplicator(), { optionalParams: true })\n) as BiTypedMethodDecorator1>;\nexport { MemoizeAll as memoizeAll };\nexport default MemoizeAll;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/memoizeAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 162, + "kind": "variable", + "name": "MemoizeAll", + "memberof": "src/memoizeAll.ts", + "static": true, + "longname": "src/memoizeAll.ts~MemoizeAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/memoizeAll.ts", + "importStyle": "{MemoizeAll}", + "description": "Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.", + "lineNumber": 8, + "params": [ + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": true, + "name": "resolver", + "description": "Optional resolver" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 163, + "kind": "file", + "name": "src/mixin.ts", + "content": "import assign = require('lodash/assign');\n\n/**\n * Mixins an object into the classes prototype.\n *\n * @export\n * @param {...Object[]} srcs\n * @returns {ClassDecorator}\n * @example\n *\n * const myMixin = {\n * blorg: () => 'blorg!'\n * }\n *\n * @Mixin(myMixin)\n * class MyClass {}\n *\n * const myClass = new MyClass();\n *\n * myClass.blorg(); // => 'blorg!'\n */\nexport function Mixin(...srcs: Object[]): ClassDecorator {\n return ((target: Function) => {\n assign(target.prototype, ...srcs);\n\n return target;\n }) as any;\n}\nexport { Mixin as mixin };\nexport default Mixin;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/mixin.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 164, + "kind": "function", + "name": "Mixin", + "memberof": "src/mixin.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/mixin.ts~Mixin", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/mixin.ts", + "importStyle": "{Mixin}", + "description": "Mixins an object into the classes prototype.", + "lineNumber": 22, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "srcs", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "ClassDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 165, + "kind": "file", + "name": "src/negate.ts", + "content": "import negate = require('lodash/negate');\n\nimport {\n DecoratorConfig,\n DecoratorFactory,\n ResolvableFunction,\n BiTypedDecorator1\n} from './factory';\nimport { PartialValueApplicator } from './applicators';\n\n/**\n * Negates a functions result or, when used on a property, creates a function that\n * negates the result of a provided function.\n *\n * @param {ResolvableFunction} [fn] A resolvable function.\n * @example\n * class MyClass {\n * @Negate('fn')\n * fn2: () => boolean;\n *\n * fn(): boolean {\n * return true;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn2(); //=> false\n */\nexport const Negate = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(negate, new PartialValueApplicator(), { property: true, optionalParams: true })\n) as BiTypedDecorator1;\nexport { Negate as negate };\nexport default Negate;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/negate.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 166, + "kind": "variable", + "name": "Negate", + "memberof": "src/negate.ts", + "static": true, + "longname": "src/negate.ts~Negate", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/negate.ts", + "importStyle": "{Negate}", + "description": "Negates a functions result or, when used on a property, creates a function that\nnegates the result of a provided function.", + "examples": [ + "class MyClass {\n @Negate('fn')\n fn2: () => boolean;\n\n fn(): boolean {\n return true;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.fn2(); //=> false" + ], + "lineNumber": 22, + "params": [ + { + "nullable": null, + "types": [ + "ResolvableFunction" + ], + "spread": false, + "optional": true, + "name": "fn", + "description": "A resolvable function." + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 167, + "kind": "file", + "name": "src/once.ts", + "content": "import once = require('lodash/once');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\n\n/**\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n *\n * @example\n * class MyClass {\n * value: number = 0;\n *\n * @Once()\n * fn(): number {\n * return ++this.value;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n * myClass.fn(); //=> 1\n */\nexport const Once = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(once, new PreValueApplicator(), { setter: true, optionalParams: true })\n) as BiTypedDecorator;\nexport { Once as once };\nexport default Once;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/once.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 168, + "kind": "variable", + "name": "Once", + "memberof": "src/once.ts", + "static": true, + "longname": "src/once.ts~Once", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/once.ts", + "importStyle": "{Once}", + "description": "Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.", + "examples": [ + "class MyClass {\n value: number = 0;\n\n @Once()\n fn(): number {\n return ++this.value;\n }\n}\n\nconst myClass = new MyClass();\n\nmyClass.fn(); //=> 1\nmyClass.fn(); //=> 1\nmyClass.fn(); //=> 1" + ], + "lineNumber": 22, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 169, + "kind": "file", + "name": "src/onceAll.ts", + "content": "import once = require('lodash/once');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\n\n/**\n * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\n * This is shared across all instances of the class.\n *\n * @example\n * const value = 0;\n *\n * class MyClass {\n * @Once()\n * fn(): number {\n * return ++value;\n * }\n * }\n *\n * const myClass = new MyClass();\n * const myClass2 = new MyClass();\n *\n * myClass.fn(); //=> 1\n * myClass2.fn(); //=> 1\n */\nexport const OnceAll = DecoratorFactory.createDecorator(\n new DecoratorConfig(once, new PreValueApplicator(), { setter: true, optionalParams: true })\n) as BiTypedDecorator;\nexport { OnceAll as onceAll };\nexport default OnceAll;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/onceAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 170, + "kind": "variable", + "name": "OnceAll", + "memberof": "src/onceAll.ts", + "static": true, + "longname": "src/onceAll.ts~OnceAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/onceAll.ts", + "importStyle": "{OnceAll}", + "description": "Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.\nThis is shared across all instances of the class.", + "examples": [ + "const value = 0;\n\nclass MyClass {\n @Once()\n fn(): number {\n return ++value;\n }\n}\n\nconst myClass = new MyClass();\nconst myClass2 = new MyClass();\n\nmyClass.fn(); //=> 1\nmyClass2.fn(); //=> 1" + ], + "lineNumber": 23, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 171, + "kind": "file", + "name": "src/overArgs.ts", + "content": "import overArgs = require('lodash/overArgs');\n\nimport { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createDecorator(\n new DecoratorConfig(overArgs, new PreValueApplicator(), { setter: true })\n);\n\n/**\n * Creates a function that invokes func with its arguments transformed.\n *\n * @export\n * @param {...Function[]} transforms\n * @returns {LodashMethodDecorator}\n * @example\n * class MyClass {\n * @OverArgs(_.castArray)\n * fn(list) {\n * return list;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn([ 1 ]); //=> [ 1 ];\n * myClass.fn(1); //=> [ 1 ];\n */\nexport function OverArgs(...transforms: Function[]): LodashMethodDecorator {\n return decorator(...transforms);\n}\nexport { OverArgs as overArgs };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/overArgs.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 172, + "kind": "function", + "name": "OverArgs", + "memberof": "src/overArgs.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/overArgs.ts~OverArgs", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/overArgs.ts", + "importStyle": "{OverArgs}", + "description": "Creates a function that invokes func with its arguments transformed.", + "lineNumber": 29, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "transforms", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashMethodDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 173, + "kind": "variable", + "name": "decorator", + "memberof": "src/overArgs.ts", + "static": true, + "longname": "src/overArgs.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/overArgs.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 174, + "kind": "file", + "name": "src/partial.ts", + "content": "import partial = require('lodash/partial');\n\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PartialApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(partial, new PartialApplicator(), { property: true, method: false })\n);\n\n/**\n * Partially applies arguments to a function.\n *\n * @export\n * @param {...any[]} partials\n * @returns {PropertyDecorator}\n * @example\n * class MyClass {\n * lastName: string = 'Schmo';\n *\n * @Partial('fn', 'Joe')\n * fn2: () => string;\n *\n * fn(name: string): string {\n * return `${name} ${this.lastName}`;\n * }\n * }\n *\n * const myClass = new MyClass();\n *\n * myClass.fn2(); //=> 'Joe Schmo'\n */\nexport function Partial(...partials: any[]): PropertyDecorator {\n return decorator(...partials);\n}\nexport { Partial as partial };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/partial.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 175, + "kind": "function", + "name": "Partial", + "memberof": "src/partial.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/partial.ts~Partial", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/partial.ts", + "importStyle": "{Partial}", + "description": "Partially applies arguments to a function.", + "lineNumber": 32, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "partials", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "PropertyDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 176, + "kind": "variable", + "name": "decorator", + "memberof": "src/partial.ts", + "static": true, + "longname": "src/partial.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/partial.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 177, + "kind": "file", + "name": "src/partialRight.ts", + "content": "import partialRight = require('lodash/partialRight');\n\nimport { DecoratorConfig, DecoratorFactory } from './factory';\nimport { PartialApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(partialRight, new PartialApplicator(), { property: true, method: false })\n);\n\nexport function PartialRight(...partials: any[]): PropertyDecorator {\n return decorator(...partials);\n}\nexport { PartialRight as partialRight };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/partialRight.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 178, + "kind": "function", + "name": "PartialRight", + "memberof": "src/partialRight.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/partialRight.ts~PartialRight", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/partialRight.ts", + "importStyle": "{PartialRight}", + "description": "", + "lineNumber": 10, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "partials", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "PropertyDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 179, + "kind": "variable", + "name": "decorator", + "memberof": "src/partialRight.ts", + "static": true, + "longname": "src/partialRight.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/partialRight.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 180, + "kind": "file", + "name": "src/rearg.ts", + "content": "import rearg = require('lodash/rearg');\n\nimport {\n DecoratorConfig,\n DecoratorFactory,\n LodashDecorator,\n ResolvableFunction\n} from './factory';\nimport { PartialValueApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(rearg, new PartialValueApplicator(), { property: true })\n);\n\nexport function Rearg(indexes: ResolvableFunction | number | number[], ...args: (number | number[])[]): LodashDecorator {\n return decorator(indexes, ...args);\n}\nexport { Rearg as rearg };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/rearg.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 181, + "kind": "function", + "name": "Rearg", + "memberof": "src/rearg.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/rearg.ts~Rearg", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/rearg.ts", + "importStyle": "{Rearg}", + "description": "", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "indexes", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "args", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 182, + "kind": "variable", + "name": "decorator", + "memberof": "src/rearg.ts", + "static": true, + "longname": "src/rearg.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/rearg.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 183, + "kind": "file", + "name": "src/rest.ts", + "content": "import rest = require('lodash/rest');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';\nimport { PreValueApplicator } from './applicators';\n\nexport const Rest = DecoratorFactory.createDecorator(\n new DecoratorConfig(rest, new PreValueApplicator(), { optionalParams: true })\n) as BiTypedMethodDecorator1;\nexport { Rest as rest };\nexport default Rest;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/rest.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 184, + "kind": "variable", + "name": "Rest", + "memberof": "src/rest.ts", + "static": true, + "longname": "src/rest.ts~Rest", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/rest.ts", + "importStyle": "{Rest}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 185, + "kind": "file", + "name": "src/shared.ts", + "content": "import { DecoratorConfig, ResolvableFunction } from './factory';\n\nexport interface DebounceOptions {\n wait?: number;\n leading?: boolean;\n trailing?: boolean;\n maxWait?: number;\n}\n\nexport interface ApplicateOptions {\n config: DecoratorConfig;\n target: any;\n value: any;\n args: any[];\n instance?: Object;\n}\n\nexport interface ThrottleOptions {\n leading?: boolean;\n trailing?: boolean;\n}\n\nexport interface MemoizeMap {\n get(key: T): U;\n has(key: T): boolean;\n set(key: T, value: U): void;\n delete(key: T): void;\n clear?(): void;\n}\n\nexport interface MemoizeConfig {\n resolver?: ResolvableFunction;\n type?: new (...args: any[]) => MemoizeMap;\n cache?: MemoizeMap;\n}", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/shared.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 186, + "kind": "file", + "name": "src/spread.ts", + "content": "import spread = require('lodash/spread');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator1 } from './factory';\nimport { PreValueApplicator } from './applicators';\n\nexport const Spread = DecoratorFactory.createDecorator(\n new DecoratorConfig(spread, new PreValueApplicator(), { optionalParams: true })\n) as BiTypedMethodDecorator1;\nexport { Spread as spread };\nexport default Spread;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/spread.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 187, + "kind": "variable", + "name": "Spread", + "memberof": "src/spread.ts", + "static": true, + "longname": "src/spread.ts~Spread", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/spread.ts", + "importStyle": "{Spread}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 188, + "kind": "file", + "name": "src/tap.ts", + "content": "import { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\nimport { returnAtIndex } from './utils';\n\n/**\n * Returns the first argument from the function regardless of\n * the decorated functions return value.\n */\nexport const Tap = DecoratorFactory.createDecorator(\n new DecoratorConfig((fn: Function) => returnAtIndex(fn, 0), new PreValueApplicator(), { optionalParams: true })\n) as BiTypedMethodDecorator;\nexport { Tap as tap };\nexport default Tap;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/tap.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 189, + "kind": "variable", + "name": "Tap", + "memberof": "src/tap.ts", + "static": true, + "longname": "src/tap.ts~Tap", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/tap.ts", + "importStyle": "{Tap}", + "description": "Returns the first argument from the function regardless of\nthe decorated functions return value.", + "lineNumber": 8, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 190, + "kind": "file", + "name": "src/throttle.ts", + "content": "import throttle = require('lodash/throttle');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedDecorator2 } from './factory';\nimport { PreValueApplicator } from './applicators';\nimport { ThrottleOptions } from './shared';\n\nexport const Throttle = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true, getter: true, optionalParams: true })\n) as BiTypedDecorator2;\n\nexport const ThrottleGetter = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(throttle, new PreValueApplicator(), { getter: true, optionalParams: true })\n) as BiTypedDecorator2;\n\nexport const ThrottleSetter = DecoratorFactory.createInstanceDecorator(\n new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true, optionalParams: true })\n) as BiTypedDecorator2;\n\nexport { Throttle as throttle };\nexport { ThrottleGetter as throttleGetter };\nexport { ThrottleSetter as throttleSetter };\nexport default Throttle;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/throttle.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 191, + "kind": "variable", + "name": "Throttle", + "memberof": "src/throttle.ts", + "static": true, + "longname": "src/throttle.ts~Throttle", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/throttle.ts", + "importStyle": "{Throttle}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 192, + "kind": "variable", + "name": "ThrottleGetter", + "memberof": "src/throttle.ts", + "static": true, + "longname": "src/throttle.ts~ThrottleGetter", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/throttle.ts", + "importStyle": "{ThrottleGetter}", + "description": null, + "lineNumber": 4, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 193, + "kind": "variable", + "name": "ThrottleSetter", + "memberof": "src/throttle.ts", + "static": true, + "longname": "src/throttle.ts~ThrottleSetter", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/throttle.ts", + "importStyle": "{ThrottleSetter}", + "description": null, + "lineNumber": 5, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 194, + "kind": "file", + "name": "src/throttleAll.ts", + "content": "import throttle = require('lodash/throttle');\n\nimport { DecoratorConfig, DecoratorFactory, LodashMethodDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\nimport { ThrottleOptions } from './shared';\n\nconst decorator = DecoratorFactory.createDecorator(\n new DecoratorConfig(throttle, new PreValueApplicator(), { setter: true })\n);\nexport function ThrottleAll(wait?: number, options?: ThrottleOptions): LodashMethodDecorator {\n return decorator(wait, options);\n}\nexport { ThrottleAll as throttleAll };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/throttleAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 195, + "kind": "function", + "name": "ThrottleAll", + "memberof": "src/throttleAll.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/throttleAll.ts~ThrottleAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/throttleAll.ts", + "importStyle": "{ThrottleAll}", + "description": "", + "lineNumber": 10, + "params": [ + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "wait", + "description": "" + }, + { + "nullable": null, + "types": [ + "ThrottleOptions" + ], + "spread": false, + "optional": false, + "name": "options", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashMethodDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 196, + "kind": "variable", + "name": "decorator", + "memberof": "src/throttleAll.ts", + "static": true, + "longname": "src/throttleAll.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/throttleAll.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 197, + "kind": "file", + "name": "src/unary.ts", + "content": "import unary = require('lodash/unary');\n\nimport { DecoratorConfig, DecoratorFactory, BiTypedMethodDecorator } from './factory';\nimport { PreValueApplicator } from './applicators';\n\nexport const Unary = DecoratorFactory.createDecorator(\n new DecoratorConfig(unary, new PreValueApplicator(), { optionalParams: true })\n) as BiTypedMethodDecorator;\nexport { Unary as unary };\nexport default Unary;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/unary.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 198, + "kind": "variable", + "name": "Unary", + "memberof": "src/unary.ts", + "static": true, + "longname": "src/unary.ts~Unary", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/unary.ts", + "importStyle": "{Unary}", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 199, + "kind": "file", + "name": "src/utils/CompositeKeyWeakMap.ts", + "content": "import isUndefined = require('lodash/isUndefined');\n\n/**\n * A map for weakly holding nested references.\n *\n * @private\n * @export\n * @class CompositeKeyWeakMap\n * @template T\n */\nexport class CompositeKeyWeakMap {\n private _weakMap = new WeakMap();\n\n set(keys: any[], value: T): void {\n let map = this._weakMap;\n\n for (let i = 0, len = keys.length - 1; i < len; i++) {\n const key = keys[i];\n let next = map.get(key);\n\n if (!next) {\n next = new Map();\n map.set(key, next);\n }\n\n map = next;\n }\n\n map.set(keys[keys.length - 1], value);\n }\n\n get(keys: any[]): T {\n let next = this._weakMap;\n\n for (let i = 0, len = keys.length; i < len; i++) {\n next = next.get(keys[i]);\n\n if (isUndefined(next)) {\n break;\n }\n }\n\n return next as any;\n }\n\n has(keys: any[]): boolean {\n return !isUndefined(this.get(keys));\n }\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/CompositeKeyWeakMap.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 200, + "kind": "class", + "name": "CompositeKeyWeakMap", + "memberof": "src/utils/CompositeKeyWeakMap.ts", + "static": true, + "longname": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/CompositeKeyWeakMap.ts", + "importStyle": "{CompositeKeyWeakMap}", + "description": "A map for weakly holding nested references.", + "lineNumber": 11, + "interface": false + }, + { + "__docId__": 201, + "kind": "constructor", + "name": "constructor", + "memberof": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap", + "generator": false, + "async": false, + "static": false, + "longname": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap#constructor", + "access": "public", + "description": null, + "lineNumber": 8, + "undocument": true + }, + { + "__docId__": 202, + "kind": "member", + "name": "_weakMap", + "memberof": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap", + "static": false, + "longname": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap#_weakMap", + "access": "private", + "description": "", + "lineNumber": 12, + "ignore": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 203, + "kind": "method", + "name": "set", + "memberof": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap", + "generator": false, + "async": false, + "static": false, + "longname": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap#set", + "access": "public", + "description": "", + "lineNumber": 14, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "keys", + "description": "" + }, + { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 204, + "kind": "method", + "name": "get", + "memberof": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap", + "generator": false, + "async": false, + "static": false, + "longname": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap#get", + "access": "public", + "description": "", + "lineNumber": 32, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "keys", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 205, + "kind": "method", + "name": "has", + "memberof": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap", + "generator": false, + "async": false, + "static": false, + "longname": "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap#has", + "access": "public", + "description": "", + "lineNumber": 46, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "keys", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 206, + "kind": "file", + "name": "src/utils/assignAll.ts", + "content": "import without = require('lodash/without');\nimport attempt = require('lodash/attempt');\nimport isObject = require('lodash/isObject');\n\n/**\n * Assigns all properties from an object to another object including non enumerable\n * properties.\n *\n * @export\n * @template T\n * @template U\n * @param {T} to\n * @param {U} from\n * @param {string[]} [excludes=[]]\n * @returns {T}\n */\nexport function assignAll(to: T, from: U, excludes: string[] = []): T {\n const properties = without(Object.getOwnPropertyNames(from), ...excludes);\n\n for (const prop of properties) {\n attempt(assignProperty, to, from, prop);\n }\n\n return to;\n}\n\n/**\n * Assigns a property from one object to another while retaining descriptor properties.\n *\n * @export\n * @template T\n * @template U\n * @param {T} to\n * @param {U} from\n * @param {string} prop\n */\nexport function assignProperty(to: T, from: U, prop: string): void {\n const descriptor = Object.getOwnPropertyDescriptor(to, prop);\n\n if (!descriptor || descriptor.configurable) {\n const srcDescriptor = Object.getOwnPropertyDescriptor(from, prop);\n\n if (isObject(srcDescriptor)) {\n Object.defineProperty(to, prop, srcDescriptor);\n } else {\n (to as any)[prop] = (from as any)[prop];\n }\n }\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/assignAll.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 207, + "kind": "function", + "name": "assignAll", + "memberof": "src/utils/assignAll.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/assignAll.ts~assignAll", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/assignAll.ts", + "importStyle": "{assignAll}", + "description": "Assigns all properties from an object to another object including non enumerable\nproperties.", + "lineNumber": 17, + "params": [ + { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "optional": false, + "name": "to", + "description": "" + }, + { + "nullable": null, + "types": [ + "U" + ], + "spread": false, + "optional": false, + "name": "from", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "excludes", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 208, + "kind": "function", + "name": "assignProperty", + "memberof": "src/utils/assignAll.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/assignAll.ts~assignProperty", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/assignAll.ts", + "importStyle": "{assignProperty}", + "description": "Assigns a property from one object to another while retaining descriptor properties.", + "lineNumber": 37, + "params": [ + { + "nullable": null, + "types": [ + "T" + ], + "spread": false, + "optional": false, + "name": "to", + "description": "" + }, + { + "nullable": null, + "types": [ + "U" + ], + "spread": false, + "optional": false, + "name": "from", + "description": "" + }, + { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "optional": false, + "name": "prop", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 209, + "kind": "file", + "name": "src/utils/bind.ts", + "content": "import { copyMetadata } from './copyMetaData';\n\n/**\n * Binds a function and copies metadata.\n *\n * @private\n * @export\n * @param {Function} fn\n * @param {*} context\n * @returns {Function}\n */\nexport function bind(fn: Function, context: any): Function {\n return copyMetadata(fn.bind(context), fn);\n}", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/bind.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 210, + "kind": "function", + "name": "bind", + "memberof": "src/utils/bind.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/bind.ts~bind", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/bind.ts", + "importStyle": "{bind}", + "description": "Binds a function and copies metadata.", + "lineNumber": 12, + "params": [ + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "fn", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "context", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 211, + "kind": "file", + "name": "src/utils/copyMetaData.ts", + "content": "import forOwn = require('lodash/forOwn');\n\n/**\n * Used to copy over meta data from function to function.\n * If meta data is attached to a function. This can get lost\n * when wrapping functions. This tries to persist that.\n *\n * @private\n */\nexport function copyMetadata(to: any, from: any): any {\n forOwn(from, (value: any, key: string) => to[key] = value);\n\n return to;\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/copyMetaData.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 212, + "kind": "function", + "name": "copyMetadata", + "memberof": "src/utils/copyMetaData.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/copyMetaData.ts~copyMetadata", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/copyMetaData.ts", + "importStyle": "{copyMetadata}", + "description": "Used to copy over meta data from function to function.\nIf meta data is attached to a function. This can get lost\nwhen wrapping functions. This tries to persist that.", + "lineNumber": 10, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "to", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "from", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 213, + "kind": "file", + "name": "src/utils/isDecoratorArgs.ts", + "content": "import isObject = require('lodash/isObject');\nimport isFunction = require('lodash/isFunction');\nimport isString = require('lodash/isString');\n\nexport function isMethodOrPropertyDecoratorArgs(...args: any[]): boolean {\n return args.length >= 2\n && isObject(args[0])\n && isString(args[1])\n && isFunction(args[0].constructor)\n && args[0].constructor.prototype === args[0];\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/isDecoratorArgs.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 214, + "kind": "function", + "name": "isMethodOrPropertyDecoratorArgs", + "memberof": "src/utils/isDecoratorArgs.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/isDecoratorArgs.ts~isMethodOrPropertyDecoratorArgs", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/isDecoratorArgs.ts", + "importStyle": "{isMethodOrPropertyDecoratorArgs}", + "description": "", + "lineNumber": 5, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "args", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 215, + "kind": "file", + "name": "src/utils/isPrototypeAccess.ts", + "content": "export function isPrototypeAccess(context: object, target: object): boolean {\n return context === target\n || (context.constructor !== target.constructor\n && Object.getPrototypeOf(this).constructor === target.constructor);\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/isPrototypeAccess.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 216, + "kind": "function", + "name": "isPrototypeAccess", + "memberof": "src/utils/isPrototypeAccess.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/isPrototypeAccess.ts~isPrototypeAccess", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/isPrototypeAccess.ts", + "importStyle": "{isPrototypeAccess}", + "description": "", + "lineNumber": 1, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "context", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "target", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "boolean" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 217, + "kind": "file", + "name": "src/utils/log.ts", + "content": "/**\n * Creates a log message.\n *\n * @private\n * @export\n * @param {string} [message='']\n * @returns {string}\n */\nexport function log(message = ''): string {\n return `lodash-decorators -> ${message}`;\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/log.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 218, + "kind": "function", + "name": "log", + "memberof": "src/utils/log.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/log.ts~log", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/log.ts", + "importStyle": "{log}", + "description": "Creates a log message.", + "lineNumber": 9, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "message", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 219, + "kind": "file", + "name": "src/utils/resolveFunction.ts", + "content": "import isFunction = require('lodash/isFunction');\nimport isString = require('lodash/isString');\nimport { log } from './log';\n\n/**\n * Resolves a function on the current target object. It first will\n * try and resolve on the context object, then the target object,\n * then an error will be thrown if the method can not be resolved.\n *\n * @private\n * @param {Function|string} method The method or method name.\n * @param {Object} [context] The context object to resolve from.\n * @param {Object} [target] The target object to resolve from.\n * @returns {Function} The resolved function.\n */\nexport function resolveFunction(method?: string|Function, context?: any, target?: any, throwNotFound = true): any {\n if (isFunction(method)) {\n return method;\n } else if (isString(method)) {\n if (context && isFunction(context[method])) {\n return context[method];\n } else if (target && isFunction(target[method])) {\n return target[method];\n }\n }\n\n if (throwNotFound) {\n throw new ReferenceError(log(`Can not resolve method ${method} on any target Objects`));\n }\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/resolveFunction.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 220, + "kind": "function", + "name": "resolveFunction", + "memberof": "src/utils/resolveFunction.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/resolveFunction.ts~resolveFunction", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/resolveFunction.ts", + "importStyle": "{resolveFunction}", + "description": "Resolves a function on the current target object. It first will\ntry and resolve on the context object, then the target object,\nthen an error will be thrown if the method can not be resolved.", + "lineNumber": 16, + "params": [ + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "method", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "context", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "target", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "throwNotFound", + "description": "" + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 221, + "kind": "file", + "name": "src/utils/returnAtIndex.ts", + "content": "/**\n * Creates a function the returns the specific index.\n *\n * @private\n * @export\n * @param {Function} fn\n * @param {number} index\n * @returns {Function}\n */\nexport function returnAtIndex(fn: Function, index: number): Function {\n return function(...args: any[]): any {\n fn.call(this, ...args);\n\n return args[index];\n };\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/returnAtIndex.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 222, + "kind": "function", + "name": "returnAtIndex", + "memberof": "src/utils/returnAtIndex.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/returnAtIndex.ts~returnAtIndex", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/returnAtIndex.ts", + "importStyle": "{returnAtIndex}", + "description": "Creates a function the returns the specific index.", + "lineNumber": 10, + "params": [ + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "fn", + "description": "" + }, + { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "optional": false, + "name": "index", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 223, + "kind": "file", + "name": "src/utils/wrapConstructor.ts", + "content": "import { assignAll } from './assignAll';\n\nconst PROPERTY_EXCLUDES = [\n 'length',\n 'name',\n 'arguments',\n 'called',\n 'prototype'\n];\n\n/**\n * Wraps a constructor in a wrapper function and copies all static properties\n * and methods to the new constructor.\n *\n * @export\n * @param {Function} Ctor\n * @param {(Ctor: Function, ...args: any[]) => any} wrapper\n * @returns {Function}\n */\nexport function wrapConstructor(Ctor: Function, wrapper: (Ctor: Function, ...args: any[]) => any): Function {\n function ConstructorWrapper(...args: any[]) {\n return wrapper.call(this, Ctor, ...args);\n }\n\n ConstructorWrapper.prototype = Ctor.prototype;\n Object.defineProperty(ConstructorWrapper, 'name', {\n // These values should coincide with the default descriptor values for `name`.\n configurable: true,\n enumerable: false,\n value: Ctor.name,\n writable: false\n });\n\n return assignAll(ConstructorWrapper, Ctor, PROPERTY_EXCLUDES);\n}\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/wrapConstructor.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 224, + "kind": "variable", + "name": "PROPERTY_EXCLUDES", + "memberof": "src/utils/wrapConstructor.ts", + "static": true, + "longname": "src/utils/wrapConstructor.ts~PROPERTY_EXCLUDES", + "access": "public", + "export": false, + "importPath": "lodash-decorators/src/utils/wrapConstructor.ts", + "importStyle": null, + "description": null, + "lineNumber": 2, + "undocument": true, + "type": { + "types": [ + "string[]" + ] + }, + "ignore": true + }, + { + "__docId__": 225, + "kind": "function", + "name": "wrapConstructor", + "memberof": "src/utils/wrapConstructor.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/utils/wrapConstructor.ts~wrapConstructor", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/utils/wrapConstructor.ts", + "importStyle": "{wrapConstructor}", + "description": "Wraps a constructor in a wrapper function and copies all static properties\nand methods to the new constructor.", + "lineNumber": 20, + "params": [ + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "Ctor", + "description": "" + }, + { + "nullable": null, + "types": [ + "undefined" + ], + "spread": false, + "optional": false, + "name": "wrapper", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 226, + "kind": "file", + "name": "src/utils.ts", + "content": "export * from './utils/log';\nexport * from './utils/resolveFunction';\nexport * from './utils/CompositeKeyWeakMap';\nexport * from './utils/returnAtIndex';\nexport * from './utils/copyMetaData';\nexport * from './utils/bind';\nexport * from './utils/wrapConstructor';\nexport * from './utils/assignAll';\nexport * from './utils/isDecoratorArgs';\nexport * from './utils/isPrototypeAccess';\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 227, + "kind": "file", + "name": "src/wrap.ts", + "content": "import wrap = require('lodash/wrap');\n\nimport {\n DecoratorConfig,\n DecoratorFactory,\n ResolvableFunction,\n LodashMethodDecorator\n} from './factory';\nimport { WrapApplicator } from './applicators';\n\nconst decorator = DecoratorFactory.createDecorator(\n new DecoratorConfig(wrap, new WrapApplicator())\n);\n\nexport function Wrap(fnToWrap?: ResolvableFunction): LodashMethodDecorator {\n return decorator(fnToWrap);\n}\nexport { Wrap as wrap };\nexport default decorator;\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/wrap.ts", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 228, + "kind": "function", + "name": "Wrap", + "memberof": "src/wrap.ts", + "generator": false, + "async": false, + "static": true, + "longname": "src/wrap.ts~Wrap", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/wrap.ts", + "importStyle": "{Wrap}", + "description": "", + "lineNumber": 15, + "params": [ + { + "nullable": null, + "types": [ + "ResolvableFunction" + ], + "spread": false, + "optional": false, + "name": "fnToWrap", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "LodashMethodDecorator" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 229, + "kind": "variable", + "name": "decorator", + "memberof": "src/wrap.ts", + "static": true, + "longname": "src/wrap.ts~decorator", + "access": "public", + "export": true, + "importPath": "lodash-decorators/src/wrap.ts", + "importStyle": "decorator", + "description": null, + "lineNumber": 3, + "undocument": true, + "type": { + "types": [ + "*" + ] + } + }, + { + "kind": "index", + "content": "# lodash-decorators\n\nDecorators using lodash functions. View the [API docs](https://steelsojka.github.io/lodash-decorators) for more in depth documentation.\n\n[![Build Status](https://travis-ci.org/steelsojka/lodash-decorators.svg?branch=master)](https://travis-ci.org/steelsojka/lodash-decorators)\n[![npm version](https://badge.fury.io/js/lodash-decorators.svg)](http://badge.fury.io/js/lodash-decorators)\n\n\n\n\n\n- [Install](#install)\n - [Polyfills](#polyfills)\n- [Usage](#usage)\n - [Decorators](#decorators)\n - [Example](#example)\n - [Optional Params and Casing](#optional-params-and-casing)\n - [Example](#example-1)\n - [Partials](#partials)\n - [Example](#example-2)\n - [Composition](#composition)\n - [Example](#example-3)\n - [Instance Decorators](#instance-decorators)\n - [Mixin](#mixin)\n - [Example](#example-4)\n - [Attempt](#attempt)\n - [Example](#example-5)\n - [Bind](#bind)\n - [Example](#example-6)\n - [Example](#example-7)\n - [v4 Breaking Changes](#v4-breaking-changes)\n - [Not all decorators can be applied to or forced on getters/setters.](#not-all-decorators-can-be-applied-to-or-forced-on-getterssetters)\n - [No longer force instance decorator onto prototype](#no-longer-force-instance-decorator-onto-prototype)\n - [All decorators now take arguments](#all-decorators-now-take-arguments)\n - [Removal of extensions and validation package](#removal-of-extensions-and-validation-package)\n - [Prototype decorator order no longer throws an error](#prototype-decorator-order-no-longer-throws-an-error)\n - [Other breaking changes](#other-breaking-changes)\n - [v4 Improvements](#v4-improvements)\n\n\n\n## Install\n\n`npm install --save lodash lodash-decorators`\n\n### Polyfills\n\nThis library requires `Map` and `WeakMap` to be available globally. If `Map` or `WeakMap` is not supported in your environment then use a polyfill.\n\n## Usage\n\nFor more in depth documentation please visit [Lodash](http://lodash.com/docs)\n\nDecorators are exported as both start case and lower case.\n\n`import { Debounce } from 'lodash-decorators';`\n\nis the same as\n\n`import { debounce } from 'lodash-decorators';`\n\nThey can also be imported directly.\n\n`import Debounce from 'lodash-decorators/debounce';`\n\n### Decorators\n\nThese decorators are included in the package. These are also exported as lowercase for those who prefer lowercase decorators.\n\n- `After`\n- `AfterAll`\n- `Ary`\n- `Attempt`\n- `Before`\n- `BeforeAll`\n- `Bind`\n- `BindAll`\n- `Curry`\n- `CurryAll`\n- `CurryRight`\n- `CurryRightAll`\n- `Debounce`\n- `DebounceAll`\n- `Defer`\n- `Delay`\n- `Flip`\n- `Flow`\n- `FlowRight`\n- `Memoize`\n- `MemoizeAll`\n- `Mixin`\n- `Negate`\n- `Once`\n- `OnceAll`\n- `OverArgs`\n- `Partial`\n- `PartialRight`\n- `Rearg`\n- `Rest`\n- `Spread`\n- `Tap`\n- `Throttle`\n- `ThrottleAll`\n- `ThrottleGetter`\n- `ThrottleSetter`\n- `Unary`\n- `Wrap`\n\n#### Example\n\n```javascript\nimport { Debounce, Memoize } from 'lodash-decorators';\n\nclass Person {\n constructor(firstName, lastName) {\n this.firstName = firstName;\n this.lastName = lastName;\n }\n\n @Debounce(100)\n save(date) {\n return this.httpService.post(data);\n }\n\n @Memoize(item => item.id)\n doSomeHeavyProcessing(arg1, arg2) {}\n}\n```\n\n### Optional Params and Casing\n\nIf a decorator does not require params or has optional params then the decorator does not require invocation.\nDecorators are also exported in lower case as well as start case.\n\n#### Example\n\n```javascript\n// These are both valid decorator usages.\nclass Person {\n @Memoize()\n doSomething() {}\n\n @Memoize\n doSomething2() {}\n\n @memoize()\n doSomething3() {}\n\n @memoize\n doSomething4() {}\n}\n```\n\n### Partials\n\nSome decorators work slightly differently than you would expect\nthem to work than lodash.\n\n- `Partial`\n- `PartialRight`\n- `Wrap`\n\nThese can take a `Function` as their first argument or a `String`.\nIf the argument is a `String` then a `Function` is resolved from\nthe current object.\n\n#### Example\n\n```javascript\nimport { Partial, Wrap } from 'lodash-decorators'\n\nclass Person {\n constructor(firstName, lastName) {\n this.firstName = firstName;\n this.lastName = lastName;\n }\n\n getName(type) {\n return type === 'firstName' ? this.firstName : this.lastName\n }\n\n @Partial('getName', 'firstName')\n getFirstName() {}\n\n @Partial('getName', null)\n getLastName() {}\n\n @Wrap('getName')\n getUpperCaseName(fn) {\n return fn().toUpperCase();\n }\n}\n\nconst person = new Person('Joe', 'Smith');\n\nperson.getFirstName(); // 'Joe'\nperson.getLastName(); // 'Smith'\nperson.getUpperCaseName(); // JOE SMITH\n```\n\n### Composition\n\nYou can use methods like `compose` and `flow` similiar to\npartials. The arguments are resolved the same way partials\nare resolved.\n\n#### Example\n\n```javascript\nimport { Flow } from 'lodash-decorators'\nimport { kebabCase } from 'lodash';\n\nclass Person {\n @Flow('getName', kebabCase)\n logName;\n\n constructor(firstName, lastName) {\n this.firstName = firstName;\n this.lastName = lastName;\n }\n\n getName() {\n return `${this.firstName} ${this.lastName}`;\n }\n}\n\nconst person = new Person('Joe', 'Smith');\n\nperson.logName(); // joe-smith\n```\n\n### Instance Decorators\n\nNormally decorators are applied to the prototype method\nof the class you are working with, but with some of these\ndecorators that is not the desired behavour. These\ndecorators are applied at the instance level.\n\n- `Debounce`\n- `Throttle`\n- `Memoize`\n- `After`\n- `Before`\n- `Curry`\n- `CurryRight`\n- `Once`\n- `Flow`\n- `FlowRight`\n- `Rearg`\n- `Negate`\n- `Flip`\n- `Bind`\n- `Partial`\n- `PartialRight`\n\n### Mixin\n\nYou can mixin methods into a class by using the `Mixin` decorator.\n\n#### Example\n\n```javascript\nimport { Mixin } from 'lodash-decorators';\n\nconst MyOtherApi = {\n someCoolMethod() {\n // Do something cool\n }\n};\n\n@Mixin(MyOtherApi)\nclass Person {}\n\nPerson.prototype.someCoolMethod === MyOtherApi.someCoolMethod; // => true\n```\n\n### Attempt\n\nYou can wrap a method in a lodash attempt method.\n\n#### Example\n\n```javascript\nimport { Attempt } from 'lodash-decorators';\n\nclass Person {\n @Attempt()\n throwAnError() {\n throw new Error();\n }\n\n @Attempt()\n doNotThrowAnError() {\n return '0_o';\n }\n}\n\nconst person = new Person();\n\nlet result = person.throwAnError();\n\nresult instanceof Error; // => true\n\nresult = person.doNotThrowAnError();\n\nresult === '0_o'; // => true\n```\n\n### Bind\n\nBind takes arguments based on lodash's bind and binds the `Function` to\nthe current instance object.\n\n#### Example\n\n```javascript\nimport { Bind } from 'lodash-decorators'\n\nclass Person {\n constructor(firstName, lastName) {\n this.firstName = firstName;\n this.lastName = lastName;\n }\n\n @Bind()\n getName() {\n return `${this.firstName} ${this.lastName}`;\n }\n\n // It can also function as a partial\n @Bind('Joe')\n getUpperCaseName(name) {\n return name.toUpperCase();\n }\n}\n\nconst person = new Person('Joe', 'Smith');\n\nperson.getName.call(null); // Joe Smith\nperson.getUpperCaseName(); // JOE\n```\n\nYou can also bind entire classes with `bindAll` or `bind`.\n\n#### Example\n\n```javascript\nimport { BindAll } from 'lodash-decorators'\n\n@BindAll()\nclass Person {\n constructor(firstName, lastName) {\n this.firstName = firstName;\n this.lastName = lastName;\n }\n\n getName() {\n return `${this.firstName} ${this.lastName}`;\n }\n}\n\nconst person = new Person('Joe', 'Smith');\n\nperson.getName.call(null); // Joe Smith\n```\n\n### v4 Breaking Changes\n\nVersion 4 is a rewrite of the library and has many breaking changes.\n\n#### Not all decorators can be applied to or forced on getters/setters.\n\nOnly certain decorators make sense to be applied to getters/setters. Before you could specify the target of the decorator like `debounce.set(15)`. This behavior is\nremoved and decorators that make sense to apply to getters/setters are configured to be applied to methods and either the getter or the setter. For example:\n\n```javascript\nclass MyClass {\n // This only gets applied to the setter as it doesn't make sense to apply it to the getter.\n @Debounce(1000)\n get value() {\n return this._value;\n }\n\n set value(val) {\n this._value = val;\n }\n\n @Debounce(15)\n fn() {}\n}\n```\n\nThis keeps the API cleaner and doesn't require the developer to know how the decorator applies to the descriptor. Some decorators have explicit version that apply to either getters of setters, such as `ThrottleGetter` and `ThrottleSetter`.\n\n#### No longer force instance decorator onto prototype\n\nThere is no longer a `Proto` decorator attached to instance decorators. Most instance decorators now have a counterpart that applies to the prototype instead of the instance. `Debounce.Proto()` is now `DebounceAll()`.\n\n#### All decorators now take arguments\n\nAll decorators now take arguments. So instead of `@Once` you would do `@Once()`. This keeps the API consistent and doesn't require the developer to remember which decorators take arguments.\n\n#### Removal of extensions and validation package\n\nAll extensions like `enumerable` have been removed in favor of [core-decorators](https://github.com/jayphelps/core-decorators.js). There may be some slight over lap like `debounce` and `throttle`. Fair warning, instance decorators may not play nice with other implementations of instance decorators.\n\nWe want to keep lodash decorators focused specifically on lodash specific functions.\n\n#### Prototype decorator order no longer throws an error\n\nIf a prototype decorator comes after an instance decorator it will be ignored since there is no way to apply it in the chain.\n\n#### Other breaking changes\n\n- `Attempt` now takes an argument to line up with lodash API.\n- `Bind` used on a class no longer delegates to `BindAll`. Use `BindAll` instead.\n- `Curry`, `Partial`, `Flow`, `FlowRight` are now instance decorators.\n\n### v4 Improvements\n\n- Ships with TypeScript typings.\n- Predictable performance.\n- Improvements to Bind decorator.\n- Improved API for decorator factory.\n- More and better unit tests.\n- Better performance with instance decorators.\n- Single imports with `import { Debounce } from 'lodash-decorators/debounce'`;\n- Composition decorators can be used on properties. These will generate the composed function.\n", + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/README.md", + "name": "./README.md", + "static": true, + "access": "public" + }, + { + "kind": "packageJSON", + "content": "{\n \"name\": \"lodash-decorators\",\n \"author\": \"Steven Sojka \",\n \"description\": \"A collection of decorators using lodash at it's core.\",\n \"version\": \"6.0.1\",\n \"engines\": {\n \"node\": \">=0.12.0\"\n },\n \"scripts\": {\n \"clean\": \"npm run build:clean; npm run test:clean\",\n \"pretest\": \"npm run build:test\",\n \"test\": \"mocha\",\n \"test:clean\": \"del test\",\n \"posttest\": \"npm run test:clean\",\n \"prebuild\": \"npm run lint && npm run build:clean\",\n \"prebuild:test\": \"npm run test:clean\",\n \"build:clean\": \"del '*.js' '*.js.map' '*.d.ts' applicators factory utils\",\n \"build\": \"tsc -p tsconfig.build.json\",\n \"build:test\": \"tsc -p tsconfig.test.json\",\n \"docs\": \"del docs && esdoc\",\n \"docs:serve\": \"http-server ./docs\",\n \"docs:publish\": \"git subtree push --prefix docs origin gh-pages\",\n \"readme\": \"doctoc ./README.md\",\n \"release\": \"npm run build && npm run docs && npm run readme\",\n \"lint\": \"eslint src/**\",\n \"lint:fix\": \"npm run lint -- --fix\",\n \"version\": \"standard-version\"\n },\n \"main\": \"index.js\",\n \"typings\": \"index.d.ts\",\n \"keywords\": [\n \"lodash\",\n \"decorators\",\n \"ES7\",\n \"ES2016\",\n \"utility\"\n ],\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"http://github.com/steelsojka/lodash-decorators/issues\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"http://github.com/steelsojka/lodash-decorators\"\n },\n \"devDependencies\": {\n \"@types/chai\": \"^4.2.21\",\n \"@types/lodash\": \"^4.14.172\",\n \"@types/mocha\": \"^9.0.0\",\n \"@types/node\": \"^16.7.13\",\n \"@types/sinon\": \"^10.0.2\",\n \"@typescript-eslint/eslint-plugin\": \"^4.31.0\",\n \"@typescript-eslint/parser\": \"^4.31.0\",\n \"chai\": \"^4.3.4\",\n \"del-cli\": \"^4.0.1\",\n \"doctoc\": \"^2.0.1\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"esdoc-typescript-plugin\": \"^1.0.1\",\n \"eslint\": \"^7.32.0\",\n \"eslint-config-prettier\": \"^8.3.0\",\n \"eslint-plugin-import\": \"^2.24.2\",\n \"eslint-plugin-jsdoc\": \"^36.1.0\",\n \"eslint-plugin-prefer-arrow\": \"^1.2.3\",\n \"http-server\": \"^13.0.1\",\n \"lodash\": \"^4.17.21\",\n \"mocha\": \"^9.1.1\",\n \"sinon\": \"^11.1.2\",\n \"standard-version\": \"^9.3.1\",\n \"tslib\": \"^2.3.1\",\n \"typescript\": \"^4.4.2\"\n },\n \"peerDependencies\": {\n \"lodash\": \"^4.0.0\",\n \"tslib\": \"^2.0.0\"\n },\n \"mocha\": {\n \"reporter\": \"spec\",\n \"watch-extensions\": \"ts\",\n \"spec\": [\n \"test/**/*.spec.js\"\n ]\n }\n}\n", + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/package.json", + "name": "package.json", + "static": true, + "access": "public" + }, + { + "__docId__": 230, + "kind": "testFile", + "name": "src/after.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { After } from './after';\n\ndescribe('after', () => {\n it('should invoke the method after 3 times', () => {\n let calls = 0;\n\n class MyClass {\n props: number[] = [];\n\n @After(2)\n set prop(val: number) {\n this.props.push(val);\n }\n\n @After(3)\n fn() {\n calls++;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n\n expect(calls, 'single class').to.equal(2);\n\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n\n expect(calls, 'multiple class').to.equal(4);\n\n myClass.prop = 50;\n myClass.prop = 100;\n\n expect(myClass.props.length, 'setter length').to.equal(1);\n expect(myClass.props[0], 'setter value').to.equal(100);\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/after.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 231, + "kind": "test", + "name": "describe0", + "testId": 0, + "memberof": "src/after.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/after.spec.ts~describe0", + "access": null, + "description": "after", + "lineNumber": 9 + }, + { + "__docId__": 232, + "kind": "test", + "name": "it1", + "testId": 1, + "memberof": "src/after.spec.ts~describe0", + "testDepth": 1, + "static": true, + "longname": "src/after.spec.ts~describe0.it1", + "access": null, + "description": "should invoke the method after 3 times", + "lineNumber": 10 + }, + { + "__docId__": 233, + "kind": "testFile", + "name": "src/afterAll.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { AfterAll } from './afterAll';\n\ndescribe('afterAll', () => {\n it('should invoke the method after 3 times', () => {\n let calls = 0;\n\n class MyClass {\n @AfterAll(3)\n fn() {\n calls++;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n\n expect(calls, 'single class').to.equal(2);\n\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n\n expect(calls, 'multiple class').to.equal(6);\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/afterAll.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 234, + "kind": "test", + "name": "describe2", + "testId": 2, + "memberof": "src/afterAll.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/afterAll.spec.ts~describe2", + "access": null, + "description": "afterAll", + "lineNumber": 9 + }, + { + "__docId__": 235, + "kind": "test", + "name": "it3", + "testId": 3, + "memberof": "src/afterAll.spec.ts~describe2", + "testDepth": 1, + "static": true, + "longname": "src/afterAll.spec.ts~describe2.it3", + "access": null, + "description": "should invoke the method after 3 times", + "lineNumber": 10 + }, + { + "__docId__": 236, + "kind": "testFile", + "name": "src/ary.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Ary } from './ary';\n\ndescribe('ary', () => {\n it('should invoke the method with specified arguments', () => {\n class MyClass {\n @Ary(2)\n fn(...args: any[]) {\n expect(args.length).to.equal(2);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(1, 2, 3, 4, 5);\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/ary.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 237, + "kind": "test", + "name": "describe4", + "testId": 4, + "memberof": "src/ary.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/ary.spec.ts~describe4", + "access": null, + "description": "ary", + "lineNumber": 9 + }, + { + "__docId__": 238, + "kind": "test", + "name": "it5", + "testId": 5, + "memberof": "src/ary.spec.ts~describe4", + "testDepth": 1, + "static": true, + "longname": "src/ary.spec.ts~describe4.it5", + "access": null, + "description": "should invoke the method with specified arguments", + "lineNumber": 10 + }, + { + "__docId__": 239, + "kind": "testFile", + "name": "src/attempt.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Attempt } from './attempt';\n\ndescribe('attempt', () => {\n it('should catch the error and return it', () => {\n class MyClass {\n @Attempt()\n fn() {\n throw new Error();\n }\n\n @Attempt()\n fn2() {\n return 10;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn()).to.be.an.instanceOf(Error);\n expect(myClass.fn2()).to.equal(10);\n });\n\n it('should catch the error and return it (paramless)', () => {\n class MyClass {\n @Attempt\n fn() {\n throw new Error();\n }\n\n @Attempt\n fn2() {\n return 10;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn()).to.be.an.instanceOf(Error);\n expect(myClass.fn2()).to.equal(10);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/attempt.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 240, + "kind": "test", + "name": "describe6", + "testId": 6, + "memberof": "src/attempt.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/attempt.spec.ts~describe6", + "access": null, + "description": "attempt", + "lineNumber": 9 + }, + { + "__docId__": 241, + "kind": "test", + "name": "it7", + "testId": 7, + "memberof": "src/attempt.spec.ts~describe6", + "testDepth": 1, + "static": true, + "longname": "src/attempt.spec.ts~describe6.it7", + "access": null, + "description": "should catch the error and return it", + "lineNumber": 10 + }, + { + "__docId__": 242, + "kind": "test", + "name": "it8", + "testId": 8, + "memberof": "src/attempt.spec.ts~describe6", + "testDepth": 1, + "static": true, + "longname": "src/attempt.spec.ts~describe6.it8", + "access": null, + "description": "should catch the error and return it (paramless)", + "lineNumber": 47 + }, + { + "__docId__": 243, + "kind": "testFile", + "name": "src/before.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Before } from './before';\n\ndescribe('before', () => {\n it('should invoke the method before 3 times', () => {\n let calls = 0;\n\n class MyClass {\n @Before(3)\n fn() {\n calls++;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n\n expect(calls, 'single class').to.equal(2);\n\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n\n expect(calls, 'multiple class').to.equal(4);\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/before.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 244, + "kind": "test", + "name": "describe9", + "testId": 9, + "memberof": "src/before.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/before.spec.ts~describe9", + "access": null, + "description": "before", + "lineNumber": 9 + }, + { + "__docId__": 245, + "kind": "test", + "name": "it10", + "testId": 10, + "memberof": "src/before.spec.ts~describe9", + "testDepth": 1, + "static": true, + "longname": "src/before.spec.ts~describe9.it10", + "access": null, + "description": "should invoke the method before 3 times", + "lineNumber": 10 + }, + { + "__docId__": 246, + "kind": "testFile", + "name": "src/beforeAll.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { BeforeAll } from './beforeAll';\n\ndescribe('beforeAll', () => {\n it('should invoke the method before 3 times', () => {\n let calls = 0;\n\n class MyClass {\n @BeforeAll(3)\n fn() {\n calls++;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n\n expect(calls, 'single class').to.equal(2);\n\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n\n expect(calls, 'multiple class').to.equal(2);\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/beforeAll.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 247, + "kind": "test", + "name": "describe11", + "testId": 11, + "memberof": "src/beforeAll.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/beforeAll.spec.ts~describe11", + "access": null, + "description": "beforeAll", + "lineNumber": 9 + }, + { + "__docId__": 248, + "kind": "test", + "name": "it12", + "testId": 12, + "memberof": "src/beforeAll.spec.ts~describe11", + "testDepth": 1, + "static": true, + "longname": "src/beforeAll.spec.ts~describe11.it12", + "access": null, + "description": "should invoke the method before 3 times", + "lineNumber": 10 + }, + { + "__docId__": 249, + "kind": "testFile", + "name": "src/bind.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Bind } from './bind';\nimport { Once } from './once';\n\ndescribe('bind', () => {\n it('should bind the context of the method', () => {\n let context;\n\n class MyClass {\n @Bind()\n fn() {\n context = this;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn.call(null);\n expect(context).to.equal(myClass);\n\n myClass2.fn.call(null);\n expect(context).to.equal(myClass2);\n });\n\n it('should bind with other decorators', () => {\n let context;\n\n class MyClass {\n @Once()\n @Bind()\n fn() {\n context = this;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn.call(null);\n expect(context).to.equal(myClass);\n });\n\n it('should bind without params', () => {\n let context;\n\n class MyClass {\n @Bind\n fn() {\n context = this;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn.call(null);\n expect(context).to.equal(myClass);\n\n myClass2.fn.call(null);\n expect(context).to.equal(myClass2);\n });\n\n it('should not bind when accessed on the prototype', () => {\n let context;\n\n class MyClass {\n @Bind\n fn() {\n context = this;\n }\n }\n\n MyClass.prototype.fn();\n\n const myClass = new MyClass();\n\n myClass.fn.call(null);\n\n expect(context).to.equal(myClass);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/bind.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 250, + "kind": "test", + "name": "describe13", + "testId": 13, + "memberof": "src/bind.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/bind.spec.ts~describe13", + "access": null, + "description": "bind", + "lineNumber": 10 + }, + { + "__docId__": 251, + "kind": "test", + "name": "it14", + "testId": 14, + "memberof": "src/bind.spec.ts~describe13", + "testDepth": 1, + "static": true, + "longname": "src/bind.spec.ts~describe13.it14", + "access": null, + "description": "should bind the context of the method", + "lineNumber": 11 + }, + { + "__docId__": 252, + "kind": "test", + "name": "it15", + "testId": 15, + "memberof": "src/bind.spec.ts~describe13", + "testDepth": 1, + "static": true, + "longname": "src/bind.spec.ts~describe13.it15", + "access": null, + "description": "should bind with other decorators", + "lineNumber": 40 + }, + { + "__docId__": 253, + "kind": "test", + "name": "it16", + "testId": 16, + "memberof": "src/bind.spec.ts~describe13", + "testDepth": 1, + "static": true, + "longname": "src/bind.spec.ts~describe13.it16", + "access": null, + "description": "should bind without params", + "lineNumber": 67 + }, + { + "__docId__": 254, + "kind": "test", + "name": "it17", + "testId": 17, + "memberof": "src/bind.spec.ts~describe13", + "testDepth": 1, + "static": true, + "longname": "src/bind.spec.ts~describe13.it17", + "access": null, + "description": "should not bind when accessed on the prototype", + "lineNumber": 96 + }, + { + "__docId__": 255, + "kind": "testFile", + "name": "src/bindAll.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { BindAll } from './bindAll';\nimport { Debounce } from './debounce';\n\ndescribe('bindAll', () => {\n it('should bind all method to the context', () => {\n let context;\n\n class Parent {\n fn() {\n context = this;\n }\n }\n\n @BindAll()\n class MyClass extends Parent {\n fn2() {\n context = this;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn.call(null);\n expect(context).to.equal(myClass);\n\n myClass.fn2.call(null);\n expect(context).to.equal(myClass);\n });\n\n it('should bind only specified methods to the context', () => {\n let context;\n\n class Parent {\n fn() {\n context = this;\n }\n }\n\n @BindAll([ 'fn' ])\n class MyClass extends Parent {\n fn2() {\n context = this;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn.call(null);\n expect(context).to.equal(myClass);\n\n myClass.fn2.call(null);\n expect(context).to.equal(null);\n });\n\n it('should work with getters', () => {\n @BindAll()\n class MyClass {\n get prop(): string {\n return 'blorg';\n }\n\n fn() {\n return this.prop;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn.call(null);\n expect(myClass.fn()).to.equal('blorg');\n });\n\n it('should not access getters that are not decorated', () => {\n let accessed = false;\n\n @BindAll()\n class MyClass {\n get prop(): string {\n accessed = true;\n\n return 'blorg';\n }\n\n @Debounce()\n get prop2(): string {\n return 'test';\n }\n\n @Debounce(1)\n fn() {\n return this.prop;\n }\n }\n\n const myClass = new MyClass();\n\n expect(accessed).to.be.false;\n expect(myClass.hasOwnProperty('prop')).to.be.false;\n expect(myClass.hasOwnProperty('prop2')).to.be.false;\n });\n\n it('should copy over any static properties on the constructor', () => {\n @BindAll()\n class MyClass {\n static $inject = [];\n }\n\n expect(MyClass.$inject).to.be.an('array');\n });\n\n it('should pass babels class call check', () => {\n function classCallCheck(instance: any, Constructor: any): void {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n }\n\n @BindAll()\n class MyClass {\n constructor() {\n classCallCheck(this, MyClass);\n }\n }\n\n expect(() => new MyClass()).not.to.throw();\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/bindAll.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 256, + "kind": "test", + "name": "describe18", + "testId": 18, + "memberof": "src/bindAll.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/bindAll.spec.ts~describe18", + "access": null, + "description": "bindAll", + "lineNumber": 10 + }, + { + "__docId__": 257, + "kind": "test", + "name": "it19", + "testId": 19, + "memberof": "src/bindAll.spec.ts~describe18", + "testDepth": 1, + "static": true, + "longname": "src/bindAll.spec.ts~describe18.it19", + "access": null, + "description": "should bind all method to the context", + "lineNumber": 11 + }, + { + "__docId__": 258, + "kind": "test", + "name": "it20", + "testId": 20, + "memberof": "src/bindAll.spec.ts~describe18", + "testDepth": 1, + "static": true, + "longname": "src/bindAll.spec.ts~describe18.it20", + "access": null, + "description": "should bind only specified methods to the context", + "lineNumber": 56 + }, + { + "__docId__": 259, + "kind": "test", + "name": "it21", + "testId": 21, + "memberof": "src/bindAll.spec.ts~describe18", + "testDepth": 1, + "static": true, + "longname": "src/bindAll.spec.ts~describe18.it21", + "access": null, + "description": "should work with getters", + "lineNumber": 101 + }, + { + "__docId__": 260, + "kind": "test", + "name": "it22", + "testId": 22, + "memberof": "src/bindAll.spec.ts~describe18", + "testDepth": 1, + "static": true, + "longname": "src/bindAll.spec.ts~describe18.it22", + "access": null, + "description": "should not access getters that are not decorated", + "lineNumber": 137 + }, + { + "__docId__": 261, + "kind": "test", + "name": "it23", + "testId": 23, + "memberof": "src/bindAll.spec.ts~describe18", + "testDepth": 1, + "static": true, + "longname": "src/bindAll.spec.ts~describe18.it23", + "access": null, + "description": "should copy over any static properties on the constructor", + "lineNumber": 193 + }, + { + "__docId__": 262, + "kind": "test", + "name": "it24", + "testId": 24, + "memberof": "src/bindAll.spec.ts~describe18", + "testDepth": 1, + "static": true, + "longname": "src/bindAll.spec.ts~describe18.it24", + "access": null, + "description": "should pass babels class call check", + "lineNumber": 214 + }, + { + "__docId__": 263, + "kind": "testFile", + "name": "src/combinationTest.spec.ts", + "content": "import { expect } from 'chai';\nimport { spy } from 'sinon';\n\nimport { Bind } from './bind';\nimport { Memoize } from './memoize';\nimport { Curry } from './curry';\nimport { Delay } from './delay';\n\ndescribe('multiple decorators', () => {\n describe('when using multiple instance decorators', () => {\n it('should apply both decorators', () => {\n const _spy = spy();\n\n class MyClass {\n @Bind()\n @Memoize()\n fn(_n: number) {\n expect(this).to.equal(myClass);\n _spy();\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn.call(null, 1);\n myClass.fn.call(null, 2);\n\n myClass.fn.call(null, 1);\n myClass.fn.call(null, 2);\n\n expect(_spy.callCount).to.equal(2);\n });\n });\n\n describe('when combining proto and instance decorators', () => {\n it('should apply both decorators', (done) => {\n const _spy = spy();\n\n class MyClass {\n @Curry(2)\n @Delay(10)\n fn(n?: number, n2?: number): any {\n expect(this).to.equal(myClass);\n _spy(n, n2);\n }\n }\n\n const myClass = new MyClass();\n const add10 = myClass.fn(10);\n\n expect(_spy.called).to.be.false;\n\n add10(5);\n\n expect(_spy.called).to.be.false;\n\n setTimeout(() => {\n expect(_spy.callCount).to.equal(1);\n expect(_spy.getCalls()[0].args).to.eql([ 10, 5 ]);\n done();\n }, 20);\n });\n\n describe('when proto is after instance', () => {\n it('should only apply the instance decorator', () => {\n const _spy = spy();\n\n class MyClass {\n @Delay(10)\n @Curry(2)\n fn(n?: number, n2?: number): any {\n expect(this).to.equal(myClass);\n _spy(n, n2);\n }\n }\n\n const myClass = new MyClass();\n const add10 = myClass.fn(10);\n\n expect(_spy.called).to.be.false;\n\n add10(5);\n\n expect(_spy.called).to.be.true;\n expect(_spy.getCalls()[0].args).to.eql([ 10, 5 ]);\n });\n });\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/combinationTest.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 264, + "kind": "test", + "name": "describe25", + "testId": 25, + "memberof": "src/combinationTest.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/combinationTest.spec.ts~describe25", + "access": null, + "description": "multiple decorators", + "lineNumber": 13 + }, + { + "__docId__": 265, + "kind": "test", + "name": "describe26", + "testId": 26, + "memberof": "src/combinationTest.spec.ts~describe25", + "testDepth": 1, + "static": true, + "longname": "src/combinationTest.spec.ts~describe25.describe26", + "access": null, + "description": "when using multiple instance decorators", + "lineNumber": 14 + }, + { + "__docId__": 266, + "kind": "test", + "name": "it27", + "testId": 27, + "memberof": "src/combinationTest.spec.ts~describe25.describe26", + "testDepth": 2, + "static": true, + "longname": "src/combinationTest.spec.ts~describe25.describe26.it27", + "access": null, + "description": "should apply both decorators", + "lineNumber": 15 + }, + { + "__docId__": 267, + "kind": "test", + "name": "describe28", + "testId": 28, + "memberof": "src/combinationTest.spec.ts~describe25", + "testDepth": 1, + "static": true, + "longname": "src/combinationTest.spec.ts~describe25.describe28", + "access": null, + "description": "when combining proto and instance decorators", + "lineNumber": 49 + }, + { + "__docId__": 268, + "kind": "test", + "name": "it29", + "testId": 29, + "memberof": "src/combinationTest.spec.ts~describe25.describe28", + "testDepth": 2, + "static": true, + "longname": "src/combinationTest.spec.ts~describe25.describe28.it29", + "access": null, + "description": "should apply both decorators", + "lineNumber": 50 + }, + { + "__docId__": 269, + "kind": "test", + "name": "describe30", + "testId": 30, + "memberof": "src/combinationTest.spec.ts~describe25.describe28", + "testDepth": 2, + "static": true, + "longname": "src/combinationTest.spec.ts~describe25.describe28.describe30", + "access": null, + "description": "when proto is after instance", + "lineNumber": 89 + }, + { + "__docId__": 270, + "kind": "test", + "name": "it31", + "testId": 31, + "memberof": "src/combinationTest.spec.ts~describe25.describe28.describe30", + "testDepth": 3, + "static": true, + "longname": "src/combinationTest.spec.ts~describe25.describe28.describe30.it31", + "access": null, + "description": "should only apply the instance decorator", + "lineNumber": 90 + }, + { + "__docId__": 271, + "kind": "testFile", + "name": "src/curry.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Curry } from './curry';\n\ndescribe('curry', () => {\n it('should curry the method with default arity', () => {\n class MyClass {\n @Curry()\n add(a: any, b?: any) {\n return a + b;\n }\n }\n\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10)).to.equal(15);\n });\n\n it('should curry the method with default arity (paramless)', () => {\n class MyClass {\n @Curry\n add(a: any, b?: any) {\n return a + b;\n }\n }\n\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10)).to.equal(15);\n });\n\n it('should curry the method with fixed arity', () => {\n class MyClass {\n @Curry(2)\n add(a: any, b?: any, c?: any) {\n return a + b * c;\n }\n }\n\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10, 2)).to.equal(25);\n });\n\n it('should retain the class context', () => {\n class MyClass {\n value = 10;\n\n @Curry()\n add(a: any, b?: any): any {\n return (a + b) * this.value;\n }\n }\n\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n\n expect(add5(2)).to.equal(70);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/curry.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 272, + "kind": "test", + "name": "describe32", + "testId": 32, + "memberof": "src/curry.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/curry.spec.ts~describe32", + "access": null, + "description": "curry", + "lineNumber": 9 + }, + { + "__docId__": 273, + "kind": "test", + "name": "it33", + "testId": 33, + "memberof": "src/curry.spec.ts~describe32", + "testDepth": 1, + "static": true, + "longname": "src/curry.spec.ts~describe32.it33", + "access": null, + "description": "should curry the method with default arity", + "lineNumber": 10 + }, + { + "__docId__": 274, + "kind": "test", + "name": "it34", + "testId": 34, + "memberof": "src/curry.spec.ts~describe32", + "testDepth": 1, + "static": true, + "longname": "src/curry.spec.ts~describe32.it34", + "access": null, + "description": "should curry the method with default arity (paramless)", + "lineNumber": 40 + }, + { + "__docId__": 275, + "kind": "test", + "name": "it35", + "testId": 35, + "memberof": "src/curry.spec.ts~describe32", + "testDepth": 1, + "static": true, + "longname": "src/curry.spec.ts~describe32.it35", + "access": null, + "description": "should curry the method with fixed arity", + "lineNumber": 70 + }, + { + "__docId__": 276, + "kind": "test", + "name": "it36", + "testId": 36, + "memberof": "src/curry.spec.ts~describe32", + "testDepth": 1, + "static": true, + "longname": "src/curry.spec.ts~describe32.it36", + "access": null, + "description": "should retain the class context", + "lineNumber": 102 + }, + { + "__docId__": 277, + "kind": "testFile", + "name": "src/curryAll.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { CurryAll } from './curryAll';\n\ndescribe('curryAll', () => {\n it('should curry the method with default arity', () => {\n class MyClass {\n @CurryAll()\n add(a: any, b?: any) {\n return a + b;\n }\n }\n\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10)).to.equal(15);\n });\n\n it('should curry the method with default arity (paramless)', () => {\n class MyClass {\n @CurryAll\n add(a: any, b?: any) {\n return a + b;\n }\n }\n\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10)).to.equal(15);\n });\n\n it('should curry the method with fixed arity', () => {\n class MyClass {\n @CurryAll(2)\n add(a: any, b?: any, c?: any) {\n return a + b * c;\n }\n }\n\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n\n expect(add5).to.be.an.instanceOf(Function);\n expect(add5(10, 2)).to.equal(25);\n });\n\n it('should not retain the class context', () => {\n class MyClass {\n @CurryAll()\n add(_a: any, _b?: any): any {\n expect(this).to.equal(global);\n }\n }\n\n const myClass = new MyClass();\n const add5 = myClass.add(5);\n\n add5(10);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/curryAll.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 278, + "kind": "test", + "name": "describe37", + "testId": 37, + "memberof": "src/curryAll.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/curryAll.spec.ts~describe37", + "access": null, + "description": "curryAll", + "lineNumber": 9 + }, + { + "__docId__": 279, + "kind": "test", + "name": "it38", + "testId": 38, + "memberof": "src/curryAll.spec.ts~describe37", + "testDepth": 1, + "static": true, + "longname": "src/curryAll.spec.ts~describe37.it38", + "access": null, + "description": "should curry the method with default arity", + "lineNumber": 10 + }, + { + "__docId__": 280, + "kind": "test", + "name": "it39", + "testId": 39, + "memberof": "src/curryAll.spec.ts~describe37", + "testDepth": 1, + "static": true, + "longname": "src/curryAll.spec.ts~describe37.it39", + "access": null, + "description": "should curry the method with default arity (paramless)", + "lineNumber": 40 + }, + { + "__docId__": 281, + "kind": "test", + "name": "it40", + "testId": 40, + "memberof": "src/curryAll.spec.ts~describe37", + "testDepth": 1, + "static": true, + "longname": "src/curryAll.spec.ts~describe37.it40", + "access": null, + "description": "should curry the method with fixed arity", + "lineNumber": 70 + }, + { + "__docId__": 282, + "kind": "test", + "name": "it41", + "testId": 41, + "memberof": "src/curryAll.spec.ts~describe37", + "testDepth": 1, + "static": true, + "longname": "src/curryAll.spec.ts~describe37.it41", + "access": null, + "description": "should not retain the class context", + "lineNumber": 102 + }, + { + "__docId__": 283, + "kind": "testFile", + "name": "src/curryRight.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { CurryRight } from './curryRight';\n\ndescribe('curryRight', () => {\n it('should curry the method with default arity', () => {\n class MyClass {\n @CurryRight()\n add(a: any, b?: any) {\n return [ a, b ];\n }\n }\n\n const myClass = new MyClass();\n const set5 = myClass.add(5) as any;\n\n expect(set5(10)).to.eql([ 10, 5 ]);\n });\n\n it('should curry the method with default arity (paramless)', () => {\n class MyClass {\n @CurryRight\n add(a: any, b?: any) {\n return [ a, b ];\n }\n }\n\n const myClass = new MyClass();\n const set5 = myClass.add(5) as any;\n\n expect(set5(10)).to.eql([ 10, 5 ]);\n });\n\n it('should retain the class context', () => {\n class MyClass {\n value = 'blorg';\n\n @CurryRight()\n add(a: any, b?: any) {\n return [ a, b, this.value ];\n }\n }\n\n const myClass = new MyClass();\n const set5 = myClass.add(5) as any;\n\n expect(set5(10)).to.eql([ 10, 5, 'blorg' ]);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/curryRight.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 284, + "kind": "test", + "name": "describe42", + "testId": 42, + "memberof": "src/curryRight.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/curryRight.spec.ts~describe42", + "access": null, + "description": "curryRight", + "lineNumber": 9 + }, + { + "__docId__": 285, + "kind": "test", + "name": "it43", + "testId": 43, + "memberof": "src/curryRight.spec.ts~describe42", + "testDepth": 1, + "static": true, + "longname": "src/curryRight.spec.ts~describe42.it43", + "access": null, + "description": "should curry the method with default arity", + "lineNumber": 10 + }, + { + "__docId__": 286, + "kind": "test", + "name": "it44", + "testId": 44, + "memberof": "src/curryRight.spec.ts~describe42", + "testDepth": 1, + "static": true, + "longname": "src/curryRight.spec.ts~describe42.it44", + "access": null, + "description": "should curry the method with default arity (paramless)", + "lineNumber": 39 + }, + { + "__docId__": 287, + "kind": "test", + "name": "it45", + "testId": 45, + "memberof": "src/curryRight.spec.ts~describe42", + "testDepth": 1, + "static": true, + "longname": "src/curryRight.spec.ts~describe42.it45", + "access": null, + "description": "should retain the class context", + "lineNumber": 68 + }, + { + "__docId__": 288, + "kind": "testFile", + "name": "src/curryRightAll.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { CurryRightAll } from './curryRightAll';\n\ndescribe('curryRightAll', () => {\n it('should curry the method with default arity', () => {\n class MyClass {\n @CurryRightAll()\n add(a: any, b?: any) {\n return [ a, b ];\n }\n }\n\n const myClass = new MyClass();\n const set5 = myClass.add(5) as any;\n\n expect(set5(10)).to.eql([ 10, 5 ]);\n });\n\n it('should curry the method with default arity (paramless)', () => {\n class MyClass {\n @CurryRightAll\n add(a: any, b?: any) {\n return [ a, b ];\n }\n }\n\n const myClass = new MyClass();\n const set5 = myClass.add(5) as any;\n\n expect(set5(10)).to.eql([ 10, 5 ]);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/curryRightAll.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 289, + "kind": "test", + "name": "describe46", + "testId": 46, + "memberof": "src/curryRightAll.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/curryRightAll.spec.ts~describe46", + "access": null, + "description": "curryRightAll", + "lineNumber": 9 + }, + { + "__docId__": 290, + "kind": "test", + "name": "it47", + "testId": 47, + "memberof": "src/curryRightAll.spec.ts~describe46", + "testDepth": 1, + "static": true, + "longname": "src/curryRightAll.spec.ts~describe46.it47", + "access": null, + "description": "should curry the method with default arity", + "lineNumber": 10 + }, + { + "__docId__": 291, + "kind": "test", + "name": "it48", + "testId": 48, + "memberof": "src/curryRightAll.spec.ts~describe46", + "testDepth": 1, + "static": true, + "longname": "src/curryRightAll.spec.ts~describe46.it48", + "access": null, + "description": "should curry the method with default arity (paramless)", + "lineNumber": 39 + }, + { + "__docId__": 292, + "kind": "testFile", + "name": "src/debounce.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Debounce } from './debounce';\n\ndescribe('debounce', () => {\n it('should debounce the method', (done) => {\n let calls = 0;\n\n class MyClass {\n @Debounce(10)\n fn() {\n calls++;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n\n setTimeout(() => {\n expect(calls).to.equal(1);\n done();\n }, 20);\n });\n\n it('should debounce the property setter', (done) => {\n class MyClass {\n private _value = 100;\n\n @Debounce(10)\n set value(value: number) {\n this._value = value;\n }\n\n get value(): number {\n return this._value;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.value = 5;\n myClass.value = 15;\n\n expect(myClass.value).to.equal(100);\n\n setTimeout(() => {\n expect(myClass.value).to.equal(15);\n done();\n }, 20);\n });\n\n it('should contain the flush and cancel methods', () => {\n class MyClass {\n @Debounce(10)\n fn() {}\n }\n\n const myClass = new MyClass();\n\n expect((myClass.fn as any).cancel).to.be.a('function');\n expect((myClass.fn as any).flush).to.be.a('function');\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/debounce.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 293, + "kind": "test", + "name": "describe49", + "testId": 49, + "memberof": "src/debounce.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/debounce.spec.ts~describe49", + "access": null, + "description": "debounce", + "lineNumber": 9 + }, + { + "__docId__": 294, + "kind": "test", + "name": "it50", + "testId": 50, + "memberof": "src/debounce.spec.ts~describe49", + "testDepth": 1, + "static": true, + "longname": "src/debounce.spec.ts~describe49.it50", + "access": null, + "description": "should debounce the method", + "lineNumber": 10 + }, + { + "__docId__": 295, + "kind": "test", + "name": "it51", + "testId": 51, + "memberof": "src/debounce.spec.ts~describe49", + "testDepth": 1, + "static": true, + "longname": "src/debounce.spec.ts~describe49.it51", + "access": null, + "description": "should debounce the property setter", + "lineNumber": 43 + }, + { + "__docId__": 296, + "kind": "test", + "name": "it52", + "testId": 52, + "memberof": "src/debounce.spec.ts~describe49", + "testDepth": 1, + "static": true, + "longname": "src/debounce.spec.ts~describe49.it52", + "access": null, + "description": "should contain the flush and cancel methods", + "lineNumber": 95 + }, + { + "__docId__": 297, + "kind": "testFile", + "name": "src/debounceAll.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { DebounceAll } from './debounceAll';\n\ndescribe('debounceAll', () => {\n it('should debounce the method across instances', (done) => {\n let calls = 0;\n\n class MyClass {\n @DebounceAll(10)\n fn() {\n calls++;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n myClass.fn();\n\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n\n setTimeout(() => {\n expect(calls).to.equal(1);\n done();\n }, 20);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/debounceAll.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 298, + "kind": "test", + "name": "describe53", + "testId": 53, + "memberof": "src/debounceAll.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/debounceAll.spec.ts~describe53", + "access": null, + "description": "debounceAll", + "lineNumber": 9 + }, + { + "__docId__": 299, + "kind": "test", + "name": "it54", + "testId": 54, + "memberof": "src/debounceAll.spec.ts~describe53", + "testDepth": 1, + "static": true, + "longname": "src/debounceAll.spec.ts~describe53.it54", + "access": null, + "description": "should debounce the method across instances", + "lineNumber": 10 + }, + { + "__docId__": 300, + "kind": "testFile", + "name": "src/defer.spec.ts", + "content": "import { expect } from 'chai';\nimport { spy } from 'sinon';\n\nimport { Defer } from './defer';\n\ndescribe('defer', () => {\n it('should defer the method', (done) => {\n const _spy = spy();\n\n class MyClass {\n @Defer('test')\n fn(...args: any[]) {\n expect(this, 'context').to.equal(myClass);\n _spy(...args);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(10);\n expect(_spy.called).to.be.false;\n\n setTimeout(() => {\n expect(_spy.callCount).to.equal(1);\n expect(_spy.getCalls()[0].args).to.eql([ 10, 'test' ]);\n done();\n }, 0);\n });\n\n it('should defer the method (paramless)', (done) => {\n const _spy = spy();\n\n class MyClass {\n @Defer\n fn(...args: any[]) {\n expect(this, 'context').to.equal(myClass);\n _spy(...args);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(10);\n expect(_spy.called).to.be.false;\n\n setTimeout(() => {\n expect(_spy.callCount).to.equal(1);\n expect(_spy.getCalls()[0].args).to.eql([ 10 ]);\n done();\n }, 0);\n });\n\n it('should debounce the property setter', (done) => {\n class MyClass {\n private _value = 100;\n\n @Defer()\n set value(value: number) {\n expect(this, 'context').to.equal(myClass);\n this._value = value;\n }\n\n get value(): number {\n return this._value;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.value = 5;\n myClass.value = 15;\n\n expect(myClass.value).to.equal(100);\n\n setTimeout(() => {\n expect(myClass.value).to.equal(15);\n done();\n }, 0);\n });\n\n it('should debounce the property setter (paramless)', (done) => {\n class MyClass {\n private _value = 100;\n\n @Defer\n set value(value: number) {\n expect(this, 'context').to.equal(myClass);\n this._value = value;\n }\n\n get value(): number {\n return this._value;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.value = 5;\n myClass.value = 15;\n\n expect(myClass.value).to.equal(100);\n\n setTimeout(() => {\n expect(myClass.value).to.equal(15);\n done();\n }, 0);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/defer.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 301, + "kind": "test", + "name": "describe55", + "testId": 55, + "memberof": "src/defer.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/defer.spec.ts~describe55", + "access": null, + "description": "defer", + "lineNumber": 10 + }, + { + "__docId__": 302, + "kind": "test", + "name": "it56", + "testId": 56, + "memberof": "src/defer.spec.ts~describe55", + "testDepth": 1, + "static": true, + "longname": "src/defer.spec.ts~describe55.it56", + "access": null, + "description": "should defer the method", + "lineNumber": 11 + }, + { + "__docId__": 303, + "kind": "test", + "name": "it57", + "testId": 57, + "memberof": "src/defer.spec.ts~describe55", + "testDepth": 1, + "static": true, + "longname": "src/defer.spec.ts~describe55.it57", + "access": null, + "description": "should defer the method (paramless)", + "lineNumber": 45 + }, + { + "__docId__": 304, + "kind": "test", + "name": "it58", + "testId": 58, + "memberof": "src/defer.spec.ts~describe55", + "testDepth": 1, + "static": true, + "longname": "src/defer.spec.ts~describe55.it58", + "access": null, + "description": "should debounce the property setter", + "lineNumber": 79 + }, + { + "__docId__": 305, + "kind": "test", + "name": "it59", + "testId": 59, + "memberof": "src/defer.spec.ts~describe55", + "testDepth": 1, + "static": true, + "longname": "src/defer.spec.ts~describe55.it59", + "access": null, + "description": "should debounce the property setter (paramless)", + "lineNumber": 132 + }, + { + "__docId__": 306, + "kind": "testFile", + "name": "src/delay.spec.ts", + "content": "import { expect } from 'chai';\nimport { spy } from 'sinon';\n\nimport { Delay } from './delay';\n\ndescribe('delay', () => {\n it('should delay the method', (done) => {\n const _spy = spy();\n\n class MyClass {\n @Delay(15, 'test')\n fn(...args: any[]) {\n expect(this, 'context').to.equal(myClass);\n _spy(...args);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(10);\n expect(_spy.called).to.be.false;\n\n setTimeout(() => {\n expect(_spy.callCount).to.equal(1);\n expect(_spy.getCalls()[0].args).to.eql([ 10, 'test' ]);\n done();\n }, 16);\n });\n\n it('should debounce the property setter', (done) => {\n class MyClass {\n private _value = 100;\n\n @Delay(15)\n set value(value: number) {\n expect(this, 'context').to.equal(myClass);\n this._value = value;\n }\n\n get value(): number {\n return this._value;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.value = 5;\n myClass.value = 15;\n\n expect(myClass.value).to.equal(100);\n\n setTimeout(() => {\n expect(myClass.value).to.equal(15);\n done();\n }, 15);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/delay.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 307, + "kind": "test", + "name": "describe60", + "testId": 60, + "memberof": "src/delay.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/delay.spec.ts~describe60", + "access": null, + "description": "delay", + "lineNumber": 10 + }, + { + "__docId__": 308, + "kind": "test", + "name": "it61", + "testId": 61, + "memberof": "src/delay.spec.ts~describe60", + "testDepth": 1, + "static": true, + "longname": "src/delay.spec.ts~describe60.it61", + "access": null, + "description": "should delay the method", + "lineNumber": 11 + }, + { + "__docId__": 309, + "kind": "test", + "name": "it62", + "testId": 62, + "memberof": "src/delay.spec.ts~describe60", + "testDepth": 1, + "static": true, + "longname": "src/delay.spec.ts~describe60.it62", + "access": null, + "description": "should debounce the property setter", + "lineNumber": 45 + }, + { + "__docId__": 310, + "kind": "testFile", + "name": "src/flip.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Flip } from './flip';\n\ndescribe('flip', () => {\n it('should flip the arguments of the function', () => {\n class MyClass {\n @Flip()\n fn(a: number, b: number) {\n return [ a, b ];\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn(10, 20)).to.eql([ 20, 10 ]);\n });\n\n it('should flip the arguments of the resolved function', () => {\n class MyClass {\n @Flip('fn')\n fn2: (b: number, a: number) => [ number, number ];\n\n fn(a: number, b: number) {\n return [ a, b ];\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn2(10, 20)).to.eql([ 20, 10 ]);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/flip.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 311, + "kind": "test", + "name": "describe63", + "testId": 63, + "memberof": "src/flip.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/flip.spec.ts~describe63", + "access": null, + "description": "flip", + "lineNumber": 9 + }, + { + "__docId__": 312, + "kind": "test", + "name": "it64", + "testId": 64, + "memberof": "src/flip.spec.ts~describe63", + "testDepth": 1, + "static": true, + "longname": "src/flip.spec.ts~describe63.it64", + "access": null, + "description": "should flip the arguments of the function", + "lineNumber": 10 + }, + { + "__docId__": 313, + "kind": "test", + "name": "it65", + "testId": 65, + "memberof": "src/flip.spec.ts~describe63", + "testDepth": 1, + "static": true, + "longname": "src/flip.spec.ts~describe63.it65", + "access": null, + "description": "should flip the arguments of the resolved function", + "lineNumber": 38 + }, + { + "__docId__": 314, + "kind": "testFile", + "name": "src/flow.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Flow } from './flow';\n\ndescribe('flow', () => {\n it('should compose the functions', () => {\n class MyClass {\n name = 'Avry';\n\n @Flow('getName', (v: string) => v.toUpperCase())\n fn(...args: any[]) {\n return args[0];\n }\n\n getName(): string {\n expect(this, 'context').to.equal(myClass);\n\n return this.name;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn()).to.equal('AVRY');\n });\n\n it('should compose and assign to the property', () => {\n class MyClass {\n name = 'Avry';\n\n @Flow('getName', (v: string) => v.toUpperCase())\n fn: () => string;\n\n getName(): string {\n expect(this, 'context').to.equal(myClass);\n\n return this.name;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn()).to.equal('AVRY');\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/flow.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 315, + "kind": "test", + "name": "describe66", + "testId": 66, + "memberof": "src/flow.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/flow.spec.ts~describe66", + "access": null, + "description": "flow", + "lineNumber": 9 + }, + { + "__docId__": 316, + "kind": "test", + "name": "it67", + "testId": 67, + "memberof": "src/flow.spec.ts~describe66", + "testDepth": 1, + "static": true, + "longname": "src/flow.spec.ts~describe66.it67", + "access": null, + "description": "should compose the functions", + "lineNumber": 10 + }, + { + "__docId__": 317, + "kind": "test", + "name": "it68", + "testId": 68, + "memberof": "src/flow.spec.ts~describe66", + "testDepth": 1, + "static": true, + "longname": "src/flow.spec.ts~describe66.it68", + "access": null, + "description": "should compose and assign to the property", + "lineNumber": 57 + }, + { + "__docId__": 318, + "kind": "testFile", + "name": "src/flowRight.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { FlowRight } from './flowRight';\n\ndescribe('flowRight', () => {\n it('should compose the functions', () => {\n class MyClass {\n name = 'Avry';\n\n @FlowRight((v: string) => v.toUpperCase(), 'getName')\n fn(...args: any[]) {\n return args[0];\n }\n\n getName(): string {\n expect(this, 'context').to.equal(myClass);\n\n return this.name;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn()).to.equal('AVRY');\n });\n\n it('should compose the property', () => {\n class MyClass {\n name = 'Avry';\n\n @FlowRight((v: string) => v.toUpperCase(), 'getName')\n fn: () => string;\n\n getName(): string {\n expect(this, 'context').to.equal(myClass);\n\n return this.name;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn()).to.equal('AVRY');\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/flowRight.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 319, + "kind": "test", + "name": "describe69", + "testId": 69, + "memberof": "src/flowRight.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/flowRight.spec.ts~describe69", + "access": null, + "description": "flowRight", + "lineNumber": 9 + }, + { + "__docId__": 320, + "kind": "test", + "name": "it70", + "testId": 70, + "memberof": "src/flowRight.spec.ts~describe69", + "testDepth": 1, + "static": true, + "longname": "src/flowRight.spec.ts~describe69.it70", + "access": null, + "description": "should compose the functions", + "lineNumber": 10 + }, + { + "__docId__": 321, + "kind": "test", + "name": "it71", + "testId": 71, + "memberof": "src/flowRight.spec.ts~describe69", + "testDepth": 1, + "static": true, + "longname": "src/flowRight.spec.ts~describe69.it71", + "access": null, + "description": "should compose the property", + "lineNumber": 57 + }, + { + "__docId__": 322, + "kind": "testFile", + "name": "src/memoize.spec.ts", + "content": "import { expect } from 'chai';\nimport { spy } from 'sinon';\n\nimport { Memoize } from './memoize';\n\ndescribe('memoize', () => {\n it('should memoize the function', () => {\n const _spy = spy();\n\n class MyClass {\n @Memoize()\n fn(n: number): number {\n _spy(n);\n expect(this, 'context').to.equal(myClass);\n\n return n;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n\n expect(myClass.fn(1)).to.equal(1);\n expect(_spy.callCount).to.equal(1);\n\n myClass.fn(2);\n myClass.fn(2);\n\n expect(myClass.fn(2)).to.equal(2);\n expect(_spy.callCount).to.equal(2);\n });\n\n it('should memoize the function (paramless)', () => {\n const _spy = spy();\n\n class MyClass {\n @Memoize\n fn(n: number): number {\n _spy(n);\n expect(this, 'context').to.equal(myClass);\n\n return n;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n\n expect(myClass.fn(1)).to.equal(1);\n expect(_spy.callCount).to.equal(1);\n\n myClass.fn(2);\n myClass.fn(2);\n\n expect(myClass.fn(2)).to.equal(2);\n expect(_spy.callCount).to.equal(2);\n });\n\n describe('with function resolver', () => {\n it('should resolve the key', () => {\n const _spy = spy();\n\n class MyClass {\n @Memoize((i: any) => i.key)\n fn(item: any): any {\n _spy();\n expect(this, 'context').to.equal(myClass);\n\n return item.value;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn({ key: 'test', value: 10 });\n myClass.fn({ key: 'test', value: 20 });\n myClass.fn({ key: 'test', value: 30 });\n\n expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);\n expect(_spy.callCount).to.equal(1);\n\n myClass.fn({ key: 'test2', value: 30 });\n\n expect(myClass.fn({ key: 'test2', value: 50 })).to.equal(30);\n expect(_spy.callCount).to.equal(2);\n });\n });\n\n describe('with string resolver', () => {\n it('should resolve the key', () => {\n const _spy = spy();\n\n class MyClass {\n @Memoize('resolve')\n fn(item: any): any {\n _spy();\n expect(this, 'context').to.equal(myClass);\n\n return item.value;\n }\n\n resolve(item: any): any {\n expect(this, 'resolver context').to.equal(myClass);\n\n return item.key;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn({ key: 'test', value: 10 });\n myClass.fn({ key: 'test', value: 20 });\n myClass.fn({ key: 'test', value: 30 });\n\n expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);\n expect(_spy.callCount).to.equal(1);\n\n myClass.fn({ key: 'test2', value: 30 });\n\n expect(myClass.fn({ key: 'test2', value: 50 })).to.equal(30);\n expect(_spy.callCount).to.equal(2);\n });\n });\n\n describe('with custom map type', () => {\n it('should create the map of type', () => {\n class MyClass {\n @Memoize({ type: WeakMap })\n fn(item: any): any {\n return item.value;\n }\n }\n\n const myClass = new MyClass();\n\n expect((myClass.fn as any).cache).to.be.an.instanceOf(WeakMap);\n });\n });\n\n describe('with custom cache', () => {\n it('should use the provided map', () => {\n const cache = new Map();\n\n class MyClass {\n @Memoize({ cache })\n fn(item: any): any {\n return item.value;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n expect((myClass.fn as any).cache).to.equal(cache);\n expect((myClass2.fn as any).cache).to.equal(cache);\n });\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/memoize.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 323, + "kind": "test", + "name": "describe72", + "testId": 72, + "memberof": "src/memoize.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/memoize.spec.ts~describe72", + "access": null, + "description": "memoize", + "lineNumber": 10 + }, + { + "__docId__": 324, + "kind": "test", + "name": "it73", + "testId": 73, + "memberof": "src/memoize.spec.ts~describe72", + "testDepth": 1, + "static": true, + "longname": "src/memoize.spec.ts~describe72.it73", + "access": null, + "description": "should memoize the function", + "lineNumber": 11 + }, + { + "__docId__": 325, + "kind": "test", + "name": "it74", + "testId": 74, + "memberof": "src/memoize.spec.ts~describe72", + "testDepth": 1, + "static": true, + "longname": "src/memoize.spec.ts~describe72.it74", + "access": null, + "description": "should memoize the function (paramless)", + "lineNumber": 52 + }, + { + "__docId__": 326, + "kind": "test", + "name": "describe75", + "testId": 75, + "memberof": "src/memoize.spec.ts~describe72", + "testDepth": 1, + "static": true, + "longname": "src/memoize.spec.ts~describe72.describe75", + "access": null, + "description": "with function resolver", + "lineNumber": 93 + }, + { + "__docId__": 327, + "kind": "test", + "name": "it76", + "testId": 76, + "memberof": "src/memoize.spec.ts~describe72.describe75", + "testDepth": 2, + "static": true, + "longname": "src/memoize.spec.ts~describe72.describe75.it76", + "access": null, + "description": "should resolve the key", + "lineNumber": 94 + }, + { + "__docId__": 328, + "kind": "test", + "name": "describe77", + "testId": 77, + "memberof": "src/memoize.spec.ts~describe72", + "testDepth": 1, + "static": true, + "longname": "src/memoize.spec.ts~describe72.describe77", + "access": null, + "description": "with string resolver", + "lineNumber": 131 + }, + { + "__docId__": 329, + "kind": "test", + "name": "it78", + "testId": 78, + "memberof": "src/memoize.spec.ts~describe72.describe77", + "testDepth": 2, + "static": true, + "longname": "src/memoize.spec.ts~describe72.describe77.it78", + "access": null, + "description": "should resolve the key", + "lineNumber": 132 + }, + { + "__docId__": 330, + "kind": "test", + "name": "describe79", + "testId": 79, + "memberof": "src/memoize.spec.ts~describe72", + "testDepth": 1, + "static": true, + "longname": "src/memoize.spec.ts~describe72.describe79", + "access": null, + "description": "with custom map type", + "lineNumber": 181 + }, + { + "__docId__": 331, + "kind": "test", + "name": "it80", + "testId": 80, + "memberof": "src/memoize.spec.ts~describe72.describe79", + "testDepth": 2, + "static": true, + "longname": "src/memoize.spec.ts~describe72.describe79.it80", + "access": null, + "description": "should create the map of type", + "lineNumber": 182 + }, + { + "__docId__": 332, + "kind": "test", + "name": "describe81", + "testId": 81, + "memberof": "src/memoize.spec.ts~describe72", + "testDepth": 1, + "static": true, + "longname": "src/memoize.spec.ts~describe72.describe81", + "access": null, + "description": "with custom cache", + "lineNumber": 209 + }, + { + "__docId__": 333, + "kind": "test", + "name": "it82", + "testId": 82, + "memberof": "src/memoize.spec.ts~describe72.describe81", + "testDepth": 2, + "static": true, + "longname": "src/memoize.spec.ts~describe72.describe81.it82", + "access": null, + "description": "should use the provided map", + "lineNumber": 210 + }, + { + "__docId__": 334, + "kind": "testFile", + "name": "src/memoizeAll.spec.ts", + "content": "import { expect } from 'chai';\nimport { spy } from 'sinon';\n\nimport { MemoizeAll } from './memoizeAll';\n\ndescribe('memoizeAll', () => {\n it('should memoize the function', () => {\n const _spy = spy();\n\n class MyClass {\n @MemoizeAll()\n fn(n: number): number {\n _spy(n);\n expect(this, 'context').to.equal(myClass);\n\n return n;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n myClass2.fn(1);\n myClass2.fn(1);\n myClass2.fn(1);\n\n expect(_spy.callCount).to.equal(1);\n });\n\n it('should memoize the function (paramless)', () => {\n const _spy = spy();\n\n class MyClass {\n @MemoizeAll\n fn(n: number): number {\n _spy(n);\n expect(this, 'context').to.equal(myClass);\n\n return n;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn(1);\n myClass.fn(1);\n myClass.fn(1);\n myClass2.fn(1);\n myClass2.fn(1);\n myClass2.fn(1);\n\n expect(_spy.callCount).to.equal(1);\n });\n\n describe('with function resolver', () => {\n it('should resolve the key', () => {\n const _spy = spy();\n\n class MyClass {\n @MemoizeAll((i: any) => i.key)\n fn(item: any): any {\n _spy();\n expect(this, 'context').to.equal(myClass);\n\n return item.value;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn({ key: 'test', value: 10 });\n myClass.fn({ key: 'test', value: 20 });\n myClass.fn({ key: 'test', value: 30 });\n myClass2.fn({ key: 'test', value: 40 });\n myClass2.fn({ key: 'test', value: 50 });\n\n expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);\n expect(_spy.callCount).to.equal(1);\n });\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/memoizeAll.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 335, + "kind": "test", + "name": "describe83", + "testId": 83, + "memberof": "src/memoizeAll.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/memoizeAll.spec.ts~describe83", + "access": null, + "description": "memoizeAll", + "lineNumber": 10 + }, + { + "__docId__": 336, + "kind": "test", + "name": "it84", + "testId": 84, + "memberof": "src/memoizeAll.spec.ts~describe83", + "testDepth": 1, + "static": true, + "longname": "src/memoizeAll.spec.ts~describe83.it84", + "access": null, + "description": "should memoize the function", + "lineNumber": 11 + }, + { + "__docId__": 337, + "kind": "test", + "name": "it85", + "testId": 85, + "memberof": "src/memoizeAll.spec.ts~describe83", + "testDepth": 1, + "static": true, + "longname": "src/memoizeAll.spec.ts~describe83.it85", + "access": null, + "description": "should memoize the function (paramless)", + "lineNumber": 49 + }, + { + "__docId__": 338, + "kind": "test", + "name": "describe86", + "testId": 86, + "memberof": "src/memoizeAll.spec.ts~describe83", + "testDepth": 1, + "static": true, + "longname": "src/memoizeAll.spec.ts~describe83.describe86", + "access": null, + "description": "with function resolver", + "lineNumber": 87 + }, + { + "__docId__": 339, + "kind": "test", + "name": "it87", + "testId": 87, + "memberof": "src/memoizeAll.spec.ts~describe83.describe86", + "testDepth": 2, + "static": true, + "longname": "src/memoizeAll.spec.ts~describe83.describe86.it87", + "access": null, + "description": "should resolve the key", + "lineNumber": 88 + }, + { + "__docId__": 340, + "kind": "testFile", + "name": "src/mixin.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Mixin } from './mixin';\n\ndescribe('mixin', () => {\n it('should mixin the object', () => {\n const myApi = {\n fn2() {}\n };\n\n @Mixin(myApi)\n class MyClass {\n fn() {}\n }\n\n const myClass = new MyClass();\n\n expect((myClass as any).fn2).to.be.a('function');\n expect((MyClass.prototype as any).fn2).to.be.a('function');\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/mixin.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 341, + "kind": "test", + "name": "describe88", + "testId": 88, + "memberof": "src/mixin.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/mixin.spec.ts~describe88", + "access": null, + "description": "mixin", + "lineNumber": 9 + }, + { + "__docId__": 342, + "kind": "test", + "name": "it89", + "testId": 89, + "memberof": "src/mixin.spec.ts~describe88", + "testDepth": 1, + "static": true, + "longname": "src/mixin.spec.ts~describe88.it89", + "access": null, + "description": "should mixin the object", + "lineNumber": 10 + }, + { + "__docId__": 343, + "kind": "testFile", + "name": "src/negate.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Negate } from './negate';\n\ndescribe('negate', () => {\n it('should inverse the result of the function', () => {\n class MyClass {\n @Negate()\n fn() {\n return true;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn()).to.be.false;\n });\n\n it('should inverse the result of the function (paramless)', () => {\n class MyClass {\n @Negate\n fn() {\n return true;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn()).to.be.false;\n });\n\n it('should inverse the result of the resolved function', () => {\n class MyClass {\n @Negate('fn')\n fn2: () => boolean;\n\n fn() {\n return true;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn2()).to.be.false;\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/negate.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 344, + "kind": "test", + "name": "describe90", + "testId": 90, + "memberof": "src/negate.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/negate.spec.ts~describe90", + "access": null, + "description": "negate", + "lineNumber": 9 + }, + { + "__docId__": 345, + "kind": "test", + "name": "it91", + "testId": 91, + "memberof": "src/negate.spec.ts~describe90", + "testDepth": 1, + "static": true, + "longname": "src/negate.spec.ts~describe90.it91", + "access": null, + "description": "should inverse the result of the function", + "lineNumber": 10 + }, + { + "__docId__": 346, + "kind": "test", + "name": "it92", + "testId": 92, + "memberof": "src/negate.spec.ts~describe90", + "testDepth": 1, + "static": true, + "longname": "src/negate.spec.ts~describe90.it92", + "access": null, + "description": "should inverse the result of the function (paramless)", + "lineNumber": 34 + }, + { + "__docId__": 347, + "kind": "test", + "name": "it93", + "testId": 93, + "memberof": "src/negate.spec.ts~describe90", + "testDepth": 1, + "static": true, + "longname": "src/negate.spec.ts~describe90.it93", + "access": null, + "description": "should inverse the result of the resolved function", + "lineNumber": 58 + }, + { + "__docId__": 348, + "kind": "testFile", + "name": "src/once.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Once } from './once';\n\ndescribe('once', () => {\n it('should invoke the method only once', () => {\n let calls = 0;\n\n class MyClass {\n @Once()\n fn() {\n calls++;\n }\n }\n\n const myClass = new MyClass();\n const myClass2 = new MyClass();\n\n myClass.fn();\n myClass.fn();\n myClass.fn();\n\n expect(calls, 'single class').to.equal(1);\n\n myClass2.fn();\n myClass2.fn();\n myClass2.fn();\n\n expect(calls, 'multiple class').to.equal(2);\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/once.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 349, + "kind": "test", + "name": "describe94", + "testId": 94, + "memberof": "src/once.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/once.spec.ts~describe94", + "access": null, + "description": "once", + "lineNumber": 9 + }, + { + "__docId__": 350, + "kind": "test", + "name": "it95", + "testId": 95, + "memberof": "src/once.spec.ts~describe94", + "testDepth": 1, + "static": true, + "longname": "src/once.spec.ts~describe94.it95", + "access": null, + "description": "should invoke the method only once", + "lineNumber": 10 + }, + { + "__docId__": 351, + "kind": "testFile", + "name": "src/overArgs.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { OverArgs } from './overArgs';\n\nconst add = (n: number) => (v: number) => v + n;\n\ndescribe('overArgs', () => {\n it('should transform each argument', () => {\n class MyClass {\n @OverArgs(add(10), add(5))\n fn(a: number, b: number): [ number, number ] {\n return [ a, b ];\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn(5, 50)).to.eql([ 15, 55 ]);\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/overArgs.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 352, + "kind": "test", + "name": "describe96", + "testId": 96, + "memberof": "src/overArgs.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/overArgs.spec.ts~describe96", + "access": null, + "description": "overArgs", + "lineNumber": 10 + }, + { + "__docId__": 353, + "kind": "test", + "name": "it97", + "testId": 97, + "memberof": "src/overArgs.spec.ts~describe96", + "testDepth": 1, + "static": true, + "longname": "src/overArgs.spec.ts~describe96.it97", + "access": null, + "description": "should transform each argument", + "lineNumber": 11 + }, + { + "__docId__": 354, + "kind": "testFile", + "name": "src/partial.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Partial } from './partial';\n\ndescribe('partial', () => {\n it('should create a partially applied function', () => {\n class MyClass {\n lastName = 'Schmo';\n\n @Partial('fn', 'Joe')\n fn2: () => string;\n\n fn(name: string): string {\n return `${name} ${this.lastName}`;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn2).to.be.a('function');\n expect(myClass.fn2()).to.equal('Joe Schmo');\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/partial.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 355, + "kind": "test", + "name": "describe98", + "testId": 98, + "memberof": "src/partial.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/partial.spec.ts~describe98", + "access": null, + "description": "partial", + "lineNumber": 9 + }, + { + "__docId__": 356, + "kind": "test", + "name": "it99", + "testId": 99, + "memberof": "src/partial.spec.ts~describe98", + "testDepth": 1, + "static": true, + "longname": "src/partial.spec.ts~describe98.it99", + "access": null, + "description": "should create a partially applied function", + "lineNumber": 10 + }, + { + "__docId__": 357, + "kind": "testFile", + "name": "src/partialRight.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { PartialRight } from './partialRight';\n\ndescribe('partialRight', () => {\n it('should create a partially applied function', () => {\n class MyClass {\n firstName = 'Avry';\n\n @PartialRight('fn', 'Sojka')\n fn2: () => string;\n\n fn(name: string): string {\n return `${this.firstName} ${name}`;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn2).to.be.a('function');\n expect(myClass.fn2()).to.equal('Avry Sojka');\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/partialRight.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 358, + "kind": "test", + "name": "describe100", + "testId": 100, + "memberof": "src/partialRight.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/partialRight.spec.ts~describe100", + "access": null, + "description": "partialRight", + "lineNumber": 9 + }, + { + "__docId__": 359, + "kind": "test", + "name": "it101", + "testId": 101, + "memberof": "src/partialRight.spec.ts~describe100", + "testDepth": 1, + "static": true, + "longname": "src/partialRight.spec.ts~describe100.it101", + "access": null, + "description": "should create a partially applied function", + "lineNumber": 10 + }, + { + "__docId__": 360, + "kind": "testFile", + "name": "src/rearg.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Rearg } from './rearg';\n\ndescribe('rearg', () => {\n it('should change the order of arguments', () => {\n class MyClass {\n @Rearg(2, 1, 0)\n fn(a: any, b: any, c: any): any[] {\n return [ a, b, c ];\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn(1, 2, 3)).to.eql([ 3, 2, 1 ]);\n });\n\n it('should change the order of the resolved function', () => {\n class MyClass {\n @Rearg('fn', 2, 1, 0)\n fn2: Function;\n\n fn(a: any, b: any, c: any): any[] {\n return [ a, b, c ];\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn2(1, 2, 3)).to.eql([ 3, 2, 1 ]);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/rearg.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 361, + "kind": "test", + "name": "describe102", + "testId": 102, + "memberof": "src/rearg.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/rearg.spec.ts~describe102", + "access": null, + "description": "rearg", + "lineNumber": 9 + }, + { + "__docId__": 362, + "kind": "test", + "name": "it103", + "testId": 103, + "memberof": "src/rearg.spec.ts~describe102", + "testDepth": 1, + "static": true, + "longname": "src/rearg.spec.ts~describe102.it103", + "access": null, + "description": "should change the order of arguments", + "lineNumber": 10 + }, + { + "__docId__": 363, + "kind": "test", + "name": "it104", + "testId": 104, + "memberof": "src/rearg.spec.ts~describe102", + "testDepth": 1, + "static": true, + "longname": "src/rearg.spec.ts~describe102.it104", + "access": null, + "description": "should change the order of the resolved function", + "lineNumber": 40 + }, + { + "__docId__": 364, + "kind": "testFile", + "name": "src/rest.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Rest } from './rest';\n\ndescribe('rest', () => {\n it('should change the order of arguments', () => {\n class MyClass {\n @Rest(1)\n fn(...args: any[]) {\n expect(args.length).to.equal(2);\n expect(args[0]).to.equal(1);\n expect(args[1]).to.eql([ 2, 3, 4 ]);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(1, 2, 3, 4);\n });\n\n it('should change the order of arguments (paramless)', () => {\n class MyClass {\n @Rest\n fn(...args: any[]) {\n expect(args.length).to.equal(1);\n expect(args[0]).to.eql([ 1, 2, 3, 4 ]);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(1, 2, 3, 4);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/rest.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 365, + "kind": "test", + "name": "describe105", + "testId": 105, + "memberof": "src/rest.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/rest.spec.ts~describe105", + "access": null, + "description": "rest", + "lineNumber": 9 + }, + { + "__docId__": 366, + "kind": "test", + "name": "it106", + "testId": 106, + "memberof": "src/rest.spec.ts~describe105", + "testDepth": 1, + "static": true, + "longname": "src/rest.spec.ts~describe105.it106", + "access": null, + "description": "should change the order of arguments", + "lineNumber": 10 + }, + { + "__docId__": 367, + "kind": "test", + "name": "it107", + "testId": 107, + "memberof": "src/rest.spec.ts~describe105", + "testDepth": 1, + "static": true, + "longname": "src/rest.spec.ts~describe105.it107", + "access": null, + "description": "should change the order of arguments (paramless)", + "lineNumber": 38 + }, + { + "__docId__": 368, + "kind": "testFile", + "name": "src/spread.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Spread } from './spread';\n\ndescribe('spread', () => {\n it('should spread the arguments', () => {\n class MyClass {\n @Spread()\n fn(...args: any[]) {\n expect(args.length).to.equal(4);\n expect(args).to.eql([ 1, 2, 3, 4 ]);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn([ 1, 2, 3, 4 ]);\n });\n\n it('should spread the arguments (paramless)', () => {\n class MyClass {\n @Spread\n fn(...args: any[]) {\n expect(args.length).to.equal(4);\n expect(args).to.eql([ 1, 2, 3, 4 ]);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn([ 1, 2, 3, 4 ]);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/spread.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 369, + "kind": "test", + "name": "describe108", + "testId": 108, + "memberof": "src/spread.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/spread.spec.ts~describe108", + "access": null, + "description": "spread", + "lineNumber": 9 + }, + { + "__docId__": 370, + "kind": "test", + "name": "it109", + "testId": 109, + "memberof": "src/spread.spec.ts~describe108", + "testDepth": 1, + "static": true, + "longname": "src/spread.spec.ts~describe108.it109", + "access": null, + "description": "should spread the arguments", + "lineNumber": 10 + }, + { + "__docId__": 371, + "kind": "test", + "name": "it110", + "testId": 110, + "memberof": "src/spread.spec.ts~describe108", + "testDepth": 1, + "static": true, + "longname": "src/spread.spec.ts~describe108.it110", + "access": null, + "description": "should spread the arguments (paramless)", + "lineNumber": 37 + }, + { + "__docId__": 372, + "kind": "testFile", + "name": "src/tap.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Tap } from './tap';\n\ndescribe('tap', () => {\n it('should return the first argument', () => {\n class MyClass {\n @Tap()\n fn(_n: number): any {\n return 10;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn(50)).to.equal(50);\n });\n\n it('should return the first argument (paramless)', () => {\n class MyClass {\n @Tap\n fn(_n: number): any {\n return 10;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn(50)).to.equal(50);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/tap.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 373, + "kind": "test", + "name": "describe111", + "testId": 111, + "memberof": "src/tap.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/tap.spec.ts~describe111", + "access": null, + "description": "tap", + "lineNumber": 9 + }, + { + "__docId__": 374, + "kind": "test", + "name": "it112", + "testId": 112, + "memberof": "src/tap.spec.ts~describe111", + "testDepth": 1, + "static": true, + "longname": "src/tap.spec.ts~describe111.it112", + "access": null, + "description": "should return the first argument", + "lineNumber": 10 + }, + { + "__docId__": 375, + "kind": "test", + "name": "it113", + "testId": 113, + "memberof": "src/tap.spec.ts~describe111", + "testDepth": 1, + "static": true, + "longname": "src/tap.spec.ts~describe111.it113", + "access": null, + "description": "should return the first argument (paramless)", + "lineNumber": 36 + }, + { + "__docId__": 376, + "kind": "testFile", + "name": "src/throttle.spec.ts", + "content": "import { expect } from 'chai';\nimport { spy } from 'sinon';\n\nimport { Throttle, ThrottleSetter, ThrottleGetter } from './throttle';\n\ndescribe('throttle', () => {\n it('should throttle the method', (done) => {\n const _spy = spy();\n\n class MyClass {\n @Throttle(10)\n fn(_n: number) {\n _spy();\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(1);\n myClass.fn(2);\n\n setTimeout(() => myClass.fn(3), 1);\n setTimeout(() => myClass.fn(4), 2);\n\n setTimeout(() => {\n expect(_spy.callCount).to.equal(2);\n done();\n }, 20);\n });\n\n it('should throttle the method (paramless)', (done) => {\n const _spy = spy();\n\n class MyClass {\n @Throttle\n fn(_n: number) {\n _spy();\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(1);\n myClass.fn(2);\n\n setTimeout(() => {\n expect(_spy.callCount).to.equal(2);\n done();\n }, 20);\n });\n\n it('should debounce the property setter', (done) => {\n class MyClass {\n private _value = 100;\n\n @ThrottleSetter(10)\n set value(value: number) {\n this._value = value;\n }\n\n get value(): number {\n return this._value;\n }\n }\n\n const myClass = new MyClass();\n\n myClass.value = 5;\n myClass.value = 15;\n\n setTimeout(() => myClass.value = 20, 5);\n\n expect(myClass.value).to.equal(5);\n\n setTimeout(() => {\n expect(myClass.value).to.equal(20);\n done();\n }, 20);\n });\n\n // Skipping this test for now.\n it.skip('should debounce the property getter', (done) => {\n class MyClass {\n private _value = 0;\n\n @ThrottleGetter(10)\n get value(): number {\n return ++this._value;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.value).to.equal(1);\n expect(myClass.value).to.equal(1);\n\n setTimeout(() => expect(myClass.value).to.equal(1), 5);\n\n setTimeout(() => {\n expect(myClass.value).to.equal(2);\n done();\n }, 20);\n });\n\n it('should contain the cancel and flush methods', () => {\n class MyClass {\n @Throttle(10)\n fn() {}\n }\n\n const myClass = new MyClass();\n\n expect((myClass.fn as any).cancel).to.be.a('function');\n expect((myClass.fn as any).flush).to.be.a('function');\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/throttle.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 377, + "kind": "test", + "name": "describe114", + "testId": 114, + "memberof": "src/throttle.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/throttle.spec.ts~describe114", + "access": null, + "description": "throttle", + "lineNumber": 10 + }, + { + "__docId__": 378, + "kind": "test", + "name": "it115", + "testId": 115, + "memberof": "src/throttle.spec.ts~describe114", + "testDepth": 1, + "static": true, + "longname": "src/throttle.spec.ts~describe114.it115", + "access": null, + "description": "should throttle the method", + "lineNumber": 11 + }, + { + "__docId__": 379, + "kind": "test", + "name": "it116", + "testId": 116, + "memberof": "src/throttle.spec.ts~describe114", + "testDepth": 1, + "static": true, + "longname": "src/throttle.spec.ts~describe114.it116", + "access": null, + "description": "should throttle the method (paramless)", + "lineNumber": 45 + }, + { + "__docId__": 380, + "kind": "test", + "name": "it117", + "testId": 117, + "memberof": "src/throttle.spec.ts~describe114", + "testDepth": 1, + "static": true, + "longname": "src/throttle.spec.ts~describe114.it117", + "access": null, + "description": "should debounce the property setter", + "lineNumber": 77 + }, + { + "__docId__": 381, + "kind": "test", + "name": "it118", + "testId": 118, + "memberof": "src/throttle.spec.ts~describe114", + "testDepth": 1, + "static": true, + "longname": "src/throttle.spec.ts~describe114.it118", + "access": null, + "description": "should contain the cancel and flush methods", + "lineNumber": 172 + }, + { + "__docId__": 382, + "kind": "testFile", + "name": "src/unary.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Unary } from './unary';\n\ndescribe('unary', () => {\n it('should only invoke with one argument', () => {\n class MyClass {\n @Unary()\n fn(...args: any[]): any {\n expect(args.length).to.equal(1);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(1, 2, 3, 4);\n });\n\n it('should only invoke with one argument (paramless)', () => {\n class MyClass {\n @Unary\n fn(...args: any[]): any {\n expect(args.length).to.equal(1);\n }\n }\n\n const myClass = new MyClass();\n\n myClass.fn(1, 2, 3, 4);\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/unary.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 383, + "kind": "test", + "name": "describe119", + "testId": 119, + "memberof": "src/unary.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/unary.spec.ts~describe119", + "access": null, + "description": "unary", + "lineNumber": 9 + }, + { + "__docId__": 384, + "kind": "test", + "name": "it120", + "testId": 120, + "memberof": "src/unary.spec.ts~describe119", + "testDepth": 1, + "static": true, + "longname": "src/unary.spec.ts~describe119.it120", + "access": null, + "description": "should only invoke with one argument", + "lineNumber": 10 + }, + { + "__docId__": 385, + "kind": "test", + "name": "it121", + "testId": 121, + "memberof": "src/unary.spec.ts~describe119", + "testDepth": 1, + "static": true, + "longname": "src/unary.spec.ts~describe119.it121", + "access": null, + "description": "should only invoke with one argument (paramless)", + "lineNumber": 36 + }, + { + "__docId__": 386, + "kind": "testFile", + "name": "src/utils/isDecoratorArgs.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { isMethodOrPropertyDecoratorArgs } from './isDecoratorArgs';\n\ndescribe('when determining if args are from a decorator', () => {\n describe('and when the arguments are gte to 2', () => {\n describe('and when the first argument is an object', () => {\n describe('and when the second argument is a string', () => {\n describe('and when the first argument has a constructor property', () => {\n describe('and when the constructors prototype is the first argument', () => {\n it('should return true', () => {\n class Test {}\n\n expect(isMethodOrPropertyDecoratorArgs(Test.prototype, 'test')).to.be.true;\n });\n });\n\n describe('and when the constructors prototype is not the first argument', () => {\n it('should return false', () => {\n class Test {}\n\n expect(isMethodOrPropertyDecoratorArgs({ constructor: Test }, 'test')).to.be.false;\n });\n });\n });\n\n describe('and when the first argument does not have a constructor property', () => {\n it('should return false', () => {\n expect(isMethodOrPropertyDecoratorArgs({}, 'test')).to.be.false;\n });\n });\n });\n\n describe('and when the second argument is not a string', () => {\n it('should return false', () => {\n expect(isMethodOrPropertyDecoratorArgs({}, 123)).to.be.false;\n });\n });\n });\n\n describe('and when the first argument is not an object', () => {\n it('should return false', () => {\n expect(isMethodOrPropertyDecoratorArgs(true, 123)).to.be.false;\n });\n });\n });\n\n describe('and when the arguments are gte to 2', () => {\n it('should return false', () => {\n class Test {}\n\n expect(isMethodOrPropertyDecoratorArgs(Test.prototype)).to.be.false;\n });\n });\n});\n\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/isDecoratorArgs.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 387, + "kind": "test", + "name": "describe122", + "testId": 122, + "memberof": "src/utils/isDecoratorArgs.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122", + "access": null, + "description": "when determining if args are from a decorator", + "lineNumber": 3 + }, + { + "__docId__": 388, + "kind": "test", + "name": "describe123", + "testId": 123, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122", + "testDepth": 1, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123", + "access": null, + "description": "and when the arguments are gte to 2", + "lineNumber": 4 + }, + { + "__docId__": 389, + "kind": "test", + "name": "describe124", + "testId": 124, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123", + "testDepth": 2, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124", + "access": null, + "description": "and when the first argument is an object", + "lineNumber": 5 + }, + { + "__docId__": 390, + "kind": "test", + "name": "describe125", + "testId": 125, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124", + "testDepth": 3, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125", + "access": null, + "description": "and when the second argument is a string", + "lineNumber": 6 + }, + { + "__docId__": 391, + "kind": "test", + "name": "describe126", + "testId": 126, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125", + "testDepth": 4, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe126", + "access": null, + "description": "and when the first argument has a constructor property", + "lineNumber": 7 + }, + { + "__docId__": 392, + "kind": "test", + "name": "describe127", + "testId": 127, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe126", + "testDepth": 5, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe126.describe127", + "access": null, + "description": "and when the constructors prototype is the first argument", + "lineNumber": 8 + }, + { + "__docId__": 393, + "kind": "test", + "name": "it128", + "testId": 128, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe126.describe127", + "testDepth": 6, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe126.describe127.it128", + "access": null, + "description": "should return true", + "lineNumber": 9 + }, + { + "__docId__": 394, + "kind": "test", + "name": "describe129", + "testId": 129, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe126", + "testDepth": 5, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe126.describe129", + "access": null, + "description": "and when the constructors prototype is not the first argument", + "lineNumber": 21 + }, + { + "__docId__": 395, + "kind": "test", + "name": "it130", + "testId": 130, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe126.describe129", + "testDepth": 6, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe126.describe129.it130", + "access": null, + "description": "should return false", + "lineNumber": 22 + }, + { + "__docId__": 396, + "kind": "test", + "name": "describe131", + "testId": 131, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125", + "testDepth": 4, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe131", + "access": null, + "description": "and when the first argument does not have a constructor property", + "lineNumber": 35 + }, + { + "__docId__": 397, + "kind": "test", + "name": "it132", + "testId": 132, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe131", + "testDepth": 5, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe125.describe131.it132", + "access": null, + "description": "should return false", + "lineNumber": 36 + }, + { + "__docId__": 398, + "kind": "test", + "name": "describe133", + "testId": 133, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124", + "testDepth": 3, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe133", + "access": null, + "description": "and when the second argument is not a string", + "lineNumber": 41 + }, + { + "__docId__": 399, + "kind": "test", + "name": "it134", + "testId": 134, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe133", + "testDepth": 4, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe124.describe133.it134", + "access": null, + "description": "should return false", + "lineNumber": 42 + }, + { + "__docId__": 400, + "kind": "test", + "name": "describe135", + "testId": 135, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123", + "testDepth": 2, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe135", + "access": null, + "description": "and when the first argument is not an object", + "lineNumber": 47 + }, + { + "__docId__": 401, + "kind": "test", + "name": "it136", + "testId": 136, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe135", + "testDepth": 3, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe123.describe135.it136", + "access": null, + "description": "should return false", + "lineNumber": 48 + }, + { + "__docId__": 402, + "kind": "test", + "name": "describe137", + "testId": 137, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122", + "testDepth": 1, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe137", + "access": null, + "description": "and when the arguments are gte to 2", + "lineNumber": 53 + }, + { + "__docId__": 403, + "kind": "test", + "name": "it138", + "testId": 138, + "memberof": "src/utils/isDecoratorArgs.spec.ts~describe122.describe137", + "testDepth": 2, + "static": true, + "longname": "src/utils/isDecoratorArgs.spec.ts~describe122.describe137.it138", + "access": null, + "description": "should return false", + "lineNumber": 54 + }, + { + "__docId__": 404, + "kind": "testFile", + "name": "src/utils/wrapConstructor.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { wrapConstructor } from './wrapConstructor';\n\ndescribe('when wrapping a constructor', () => {\n it('should retain the original name of the constructor', () => {\n class Test {}\n\n const Wrapper = wrapConstructor(Test, function Blorg() {});\n\n expect(Wrapper.name).to.equal('Test');\n });\n});\n", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/utils/wrapConstructor.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 405, + "kind": "test", + "name": "describe139", + "testId": 139, + "memberof": "src/utils/wrapConstructor.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/utils/wrapConstructor.spec.ts~describe139", + "access": null, + "description": "when wrapping a constructor", + "lineNumber": 3 + }, + { + "__docId__": 406, + "kind": "test", + "name": "it140", + "testId": 140, + "memberof": "src/utils/wrapConstructor.spec.ts~describe139", + "testDepth": 1, + "static": true, + "longname": "src/utils/wrapConstructor.spec.ts~describe139.it140", + "access": null, + "description": "should retain the original name of the constructor", + "lineNumber": 4 + }, + { + "__docId__": 407, + "kind": "testFile", + "name": "src/wrap.spec.ts", + "content": "import { expect } from 'chai';\n\nimport { Wrap } from './wrap';\n\ndescribe('wrap', () => {\n it('should wrap the function', () => {\n class MyClass {\n @Wrap('fn')\n fn2(fn?: any, arg?: any): any {\n return fn(arg);\n }\n\n fn(n: any) {\n return n;\n }\n }\n\n const myClass = new MyClass();\n\n expect(myClass.fn2(50)).to.equal(50);\n });\n});", + "static": true, + "longname": "/mnt/ExtraDataSSD/Work/scitizen/packages/forks/lodash-decorators/src/wrap.spec.ts", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 408, + "kind": "test", + "name": "describe141", + "testId": 141, + "memberof": "src/wrap.spec.ts", + "testDepth": 0, + "static": true, + "longname": "src/wrap.spec.ts~describe141", + "access": null, + "description": "wrap", + "lineNumber": 9 + }, + { + "__docId__": 409, + "kind": "test", + "name": "it142", + "testId": 142, + "memberof": "src/wrap.spec.ts~describe141", + "testDepth": 1, + "static": true, + "longname": "src/wrap.spec.ts~describe141.it142", + "access": null, + "description": "should wrap the function", + "lineNumber": 10 + } +] \ No newline at end of file diff --git a/docs/lint.json b/docs/lint.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/docs/lint.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/docs/package.json b/docs/package.json deleted file mode 100644 index a4fbcdf..0000000 --- a/docs/package.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "name": "lodash-decorators", - "author": "Steven Sojka ", - "description": "A collection of decorators using lodash at it's core.", - "version": "4.1.0", - "engines": { - "node": ">=0.12.0" - }, - "scripts": { - "clean": "npm run build:clean; npm run build:docs:clean; npm run test:clean", - "pretest": "npm run build:test", - "test": "mocha --opts mocha.opts", - "test:clean": "del test", - "posttest": "npm run test:clean", - "prebuild": "npm run build:clean", - "prebuild:test": "npm run test:clean", - "prebuild:docs": "npm run build:docs:clean", - "build:clean": "del '*.js' '*.js.map' '*.d.ts' applicators factory utils", - "build:docs:clean": "del buildDocs", - "build": "tsc -p tsconfig.build.json", - "build:test": "tsc -p tsconfig.test.json", - "build:docs": "tsc -p tsconfig.docs.json", - "predocs": "npm run build:docs", - "postdocs": "npm run build:docs:clean", - "docs": "del docs && esdoc", - "docs:serve": "http-server ./docs", - "docs:publish": "git subtree push --prefix docs origin gh-pages", - "readme": "doctoc ./README.md", - "release": "npm run build && npm run docs && npm run readme" - }, - "main": "index.js", - "keywords": [ - "lodash", - "decorators", - "ES7", - "ES2016", - "utility" - ], - "license": "MIT", - "bugs": { - "url": "http://github.com/steelsojka/lodash-decorators/issues" - }, - "repository": { - "type": "git", - "url": "http://github.com/steelsojka/lodash-decorators" - }, - "devDependencies": { - "@types/chai": "^3.5.1", - "@types/lodash": "^4.14.63", - "@types/mocha": "^2.2.41", - "@types/node": "^7.0.13", - "@types/sinon": "^2.1.3", - "chai": "~2.2.0", - "del-cli": "^0.2.1", - "doctoc": "^1.3.0", - "esdoc": "^0.5.2", - "http-server": "^0.9.0", - "mocha": "^3.3.0", - "sinon": "~1.14.1", - "ts-node": "^3.0.2", - "typescript": "^2.2.2" - }, - "dependencies": { - "lodash": "^4.0.0", - "tslib": "^1.6.1" - } -} diff --git a/docs/script/inner-link.js b/docs/script/inner-link.js index 69a7477..ad1c942 100644 --- a/docs/script/inner-link.js +++ b/docs/script/inner-link.js @@ -24,8 +24,9 @@ (function(){ var els = document.querySelectorAll('[href^="#"]'); + var href = location.href.replace(/#.*$/, ''); // remove existed hash for (var i = 0; i < els.length; i++) { var el = els[i]; - el.href = location.href + el.getAttribute('href'); // because el.href is absolute path + el.href = href + el.getAttribute('href'); // because el.href is absolute path } })(); diff --git a/docs/script/manual.js b/docs/script/manual.js index 4c2b169..de0bfe2 100644 --- a/docs/script/manual.js +++ b/docs/script/manual.js @@ -1,10 +1,11 @@ (function(){ - var matched = location.pathname.match(/\/(manual\/.*?\/.*\.html)$/); + var matched = location.pathname.match(/\/(manual\/.*\.html)$/); if (!matched) return; var currentName = matched[1]; var cssClass = '.navigation .manual-toc li[data-link="' + currentName + '"]'; var styleText = cssClass + '{ display: block; }\n'; + styleText += cssClass + '.indent-h1 a { color: #039BE5 }'; var style = document.createElement('style'); style.textContent = styleText; document.querySelector('head').appendChild(style); diff --git a/docs/script/prettify/prettify.js b/docs/script/prettify/prettify.js index eef5ad7..3b74b5b 100644 --- a/docs/script/prettify/prettify.js +++ b/docs/script/prettify/prettify.js @@ -1,28 +1,46 @@ -var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; -(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a= -[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;ci[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m), -l=[],p={},d=0,g=e.length;d=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, -q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/, -q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g, -"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a), -a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e} -for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], -"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"], -H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], -J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+ -I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]), -["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css", -/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}), -["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes", -hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p=0){var k=k.match(g),f,b;if(b= -!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p=a?parseInt(e.substring(1),8):"u"===a||"x"===a?parseInt(e.substring(2),16):e.charCodeAt(1)}function f(e){if(32>e)return(16>e?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return"\\"===e||"-"===e||"]"===e||"^"===e?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[0-9A-Fa-f]{4}|\\x[0-9A-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\s\S]|-|[^-\\]/g);e= +[];var a="^"===b[0],c=["["];a&&c.push("^");for(var a=a?1:0,g=b.length;ak||122k||90k||122h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(f(h[1])));c.push("]");return c.join("")}function v(e){for(var a=e.source.match(/(?:\[(?:[^\x5C\x5D]|\\[\s\S])*\]|\\u[A-Fa-f0-9]{4}|\\x[A-Fa-f0-9]{2}|\\[0-9]+|\\[^ux0-9]|\(\?[:!=]|[\(\)\^]|[^\x5B\x5C\(\)\^]+)/g),c=a.length,d=[],g=0,h=0;g/,null])):d.push(["com",/^#[^\r\n]*/,null,"#"]));a.cStyleComments&&(f.push(["com",/^\/\/[^\r\n]*/,null]),f.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));if(b=a.regexLiterals){var v=(b=1|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+ +("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+v+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+v+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&f.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&f.push(["kwd",new RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),null]);d.push(["pln",/^\s+/,null," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");f.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i, +null],["lit",/^(?:0x[a-f0-9]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+\-]?\d+)?)[a-z]*/i,null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(b),null]);return G(d,f)}function L(a,d,f){function b(a){var c=a.nodeType;if(1==c&&!A.test(a.className))if("br"===a.nodeName)v(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((3==c||4==c)&&f){var d=a.nodeValue,q=d.match(n);q&&(c=d.substring(0,q.index),a.nodeValue=c,(d=d.substring(q.index+q[0].length))&& +a.parentNode.insertBefore(l.createTextNode(d),a.nextSibling),v(a),c||a.parentNode.removeChild(a))}}function v(a){function b(a,c){var d=c?a.cloneNode(!1):a,k=a.parentNode;if(k){var k=b(k,1),e=a.nextSibling;k.appendChild(d);for(var f=e;f;f=e)e=f.nextSibling,k.appendChild(f)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;a=b(a.nextSibling,0);for(var d;(d=a.parentNode)&&1===d.nodeType;)a=d;c.push(a)}for(var A=/(?:^|\s)nocode(?:\s|$)/,n=/\r\n?|\n/,l=a.ownerDocument,m=l.createElement("li");a.firstChild;)m.appendChild(a.firstChild); +for(var c=[m],p=0;p=+v[1],d=/\n/g,A=a.a,n=A.length,f=0,l=a.c,m=l.length,b=0,c=a.g,p=c.length,w=0;c[p]=n;var r,e;for(e=r=0;e=h&&(b+=2);f>=k&&(w+=2)}}finally{g&&(g.style.display=a)}}catch(x){E.console&&console.log(x&&x.stack||x)}}var E=window,C=["break,continue,do,else,for,if,return,while"], +F=[[C,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],H=[F,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"], +O=[F,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],P=[F,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"], +F=[F,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],Q=[C,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],R=[C,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],C=[C,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"], +S=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,W=/\S/,X=y({keywords:[H,P,O,F,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",Q,R,C],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),I={};t(X,["default-code"]);t(G([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),"default-markup htm html mxml xhtml xml xsl".split(" "));t(G([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null, +"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);t(G([],[["atv",/^[\s\S]+/]]),["uq.val"]);t(y({keywords:H, +hashComments:!0,cStyleComments:!0,types:S}),"c cc cpp cxx cyc m".split(" "));t(y({keywords:"null,true,false"}),["json"]);t(y({keywords:P,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:S}),["cs"]);t(y({keywords:O,cStyleComments:!0}),["java"]);t(y({keywords:C,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);t(y({keywords:Q,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);t(y({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END", +hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);t(y({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);t(y({keywords:F,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]);t(y({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0, +regexLiterals:!0}),["coffee"]);t(G([],[["str",/^[\s\S]+/]]),["regex"]);var Y=E.PR={createSimpleLexer:G,registerLangHandler:t,sourceDecorator:y,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:E.prettyPrintOne=function(a,d,f){f=f||!1;d=d||null;var b=document.createElement("div");b.innerHTML="
"+a+"
"; +b=b.firstChild;f&&L(b,f,!0);M({j:d,m:f,h:b,l:1,a:null,i:null,c:null,g:null});return b.innerHTML},prettyPrint:E.prettyPrint=function(a,d){function f(){for(var b=E.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;pAfter lodash-decorators/buildDocs/after.js", - "variable" + "lodash-decorators/src/after.ts~after", + "function/index.html#static-function-After", + "After lodash-decorators/src/after.ts", + "function" ], [ - "lodash-decorators/builddocs/afterall.js~afterall", - "variable/index.html#static-variable-AfterAll", - "AfterAll lodash-decorators/buildDocs/afterAll.js", - "variable" + "lodash-decorators/src/afterall.ts~afterall", + "function/index.html#static-function-AfterAll", + "AfterAll lodash-decorators/src/afterAll.ts", + "function" ], [ - "lodash-decorators/builddocs/applicators/applicator.js~applicator", - "class/buildDocs/applicators/Applicator.js~Applicator.html", - "Applicator lodash-decorators/buildDocs/applicators/Applicator.js", + "lodash-decorators/src/applicators/applicator.ts~applicator", + "class/src/applicators/Applicator.ts~Applicator.html", + "Applicator lodash-decorators/src/applicators/Applicator.ts", "class" ], [ - "lodash-decorators/builddocs/ary.js~ary", - "variable/index.html#static-variable-Ary", - "Ary lodash-decorators/buildDocs/ary.js", - "variable" + "lodash-decorators/src/ary.ts~ary", + "function/index.html#static-function-Ary", + "Ary lodash-decorators/src/ary.ts", + "function" ], [ - "lodash-decorators/builddocs/attempt.js~attempt", + "lodash-decorators/src/attempt.ts~attempt", "variable/index.html#static-variable-Attempt", - "Attempt lodash-decorators/buildDocs/attempt.js", + "Attempt lodash-decorators/src/attempt.ts", "variable" ], [ - "lodash-decorators/builddocs/before.js~before", - "variable/index.html#static-variable-Before", - "Before lodash-decorators/buildDocs/before.js", - "variable" + "lodash-decorators/src/before.ts~before", + "function/index.html#static-function-Before", + "Before lodash-decorators/src/before.ts", + "function" ], [ - "lodash-decorators/builddocs/beforeall.js~beforeall", - "variable/index.html#static-variable-BeforeAll", - "BeforeAll lodash-decorators/buildDocs/beforeAll.js", - "variable" + "lodash-decorators/src/beforeall.ts~beforeall", + "function/index.html#static-function-BeforeAll", + "BeforeAll lodash-decorators/src/beforeAll.ts", + "function" ], [ - "lodash-decorators/builddocs/bind.js~bind", + "lodash-decorators/src/bind.ts~bind", "variable/index.html#static-variable-Bind", - "Bind lodash-decorators/buildDocs/bind.js", + "Bind lodash-decorators/src/bind.ts", "variable" ], [ - "lodash-decorators/builddocs/bindall.js~bindall", + "lodash-decorators/src/bindall.ts~bindall", "function/index.html#static-function-BindAll", - "BindAll lodash-decorators/buildDocs/bindAll.js", + "BindAll lodash-decorators/src/bindAll.ts", "function" ], [ - "lodash-decorators/builddocs/applicators/bindapplicator.js~bindapplicator", - "class/buildDocs/applicators/BindApplicator.js~BindApplicator.html", - "BindApplicator lodash-decorators/buildDocs/applicators/BindApplicator.js", + "lodash-decorators/src/applicators/bindapplicator.ts~bindapplicator", + "class/src/applicators/BindApplicator.ts~BindApplicator.html", + "BindApplicator lodash-decorators/src/applicators/BindApplicator.ts", + "class" + ], + [ + "lodash-decorators/src/applicators/composeapplicator.ts~composeapplicator", + "class/src/applicators/ComposeApplicator.ts~ComposeApplicator.html", + "ComposeApplicator lodash-decorators/src/applicators/ComposeApplicator.ts", "class" ], [ - "lodash-decorators/builddocs/applicators/composeapplicator.js~composeapplicator", - "class/buildDocs/applicators/ComposeApplicator.js~ComposeApplicator.html", - "ComposeApplicator lodash-decorators/buildDocs/applicators/ComposeApplicator.js", + "lodash-decorators/src/utils/compositekeyweakmap.ts~compositekeyweakmap", + "class/src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap.html", + "CompositeKeyWeakMap lodash-decorators/src/utils/CompositeKeyWeakMap.ts", "class" ], [ - "lodash-decorators/builddocs/curry.js~curry", + "lodash-decorators/src/curry.ts~curry", "variable/index.html#static-variable-Curry", - "Curry lodash-decorators/buildDocs/curry.js", + "Curry lodash-decorators/src/curry.ts", "variable" ], [ - "lodash-decorators/builddocs/curryall.js~curryall", + "lodash-decorators/src/curryall.ts~curryall", "variable/index.html#static-variable-CurryAll", - "CurryAll lodash-decorators/buildDocs/curryAll.js", + "CurryAll lodash-decorators/src/curryAll.ts", "variable" ], [ - "lodash-decorators/builddocs/curryright.js~curryright", + "lodash-decorators/src/curryright.ts~curryright", "variable/index.html#static-variable-CurryRight", - "CurryRight lodash-decorators/buildDocs/curryRight.js", + "CurryRight lodash-decorators/src/curryRight.ts", "variable" ], [ - "lodash-decorators/builddocs/curryrightall.js~curryrightall", + "lodash-decorators/src/curryrightall.ts~curryrightall", "variable/index.html#static-variable-CurryRightAll", - "CurryRightAll lodash-decorators/buildDocs/curryRightAll.js", + "CurryRightAll lodash-decorators/src/curryRightAll.ts", "variable" ], [ - "lodash-decorators/builddocs/debounce.js~debounce", - "variable/index.html#static-variable-Debounce", - "Debounce lodash-decorators/buildDocs/debounce.js", - "variable" + "lodash-decorators/src/debounce.ts~debounce", + "function/index.html#static-function-Debounce", + "Debounce lodash-decorators/src/debounce.ts", + "function" ], [ - "lodash-decorators/builddocs/debounceall.js~debounceall", - "variable/index.html#static-variable-DebounceAll", - "DebounceAll lodash-decorators/buildDocs/debounceAll.js", - "variable" + "lodash-decorators/src/debounceall.ts~debounceall", + "function/index.html#static-function-DebounceAll", + "DebounceAll lodash-decorators/src/debounceAll.ts", + "function" ], [ - "lodash-decorators/builddocs/factory/decoratorconfig.js~decoratorconfig", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html", - "DecoratorConfig lodash-decorators/buildDocs/factory/DecoratorConfig.js", + "lodash-decorators/src/factory/decoratorconfig.ts~decoratorconfig", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html", + "DecoratorConfig lodash-decorators/src/factory/DecoratorConfig.ts", "class" ], [ - "lodash-decorators/builddocs/factory/decoratorfactory.js~decoratorfactory", + "lodash-decorators/src/factory/decoratorfactory.ts~decoratorfactory", "variable/index.html#static-variable-DecoratorFactory", - "DecoratorFactory lodash-decorators/buildDocs/factory/DecoratorFactory.js", + "DecoratorFactory lodash-decorators/src/factory/DecoratorFactory.ts", "variable" ], [ - "lodash-decorators/builddocs/defer.js~defer", + "lodash-decorators/src/defer.ts~defer", "variable/index.html#static-variable-Defer", - "Defer lodash-decorators/buildDocs/defer.js", + "Defer lodash-decorators/src/defer.ts", "variable" ], [ - "lodash-decorators/builddocs/delay.js~delay", - "variable/index.html#static-variable-Delay", - "Delay lodash-decorators/buildDocs/delay.js", - "variable" + "lodash-decorators/src/delay.ts~delay", + "function/index.html#static-function-Delay", + "Delay lodash-decorators/src/delay.ts", + "function" ], [ - "lodash-decorators/builddocs/flip.js~flip", - "variable/index.html#static-variable-Flip", - "Flip lodash-decorators/buildDocs/flip.js", - "variable" + "lodash-decorators/src/flip.ts~flip", + "function/index.html#static-function-Flip", + "Flip lodash-decorators/src/flip.ts", + "function" ], [ - "lodash-decorators/builddocs/flow.js~flow", - "variable/index.html#static-variable-Flow", - "Flow lodash-decorators/buildDocs/flow.js", - "variable" + "lodash-decorators/src/flow.ts~flow", + "function/index.html#static-function-Flow", + "Flow lodash-decorators/src/flow.ts", + "function" ], [ - "lodash-decorators/builddocs/flowright.js~flowright", - "variable/index.html#static-variable-FlowRight", - "FlowRight lodash-decorators/buildDocs/flowRight.js", - "variable" + "lodash-decorators/src/flowright.ts~flowright", + "function/index.html#static-function-FlowRight", + "FlowRight lodash-decorators/src/flowRight.ts", + "function" ], [ - "lodash-decorators/builddocs/factory/common.js~instancechainmap", + "lodash-decorators/src/factory/common.ts~instancechainmap", "variable/index.html#static-variable-InstanceChainMap", - "InstanceChainMap lodash-decorators/buildDocs/factory/common.js", + "InstanceChainMap lodash-decorators/src/factory/common.ts", "variable" ], [ - "lodash-decorators/builddocs/factory/decoratorfactory.js~internaldecoratorfactory", - "class/buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory.html", - "InternalDecoratorFactory lodash-decorators/buildDocs/factory/DecoratorFactory.js", + "lodash-decorators/src/factory/decoratorfactory.ts~internaldecoratorfactory", + "class/src/factory/DecoratorFactory.ts~InternalDecoratorFactory.html", + "InternalDecoratorFactory lodash-decorators/src/factory/DecoratorFactory.ts", "class" ], [ - "lodash-decorators/builddocs/applicators/invokeapplicator.js~invokeapplicator", - "class/buildDocs/applicators/InvokeApplicator.js~InvokeApplicator.html", - "InvokeApplicator lodash-decorators/buildDocs/applicators/InvokeApplicator.js", + "lodash-decorators/src/applicators/invokeapplicator.ts~invokeapplicator", + "class/src/applicators/InvokeApplicator.ts~InvokeApplicator.html", + "InvokeApplicator lodash-decorators/src/applicators/InvokeApplicator.ts", "class" ], [ - "lodash-decorators/builddocs/memoize.js~memoize", + "lodash-decorators/src/memoize.ts~memoize", "variable/index.html#static-variable-Memoize", - "Memoize lodash-decorators/buildDocs/memoize.js", + "Memoize lodash-decorators/src/memoize.ts", "variable" ], [ - "lodash-decorators/builddocs/memoizeall.js~memoizeall", + "lodash-decorators/src/memoizeall.ts~memoizeall", "variable/index.html#static-variable-MemoizeAll", - "MemoizeAll lodash-decorators/buildDocs/memoizeAll.js", + "MemoizeAll lodash-decorators/src/memoizeAll.ts", "variable" ], [ - "lodash-decorators/builddocs/applicators/memoizeapplicator.js~memoizeapplicator", - "class/buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator.html", - "MemoizeApplicator lodash-decorators/buildDocs/applicators/MemoizeApplicator.js", + "lodash-decorators/src/applicators/memoizeapplicator.ts~memoizeapplicator", + "class/src/applicators/MemoizeApplicator.ts~MemoizeApplicator.html", + "MemoizeApplicator lodash-decorators/src/applicators/MemoizeApplicator.ts", "class" ], [ - "lodash-decorators/builddocs/mixin.js~mixin", + "lodash-decorators/src/mixin.ts~mixin", "function/index.html#static-function-Mixin", - "Mixin lodash-decorators/buildDocs/mixin.js", + "Mixin lodash-decorators/src/mixin.ts", "function" ], [ - "lodash-decorators/builddocs/negate.js~negate", + "lodash-decorators/src/negate.ts~negate", "variable/index.html#static-variable-Negate", - "Negate lodash-decorators/buildDocs/negate.js", + "Negate lodash-decorators/src/negate.ts", "variable" ], [ - "lodash-decorators/builddocs/once.js~once", + "lodash-decorators/src/once.ts~once", "variable/index.html#static-variable-Once", - "Once lodash-decorators/buildDocs/once.js", + "Once lodash-decorators/src/once.ts", "variable" ], [ - "lodash-decorators/builddocs/onceall.js~onceall", + "lodash-decorators/src/onceall.ts~onceall", "variable/index.html#static-variable-OnceAll", - "OnceAll lodash-decorators/buildDocs/onceAll.js", + "OnceAll lodash-decorators/src/onceAll.ts", "variable" ], [ - "lodash-decorators/builddocs/overargs.js~overargs", - "variable/index.html#static-variable-OverArgs", - "OverArgs lodash-decorators/buildDocs/overArgs.js", - "variable" + "lodash-decorators/src/overargs.ts~overargs", + "function/index.html#static-function-OverArgs", + "OverArgs lodash-decorators/src/overArgs.ts", + "function" ], [ - "lodash-decorators/builddocs/partial.js~partial", - "variable/index.html#static-variable-Partial", - "Partial lodash-decorators/buildDocs/partial.js", - "variable" + "lodash-decorators/src/partial.ts~partial", + "function/index.html#static-function-Partial", + "Partial lodash-decorators/src/partial.ts", + "function" ], [ - "lodash-decorators/builddocs/applicators/partialapplicator.js~partialapplicator", - "class/buildDocs/applicators/PartialApplicator.js~PartialApplicator.html", - "PartialApplicator lodash-decorators/buildDocs/applicators/PartialApplicator.js", + "lodash-decorators/src/applicators/partialapplicator.ts~partialapplicator", + "class/src/applicators/PartialApplicator.ts~PartialApplicator.html", + "PartialApplicator lodash-decorators/src/applicators/PartialApplicator.ts", "class" ], [ - "lodash-decorators/builddocs/partialright.js~partialright", - "variable/index.html#static-variable-PartialRight", - "PartialRight lodash-decorators/buildDocs/partialRight.js", - "variable" + "lodash-decorators/src/partialright.ts~partialright", + "function/index.html#static-function-PartialRight", + "PartialRight lodash-decorators/src/partialRight.ts", + "function" ], [ - "lodash-decorators/builddocs/applicators/partialedapplicator.js~partialedapplicator", - "class/buildDocs/applicators/PartialedApplicator.js~PartialedApplicator.html", - "PartialedApplicator lodash-decorators/buildDocs/applicators/PartialedApplicator.js", + "lodash-decorators/src/applicators/partialvalueapplicator.ts~partialvalueapplicator", + "class/src/applicators/PartialValueApplicator.ts~PartialValueApplicator.html", + "PartialValueApplicator lodash-decorators/src/applicators/PartialValueApplicator.ts", "class" ], [ - "lodash-decorators/builddocs/applicators/postvalueapplicator.js~postvalueapplicator", - "class/buildDocs/applicators/PostValueApplicator.js~PostValueApplicator.html", - "PostValueApplicator lodash-decorators/buildDocs/applicators/PostValueApplicator.js", + "lodash-decorators/src/applicators/partialedapplicator.ts~partialedapplicator", + "class/src/applicators/PartialedApplicator.ts~PartialedApplicator.html", + "PartialedApplicator lodash-decorators/src/applicators/PartialedApplicator.ts", "class" ], [ - "lodash-decorators/builddocs/applicators/prevalueapplicator.js~prevalueapplicator", - "class/buildDocs/applicators/PreValueApplicator.js~PreValueApplicator.html", - "PreValueApplicator lodash-decorators/buildDocs/applicators/PreValueApplicator.js", + "lodash-decorators/src/applicators/postvalueapplicator.ts~postvalueapplicator", + "class/src/applicators/PostValueApplicator.ts~PostValueApplicator.html", + "PostValueApplicator lodash-decorators/src/applicators/PostValueApplicator.ts", "class" ], [ - "lodash-decorators/builddocs/rearg.js~rearg", - "variable/index.html#static-variable-Rearg", - "Rearg lodash-decorators/buildDocs/rearg.js", - "variable" + "lodash-decorators/src/applicators/prevalueapplicator.ts~prevalueapplicator", + "class/src/applicators/PreValueApplicator.ts~PreValueApplicator.html", + "PreValueApplicator lodash-decorators/src/applicators/PreValueApplicator.ts", + "class" + ], + [ + "lodash-decorators/src/rearg.ts~rearg", + "function/index.html#static-function-Rearg", + "Rearg lodash-decorators/src/rearg.ts", + "function" ], [ - "lodash-decorators/builddocs/rest.js~rest", + "lodash-decorators/src/rest.ts~rest", "variable/index.html#static-variable-Rest", - "Rest lodash-decorators/buildDocs/rest.js", + "Rest lodash-decorators/src/rest.ts", "variable" ], [ - "lodash-decorators/builddocs/spread.js~spread", + "lodash-decorators/src/spread.ts~spread", "variable/index.html#static-variable-Spread", - "Spread lodash-decorators/buildDocs/spread.js", + "Spread lodash-decorators/src/spread.ts", "variable" ], [ - "lodash-decorators/builddocs/tap.js~tap", + "lodash-decorators/src/tap.ts~tap", "variable/index.html#static-variable-Tap", - "Tap lodash-decorators/buildDocs/tap.js", + "Tap lodash-decorators/src/tap.ts", "variable" ], [ - "lodash-decorators/builddocs/throttle.js~throttle", + "lodash-decorators/src/throttle.ts~throttle", "variable/index.html#static-variable-Throttle", - "Throttle lodash-decorators/buildDocs/throttle.js", + "Throttle lodash-decorators/src/throttle.ts", "variable" ], [ - "lodash-decorators/builddocs/throttleall.js~throttleall", - "variable/index.html#static-variable-ThrottleAll", - "ThrottleAll lodash-decorators/buildDocs/throttleAll.js", - "variable" + "lodash-decorators/src/throttleall.ts~throttleall", + "function/index.html#static-function-ThrottleAll", + "ThrottleAll lodash-decorators/src/throttleAll.ts", + "function" ], [ - "lodash-decorators/builddocs/throttle.js~throttlegetter", + "lodash-decorators/src/throttle.ts~throttlegetter", "variable/index.html#static-variable-ThrottleGetter", - "ThrottleGetter lodash-decorators/buildDocs/throttle.js", + "ThrottleGetter lodash-decorators/src/throttle.ts", "variable" ], [ - "lodash-decorators/builddocs/throttle.js~throttlesetter", + "lodash-decorators/src/throttle.ts~throttlesetter", "variable/index.html#static-variable-ThrottleSetter", - "ThrottleSetter lodash-decorators/buildDocs/throttle.js", + "ThrottleSetter lodash-decorators/src/throttle.ts", "variable" ], [ - "lodash-decorators/builddocs/unary.js~unary", + "lodash-decorators/src/unary.ts~unary", "variable/index.html#static-variable-Unary", - "Unary lodash-decorators/buildDocs/unary.js", + "Unary lodash-decorators/src/unary.ts", "variable" ], [ - "lodash-decorators/builddocs/wrap.js~wrap", - "variable/index.html#static-variable-Wrap", - "Wrap lodash-decorators/buildDocs/wrap.js", - "variable" + "lodash-decorators/src/wrap.ts~wrap", + "function/index.html#static-function-Wrap", + "Wrap lodash-decorators/src/wrap.ts", + "function" ], [ - "lodash-decorators/builddocs/applicators/wrapapplicator.js~wrapapplicator", - "class/buildDocs/applicators/WrapApplicator.js~WrapApplicator.html", - "WrapApplicator lodash-decorators/buildDocs/applicators/WrapApplicator.js", + "lodash-decorators/src/applicators/wrapapplicator.ts~wrapapplicator", + "class/src/applicators/WrapApplicator.ts~WrapApplicator.html", + "WrapApplicator lodash-decorators/src/applicators/WrapApplicator.ts", "class" ], [ - "builtinexternal/ecmascriptexternal.js~array", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", - "BuiltinExternal/ECMAScriptExternal.js~Array", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~arraybuffer", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", - "BuiltinExternal/ECMAScriptExternal.js~ArrayBuffer", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~boolean", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "BuiltinExternal/ECMAScriptExternal.js~Boolean", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~dataview", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", - "BuiltinExternal/ECMAScriptExternal.js~DataView", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~date", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", - "BuiltinExternal/ECMAScriptExternal.js~Date", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~error", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", - "BuiltinExternal/ECMAScriptExternal.js~Error", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~evalerror", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", - "BuiltinExternal/ECMAScriptExternal.js~EvalError", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~float32array", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", - "BuiltinExternal/ECMAScriptExternal.js~Float32Array", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~float64array", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", - "BuiltinExternal/ECMAScriptExternal.js~Float64Array", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~function", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "BuiltinExternal/ECMAScriptExternal.js~Function", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~generator", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", - "BuiltinExternal/ECMAScriptExternal.js~Generator", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~generatorfunction", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", - "BuiltinExternal/ECMAScriptExternal.js~GeneratorFunction", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~infinity", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", - "BuiltinExternal/ECMAScriptExternal.js~Infinity", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~int16array", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", - "BuiltinExternal/ECMAScriptExternal.js~Int16Array", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~int32array", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", - "BuiltinExternal/ECMAScriptExternal.js~Int32Array", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~int8array", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", - "BuiltinExternal/ECMAScriptExternal.js~Int8Array", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~internalerror", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", - "BuiltinExternal/ECMAScriptExternal.js~InternalError", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~json", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", - "BuiltinExternal/ECMAScriptExternal.js~JSON", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~map", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", - "BuiltinExternal/ECMAScriptExternal.js~Map", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~nan", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", - "BuiltinExternal/ECMAScriptExternal.js~NaN", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~number", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "BuiltinExternal/ECMAScriptExternal.js~Number", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~object", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "BuiltinExternal/ECMAScriptExternal.js~Object", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~promise", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", - "BuiltinExternal/ECMAScriptExternal.js~Promise", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~proxy", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", - "BuiltinExternal/ECMAScriptExternal.js~Proxy", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~rangeerror", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", - "BuiltinExternal/ECMAScriptExternal.js~RangeError", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~referenceerror", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", - "BuiltinExternal/ECMAScriptExternal.js~ReferenceError", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~reflect", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", - "BuiltinExternal/ECMAScriptExternal.js~Reflect", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~regexp", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", - "BuiltinExternal/ECMAScriptExternal.js~RegExp", - "external" - ], - [ - "builtinexternal/ecmascriptexternal.js~set", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", - "BuiltinExternal/ECMAScriptExternal.js~Set", - "external" + "lodash-decorators/src/utils/assignall.ts~assignall", + "function/index.html#static-function-assignAll", + "assignAll lodash-decorators/src/utils/assignAll.ts", + "function" ], [ - "builtinexternal/ecmascriptexternal.js~string", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "BuiltinExternal/ECMAScriptExternal.js~String", - "external" + "lodash-decorators/src/utils/assignall.ts~assignproperty", + "function/index.html#static-function-assignProperty", + "assignProperty lodash-decorators/src/utils/assignAll.ts", + "function" ], [ - "builtinexternal/ecmascriptexternal.js~symbol", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", - "BuiltinExternal/ECMAScriptExternal.js~Symbol", - "external" + "lodash-decorators/src/utils/bind.ts~bind", + "function/index.html#static-function-bind", + "bind lodash-decorators/src/utils/bind.ts", + "function" ], [ - "builtinexternal/ecmascriptexternal.js~syntaxerror", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", - "BuiltinExternal/ECMAScriptExternal.js~SyntaxError", - "external" + "lodash-decorators/src/utils/copymetadata.ts~copymetadata", + "function/index.html#static-function-copyMetadata", + "copyMetadata lodash-decorators/src/utils/copyMetaData.ts", + "function" ], [ - "builtinexternal/ecmascriptexternal.js~typeerror", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", - "BuiltinExternal/ECMAScriptExternal.js~TypeError", - "external" + "lodash-decorators/src/after.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/after.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~urierror", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", - "BuiltinExternal/ECMAScriptExternal.js~URIError", - "external" + "lodash-decorators/src/afterall.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/afterAll.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~uint16array", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", - "BuiltinExternal/ECMAScriptExternal.js~Uint16Array", - "external" + "lodash-decorators/src/ary.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/ary.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~uint32array", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", - "BuiltinExternal/ECMAScriptExternal.js~Uint32Array", - "external" + "lodash-decorators/src/before.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/before.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~uint8array", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", - "BuiltinExternal/ECMAScriptExternal.js~Uint8Array", - "external" + "lodash-decorators/src/beforeall.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/beforeAll.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~uint8clampedarray", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", - "BuiltinExternal/ECMAScriptExternal.js~Uint8ClampedArray", - "external" + "lodash-decorators/src/debounce.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/debounce.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~weakmap", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", - "BuiltinExternal/ECMAScriptExternal.js~WeakMap", - "external" + "lodash-decorators/src/debounceall.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/debounceAll.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~weakset", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", - "BuiltinExternal/ECMAScriptExternal.js~WeakSet", - "external" + "lodash-decorators/src/delay.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/delay.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~boolean", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", - "BuiltinExternal/ECMAScriptExternal.js~boolean", - "external" + "lodash-decorators/src/flip.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/flip.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~function", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", - "BuiltinExternal/ECMAScriptExternal.js~function", - "external" + "lodash-decorators/src/flow.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/flow.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~null", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", - "BuiltinExternal/ECMAScriptExternal.js~null", - "external" + "lodash-decorators/src/flowright.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/flowRight.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~number", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", - "BuiltinExternal/ECMAScriptExternal.js~number", - "external" + "lodash-decorators/src/overargs.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/overArgs.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~object", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", - "BuiltinExternal/ECMAScriptExternal.js~object", - "external" + "lodash-decorators/src/partial.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/partial.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~string", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", - "BuiltinExternal/ECMAScriptExternal.js~string", - "external" + "lodash-decorators/src/partialright.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/partialRight.ts", + "variable" ], [ - "builtinexternal/ecmascriptexternal.js~undefined", - "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", - "BuiltinExternal/ECMAScriptExternal.js~undefined", - "external" + "lodash-decorators/src/rearg.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/rearg.ts", + "variable" ], [ - "builtinexternal/webapiexternal.js~audiocontext", - "https://developer.mozilla.org/en/docs/Web/API/AudioContext", - "BuiltinExternal/WebAPIExternal.js~AudioContext", - "external" + "lodash-decorators/src/throttleall.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/throttleAll.ts", + "variable" ], [ - "builtinexternal/webapiexternal.js~canvasrenderingcontext2d", - "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", - "BuiltinExternal/WebAPIExternal.js~CanvasRenderingContext2D", - "external" + "lodash-decorators/src/wrap.ts~decorator", + "variable/index.html#static-variable-decorator", + "decorator lodash-decorators/src/wrap.ts", + "variable" ], [ - "builtinexternal/webapiexternal.js~documentfragment", - "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", - "BuiltinExternal/WebAPIExternal.js~DocumentFragment", - "external" + "lodash-decorators/src/utils/isdecoratorargs.ts~ismethodorpropertydecoratorargs", + "function/index.html#static-function-isMethodOrPropertyDecoratorArgs", + "isMethodOrPropertyDecoratorArgs lodash-decorators/src/utils/isDecoratorArgs.ts", + "function" ], [ - "builtinexternal/webapiexternal.js~element", - "https://developer.mozilla.org/en-US/docs/Web/API/Element", - "BuiltinExternal/WebAPIExternal.js~Element", - "external" + "lodash-decorators/src/utils/isprototypeaccess.ts~isprototypeaccess", + "function/index.html#static-function-isPrototypeAccess", + "isPrototypeAccess lodash-decorators/src/utils/isPrototypeAccess.ts", + "function" ], [ - "builtinexternal/webapiexternal.js~event", - "https://developer.mozilla.org/en-US/docs/Web/API/Event", - "BuiltinExternal/WebAPIExternal.js~Event", - "external" + "lodash-decorators/src/utils/log.ts~log", + "function/index.html#static-function-log", + "log lodash-decorators/src/utils/log.ts", + "function" ], [ - "builtinexternal/webapiexternal.js~node", - "https://developer.mozilla.org/en-US/docs/Web/API/Node", - "BuiltinExternal/WebAPIExternal.js~Node", - "external" + "lodash-decorators/src/utils/resolvefunction.ts~resolvefunction", + "function/index.html#static-function-resolveFunction", + "resolveFunction lodash-decorators/src/utils/resolveFunction.ts", + "function" ], [ - "builtinexternal/webapiexternal.js~nodelist", - "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", - "BuiltinExternal/WebAPIExternal.js~NodeList", - "external" + "lodash-decorators/src/utils/returnatindex.ts~returnatindex", + "function/index.html#static-function-returnAtIndex", + "returnAtIndex lodash-decorators/src/utils/returnAtIndex.ts", + "function" ], [ - "builtinexternal/webapiexternal.js~xmlhttprequest", - "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", - "BuiltinExternal/WebAPIExternal.js~XMLHttpRequest", - "external" + "lodash-decorators/src/utils/wrapconstructor.ts~wrapconstructor", + "function/index.html#static-function-wrapConstructor", + "wrapConstructor lodash-decorators/src/utils/wrapConstructor.ts", + "function" ], [ "", - "test-file/buildDocs/after.spec.js.html#lineNumber4", + "test-file/src/after.spec.ts.html#lineNumber9", "after", "test" ], [ "", - "test-file/buildDocs/after.spec.js.html#lineNumber5", + "test-file/src/after.spec.ts.html#lineNumber10", "after should invoke the method after 3 times", "test" ], [ "", - "test-file/buildDocs/afterAll.spec.js.html#lineNumber4", + "test-file/src/afterAll.spec.ts.html#lineNumber9", "afterAll", "test" ], [ "", - "test-file/buildDocs/afterAll.spec.js.html#lineNumber5", + "test-file/src/afterAll.spec.ts.html#lineNumber10", "afterAll should invoke the method after 3 times", "test" ], [ "", - "test-file/buildDocs/ary.spec.js.html#lineNumber4", + "test-file/src/ary.spec.ts.html#lineNumber9", "ary", "test" ], [ "", - "test-file/buildDocs/ary.spec.js.html#lineNumber5", + "test-file/src/ary.spec.ts.html#lineNumber10", "ary should invoke the method with specified arguments", "test" ], [ "", - "test-file/buildDocs/attempt.spec.js.html#lineNumber4", + "test-file/src/attempt.spec.ts.html#lineNumber9", "attempt", "test" ], [ "", - "test-file/buildDocs/attempt.spec.js.html#lineNumber5", + "test-file/src/attempt.spec.ts.html#lineNumber10", "attempt should catch the error and return it", "test" ], [ "", - "test-file/buildDocs/before.spec.js.html#lineNumber4", + "test-file/src/attempt.spec.ts.html#lineNumber47", + "attempt should catch the error and return it (paramless)", + "test" + ], + [ + "", + "test-file/src/before.spec.ts.html#lineNumber9", "before", "test" ], [ "", - "test-file/buildDocs/before.spec.js.html#lineNumber5", + "test-file/src/before.spec.ts.html#lineNumber10", "before should invoke the method before 3 times", "test" ], [ "", - "test-file/buildDocs/beforeAll.spec.js.html#lineNumber4", + "test-file/src/beforeAll.spec.ts.html#lineNumber9", "beforeAll", "test" ], [ "", - "test-file/buildDocs/beforeAll.spec.js.html#lineNumber5", + "test-file/src/beforeAll.spec.ts.html#lineNumber10", "beforeAll should invoke the method before 3 times", "test" ], [ "", - "test-file/buildDocs/bind.spec.js.html#lineNumber5", + "test-file/src/bind.spec.ts.html#lineNumber10", "bind", "test" ], [ "", - "test-file/buildDocs/bind.spec.js.html#lineNumber6", + "test-file/src/bind.spec.ts.html#lineNumber11", "bind should bind the context of the method", "test" ], [ "", - "test-file/buildDocs/bind.spec.js.html#lineNumber23", + "test-file/src/bind.spec.ts.html#lineNumber40", "bind should bind with other decorators", "test" ], [ "", - "test-file/buildDocs/bindAll.spec.js.html#lineNumber4", + "test-file/src/bind.spec.ts.html#lineNumber67", + "bind should bind without params", + "test" + ], + [ + "", + "test-file/src/bind.spec.ts.html#lineNumber96", + "bind should not bind when accessed on the prototype", + "test" + ], + [ + "", + "test-file/src/bindAll.spec.ts.html#lineNumber10", "bindAll", "test" ], [ "", - "test-file/buildDocs/bindAll.spec.js.html#lineNumber5", + "test-file/src/bindAll.spec.ts.html#lineNumber11", "bindAll should bind all method to the context", "test" ], [ "", - "test-file/buildDocs/bindAll.spec.js.html#lineNumber26", + "test-file/src/bindAll.spec.ts.html#lineNumber56", "bindAll should bind only specified methods to the context", "test" ], [ - "builddocs/after.js", - "file/buildDocs/after.js.html", - "buildDocs/after.js", - "file" - ], - [ - "builddocs/after.spec.js", - "test-file/buildDocs/after.spec.js.html", - "buildDocs/after.spec.js", - "testFile" + "", + "test-file/src/bindAll.spec.ts.html#lineNumber193", + "bindAll should copy over any static properties on the constructor", + "test" ], [ - "builddocs/afterall.js", - "file/buildDocs/afterAll.js.html", - "buildDocs/afterAll.js", - "file" + "", + "test-file/src/bindAll.spec.ts.html#lineNumber137", + "bindAll should not access getters that are not decorated", + "test" ], [ - "builddocs/afterall.spec.js", - "test-file/buildDocs/afterAll.spec.js.html", - "buildDocs/afterAll.spec.js", - "testFile" + "", + "test-file/src/bindAll.spec.ts.html#lineNumber214", + "bindAll should pass babels class call check", + "test" ], [ - "builddocs/applicators/applicator.js", - "file/buildDocs/applicators/Applicator.js.html", - "buildDocs/applicators/Applicator.js", - "file" + "", + "test-file/src/bindAll.spec.ts.html#lineNumber101", + "bindAll should work with getters", + "test" ], [ - "builddocs/applicators/bindapplicator.js", - "file/buildDocs/applicators/BindApplicator.js.html", - "buildDocs/applicators/BindApplicator.js", - "file" + "", + "test-file/src/curry.spec.ts.html#lineNumber9", + "curry", + "test" ], [ - "builddocs/applicators/bindapplicator.js~bindapplicator#apply", - "class/buildDocs/applicators/BindApplicator.js~BindApplicator.html#instance-method-apply", - "buildDocs/applicators/BindApplicator.js~BindApplicator#apply", - "method" + "", + "test-file/src/curry.spec.ts.html#lineNumber10", + "curry should curry the method with default arity", + "test" + ], + [ + "", + "test-file/src/curry.spec.ts.html#lineNumber40", + "curry should curry the method with default arity (paramless)", + "test" + ], + [ + "", + "test-file/src/curry.spec.ts.html#lineNumber70", + "curry should curry the method with fixed arity", + "test" + ], + [ + "", + "test-file/src/curry.spec.ts.html#lineNumber102", + "curry should retain the class context", + "test" + ], + [ + "", + "test-file/src/curryAll.spec.ts.html#lineNumber9", + "curryAll", + "test" + ], + [ + "", + "test-file/src/curryAll.spec.ts.html#lineNumber10", + "curryAll should curry the method with default arity", + "test" + ], + [ + "", + "test-file/src/curryAll.spec.ts.html#lineNumber40", + "curryAll should curry the method with default arity (paramless)", + "test" + ], + [ + "", + "test-file/src/curryAll.spec.ts.html#lineNumber70", + "curryAll should curry the method with fixed arity", + "test" + ], + [ + "", + "test-file/src/curryAll.spec.ts.html#lineNumber102", + "curryAll should not retain the class context", + "test" + ], + [ + "", + "test-file/src/curryRight.spec.ts.html#lineNumber9", + "curryRight", + "test" + ], + [ + "", + "test-file/src/curryRight.spec.ts.html#lineNumber10", + "curryRight should curry the method with default arity", + "test" + ], + [ + "", + "test-file/src/curryRight.spec.ts.html#lineNumber39", + "curryRight should curry the method with default arity (paramless)", + "test" + ], + [ + "", + "test-file/src/curryRight.spec.ts.html#lineNumber68", + "curryRight should retain the class context", + "test" + ], + [ + "", + "test-file/src/curryRightAll.spec.ts.html#lineNumber9", + "curryRightAll", + "test" + ], + [ + "", + "test-file/src/curryRightAll.spec.ts.html#lineNumber10", + "curryRightAll should curry the method with default arity", + "test" + ], + [ + "", + "test-file/src/curryRightAll.spec.ts.html#lineNumber39", + "curryRightAll should curry the method with default arity (paramless)", + "test" + ], + [ + "", + "test-file/src/debounce.spec.ts.html#lineNumber9", + "debounce", + "test" + ], + [ + "", + "test-file/src/debounce.spec.ts.html#lineNumber95", + "debounce should contain the flush and cancel methods", + "test" + ], + [ + "", + "test-file/src/debounce.spec.ts.html#lineNumber10", + "debounce should debounce the method", + "test" + ], + [ + "", + "test-file/src/debounce.spec.ts.html#lineNumber43", + "debounce should debounce the property setter", + "test" + ], + [ + "", + "test-file/src/debounceAll.spec.ts.html#lineNumber9", + "debounceAll", + "test" + ], + [ + "", + "test-file/src/debounceAll.spec.ts.html#lineNumber10", + "debounceAll should debounce the method across instances", + "test" + ], + [ + "", + "test-file/src/defer.spec.ts.html#lineNumber10", + "defer", + "test" + ], + [ + "", + "test-file/src/defer.spec.ts.html#lineNumber79", + "defer should debounce the property setter", + "test" + ], + [ + "", + "test-file/src/defer.spec.ts.html#lineNumber132", + "defer should debounce the property setter (paramless)", + "test" + ], + [ + "", + "test-file/src/defer.spec.ts.html#lineNumber11", + "defer should defer the method", + "test" + ], + [ + "", + "test-file/src/defer.spec.ts.html#lineNumber45", + "defer should defer the method (paramless)", + "test" + ], + [ + "", + "test-file/src/delay.spec.ts.html#lineNumber10", + "delay", + "test" + ], + [ + "", + "test-file/src/delay.spec.ts.html#lineNumber45", + "delay should debounce the property setter", + "test" + ], + [ + "", + "test-file/src/delay.spec.ts.html#lineNumber11", + "delay should delay the method", + "test" + ], + [ + "", + "test-file/src/flip.spec.ts.html#lineNumber9", + "flip", + "test" + ], + [ + "", + "test-file/src/flip.spec.ts.html#lineNumber10", + "flip should flip the arguments of the function", + "test" + ], + [ + "", + "test-file/src/flip.spec.ts.html#lineNumber38", + "flip should flip the arguments of the resolved function", + "test" + ], + [ + "", + "test-file/src/flow.spec.ts.html#lineNumber9", + "flow", + "test" + ], + [ + "", + "test-file/src/flow.spec.ts.html#lineNumber57", + "flow should compose and assign to the property", + "test" + ], + [ + "", + "test-file/src/flow.spec.ts.html#lineNumber10", + "flow should compose the functions", + "test" + ], + [ + "", + "test-file/src/flowRight.spec.ts.html#lineNumber9", + "flowRight", + "test" + ], + [ + "", + "test-file/src/flowRight.spec.ts.html#lineNumber10", + "flowRight should compose the functions", + "test" + ], + [ + "", + "test-file/src/flowRight.spec.ts.html#lineNumber57", + "flowRight should compose the property", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber10", + "memoize", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber11", + "memoize should memoize the function", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber52", + "memoize should memoize the function (paramless)", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber209", + "memoize with custom cache", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber210", + "memoize with custom cache should use the provided map", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber181", + "memoize with custom map type", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber182", + "memoize with custom map type should create the map of type", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber93", + "memoize with function resolver", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber94", + "memoize with function resolver should resolve the key", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber131", + "memoize with string resolver", + "test" + ], + [ + "", + "test-file/src/memoize.spec.ts.html#lineNumber132", + "memoize with string resolver should resolve the key", + "test" + ], + [ + "", + "test-file/src/memoizeAll.spec.ts.html#lineNumber10", + "memoizeAll", + "test" + ], + [ + "", + "test-file/src/memoizeAll.spec.ts.html#lineNumber11", + "memoizeAll should memoize the function", + "test" + ], + [ + "", + "test-file/src/memoizeAll.spec.ts.html#lineNumber49", + "memoizeAll should memoize the function (paramless)", + "test" + ], + [ + "", + "test-file/src/memoizeAll.spec.ts.html#lineNumber87", + "memoizeAll with function resolver", + "test" + ], + [ + "", + "test-file/src/memoizeAll.spec.ts.html#lineNumber88", + "memoizeAll with function resolver should resolve the key", + "test" + ], + [ + "", + "test-file/src/mixin.spec.ts.html#lineNumber9", + "mixin", + "test" + ], + [ + "", + "test-file/src/mixin.spec.ts.html#lineNumber10", + "mixin should mixin the object", + "test" + ], + [ + "", + "test-file/src/combinationTest.spec.ts.html#lineNumber13", + "multiple decorators", + "test" + ], + [ + "", + "test-file/src/combinationTest.spec.ts.html#lineNumber49", + "multiple decorators when combining proto and instance decorators", + "test" + ], + [ + "", + "test-file/src/combinationTest.spec.ts.html#lineNumber50", + "multiple decorators when combining proto and instance decorators should apply both decorators", + "test" + ], + [ + "", + "test-file/src/combinationTest.spec.ts.html#lineNumber89", + "multiple decorators when combining proto and instance decorators when proto is after instance", + "test" + ], + [ + "", + "test-file/src/combinationTest.spec.ts.html#lineNumber90", + "multiple decorators when combining proto and instance decorators when proto is after instance should only apply the instance decorator", + "test" + ], + [ + "", + "test-file/src/combinationTest.spec.ts.html#lineNumber14", + "multiple decorators when using multiple instance decorators", + "test" + ], + [ + "", + "test-file/src/combinationTest.spec.ts.html#lineNumber15", + "multiple decorators when using multiple instance decorators should apply both decorators", + "test" + ], + [ + "", + "test-file/src/negate.spec.ts.html#lineNumber9", + "negate", + "test" + ], + [ + "", + "test-file/src/negate.spec.ts.html#lineNumber10", + "negate should inverse the result of the function", + "test" + ], + [ + "", + "test-file/src/negate.spec.ts.html#lineNumber34", + "negate should inverse the result of the function (paramless)", + "test" + ], + [ + "", + "test-file/src/negate.spec.ts.html#lineNumber58", + "negate should inverse the result of the resolved function", + "test" + ], + [ + "", + "test-file/src/once.spec.ts.html#lineNumber9", + "once", + "test" + ], + [ + "", + "test-file/src/once.spec.ts.html#lineNumber10", + "once should invoke the method only once", + "test" + ], + [ + "", + "test-file/src/overArgs.spec.ts.html#lineNumber10", + "overArgs", + "test" + ], + [ + "", + "test-file/src/overArgs.spec.ts.html#lineNumber11", + "overArgs should transform each argument", + "test" + ], + [ + "", + "test-file/src/partial.spec.ts.html#lineNumber9", + "partial", + "test" + ], + [ + "", + "test-file/src/partial.spec.ts.html#lineNumber10", + "partial should create a partially applied function", + "test" + ], + [ + "", + "test-file/src/partialRight.spec.ts.html#lineNumber9", + "partialRight", + "test" + ], + [ + "", + "test-file/src/partialRight.spec.ts.html#lineNumber10", + "partialRight should create a partially applied function", + "test" + ], + [ + "", + "test-file/src/rearg.spec.ts.html#lineNumber9", + "rearg", + "test" ], [ - "builddocs/applicators/composeapplicator.js", - "file/buildDocs/applicators/ComposeApplicator.js.html", - "buildDocs/applicators/ComposeApplicator.js", - "file" + "", + "test-file/src/rearg.spec.ts.html#lineNumber10", + "rearg should change the order of arguments", + "test" ], [ - "builddocs/applicators/composeapplicator.js~composeapplicator#apply", - "class/buildDocs/applicators/ComposeApplicator.js~ComposeApplicator.html#instance-method-apply", - "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator#apply", - "method" + "", + "test-file/src/rearg.spec.ts.html#lineNumber40", + "rearg should change the order of the resolved function", + "test" ], [ - "builddocs/applicators/composeapplicator.js~composeapplicator#constructor", - "class/buildDocs/applicators/ComposeApplicator.js~ComposeApplicator.html#instance-constructor-constructor", - "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator#constructor", - "method" + "", + "test-file/src/rest.spec.ts.html#lineNumber9", + "rest", + "test" ], [ - "builddocs/applicators/composeapplicator.js~composeapplicator#post", - "class/buildDocs/applicators/ComposeApplicator.js~ComposeApplicator.html#instance-get-post", - "buildDocs/applicators/ComposeApplicator.js~ComposeApplicator#post", - "member" + "", + "test-file/src/rest.spec.ts.html#lineNumber10", + "rest should change the order of arguments", + "test" ], [ - "builddocs/applicators/invokeapplicator.js", - "file/buildDocs/applicators/InvokeApplicator.js.html", - "buildDocs/applicators/InvokeApplicator.js", - "file" + "", + "test-file/src/rest.spec.ts.html#lineNumber38", + "rest should change the order of arguments (paramless)", + "test" ], [ - "builddocs/applicators/invokeapplicator.js~invokeapplicator#apply", - "class/buildDocs/applicators/InvokeApplicator.js~InvokeApplicator.html#instance-method-apply", - "buildDocs/applicators/InvokeApplicator.js~InvokeApplicator#apply", - "method" + "", + "test-file/src/spread.spec.ts.html#lineNumber9", + "spread", + "test" ], [ - "builddocs/applicators/memoizeapplicator.js", - "file/buildDocs/applicators/MemoizeApplicator.js.html", - "buildDocs/applicators/MemoizeApplicator.js", - "file" + "", + "test-file/src/spread.spec.ts.html#lineNumber10", + "spread should spread the arguments", + "test" ], [ - "builddocs/applicators/memoizeapplicator.js~memoizeapplicator#apply", - "class/buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator.html#instance-method-apply", - "buildDocs/applicators/MemoizeApplicator.js~MemoizeApplicator#apply", - "method" + "", + "test-file/src/spread.spec.ts.html#lineNumber37", + "spread should spread the arguments (paramless)", + "test" ], [ - "builddocs/applicators/partialapplicator.js", - "file/buildDocs/applicators/PartialApplicator.js.html", - "buildDocs/applicators/PartialApplicator.js", - "file" + "src/.external-ecmascript.js~array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", + "src/.external-ecmascript.js~Array", + "external" ], [ - "builddocs/applicators/partialapplicator.js~partialapplicator#apply", - "class/buildDocs/applicators/PartialApplicator.js~PartialApplicator.html#instance-method-apply", - "buildDocs/applicators/PartialApplicator.js~PartialApplicator#apply", - "method" + "src/.external-ecmascript.js~arraybuffer", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", + "src/.external-ecmascript.js~ArrayBuffer", + "external" ], [ - "builddocs/applicators/partialedapplicator.js", - "file/buildDocs/applicators/PartialedApplicator.js.html", - "buildDocs/applicators/PartialedApplicator.js", - "file" + "src/.external-ecmascript.js~boolean", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "src/.external-ecmascript.js~Boolean", + "external" ], [ - "builddocs/applicators/partialedapplicator.js~partialedapplicator#apply", - "class/buildDocs/applicators/PartialedApplicator.js~PartialedApplicator.html#instance-method-apply", - "buildDocs/applicators/PartialedApplicator.js~PartialedApplicator#apply", - "method" + "src/.external-ecmascript.js~dataview", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", + "src/.external-ecmascript.js~DataView", + "external" ], [ - "builddocs/applicators/postvalueapplicator.js", - "file/buildDocs/applicators/PostValueApplicator.js.html", - "buildDocs/applicators/PostValueApplicator.js", - "file" + "src/.external-ecmascript.js~date", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", + "src/.external-ecmascript.js~Date", + "external" ], [ - "builddocs/applicators/postvalueapplicator.js~postvalueapplicator#apply", - "class/buildDocs/applicators/PostValueApplicator.js~PostValueApplicator.html#instance-method-apply", - "buildDocs/applicators/PostValueApplicator.js~PostValueApplicator#apply", - "method" + "src/.external-ecmascript.js~error", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", + "src/.external-ecmascript.js~Error", + "external" ], [ - "builddocs/applicators/prevalueapplicator.js", - "file/buildDocs/applicators/PreValueApplicator.js.html", - "buildDocs/applicators/PreValueApplicator.js", - "file" + "src/.external-ecmascript.js~evalerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", + "src/.external-ecmascript.js~EvalError", + "external" ], [ - "builddocs/applicators/prevalueapplicator.js~prevalueapplicator#apply", - "class/buildDocs/applicators/PreValueApplicator.js~PreValueApplicator.html#instance-method-apply", - "buildDocs/applicators/PreValueApplicator.js~PreValueApplicator#apply", - "method" + "src/.external-ecmascript.js~float32array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", + "src/.external-ecmascript.js~Float32Array", + "external" ], [ - "builddocs/applicators/wrapapplicator.js", - "file/buildDocs/applicators/WrapApplicator.js.html", - "buildDocs/applicators/WrapApplicator.js", - "file" + "src/.external-ecmascript.js~float64array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", + "src/.external-ecmascript.js~Float64Array", + "external" ], [ - "builddocs/applicators/wrapapplicator.js~wrapapplicator#apply", - "class/buildDocs/applicators/WrapApplicator.js~WrapApplicator.html#instance-method-apply", - "buildDocs/applicators/WrapApplicator.js~WrapApplicator#apply", - "method" + "src/.external-ecmascript.js~function", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "src/.external-ecmascript.js~Function", + "external" ], [ - "builddocs/applicators/index.js", - "file/buildDocs/applicators/index.js.html", - "buildDocs/applicators/index.js", - "file" + "src/.external-ecmascript.js~generator", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", + "src/.external-ecmascript.js~Generator", + "external" ], [ - "builddocs/ary.js", - "file/buildDocs/ary.js.html", - "buildDocs/ary.js", - "file" + "src/.external-ecmascript.js~generatorfunction", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", + "src/.external-ecmascript.js~GeneratorFunction", + "external" ], [ - "builddocs/ary.spec.js", - "test-file/buildDocs/ary.spec.js.html", - "buildDocs/ary.spec.js", - "testFile" + "src/.external-ecmascript.js~infinity", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", + "src/.external-ecmascript.js~Infinity", + "external" ], [ - "builddocs/attempt.js", - "file/buildDocs/attempt.js.html", - "buildDocs/attempt.js", - "file" + "src/.external-ecmascript.js~int16array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", + "src/.external-ecmascript.js~Int16Array", + "external" ], [ - "builddocs/attempt.spec.js", - "test-file/buildDocs/attempt.spec.js.html", - "buildDocs/attempt.spec.js", - "testFile" + "src/.external-ecmascript.js~int32array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", + "src/.external-ecmascript.js~Int32Array", + "external" ], [ - "builddocs/before.js", - "file/buildDocs/before.js.html", - "buildDocs/before.js", - "file" + "src/.external-ecmascript.js~int8array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", + "src/.external-ecmascript.js~Int8Array", + "external" ], [ - "builddocs/before.spec.js", - "test-file/buildDocs/before.spec.js.html", - "buildDocs/before.spec.js", - "testFile" + "src/.external-ecmascript.js~internalerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", + "src/.external-ecmascript.js~InternalError", + "external" ], [ - "builddocs/beforeall.js", - "file/buildDocs/beforeAll.js.html", - "buildDocs/beforeAll.js", - "file" + "src/.external-ecmascript.js~json", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", + "src/.external-ecmascript.js~JSON", + "external" ], [ - "builddocs/beforeall.spec.js", - "test-file/buildDocs/beforeAll.spec.js.html", - "buildDocs/beforeAll.spec.js", - "testFile" + "src/.external-ecmascript.js~map", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", + "src/.external-ecmascript.js~Map", + "external" ], [ - "builddocs/bind.js", - "file/buildDocs/bind.js.html", - "buildDocs/bind.js", - "file" + "src/.external-ecmascript.js~nan", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", + "src/.external-ecmascript.js~NaN", + "external" ], [ - "builddocs/bind.spec.js", - "test-file/buildDocs/bind.spec.js.html", - "buildDocs/bind.spec.js", - "testFile" + "src/.external-ecmascript.js~number", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "src/.external-ecmascript.js~Number", + "external" ], [ - "builddocs/bindall.js", - "file/buildDocs/bindAll.js.html", - "buildDocs/bindAll.js", - "file" + "src/.external-ecmascript.js~object", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "src/.external-ecmascript.js~Object", + "external" ], [ - "builddocs/bindall.spec.js", - "test-file/buildDocs/bindAll.spec.js.html", - "buildDocs/bindAll.spec.js", - "testFile" + "src/.external-ecmascript.js~promise", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", + "src/.external-ecmascript.js~Promise", + "external" ], [ - "builddocs/combinationtest.spec.js", - "test-file/buildDocs/combinationTest.spec.js.html", - "buildDocs/combinationTest.spec.js", - "testFile" + "src/.external-ecmascript.js~proxy", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", + "src/.external-ecmascript.js~Proxy", + "external" ], [ - "builddocs/curry.js", - "file/buildDocs/curry.js.html", - "buildDocs/curry.js", - "file" + "src/.external-ecmascript.js~rangeerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", + "src/.external-ecmascript.js~RangeError", + "external" ], [ - "builddocs/curry.spec.js", - "test-file/buildDocs/curry.spec.js.html", - "buildDocs/curry.spec.js", - "testFile" + "src/.external-ecmascript.js~referenceerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", + "src/.external-ecmascript.js~ReferenceError", + "external" ], [ - "builddocs/curryall.js", - "file/buildDocs/curryAll.js.html", - "buildDocs/curryAll.js", - "file" + "src/.external-ecmascript.js~reflect", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", + "src/.external-ecmascript.js~Reflect", + "external" ], [ - "builddocs/curryall.spec.js", - "test-file/buildDocs/curryAll.spec.js.html", - "buildDocs/curryAll.spec.js", - "testFile" + "src/.external-ecmascript.js~regexp", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", + "src/.external-ecmascript.js~RegExp", + "external" ], [ - "builddocs/curryright.js", - "file/buildDocs/curryRight.js.html", - "buildDocs/curryRight.js", - "file" + "src/.external-ecmascript.js~set", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", + "src/.external-ecmascript.js~Set", + "external" ], [ - "builddocs/curryright.spec.js", - "test-file/buildDocs/curryRight.spec.js.html", - "buildDocs/curryRight.spec.js", - "testFile" + "src/.external-ecmascript.js~string", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "src/.external-ecmascript.js~String", + "external" ], [ - "builddocs/curryrightall.js", - "file/buildDocs/curryRightAll.js.html", - "buildDocs/curryRightAll.js", - "file" + "src/.external-ecmascript.js~symbol", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", + "src/.external-ecmascript.js~Symbol", + "external" ], [ - "builddocs/curryrightall.spec.js", - "test-file/buildDocs/curryRightAll.spec.js.html", - "buildDocs/curryRightAll.spec.js", - "testFile" + "src/.external-ecmascript.js~syntaxerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", + "src/.external-ecmascript.js~SyntaxError", + "external" ], [ - "builddocs/debounce.js", - "file/buildDocs/debounce.js.html", - "buildDocs/debounce.js", - "file" + "src/.external-ecmascript.js~typeerror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", + "src/.external-ecmascript.js~TypeError", + "external" ], [ - "builddocs/debounce.spec.js", - "test-file/buildDocs/debounce.spec.js.html", - "buildDocs/debounce.spec.js", - "testFile" + "src/.external-ecmascript.js~urierror", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", + "src/.external-ecmascript.js~URIError", + "external" ], [ - "builddocs/debounceall.js", - "file/buildDocs/debounceAll.js.html", - "buildDocs/debounceAll.js", - "file" + "src/.external-ecmascript.js~uint16array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", + "src/.external-ecmascript.js~Uint16Array", + "external" ], [ - "builddocs/debounceall.spec.js", - "test-file/buildDocs/debounceAll.spec.js.html", - "buildDocs/debounceAll.spec.js", - "testFile" + "src/.external-ecmascript.js~uint32array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", + "src/.external-ecmascript.js~Uint32Array", + "external" ], [ - "builddocs/defer.js", - "file/buildDocs/defer.js.html", - "buildDocs/defer.js", - "file" + "src/.external-ecmascript.js~uint8array", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", + "src/.external-ecmascript.js~Uint8Array", + "external" + ], + [ + "src/.external-ecmascript.js~uint8clampedarray", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", + "src/.external-ecmascript.js~Uint8ClampedArray", + "external" + ], + [ + "src/.external-ecmascript.js~weakmap", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", + "src/.external-ecmascript.js~WeakMap", + "external" + ], + [ + "src/.external-ecmascript.js~weakset", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", + "src/.external-ecmascript.js~WeakSet", + "external" + ], + [ + "src/.external-ecmascript.js~boolean", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", + "src/.external-ecmascript.js~boolean", + "external" + ], + [ + "src/.external-ecmascript.js~function", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", + "src/.external-ecmascript.js~function", + "external" + ], + [ + "src/.external-ecmascript.js~null", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", + "src/.external-ecmascript.js~null", + "external" + ], + [ + "src/.external-ecmascript.js~number", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", + "src/.external-ecmascript.js~number", + "external" + ], + [ + "src/.external-ecmascript.js~object", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", + "src/.external-ecmascript.js~object", + "external" + ], + [ + "src/.external-ecmascript.js~string", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", + "src/.external-ecmascript.js~string", + "external" + ], + [ + "src/.external-ecmascript.js~undefined", + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", + "src/.external-ecmascript.js~undefined", + "external" ], [ - "builddocs/defer.spec.js", - "test-file/buildDocs/defer.spec.js.html", - "buildDocs/defer.spec.js", + "src/after.spec.ts", + "test-file/src/after.spec.ts.html", + "src/after.spec.ts", "testFile" ], [ - "builddocs/delay.js", - "file/buildDocs/delay.js.html", - "buildDocs/delay.js", + "src/after.ts", + "file/src/after.ts.html", + "src/after.ts", "file" ], [ - "builddocs/delay.spec.js", - "test-file/buildDocs/delay.spec.js.html", - "buildDocs/delay.spec.js", + "src/afterall.spec.ts", + "test-file/src/afterAll.spec.ts.html", + "src/afterAll.spec.ts", "testFile" ], [ - "builddocs/factory/decoratorconfig.js", - "file/buildDocs/factory/DecoratorConfig.js.html", - "buildDocs/factory/DecoratorConfig.js", + "src/afterall.ts", + "file/src/afterAll.ts.html", + "src/afterAll.ts", "file" ], [ - "builddocs/factory/decoratorconfig.js~decoratorconfig#applicator", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html#instance-member-applicator", - "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#applicator", - "member" + "src/applicators.ts", + "file/src/applicators.ts.html", + "src/applicators.ts", + "file" ], [ - "builddocs/factory/decoratorconfig.js~decoratorconfig#bound", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html#instance-get-bound", - "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#bound", - "member" + "src/applicators/applicator.ts", + "file/src/applicators/Applicator.ts.html", + "src/applicators/Applicator.ts", + "file" + ], + [ + "src/applicators/bindapplicator.ts", + "file/src/applicators/BindApplicator.ts.html", + "src/applicators/BindApplicator.ts", + "file" ], [ - "builddocs/factory/decoratorconfig.js~decoratorconfig#constructor", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html#instance-constructor-constructor", - "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#constructor", + "src/applicators/bindapplicator.ts~bindapplicator#apply", + "class/src/applicators/BindApplicator.ts~BindApplicator.html#instance-method-apply", + "src/applicators/BindApplicator.ts~BindApplicator#apply", "method" ], [ - "builddocs/factory/decoratorconfig.js~decoratorconfig#execute", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html#instance-member-execute", - "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#execute", - "member" + "src/applicators/composeapplicator.ts", + "file/src/applicators/ComposeApplicator.ts.html", + "src/applicators/ComposeApplicator.ts", + "file" ], [ - "builddocs/factory/decoratorconfig.js~decoratorconfig#getter", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html#instance-get-getter", - "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#getter", - "member" + "src/applicators/composeapplicator.ts~composeapplicator#apply", + "class/src/applicators/ComposeApplicator.ts~ComposeApplicator.html#instance-method-apply", + "src/applicators/ComposeApplicator.ts~ComposeApplicator#apply", + "method" ], [ - "builddocs/factory/decoratorconfig.js~decoratorconfig#method", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html#instance-get-method", - "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#method", - "member" + "src/applicators/composeapplicator.ts~composeapplicator#constructor", + "class/src/applicators/ComposeApplicator.ts~ComposeApplicator.html#instance-constructor-constructor", + "src/applicators/ComposeApplicator.ts~ComposeApplicator#constructor", + "method" ], [ - "builddocs/factory/decoratorconfig.js~decoratorconfig#options", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html#instance-member-options", - "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#options", + "src/applicators/composeapplicator.ts~composeapplicator#post", + "class/src/applicators/ComposeApplicator.ts~ComposeApplicator.html#instance-get-post", + "src/applicators/ComposeApplicator.ts~ComposeApplicator#post", "member" ], [ - "builddocs/factory/decoratorconfig.js~decoratorconfig#property", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html#instance-get-property", - "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#property", - "member" + "src/applicators/invokeapplicator.ts", + "file/src/applicators/InvokeApplicator.ts.html", + "src/applicators/InvokeApplicator.ts", + "file" ], [ - "builddocs/factory/decoratorconfig.js~decoratorconfig#setter", - "class/buildDocs/factory/DecoratorConfig.js~DecoratorConfig.html#instance-get-setter", - "buildDocs/factory/DecoratorConfig.js~DecoratorConfig#setter", - "member" + "src/applicators/invokeapplicator.ts~invokeapplicator#apply", + "class/src/applicators/InvokeApplicator.ts~InvokeApplicator.html#instance-method-apply", + "src/applicators/InvokeApplicator.ts~InvokeApplicator#apply", + "method" ], [ - "builddocs/factory/decoratorfactory.js", - "file/buildDocs/factory/DecoratorFactory.js.html", - "buildDocs/factory/DecoratorFactory.js", + "src/applicators/memoizeapplicator.ts", + "file/src/applicators/MemoizeApplicator.ts.html", + "src/applicators/MemoizeApplicator.ts", "file" ], [ - "builddocs/factory/decoratorfactory.js~internaldecoratorfactory#[name]", - "class/buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory.html#instance-member-[name]", - "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory#[name]", - "member" + "src/applicators/memoizeapplicator.ts~memoizeapplicator#apply", + "class/src/applicators/MemoizeApplicator.ts~MemoizeApplicator.html#instance-method-apply", + "src/applicators/MemoizeApplicator.ts~MemoizeApplicator#apply", + "method" ], [ - "builddocs/factory/decoratorfactory.js~internaldecoratorfactory#createdecorator", - "class/buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory.html#instance-method-createDecorator", - "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory#createDecorator", - "method" + "src/applicators/partialapplicator.ts", + "file/src/applicators/PartialApplicator.ts.html", + "src/applicators/PartialApplicator.ts", + "file" ], [ - "builddocs/factory/decoratorfactory.js~internaldecoratorfactory#createinstancedecorator", - "class/buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory.html#instance-method-createInstanceDecorator", - "buildDocs/factory/DecoratorFactory.js~InternalDecoratorFactory#createInstanceDecorator", + "src/applicators/partialapplicator.ts~partialapplicator#apply", + "class/src/applicators/PartialApplicator.ts~PartialApplicator.html#instance-method-apply", + "src/applicators/PartialApplicator.ts~PartialApplicator#apply", "method" ], [ - "builddocs/factory/common.js", - "file/buildDocs/factory/common.js.html", - "buildDocs/factory/common.js", + "src/applicators/partialvalueapplicator.ts", + "file/src/applicators/PartialValueApplicator.ts.html", + "src/applicators/PartialValueApplicator.ts", "file" ], [ - "builddocs/factory/index.js", - "file/buildDocs/factory/index.js.html", - "buildDocs/factory/index.js", + "src/applicators/partialvalueapplicator.ts~partialvalueapplicator#apply", + "class/src/applicators/PartialValueApplicator.ts~PartialValueApplicator.html#instance-method-apply", + "src/applicators/PartialValueApplicator.ts~PartialValueApplicator#apply", + "method" + ], + [ + "src/applicators/partialedapplicator.ts", + "file/src/applicators/PartialedApplicator.ts.html", + "src/applicators/PartialedApplicator.ts", "file" ], [ - "builddocs/flip.js", - "file/buildDocs/flip.js.html", - "buildDocs/flip.js", + "src/applicators/partialedapplicator.ts~partialedapplicator#apply", + "class/src/applicators/PartialedApplicator.ts~PartialedApplicator.html#instance-method-apply", + "src/applicators/PartialedApplicator.ts~PartialedApplicator#apply", + "method" + ], + [ + "src/applicators/postvalueapplicator.ts", + "file/src/applicators/PostValueApplicator.ts.html", + "src/applicators/PostValueApplicator.ts", "file" ], [ - "builddocs/flip.spec.js", - "test-file/buildDocs/flip.spec.js.html", - "buildDocs/flip.spec.js", - "testFile" + "src/applicators/postvalueapplicator.ts~postvalueapplicator#apply", + "class/src/applicators/PostValueApplicator.ts~PostValueApplicator.html#instance-method-apply", + "src/applicators/PostValueApplicator.ts~PostValueApplicator#apply", + "method" ], [ - "builddocs/flow.js", - "file/buildDocs/flow.js.html", - "buildDocs/flow.js", + "src/applicators/prevalueapplicator.ts", + "file/src/applicators/PreValueApplicator.ts.html", + "src/applicators/PreValueApplicator.ts", "file" ], [ - "builddocs/flow.spec.js", - "test-file/buildDocs/flow.spec.js.html", - "buildDocs/flow.spec.js", - "testFile" + "src/applicators/prevalueapplicator.ts~prevalueapplicator#apply", + "class/src/applicators/PreValueApplicator.ts~PreValueApplicator.html#instance-method-apply", + "src/applicators/PreValueApplicator.ts~PreValueApplicator#apply", + "method" ], [ - "builddocs/flowright.js", - "file/buildDocs/flowRight.js.html", - "buildDocs/flowRight.js", + "src/applicators/wrapapplicator.ts", + "file/src/applicators/WrapApplicator.ts.html", + "src/applicators/WrapApplicator.ts", "file" ], [ - "builddocs/flowright.spec.js", - "test-file/buildDocs/flowRight.spec.js.html", - "buildDocs/flowRight.spec.js", + "src/applicators/wrapapplicator.ts~wrapapplicator#apply", + "class/src/applicators/WrapApplicator.ts~WrapApplicator.html#instance-method-apply", + "src/applicators/WrapApplicator.ts~WrapApplicator#apply", + "method" + ], + [ + "src/ary.spec.ts", + "test-file/src/ary.spec.ts.html", + "src/ary.spec.ts", "testFile" ], [ - "builddocs/index.js", - "file/buildDocs/index.js.html", - "buildDocs/index.js", + "src/ary.ts", + "file/src/ary.ts.html", + "src/ary.ts", "file" ], [ - "builddocs/memoize.js", - "file/buildDocs/memoize.js.html", - "buildDocs/memoize.js", + "src/attempt.spec.ts", + "test-file/src/attempt.spec.ts.html", + "src/attempt.spec.ts", + "testFile" + ], + [ + "src/attempt.ts", + "file/src/attempt.ts.html", + "src/attempt.ts", "file" ], [ - "builddocs/memoize.spec.js", - "test-file/buildDocs/memoize.spec.js.html", - "buildDocs/memoize.spec.js", + "src/before.spec.ts", + "test-file/src/before.spec.ts.html", + "src/before.spec.ts", "testFile" ], [ - "builddocs/memoizeall.js", - "file/buildDocs/memoizeAll.js.html", - "buildDocs/memoizeAll.js", + "src/before.ts", + "file/src/before.ts.html", + "src/before.ts", "file" ], [ - "builddocs/memoizeall.spec.js", - "test-file/buildDocs/memoizeAll.spec.js.html", - "buildDocs/memoizeAll.spec.js", + "src/beforeall.spec.ts", + "test-file/src/beforeAll.spec.ts.html", + "src/beforeAll.spec.ts", "testFile" ], [ - "builddocs/mixin.js", - "file/buildDocs/mixin.js.html", - "buildDocs/mixin.js", + "src/beforeall.ts", + "file/src/beforeAll.ts.html", + "src/beforeAll.ts", "file" ], [ - "builddocs/mixin.spec.js", - "test-file/buildDocs/mixin.spec.js.html", - "buildDocs/mixin.spec.js", + "src/bind.spec.ts", + "test-file/src/bind.spec.ts.html", + "src/bind.spec.ts", "testFile" ], [ - "builddocs/negate.js", - "file/buildDocs/negate.js.html", - "buildDocs/negate.js", + "src/bind.ts", + "file/src/bind.ts.html", + "src/bind.ts", "file" ], [ - "builddocs/negate.spec.js", - "test-file/buildDocs/negate.spec.js.html", - "buildDocs/negate.spec.js", + "src/bindall.spec.ts", + "test-file/src/bindAll.spec.ts.html", + "src/bindAll.spec.ts", "testFile" ], [ - "builddocs/once.js", - "file/buildDocs/once.js.html", - "buildDocs/once.js", + "src/bindall.ts", + "file/src/bindAll.ts.html", + "src/bindAll.ts", "file" ], [ - "builddocs/once.spec.js", - "test-file/buildDocs/once.spec.js.html", - "buildDocs/once.spec.js", + "src/combinationtest.spec.ts", + "test-file/src/combinationTest.spec.ts.html", + "src/combinationTest.spec.ts", "testFile" ], [ - "builddocs/onceall.js", - "file/buildDocs/onceAll.js.html", - "buildDocs/onceAll.js", - "file" + "src/curry.spec.ts", + "test-file/src/curry.spec.ts.html", + "src/curry.spec.ts", + "testFile" ], [ - "builddocs/overargs.js", - "file/buildDocs/overArgs.js.html", - "buildDocs/overArgs.js", + "src/curry.ts", + "file/src/curry.ts.html", + "src/curry.ts", "file" ], [ - "builddocs/overargs.spec.js", - "test-file/buildDocs/overArgs.spec.js.html", - "buildDocs/overArgs.spec.js", + "src/curryall.spec.ts", + "test-file/src/curryAll.spec.ts.html", + "src/curryAll.spec.ts", "testFile" ], [ - "builddocs/partial.js", - "file/buildDocs/partial.js.html", - "buildDocs/partial.js", + "src/curryall.ts", + "file/src/curryAll.ts.html", + "src/curryAll.ts", "file" ], [ - "builddocs/partial.spec.js", - "test-file/buildDocs/partial.spec.js.html", - "buildDocs/partial.spec.js", + "src/curryright.spec.ts", + "test-file/src/curryRight.spec.ts.html", + "src/curryRight.spec.ts", "testFile" ], [ - "builddocs/partialright.js", - "file/buildDocs/partialRight.js.html", - "buildDocs/partialRight.js", + "src/curryright.ts", + "file/src/curryRight.ts.html", + "src/curryRight.ts", "file" ], [ - "builddocs/partialright.spec.js", - "test-file/buildDocs/partialRight.spec.js.html", - "buildDocs/partialRight.spec.js", + "src/curryrightall.spec.ts", + "test-file/src/curryRightAll.spec.ts.html", + "src/curryRightAll.spec.ts", "testFile" ], [ - "builddocs/rearg.js", - "file/buildDocs/rearg.js.html", - "buildDocs/rearg.js", + "src/curryrightall.ts", + "file/src/curryRightAll.ts.html", + "src/curryRightAll.ts", "file" ], [ - "builddocs/rearg.spec.js", - "test-file/buildDocs/rearg.spec.js.html", - "buildDocs/rearg.spec.js", + "src/debounce.spec.ts", + "test-file/src/debounce.spec.ts.html", + "src/debounce.spec.ts", "testFile" ], [ - "builddocs/rest.js", - "file/buildDocs/rest.js.html", - "buildDocs/rest.js", + "src/debounce.ts", + "file/src/debounce.ts.html", + "src/debounce.ts", "file" ], [ - "builddocs/rest.spec.js", - "test-file/buildDocs/rest.spec.js.html", - "buildDocs/rest.spec.js", + "src/debounceall.spec.ts", + "test-file/src/debounceAll.spec.ts.html", + "src/debounceAll.spec.ts", "testFile" ], [ - "builddocs/shared.js", - "file/buildDocs/shared.js.html", - "buildDocs/shared.js", + "src/debounceall.ts", + "file/src/debounceAll.ts.html", + "src/debounceAll.ts", "file" ], [ - "builddocs/spread.js", - "file/buildDocs/spread.js.html", - "buildDocs/spread.js", + "src/defer.spec.ts", + "test-file/src/defer.spec.ts.html", + "src/defer.spec.ts", + "testFile" + ], + [ + "src/defer.ts", + "file/src/defer.ts.html", + "src/defer.ts", "file" ], [ - "builddocs/spread.spec.js", - "test-file/buildDocs/spread.spec.js.html", - "buildDocs/spread.spec.js", + "src/delay.spec.ts", + "test-file/src/delay.spec.ts.html", + "src/delay.spec.ts", "testFile" ], [ - "builddocs/tap.js", - "file/buildDocs/tap.js.html", - "buildDocs/tap.js", + "src/delay.ts", + "file/src/delay.ts.html", + "src/delay.ts", "file" ], [ - "builddocs/tap.spec.js", - "test-file/buildDocs/tap.spec.js.html", - "buildDocs/tap.spec.js", - "testFile" + "src/factory.ts", + "file/src/factory.ts.html", + "src/factory.ts", + "file" ], [ - "builddocs/throttle.js", - "file/buildDocs/throttle.js.html", - "buildDocs/throttle.js", + "src/factory/decoratorconfig.ts", + "file/src/factory/DecoratorConfig.ts.html", + "src/factory/DecoratorConfig.ts", "file" ], [ - "builddocs/throttle.spec.js", - "test-file/buildDocs/throttle.spec.js.html", - "buildDocs/throttle.spec.js", - "testFile" + "src/factory/decoratorconfig.ts~decoratorconfig#applicator", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-member-applicator", + "src/factory/DecoratorConfig.ts~DecoratorConfig#applicator", + "member" + ], + [ + "src/factory/decoratorconfig.ts~decoratorconfig#bound", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-get-bound", + "src/factory/DecoratorConfig.ts~DecoratorConfig#bound", + "member" + ], + [ + "src/factory/decoratorconfig.ts~decoratorconfig#constructor", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-constructor-constructor", + "src/factory/DecoratorConfig.ts~DecoratorConfig#constructor", + "method" + ], + [ + "src/factory/decoratorconfig.ts~decoratorconfig#execute", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-member-execute", + "src/factory/DecoratorConfig.ts~DecoratorConfig#execute", + "member" + ], + [ + "src/factory/decoratorconfig.ts~decoratorconfig#getter", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-get-getter", + "src/factory/DecoratorConfig.ts~DecoratorConfig#getter", + "member" + ], + [ + "src/factory/decoratorconfig.ts~decoratorconfig#method", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-get-method", + "src/factory/DecoratorConfig.ts~DecoratorConfig#method", + "member" + ], + [ + "src/factory/decoratorconfig.ts~decoratorconfig#optionalparams", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-get-optionalParams", + "src/factory/DecoratorConfig.ts~DecoratorConfig#optionalParams", + "member" + ], + [ + "src/factory/decoratorconfig.ts~decoratorconfig#options", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-member-options", + "src/factory/DecoratorConfig.ts~DecoratorConfig#options", + "member" + ], + [ + "src/factory/decoratorconfig.ts~decoratorconfig#property", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-get-property", + "src/factory/DecoratorConfig.ts~DecoratorConfig#property", + "member" + ], + [ + "src/factory/decoratorconfig.ts~decoratorconfig#setter", + "class/src/factory/DecoratorConfig.ts~DecoratorConfig.html#instance-get-setter", + "src/factory/DecoratorConfig.ts~DecoratorConfig#setter", + "member" ], [ - "builddocs/throttleall.js", - "file/buildDocs/throttleAll.js.html", - "buildDocs/throttleAll.js", + "src/factory/decoratorfactory.ts", + "file/src/factory/DecoratorFactory.ts.html", + "src/factory/DecoratorFactory.ts", "file" ], [ - "builddocs/unary.js", - "file/buildDocs/unary.js.html", - "buildDocs/unary.js", - "file" + "src/factory/decoratorfactory.ts~internaldecoratorfactory#[name]", + "class/src/factory/DecoratorFactory.ts~InternalDecoratorFactory.html#instance-member-[name]", + "src/factory/DecoratorFactory.ts~InternalDecoratorFactory#[name]", + "member" ], [ - "builddocs/unary.spec.js", - "test-file/buildDocs/unary.spec.js.html", - "buildDocs/unary.spec.js", - "testFile" + "src/factory/decoratorfactory.ts~internaldecoratorfactory#createdecorator", + "class/src/factory/DecoratorFactory.ts~InternalDecoratorFactory.html#instance-method-createDecorator", + "src/factory/DecoratorFactory.ts~InternalDecoratorFactory#createDecorator", + "method" ], [ - "builddocs/utils/compositekeyweakmap.js", - "file/buildDocs/utils/CompositeKeyWeakMap.js.html", - "buildDocs/utils/CompositeKeyWeakMap.js", - "file" + "src/factory/decoratorfactory.ts~internaldecoratorfactory#createinstancedecorator", + "class/src/factory/DecoratorFactory.ts~InternalDecoratorFactory.html#instance-method-createInstanceDecorator", + "src/factory/DecoratorFactory.ts~InternalDecoratorFactory#createInstanceDecorator", + "method" ], [ - "builddocs/utils/bind.js", - "file/buildDocs/utils/bind.js.html", - "buildDocs/utils/bind.js", + "src/factory/common.ts", + "file/src/factory/common.ts.html", + "src/factory/common.ts", "file" ], [ - "builddocs/utils/copymetadata.js", - "file/buildDocs/utils/copyMetaData.js.html", - "buildDocs/utils/copyMetaData.js", - "file" + "src/flip.spec.ts", + "test-file/src/flip.spec.ts.html", + "src/flip.spec.ts", + "testFile" ], [ - "builddocs/utils/index.js", - "file/buildDocs/utils/index.js.html", - "buildDocs/utils/index.js", + "src/flip.ts", + "file/src/flip.ts.html", + "src/flip.ts", "file" ], [ - "builddocs/utils/log.js", - "file/buildDocs/utils/log.js.html", - "buildDocs/utils/log.js", - "file" + "src/flow.spec.ts", + "test-file/src/flow.spec.ts.html", + "src/flow.spec.ts", + "testFile" ], [ - "builddocs/utils/resolvefunction.js", - "file/buildDocs/utils/resolveFunction.js.html", - "buildDocs/utils/resolveFunction.js", + "src/flow.ts", + "file/src/flow.ts.html", + "src/flow.ts", "file" ], [ - "builddocs/utils/returnatindex.js", - "file/buildDocs/utils/returnAtIndex.js.html", - "buildDocs/utils/returnAtIndex.js", - "file" + "src/flowright.spec.ts", + "test-file/src/flowRight.spec.ts.html", + "src/flowRight.spec.ts", + "testFile" ], [ - "builddocs/wrap.js", - "file/buildDocs/wrap.js.html", - "buildDocs/wrap.js", + "src/flowright.ts", + "file/src/flowRight.ts.html", + "src/flowRight.ts", "file" ], [ - "builddocs/wrap.spec.js", - "test-file/buildDocs/wrap.spec.js.html", - "buildDocs/wrap.spec.js", - "testFile" - ], - [ - "", - "test-file/buildDocs/curry.spec.js.html#lineNumber4", - "curry", - "test" + "src/index.ts", + "file/src/index.ts.html", + "src/index.ts", + "file" ], [ - "", - "test-file/buildDocs/curry.spec.js.html#lineNumber5", - "curry should curry the method with default arity", - "test" + "src/memoize.spec.ts", + "test-file/src/memoize.spec.ts.html", + "src/memoize.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/curry.spec.js.html#lineNumber19", - "curry should curry the method with fixed arity", - "test" + "src/memoize.ts", + "file/src/memoize.ts.html", + "src/memoize.ts", + "file" ], [ - "", - "test-file/buildDocs/curry.spec.js.html#lineNumber33", - "curry should retain the class context", - "test" + "src/memoizeall.spec.ts", + "test-file/src/memoizeAll.spec.ts.html", + "src/memoizeAll.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/curryAll.spec.js.html#lineNumber4", - "curryAll", - "test" + "src/memoizeall.ts", + "file/src/memoizeAll.ts.html", + "src/memoizeAll.ts", + "file" ], [ - "", - "test-file/buildDocs/curryAll.spec.js.html#lineNumber5", - "curryAll should curry the method with default arity", - "test" + "src/mixin.spec.ts", + "test-file/src/mixin.spec.ts.html", + "src/mixin.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/curryAll.spec.js.html#lineNumber19", - "curryAll should curry the method with fixed arity", - "test" + "src/mixin.ts", + "file/src/mixin.ts.html", + "src/mixin.ts", + "file" ], [ - "", - "test-file/buildDocs/curryAll.spec.js.html#lineNumber33", - "curryAll should not retain the class context", - "test" + "src/negate.spec.ts", + "test-file/src/negate.spec.ts.html", + "src/negate.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/curryRight.spec.js.html#lineNumber4", - "curryRight", - "test" + "src/negate.ts", + "file/src/negate.ts.html", + "src/negate.ts", + "file" ], [ - "", - "test-file/buildDocs/curryRight.spec.js.html#lineNumber5", - "curryRight should curry the method with default arity", - "test" + "src/once.spec.ts", + "test-file/src/once.spec.ts.html", + "src/once.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/curryRight.spec.js.html#lineNumber18", - "curryRight should retain the class context", - "test" + "src/once.ts", + "file/src/once.ts.html", + "src/once.ts", + "file" ], [ - "", - "test-file/buildDocs/curryRightAll.spec.js.html#lineNumber4", - "curryRightAll", - "test" + "src/onceall.ts", + "file/src/onceAll.ts.html", + "src/onceAll.ts", + "file" ], [ - "", - "test-file/buildDocs/curryRightAll.spec.js.html#lineNumber5", - "curryRightAll should curry the method with default arity", - "test" + "src/overargs.spec.ts", + "test-file/src/overArgs.spec.ts.html", + "src/overArgs.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/debounce.spec.js.html#lineNumber4", - "debounce", - "test" + "src/overargs.ts", + "file/src/overArgs.ts.html", + "src/overArgs.ts", + "file" ], [ - "", - "test-file/buildDocs/debounce.spec.js.html#lineNumber50", - "debounce should contain the flush and cancel methods", - "test" + "src/partial.spec.ts", + "test-file/src/partial.spec.ts.html", + "src/partial.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/debounce.spec.js.html#lineNumber5", - "debounce should debounce the method", - "test" + "src/partial.ts", + "file/src/partial.ts.html", + "src/partial.ts", + "file" ], [ - "", - "test-file/buildDocs/debounce.spec.js.html#lineNumber26", - "debounce should debounce the property setter", - "test" + "src/partialright.spec.ts", + "test-file/src/partialRight.spec.ts.html", + "src/partialRight.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/debounceAll.spec.js.html#lineNumber4", - "debounceAll", - "test" + "src/partialright.ts", + "file/src/partialRight.ts.html", + "src/partialRight.ts", + "file" ], [ - "", - "test-file/buildDocs/debounceAll.spec.js.html#lineNumber5", - "debounceAll should debounce the method across instances", - "test" + "src/rearg.spec.ts", + "test-file/src/rearg.spec.ts.html", + "src/rearg.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/defer.spec.js.html#lineNumber5", - "defer", - "test" + "src/rearg.ts", + "file/src/rearg.ts.html", + "src/rearg.ts", + "file" ], [ - "", - "test-file/buildDocs/defer.spec.js.html#lineNumber26", - "defer should debounce the property setter", - "test" + "src/rest.spec.ts", + "test-file/src/rest.spec.ts.html", + "src/rest.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/defer.spec.js.html#lineNumber6", - "defer should defer the method", - "test" + "src/rest.ts", + "file/src/rest.ts.html", + "src/rest.ts", + "file" ], [ - "", - "test-file/buildDocs/delay.spec.js.html#lineNumber5", - "delay", - "test" + "src/shared.ts", + "file/src/shared.ts.html", + "src/shared.ts", + "file" ], [ - "", - "test-file/buildDocs/delay.spec.js.html#lineNumber26", - "delay should debounce the property setter", - "test" + "src/spread.spec.ts", + "test-file/src/spread.spec.ts.html", + "src/spread.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/delay.spec.js.html#lineNumber6", - "delay should delay the method", - "test" + "src/spread.ts", + "file/src/spread.ts.html", + "src/spread.ts", + "file" ], [ - "", - "test-file/buildDocs/flip.spec.js.html#lineNumber4", - "flip", - "test" + "src/tap.spec.ts", + "test-file/src/tap.spec.ts.html", + "src/tap.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/flip.spec.js.html#lineNumber5", - "flip should flip the arguments of the function", - "test" + "src/tap.ts", + "file/src/tap.ts.html", + "src/tap.ts", + "file" ], [ - "", - "test-file/buildDocs/flow.spec.js.html#lineNumber4", - "flow", - "test" + "src/throttle.spec.ts", + "test-file/src/throttle.spec.ts.html", + "src/throttle.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/flow.spec.js.html#lineNumber24", - "flow should compose and assign to the property", - "test" + "src/throttle.ts", + "file/src/throttle.ts.html", + "src/throttle.ts", + "file" ], [ - "", - "test-file/buildDocs/flow.spec.js.html#lineNumber5", - "flow should compose the functions", - "test" + "src/throttleall.ts", + "file/src/throttleAll.ts.html", + "src/throttleAll.ts", + "file" ], [ - "", - "test-file/buildDocs/flowRight.spec.js.html#lineNumber4", - "flowRight", - "test" + "src/unary.spec.ts", + "test-file/src/unary.spec.ts.html", + "src/unary.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/flowRight.spec.js.html#lineNumber5", - "flowRight should compose the functions", - "test" + "src/unary.ts", + "file/src/unary.ts.html", + "src/unary.ts", + "file" ], [ - "", - "test-file/buildDocs/flowRight.spec.js.html#lineNumber24", - "flowRight should compose the property", - "test" + "src/utils.ts", + "file/src/utils.ts.html", + "src/utils.ts", + "file" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber5", - "memoize", - "test" + "src/utils/compositekeyweakmap.ts", + "file/src/utils/CompositeKeyWeakMap.ts.html", + "src/utils/CompositeKeyWeakMap.ts", + "file" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber6", - "memoize should memoize the function", - "test" + "src/utils/compositekeyweakmap.ts~compositekeyweakmap#constructor", + "class/src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap.html#instance-constructor-constructor", + "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap#constructor", + "method" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber97", - "memoize with custom cache", - "test" + "src/utils/compositekeyweakmap.ts~compositekeyweakmap#get", + "class/src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap.html#instance-method-get", + "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap#get", + "method" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber98", - "memoize with custom cache should use the provided map", - "test" + "src/utils/compositekeyweakmap.ts~compositekeyweakmap#has", + "class/src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap.html#instance-method-has", + "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap#has", + "method" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber83", - "memoize with custom map type", - "test" + "src/utils/compositekeyweakmap.ts~compositekeyweakmap#set", + "class/src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap.html#instance-method-set", + "src/utils/CompositeKeyWeakMap.ts~CompositeKeyWeakMap#set", + "method" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber84", - "memoize with custom map type should create the map of type", - "test" + "src/utils/assignall.ts", + "file/src/utils/assignAll.ts.html", + "src/utils/assignAll.ts", + "file" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber31", - "memoize with function resolver", - "test" + "src/utils/bind.ts", + "file/src/utils/bind.ts.html", + "src/utils/bind.ts", + "file" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber32", - "memoize with function resolver should resolve the key", - "test" + "src/utils/copymetadata.ts", + "file/src/utils/copyMetaData.ts.html", + "src/utils/copyMetaData.ts", + "file" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber55", - "memoize with string resolver", - "test" + "src/utils/isdecoratorargs.spec.ts", + "test-file/src/utils/isDecoratorArgs.spec.ts.html", + "src/utils/isDecoratorArgs.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/memoize.spec.js.html#lineNumber56", - "memoize with string resolver should resolve the key", - "test" + "src/utils/isdecoratorargs.ts", + "file/src/utils/isDecoratorArgs.ts.html", + "src/utils/isDecoratorArgs.ts", + "file" ], [ - "", - "test-file/buildDocs/memoizeAll.spec.js.html#lineNumber5", - "memoizeAll", - "test" + "src/utils/isprototypeaccess.ts", + "file/src/utils/isPrototypeAccess.ts.html", + "src/utils/isPrototypeAccess.ts", + "file" ], [ - "", - "test-file/buildDocs/memoizeAll.spec.js.html#lineNumber6", - "memoizeAll should memoize the function", - "test" + "src/utils/log.ts", + "file/src/utils/log.ts.html", + "src/utils/log.ts", + "file" ], [ - "", - "test-file/buildDocs/memoizeAll.spec.js.html#lineNumber28", - "memoizeAll with function resolver", - "test" + "src/utils/resolvefunction.ts", + "file/src/utils/resolveFunction.ts.html", + "src/utils/resolveFunction.ts", + "file" ], [ - "", - "test-file/buildDocs/memoizeAll.spec.js.html#lineNumber29", - "memoizeAll with function resolver should resolve the key", - "test" + "src/utils/returnatindex.ts", + "file/src/utils/returnAtIndex.ts.html", + "src/utils/returnAtIndex.ts", + "file" ], [ - "", - "test-file/buildDocs/mixin.spec.js.html#lineNumber4", - "mixin", - "test" + "src/utils/wrapconstructor.spec.ts", + "test-file/src/utils/wrapConstructor.spec.ts.html", + "src/utils/wrapConstructor.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/mixin.spec.js.html#lineNumber5", - "mixin should mixin the object", - "test" + "src/utils/wrapconstructor.ts", + "file/src/utils/wrapConstructor.ts.html", + "src/utils/wrapConstructor.ts", + "file" ], [ - "", - "test-file/buildDocs/combinationTest.spec.js.html#lineNumber8", - "multiple decorators", - "test" + "src/wrap.spec.ts", + "test-file/src/wrap.spec.ts.html", + "src/wrap.spec.ts", + "testFile" ], [ - "", - "test-file/buildDocs/combinationTest.spec.js.html#lineNumber30", - "multiple decorators when combining proto and instance decorators", - "test" + "src/wrap.ts", + "file/src/wrap.ts.html", + "src/wrap.ts", + "file" ], [ "", - "test-file/buildDocs/combinationTest.spec.js.html#lineNumber31", - "multiple decorators when combining proto and instance decorators should apply both decorators", + "test-file/src/tap.spec.ts.html#lineNumber9", + "tap", "test" ], [ "", - "test-file/buildDocs/combinationTest.spec.js.html#lineNumber54", - "multiple decorators when combining proto and instance decorators when proto is after instance", + "test-file/src/tap.spec.ts.html#lineNumber10", + "tap should return the first argument", "test" ], [ "", - "test-file/buildDocs/combinationTest.spec.js.html#lineNumber55", - "multiple decorators when combining proto and instance decorators when proto is after instance should only apply the instance decorator", + "test-file/src/tap.spec.ts.html#lineNumber36", + "tap should return the first argument (paramless)", "test" ], [ "", - "test-file/buildDocs/combinationTest.spec.js.html#lineNumber9", - "multiple decorators when using multiple instance decorators", + "test-file/src/throttle.spec.ts.html#lineNumber10", + "throttle", "test" ], [ "", - "test-file/buildDocs/combinationTest.spec.js.html#lineNumber10", - "multiple decorators when using multiple instance decorators should apply both decorators", + "test-file/src/throttle.spec.ts.html#lineNumber172", + "throttle should contain the cancel and flush methods", "test" ], [ "", - "test-file/buildDocs/negate.spec.js.html#lineNumber4", - "negate", + "test-file/src/throttle.spec.ts.html#lineNumber77", + "throttle should debounce the property setter", "test" ], [ "", - "test-file/buildDocs/negate.spec.js.html#lineNumber5", - "negate should inverse the result of the function", + "test-file/src/throttle.spec.ts.html#lineNumber11", + "throttle should throttle the method", "test" ], [ "", - "test-file/buildDocs/once.spec.js.html#lineNumber4", - "once", + "test-file/src/throttle.spec.ts.html#lineNumber45", + "throttle should throttle the method (paramless)", "test" ], [ "", - "test-file/buildDocs/once.spec.js.html#lineNumber5", - "once should invoke the method only once", + "test-file/src/unary.spec.ts.html#lineNumber9", + "unary", "test" ], [ "", - "test-file/buildDocs/overArgs.spec.js.html#lineNumber5", - "overArgs", + "test-file/src/unary.spec.ts.html#lineNumber10", + "unary should only invoke with one argument", "test" ], [ "", - "test-file/buildDocs/overArgs.spec.js.html#lineNumber6", - "overArgs should transform each argument", + "test-file/src/unary.spec.ts.html#lineNumber36", + "unary should only invoke with one argument (paramless)", "test" ], [ "", - "test-file/buildDocs/partial.spec.js.html#lineNumber4", - "partial", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber3", + "when determining if args are from a decorator", "test" ], [ "", - "test-file/buildDocs/partial.spec.js.html#lineNumber5", - "partial should create a partially applied function", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber4", + "when determining if args are from a decorator and when the arguments are gte to 2", "test" ], [ "", - "test-file/buildDocs/partialRight.spec.js.html#lineNumber4", - "partialRight", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber53", + "when determining if args are from a decorator and when the arguments are gte to 2", "test" ], [ "", - "test-file/buildDocs/partialRight.spec.js.html#lineNumber5", - "partialRight should create a partially applied function", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber5", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object", "test" ], [ "", - "test-file/buildDocs/rearg.spec.js.html#lineNumber4", - "rearg", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber6", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is a string", "test" ], [ "", - "test-file/buildDocs/rearg.spec.js.html#lineNumber5", - "rearg should change the order of arguments", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber35", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is a string and when the first argument does not have a constructor property", "test" ], [ "", - "test-file/buildDocs/rest.spec.js.html#lineNumber4", - "rest", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber36", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is a string and when the first argument does not have a constructor property should return false", "test" ], [ "", - "test-file/buildDocs/rest.spec.js.html#lineNumber5", - "rest should change the order of arguments", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber7", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is a string and when the first argument has a constructor property", "test" ], [ "", - "test-file/buildDocs/spread.spec.js.html#lineNumber4", - "spread", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber21", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is a string and when the first argument has a constructor property and when the constructors prototype is not the first argument", "test" ], [ "", - "test-file/buildDocs/spread.spec.js.html#lineNumber5", - "spread should spread the arguments", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber22", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is a string and when the first argument has a constructor property and when the constructors prototype is not the first argument should return false", "test" ], [ "", - "test-file/buildDocs/tap.spec.js.html#lineNumber4", - "tap", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber8", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is a string and when the first argument has a constructor property and when the constructors prototype is the first argument", "test" ], [ "", - "test-file/buildDocs/tap.spec.js.html#lineNumber5", - "tap should return the first argument", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber9", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is a string and when the first argument has a constructor property and when the constructors prototype is the first argument should return true", "test" ], [ "", - "test-file/buildDocs/throttle.spec.js.html#lineNumber5", - "throttle", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber41", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is not a string", "test" ], [ "", - "test-file/buildDocs/throttle.spec.js.html#lineNumber72", - "throttle should contain the cancel and flush methods", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber42", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is an object and when the second argument is not a string should return false", "test" ], [ "", - "test-file/buildDocs/throttle.spec.js.html#lineNumber51", - "throttle should debounce the property getter", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber47", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is not an object", "test" ], [ "", - "test-file/buildDocs/throttle.spec.js.html#lineNumber26", - "throttle should debounce the property setter", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber48", + "when determining if args are from a decorator and when the arguments are gte to 2 and when the first argument is not an object should return false", "test" ], [ "", - "test-file/buildDocs/throttle.spec.js.html#lineNumber6", - "throttle should throttle the method", + "test-file/src/utils/isDecoratorArgs.spec.ts.html#lineNumber54", + "when determining if args are from a decorator and when the arguments are gte to 2 should return false", "test" ], [ "", - "test-file/buildDocs/unary.spec.js.html#lineNumber4", - "unary", + "test-file/src/utils/wrapConstructor.spec.ts.html#lineNumber3", + "when wrapping a constructor", "test" ], [ "", - "test-file/buildDocs/unary.spec.js.html#lineNumber5", - "unary should only invoke with one argument", + "test-file/src/utils/wrapConstructor.spec.ts.html#lineNumber4", + "when wrapping a constructor should retain the original name of the constructor", "test" ], [ "", - "test-file/buildDocs/wrap.spec.js.html#lineNumber4", + "test-file/src/wrap.spec.ts.html#lineNumber9", "wrap", "test" ], [ "", - "test-file/buildDocs/wrap.spec.js.html#lineNumber5", + "test-file/src/wrap.spec.ts.html#lineNumber10", "wrap should wrap the function", "test" ] diff --git a/docs/script/test-summary.js b/docs/script/test-summary.js index 2f32cb0..2abad3b 100644 --- a/docs/script/test-summary.js +++ b/docs/script/test-summary.js @@ -3,7 +3,7 @@ var button = ev.target; var parent = ev.target.parentElement; while(parent) { - if (parent.tagName === 'TR' && parent.classList.contains('test-describe')) break; + if (parent.tagName === 'TR' && parent.classList.contains('test-interface')) break; parent = parent.parentElement; } @@ -42,7 +42,7 @@ } } - var buttons = document.querySelectorAll('.test-summary tr.test-describe .toggle'); + var buttons = document.querySelectorAll('.test-summary tr.test-interface .toggle'); for (var i = 0; i < buttons.length; i++) { buttons[i].addEventListener('click', toggle); } diff --git a/docs/source.html b/docs/source.html index bd96c15..884d85b 100644 --- a/docs/source.html +++ b/docs/source.html @@ -2,15 +2,13 @@ - - Source | Lodash Decorators Documentation API Document + + Source | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository -

Source 21/75

+

Source 82/117

@@ -104,494 +130,552 @@ - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + + + + + + + + + - - - - + + + + - + - - - - - - + + + + + + - - - - - - + + + + + + - - - - + + + + - + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - + - - - - + + + + - - - - - - + + + + + + - - - - - - + + + + + + - + - - - + + + - + - - - - + + + + - + - - - + + + - + - - - + + + - + - - - + + + - + - - - + + + - - - - - - + + + + + + - - - - - - + + + + + + - + - - - + + + - - - - - - + + + + + + - - - - - - + + + + + + + + + + + + + + - + - - - - +InternalDecoratorFactory + + + + - + - - - + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - + - + - + - - - - + + + + - + - - - + + + - + - - - - + + + + - + - - - - + + + + - + - - - - + + + + - + - - - - + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - + - - - + + + - + - - - + + + - + - - - + + + - + - - - + + + - + - - - + + + - - - - - - + + + + + + - + - - - + + + - + - - - + + + - - - - - - + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + + + + + + + + +
buildDocs/after.jsAfter100 %1/1709 byte232017-04-05 23:15:50 (UTC)src/after.tsAfter +decorator50 %1/2822 byte322021-09-03 22:26:35 (UTC)
buildDocs/afterAll.jsAfterAll100 %1/1879 byte282017-04-05 23:15:50 (UTC)src/afterAll.tsAfterAll +decorator50 %1/2991 byte372021-09-03 22:26:35 (UTC)
buildDocs/applicators/Applicator.jsApplicator0 %0/128 byte22017-04-05 23:15:50 (UTC)src/applicators.ts--535 byte112021-09-03 22:26:35 (UTC)
buildDocs/applicators/BindApplicator.jsBindApplicator0 %0/2279 byte92017-04-05 23:15:50 (UTC)src/applicators/Applicator.tsApplicator100 %1/1180 byte62021-09-03 22:26:35 (UTC)
buildDocs/applicators/ComposeApplicator.jsComposeApplicator0 %0/4827 byte272017-04-05 23:15:50 (UTC)src/applicators/BindApplicator.tsBindApplicator100 %2/2292 byte102021-09-03 22:46:27 (UTC)
buildDocs/applicators/InvokeApplicator.jsInvokeApplicator0 %0/2283 byte82017-04-05 23:15:50 (UTC)src/applicators/ComposeApplicator.tsComposeApplicator60 %3/5798 byte322021-09-03 22:26:35 (UTC)
buildDocs/applicators/MemoizeApplicator.jsMemoizeApplicator0 %0/2872 byte222017-04-05 23:15:50 (UTC)src/applicators/InvokeApplicator.tsInvokeApplicator100 %2/2310 byte92021-09-03 22:47:00 (UTC)
src/applicators/MemoizeApplicator.tsMemoizeApplicator100 %2/2913 byte342021-09-03 22:26:35 (UTC)
buildDocs/applicators/PartialApplicator.jsPartialApplicator0 %0/2361 bytesrc/applicators/PartialApplicator.tsPartialApplicator100 %2/2395 byte 92017-04-05 23:15:50 (UTC)2021-09-03 22:26:35 (UTC)
buildDocs/applicators/PartialedApplicator.jsPartialedApplicator0 %0/2238 byte72017-04-05 23:15:50 (UTC)src/applicators/PartialValueApplicator.tsPartialValueApplicator100 %2/2590 byte202021-09-03 22:26:35 (UTC)
buildDocs/applicators/PostValueApplicator.jsPostValueApplicator0 %0/2202 byte62017-04-05 23:15:50 (UTC)src/applicators/PartialedApplicator.tsPartialedApplicator100 %2/2422 byte102021-09-03 22:47:07 (UTC)
buildDocs/applicators/PreValueApplicator.jsPreValueApplicator0 %0/2194 bytesrc/applicators/PostValueApplicator.tsPostValueApplicator100 %2/2228 byte 62017-04-05 23:15:50 (UTC)2021-09-03 22:47:13 (UTC)
buildDocs/applicators/WrapApplicator.jsWrapApplicator0 %0/2354 byte92017-04-05 23:15:50 (UTC)src/applicators/PreValueApplicator.tsPreValueApplicator100 %2/2227 byte62021-09-03 22:26:35 (UTC)
buildDocs/applicators/index.js--361 byte102017-04-05 23:15:50 (UTC)src/applicators/WrapApplicator.tsWrapApplicator100 %2/2388 byte92021-09-03 22:26:35 (UTC)
buildDocs/ary.jsAry100 %1/1614 byte222017-04-05 23:15:50 (UTC)src/ary.tsAry +decorator50 %1/2739 byte312021-09-03 22:26:35 (UTC)
buildDocs/attempt.jssrc/attempt.ts Attempt100 %1/1871 byte282017-04-05 23:15:50 (UTC)50 %1/21022 byte372021-09-03 22:26:35 (UTC)
buildDocs/before.jsBefore100 %1/1904 byte302017-04-05 23:15:50 (UTC)src/before.tsBefore +decorator50 %1/21017 byte392021-09-03 22:26:35 (UTC)
buildDocs/beforeAll.jsBeforeAll100 %1/1965 byte332017-04-05 23:15:50 (UTC)src/beforeAll.tsBeforeAll +decorator50 %1/21077 byte422021-09-03 22:26:35 (UTC)
buildDocs/bind.jssrc/bind.ts Bind 100 %1/11015 byte312017-04-05 23:15:50 (UTC)1121 byte382021-09-03 22:26:35 (UTC)
buildDocs/bindAll.jssrc/bindAll.ts BindAll100 %1/11679 byte552017-04-05 23:15:50 (UTC)100 %2/21873 byte692021-09-03 22:47:33 (UTC)
buildDocs/curry.jssrc/curry.ts Curry 100 %1/11273 byte322017-04-05 23:15:50 (UTC)1372 byte372021-09-03 22:26:35 (UTC)
buildDocs/curryAll.jssrc/curryAll.ts CurryAll 100 %1/11224 byte302017-04-05 23:15:50 (UTC)1315 byte352021-09-03 22:26:35 (UTC)
buildDocs/curryRight.jssrc/curryRight.ts CurryRight 100 %1/11207 byte322017-04-05 23:15:50 (UTC)1311 byte372021-09-03 22:26:35 (UTC)
buildDocs/curryRightAll.jssrc/curryRightAll.ts CurryRightAll 100 %1/11155 byte302017-04-05 23:15:50 (UTC)1263 byte352021-09-03 22:26:35 (UTC)
buildDocs/debounce.jsDebounce100 %1/11714 byte412017-04-05 23:15:50 (UTC)src/debounce.tsDebounce +decorator50 %1/21911 byte502021-09-03 22:26:35 (UTC)
buildDocs/debounceAll.jsDebounceAll100 %1/11773 byte432017-04-05 23:15:50 (UTC)src/debounceAll.tsDebounceAll +decorator50 %1/21979 byte522021-09-03 22:26:35 (UTC)
buildDocs/defer.jssrc/defer.ts Defer 100 %1/1815 byte312017-04-05 23:15:50 (UTC)891 byte352021-09-03 22:26:35 (UTC)
buildDocs/delay.jsDelay100 %1/11010 byte362017-04-05 23:15:50 (UTC)src/delay.tsDelay +decorator50 %1/21222 byte482021-09-03 22:26:35 (UTC)
buildDocs/factory/DecoratorConfig.jsDecoratorConfig0 %0/10691 byte222017-04-05 23:15:50 (UTC)src/factory.ts--121 byte32021-09-03 22:26:35 (UTC)
src/factory/DecoratorConfig.tsDecoratorConfig63 %7/111047 byte422021-09-03 22:26:35 (UTC)
buildDocs/factory/DecoratorFactory.jssrc/factory/DecoratorFactory.ts DecoratorFactory -InternalDecoratorFactory0 %0/55915 byte1252017-04-05 23:15:50 (UTC)71 %5/76651 byte2012021-09-03 22:51:56 (UTC)
buildDocs/factory/common.jssrc/factory/common.ts InstanceChainMap 0 %0/1107 byte22017-04-05 23:15:50 (UTC)1785 byte372021-09-03 22:43:28 (UTC)
buildDocs/factory/index.js--97 byte32017-04-05 23:15:50 (UTC)src/flip.tsFlip +decorator50 %1/2960 byte402021-09-03 22:26:35 (UTC)
buildDocs/flip.jsFlip100 %1/1667 byte252017-04-05 23:15:50 (UTC)src/flow.tsFlow +decorator50 %1/2987 byte402021-09-03 22:26:35 (UTC)
buildDocs/flow.jsFlow100 %1/1825 byte272017-04-05 23:15:50 (UTC)src/flowRight.tsFlowRight +decorator50 %1/21023 byte402021-09-03 22:26:35 (UTC)
buildDocs/flowRight.jsFlowRight100 %1/1861 byte272017-04-05 23:15:50 (UTC)
buildDocs/index.jssrc/index.ts - - 963 byte 362017-04-05 23:15:50 (UTC)2021-09-03 22:26:35 (UTC)
buildDocs/memoize.jssrc/memoize.ts Memoize0 %0/1323 byte62017-04-05 23:15:50 (UTC)100 %1/11331 byte402021-09-03 22:26:35 (UTC)
buildDocs/memoizeAll.jssrc/memoizeAll.ts MemoizeAll 100 %1/1505 byte102017-04-05 23:15:50 (UTC)680 byte162021-09-03 22:26:35 (UTC)
buildDocs/mixin.jssrc/mixin.ts Mixin0 %0/1215 byte92017-04-05 23:15:50 (UTC)100 %1/1572 byte302021-09-03 22:26:35 (UTC)
buildDocs/negate.jssrc/negate.ts Negate0 %0/1311 byte62017-04-05 23:15:50 (UTC)100 %1/1871 byte342021-09-03 22:26:35 (UTC)
buildDocs/once.jssrc/once.ts Once0 %0/1325 byte62017-04-05 23:15:50 (UTC)100 %1/1787 byte292021-09-03 22:26:35 (UTC)
buildDocs/onceAll.jssrc/onceAll.ts OnceAll0 %0/1331 byte62017-04-05 23:15:50 (UTC)100 %1/1847 byte302021-09-03 22:26:35 (UTC)
buildDocs/overArgs.jsOverArgs0 %0/1341 byte62017-04-05 23:15:50 (UTC)src/overArgs.tsOverArgs +decorator50 %1/2869 byte332021-09-03 22:26:35 (UTC)
buildDocs/partial.jsPartial0 %0/1358 byte62017-04-05 23:15:50 (UTC)src/partial.tsPartial +decorator50 %1/2884 byte362021-09-03 22:26:35 (UTC)
buildDocs/partialRight.jsPartialRight0 %0/1388 byte62017-04-05 23:15:50 (UTC)src/partialRight.tsPartialRight +decorator50 %1/2502 byte142021-09-03 22:26:35 (UTC)
buildDocs/rearg.jsRearg0 %0/1305 byte62017-04-05 23:15:50 (UTC)src/rearg.tsRearg +decorator50 %1/2564 byte192021-09-03 22:26:35 (UTC)
buildDocs/rest.jssrc/rest.ts Rest 0 %0/1299 byte62017-04-05 23:15:50 (UTC)398 byte102021-09-03 22:26:35 (UTC)
buildDocs/shared.jssrc/shared.ts - -0 byte2017-04-05 23:15:50 (UTC)702 byte342021-09-03 22:26:35 (UTC)
buildDocs/spread.jssrc/spread.ts Spread 0 %0/1311 byte62017-04-05 23:15:50 (UTC)412 byte102021-09-03 22:26:35 (UTC)
buildDocs/tap.jssrc/tap.ts Tap 100 %1/1440 byte102017-04-05 23:15:50 (UTC)531 byte132021-09-03 22:26:35 (UTC)
buildDocs/throttle.jssrc/throttle.ts Throttle ThrottleGetter ThrottleSetter 0 %0/3747 byte102017-04-05 23:15:50 (UTC)1042 byte222021-09-03 22:26:35 (UTC)
buildDocs/throttleAll.jsThrottleAll0 %0/1353 byte62017-04-05 23:15:50 (UTC)src/throttleAll.tsThrottleAll +decorator50 %1/2558 byte142021-09-03 22:26:35 (UTC)
buildDocs/unary.jssrc/unary.ts Unary 0 %0/1305 byte62017-04-05 23:15:50 (UTC)395 byte102021-09-03 22:26:35 (UTC)
buildDocs/utils/CompositeKeyWeakMap.jssrc/utils.ts - -973 byte392017-04-05 23:15:50 (UTC)382 byte102021-09-03 22:26:35 (UTC)
buildDocs/utils/bind.js--273 byte122017-04-05 23:15:50 (UTC)src/utils/CompositeKeyWeakMap.tsCompositeKeyWeakMap83 %5/6914 byte492021-09-03 22:26:35 (UTC)
buildDocs/utils/copyMetaData.js--337 bytesrc/utils/assignAll.tsassignAll +assignProperty100 %2/21251 byte492021-09-03 22:26:35 (UTC)
src/utils/bind.tsbind100 %1/1299 byte132021-09-03 22:26:35 (UTC)
src/utils/copyMetaData.tscopyMetadata100 %1/1375 byte142021-09-03 22:26:35 (UTC)
src/utils/isDecoratorArgs.tsisMethodOrPropertyDecoratorArgs100 %1/1385 byte 112017-04-05 23:15:50 (UTC)2021-09-03 22:26:35 (UTC)
buildDocs/utils/index.js--186 byte62017-04-05 23:15:50 (UTC)src/utils/isPrototypeAccess.tsisPrototypeAccess100 %1/1233 byte52021-09-03 21:34:58 (UTC)
buildDocs/utils/log.js--304 byte162017-04-05 23:15:50 (UTC)src/utils/log.tslog100 %1/1203 byte112021-09-03 22:26:35 (UTC)
buildDocs/utils/resolveFunction.js--1052 byte282017-04-05 23:15:50 (UTC)src/utils/resolveFunction.tsresolveFunction100 %1/11078 byte302021-09-03 22:26:35 (UTC)
buildDocs/utils/returnAtIndex.js--458 byte212017-04-05 23:15:50 (UTC)src/utils/returnAtIndex.tsreturnAtIndex100 %1/1332 byte162021-09-03 22:25:54 (UTC)
buildDocs/wrap.jsWrap0 %0/1291 byte62017-04-05 23:15:50 (UTC)src/utils/wrapConstructor.tswrapConstructor50 %1/2943 byte352021-09-03 22:26:35 (UTC)
src/wrap.tsWrap +decorator50 %1/2468 byte192021-09-03 22:27:55 (UTC)
diff --git a/docs/test-file/buildDocs/after.spec.js.html b/docs/test-file/buildDocs/after.spec.js.html deleted file mode 100644 index 57143da..0000000 --- a/docs/test-file/buildDocs/after.spec.js.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - buildDocs/after.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/after.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { After } from './after';
-describe('after', () => {
-    it('should invoke the method after 3 times', () => {
-        let calls = 0;
-        class MyClass {
-            constructor() {
-                this.props = [];
-            }
-            set prop(val) {
-                this.props.push(val);
-            }
-            fn() {
-                calls++;
-            }
-        }
-        tslib_1.__decorate([
-            After(2)
-        ], MyClass.prototype, "prop", null);
-        tslib_1.__decorate([
-            After(3)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        const myClass2 = new MyClass();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        expect(calls, 'single class').to.equal(2);
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        expect(calls, 'multiple class').to.equal(4);
-        myClass.prop = 50;
-        myClass.prop = 100;
-        expect(myClass.props.length, 'setter length').to.equal(1);
-        expect(myClass.props[0], 'setter value').to.equal(100);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/afterAll.spec.js.html b/docs/test-file/buildDocs/afterAll.spec.js.html deleted file mode 100644 index 17a1872..0000000 --- a/docs/test-file/buildDocs/afterAll.spec.js.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - buildDocs/afterAll.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/afterAll.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { AfterAll } from './afterAll';
-describe('afterAll', () => {
-    it('should invoke the method after 3 times', () => {
-        let calls = 0;
-        class MyClass {
-            fn() {
-                calls++;
-            }
-        }
-        tslib_1.__decorate([
-            AfterAll(3)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        const myClass2 = new MyClass();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        expect(calls, 'single class').to.equal(2);
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        expect(calls, 'multiple class').to.equal(6);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/ary.spec.js.html b/docs/test-file/buildDocs/ary.spec.js.html deleted file mode 100644 index 3e773b9..0000000 --- a/docs/test-file/buildDocs/ary.spec.js.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - buildDocs/ary.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/ary.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Ary } from './ary';
-describe('ary', () => {
-    it('should invoke the method with specified arguments', () => {
-        class MyClass {
-            fn(...args) {
-                expect(args.length).to.equal(2);
-            }
-        }
-        tslib_1.__decorate([
-            Ary(2)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn(1, 2, 3, 4, 5);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/attempt.spec.js.html b/docs/test-file/buildDocs/attempt.spec.js.html deleted file mode 100644 index e718549..0000000 --- a/docs/test-file/buildDocs/attempt.spec.js.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - buildDocs/attempt.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/attempt.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Attempt } from './attempt';
-describe('attempt', () => {
-    it('should catch the error and return it', () => {
-        class MyClass {
-            fn() {
-                throw new Error();
-            }
-            fn2() {
-                return 10;
-            }
-        }
-        tslib_1.__decorate([
-            Attempt()
-        ], MyClass.prototype, "fn", null);
-        tslib_1.__decorate([
-            Attempt()
-        ], MyClass.prototype, "fn2", null);
-        const myClass = new MyClass();
-        expect(myClass.fn()).to.be.an.instanceOf(Error);
-        expect(myClass.fn2()).to.equal(10);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/before.spec.js.html b/docs/test-file/buildDocs/before.spec.js.html deleted file mode 100644 index 057e344..0000000 --- a/docs/test-file/buildDocs/before.spec.js.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - buildDocs/before.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/before.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Before } from './before';
-describe('before', () => {
-    it('should invoke the method before 3 times', () => {
-        let calls = 0;
-        class MyClass {
-            fn() {
-                calls++;
-            }
-        }
-        tslib_1.__decorate([
-            Before(3)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        const myClass2 = new MyClass();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        expect(calls, 'single class').to.equal(2);
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        expect(calls, 'multiple class').to.equal(4);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/beforeAll.spec.js.html b/docs/test-file/buildDocs/beforeAll.spec.js.html deleted file mode 100644 index 8d16958..0000000 --- a/docs/test-file/buildDocs/beforeAll.spec.js.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - buildDocs/beforeAll.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/beforeAll.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { BeforeAll } from './beforeAll';
-describe('beforeAll', () => {
-    it('should invoke the method before 3 times', () => {
-        let calls = 0;
-        class MyClass {
-            fn() {
-                calls++;
-            }
-        }
-        tslib_1.__decorate([
-            BeforeAll(3)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        const myClass2 = new MyClass();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        expect(calls, 'single class').to.equal(2);
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        expect(calls, 'multiple class').to.equal(2);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/bind.spec.js.html b/docs/test-file/buildDocs/bind.spec.js.html deleted file mode 100644 index 30a92b2..0000000 --- a/docs/test-file/buildDocs/bind.spec.js.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - buildDocs/bind.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/bind.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Bind } from './bind';
-import { Once } from './once';
-describe('bind', () => {
-    it('should bind the context of the method', () => {
-        let context;
-        class MyClass {
-            fn() {
-                context = this;
-            }
-        }
-        tslib_1.__decorate([
-            Bind()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        const myClass2 = new MyClass();
-        myClass.fn.call(null);
-        expect(context).to.equal(myClass);
-        myClass2.fn.call(null);
-        expect(context).to.equal(myClass2);
-    });
-    it('should bind with other decorators', () => {
-        let context;
-        class MyClass {
-            fn() {
-                context = this;
-            }
-        }
-        tslib_1.__decorate([
-            Once(),
-            Bind()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn.call(null);
-        expect(context).to.equal(myClass);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/bindAll.spec.js.html b/docs/test-file/buildDocs/bindAll.spec.js.html deleted file mode 100644 index 7d3bfa3..0000000 --- a/docs/test-file/buildDocs/bindAll.spec.js.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - buildDocs/bindAll.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/bindAll.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { BindAll } from './bindAll';
-describe('bindAll', () => {
-    it('should bind all method to the context', () => {
-        let context;
-        class Parent {
-            fn() {
-                context = this;
-            }
-        }
-        let MyClass = class MyClass extends Parent {
-            fn2() {
-                context = this;
-            }
-        };
-        MyClass = tslib_1.__decorate([
-            BindAll()
-        ], MyClass);
-        const myClass = new MyClass();
-        myClass.fn.call(null);
-        expect(context).to.equal(myClass);
-        myClass.fn2.call(null);
-        expect(context).to.equal(myClass);
-    });
-    it('should bind only specified methods to the context', () => {
-        let context;
-        class Parent {
-            fn() {
-                context = this;
-            }
-        }
-        let MyClass = class MyClass extends Parent {
-            fn2() {
-                context = this;
-            }
-        };
-        MyClass = tslib_1.__decorate([
-            BindAll(['fn'])
-        ], MyClass);
-        const myClass = new MyClass();
-        myClass.fn.call(null);
-        expect(context).to.equal(myClass);
-        myClass.fn2.call(null);
-        expect(context).to.equal(null);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/combinationTest.spec.js.html b/docs/test-file/buildDocs/combinationTest.spec.js.html deleted file mode 100644 index c8a44b4..0000000 --- a/docs/test-file/buildDocs/combinationTest.spec.js.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - buildDocs/combinationTest.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/combinationTest.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { spy } from 'sinon';
-import { Bind } from './bind';
-import { Memoize } from './memoize';
-import { Curry } from './curry';
-import { Delay } from './delay';
-describe('multiple decorators', () => {
-    describe('when using multiple instance decorators', () => {
-        it('should apply both decorators', () => {
-            const _spy = spy();
-            class MyClass {
-                fn(n) {
-                    expect(this).to.equal(myClass);
-                    _spy();
-                }
-            }
-            tslib_1.__decorate([
-                Bind(),
-                Memoize()
-            ], MyClass.prototype, "fn", null);
-            const myClass = new MyClass();
-            myClass.fn.call(null, 1);
-            myClass.fn.call(null, 2);
-            myClass.fn.call(null, 1);
-            myClass.fn.call(null, 2);
-            expect(_spy.callCount).to.equal(2);
-        });
-    });
-    describe('when combining proto and instance decorators', () => {
-        it('should apply both decorators', done => {
-            const _spy = spy();
-            class MyClass {
-                fn(n, n2) {
-                    expect(this).to.equal(myClass);
-                    _spy(n, n2);
-                }
-            }
-            tslib_1.__decorate([
-                Curry(2),
-                Delay(10)
-            ], MyClass.prototype, "fn", null);
-            const myClass = new MyClass();
-            const add10 = myClass.fn(10);
-            expect(_spy.called).to.be.false;
-            add10(5);
-            expect(_spy.called).to.be.false;
-            setTimeout(() => {
-                expect(_spy.callCount).to.equal(1);
-                expect(_spy.getCalls()[0].args).to.eql([10, 5]);
-                done();
-            }, 20);
-        });
-        describe('when proto is after instance', () => {
-            it('should only apply the instance decorator', () => {
-                const _spy = spy();
-                class MyClass {
-                    fn(n, n2) {
-                        expect(this).to.equal(myClass);
-                        _spy(n, n2);
-                    }
-                }
-                tslib_1.__decorate([
-                    Delay(10),
-                    Curry(2)
-                ], MyClass.prototype, "fn", null);
-                const myClass = new MyClass();
-                const add10 = myClass.fn(10);
-                expect(_spy.called).to.be.false;
-                add10(5);
-                expect(_spy.called).to.be.true;
-                expect(_spy.getCalls()[0].args).to.eql([10, 5]);
-            });
-        });
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/curry.spec.js.html b/docs/test-file/buildDocs/curry.spec.js.html deleted file mode 100644 index e7e543a..0000000 --- a/docs/test-file/buildDocs/curry.spec.js.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - buildDocs/curry.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/curry.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Curry } from './curry';
-describe('curry', () => {
-    it('should curry the method with default arity', () => {
-        class MyClass {
-            add(a, b) {
-                return a + b;
-            }
-        }
-        tslib_1.__decorate([
-            Curry()
-        ], MyClass.prototype, "add", null);
-        const myClass = new MyClass();
-        const add5 = myClass.add(5);
-        expect(add5).to.be.an.instanceOf(Function);
-        expect(add5(10)).to.equal(15);
-    });
-    it('should curry the method with fixed arity', () => {
-        class MyClass {
-            add(a, b, c) {
-                return a + b * c;
-            }
-        }
-        tslib_1.__decorate([
-            Curry(2)
-        ], MyClass.prototype, "add", null);
-        const myClass = new MyClass();
-        const add5 = myClass.add(5);
-        expect(add5).to.be.an.instanceOf(Function);
-        expect(add5(10, 2)).to.equal(25);
-    });
-    it('should retain the class context', () => {
-        class MyClass {
-            constructor() {
-                this.value = 10;
-            }
-            add(a, b) {
-                return (a + b) * this.value;
-            }
-        }
-        tslib_1.__decorate([
-            Curry()
-        ], MyClass.prototype, "add", null);
-        const myClass = new MyClass();
-        const add5 = myClass.add(5);
-        expect(add5(2)).to.equal(70);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/curryAll.spec.js.html b/docs/test-file/buildDocs/curryAll.spec.js.html deleted file mode 100644 index 647c8ea..0000000 --- a/docs/test-file/buildDocs/curryAll.spec.js.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - buildDocs/curryAll.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/curryAll.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { CurryAll } from './curryAll';
-describe('curryAll', () => {
-    it('should curry the method with default arity', () => {
-        class MyClass {
-            add(a, b) {
-                return a + b;
-            }
-        }
-        tslib_1.__decorate([
-            CurryAll()
-        ], MyClass.prototype, "add", null);
-        const myClass = new MyClass();
-        const add5 = myClass.add(5);
-        expect(add5).to.be.an.instanceOf(Function);
-        expect(add5(10)).to.equal(15);
-    });
-    it('should curry the method with fixed arity', () => {
-        class MyClass {
-            add(a, b, c) {
-                return a + b * c;
-            }
-        }
-        tslib_1.__decorate([
-            CurryAll(2)
-        ], MyClass.prototype, "add", null);
-        const myClass = new MyClass();
-        const add5 = myClass.add(5);
-        expect(add5).to.be.an.instanceOf(Function);
-        expect(add5(10, 2)).to.equal(25);
-    });
-    it('should not retain the class context', () => {
-        class MyClass {
-            add(a, b) {
-                expect(this).to.equal(global);
-            }
-        }
-        tslib_1.__decorate([
-            CurryAll()
-        ], MyClass.prototype, "add", null);
-        const myClass = new MyClass();
-        const add5 = myClass.add(5);
-        add5(10);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/curryRight.spec.js.html b/docs/test-file/buildDocs/curryRight.spec.js.html deleted file mode 100644 index c39e33e..0000000 --- a/docs/test-file/buildDocs/curryRight.spec.js.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - buildDocs/curryRight.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/curryRight.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { CurryRight } from './curryRight';
-describe('curryRight', () => {
-    it('should curry the method with default arity', () => {
-        class MyClass {
-            add(a, b) {
-                return [a, b];
-            }
-        }
-        tslib_1.__decorate([
-            CurryRight()
-        ], MyClass.prototype, "add", null);
-        const myClass = new MyClass();
-        const set5 = myClass.add(5);
-        expect(set5(10)).to.eql([10, 5]);
-    });
-    it('should retain the class context', () => {
-        class MyClass {
-            constructor() {
-                this.value = 'blorg';
-            }
-            add(a, b) {
-                return [a, b, this.value];
-            }
-        }
-        tslib_1.__decorate([
-            CurryRight()
-        ], MyClass.prototype, "add", null);
-        const myClass = new MyClass();
-        const set5 = myClass.add(5);
-        expect(set5(10)).to.eql([10, 5, 'blorg']);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/curryRightAll.spec.js.html b/docs/test-file/buildDocs/curryRightAll.spec.js.html deleted file mode 100644 index 429899b..0000000 --- a/docs/test-file/buildDocs/curryRightAll.spec.js.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - buildDocs/curryRightAll.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/curryRightAll.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { CurryRightAll } from './curryRightAll';
-describe('curryRightAll', () => {
-    it('should curry the method with default arity', () => {
-        class MyClass {
-            add(a, b) {
-                return [a, b];
-            }
-        }
-        tslib_1.__decorate([
-            CurryRightAll()
-        ], MyClass.prototype, "add", null);
-        const myClass = new MyClass();
-        const set5 = myClass.add(5);
-        expect(set5(10)).to.eql([10, 5]);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/debounce.spec.js.html b/docs/test-file/buildDocs/debounce.spec.js.html deleted file mode 100644 index 98b57da..0000000 --- a/docs/test-file/buildDocs/debounce.spec.js.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - buildDocs/debounce.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/debounce.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Debounce } from './debounce';
-describe('debounce', () => {
-    it('should debounce the method', done => {
-        let calls = 0;
-        class MyClass {
-            fn() {
-                calls++;
-            }
-        }
-        tslib_1.__decorate([
-            Debounce(10)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        setTimeout(() => {
-            expect(calls).to.equal(1);
-            done();
-        }, 11);
-    });
-    it('should debounce the property setter', done => {
-        class MyClass {
-            constructor() {
-                this._value = 100;
-            }
-            set value(value) {
-                this._value = value;
-            }
-            get value() {
-                return this._value;
-            }
-        }
-        tslib_1.__decorate([
-            Debounce(10)
-        ], MyClass.prototype, "value", null);
-        const myClass = new MyClass();
-        myClass.value = 5;
-        myClass.value = 15;
-        expect(myClass.value).to.equal(100);
-        setTimeout(() => {
-            expect(myClass.value).to.equal(15);
-            done();
-        }, 11);
-    });
-    it('should contain the flush and cancel methods', () => {
-        class MyClass {
-            fn() { }
-        }
-        tslib_1.__decorate([
-            Debounce(10)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        expect(myClass.fn.cancel).to.be.a('function');
-        expect(myClass.fn.flush).to.be.a('function');
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/debounceAll.spec.js.html b/docs/test-file/buildDocs/debounceAll.spec.js.html deleted file mode 100644 index 49afb38..0000000 --- a/docs/test-file/buildDocs/debounceAll.spec.js.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - buildDocs/debounceAll.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/debounceAll.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { DebounceAll } from './debounceAll';
-describe('debounceAll', () => {
-    it('should debounce the method across instances', done => {
-        let calls = 0;
-        class MyClass {
-            fn() {
-                calls++;
-            }
-        }
-        tslib_1.__decorate([
-            DebounceAll(10)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        const myClass2 = new MyClass();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        setTimeout(() => {
-            expect(calls).to.equal(1);
-            done();
-        }, 20);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/defer.spec.js.html b/docs/test-file/buildDocs/defer.spec.js.html deleted file mode 100644 index 9599602..0000000 --- a/docs/test-file/buildDocs/defer.spec.js.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - buildDocs/defer.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/defer.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { spy } from 'sinon';
-import { Defer } from './defer';
-describe('defer', () => {
-    it('should defer the method', done => {
-        let _spy = spy();
-        class MyClass {
-            fn(...args) {
-                expect(this, 'context').to.equal(myClass);
-                _spy(...args);
-            }
-        }
-        tslib_1.__decorate([
-            Defer('test')
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn(10);
-        expect(_spy.called).to.be.false;
-        setTimeout(() => {
-            expect(_spy.callCount).to.equal(1);
-            expect(_spy.getCalls()[0].args).to.eql([10, 'test']);
-            done();
-        }, 0);
-    });
-    it('should debounce the property setter', done => {
-        class MyClass {
-            constructor() {
-                this._value = 100;
-            }
-            set value(value) {
-                expect(this, 'context').to.equal(myClass);
-                this._value = value;
-            }
-            get value() {
-                return this._value;
-            }
-        }
-        tslib_1.__decorate([
-            Defer()
-        ], MyClass.prototype, "value", null);
-        const myClass = new MyClass();
-        myClass.value = 5;
-        myClass.value = 15;
-        expect(myClass.value).to.equal(100);
-        setTimeout(() => {
-            expect(myClass.value).to.equal(15);
-            done();
-        }, 0);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/delay.spec.js.html b/docs/test-file/buildDocs/delay.spec.js.html deleted file mode 100644 index ba4df94..0000000 --- a/docs/test-file/buildDocs/delay.spec.js.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - buildDocs/delay.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/delay.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { spy } from 'sinon';
-import { Delay } from './delay';
-describe('delay', () => {
-    it('should delay the method', done => {
-        let _spy = spy();
-        class MyClass {
-            fn(...args) {
-                expect(this, 'context').to.equal(myClass);
-                _spy(...args);
-            }
-        }
-        tslib_1.__decorate([
-            Delay(15, 'test')
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn(10);
-        expect(_spy.called).to.be.false;
-        setTimeout(() => {
-            expect(_spy.callCount).to.equal(1);
-            expect(_spy.getCalls()[0].args).to.eql([10, 'test']);
-            done();
-        }, 16);
-    });
-    it('should debounce the property setter', done => {
-        class MyClass {
-            constructor() {
-                this._value = 100;
-            }
-            set value(value) {
-                expect(this, 'context').to.equal(myClass);
-                this._value = value;
-            }
-            get value() {
-                return this._value;
-            }
-        }
-        tslib_1.__decorate([
-            Delay(15)
-        ], MyClass.prototype, "value", null);
-        const myClass = new MyClass();
-        myClass.value = 5;
-        myClass.value = 15;
-        expect(myClass.value).to.equal(100);
-        setTimeout(() => {
-            expect(myClass.value).to.equal(15);
-            done();
-        }, 15);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/flip.spec.js.html b/docs/test-file/buildDocs/flip.spec.js.html deleted file mode 100644 index 86cf4ad..0000000 --- a/docs/test-file/buildDocs/flip.spec.js.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - buildDocs/flip.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/flip.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Flip } from './flip';
-describe('flip', () => {
-    it('should flip the arguments of the function', () => {
-        class MyClass {
-            fn(a, b) {
-                return [a, b];
-            }
-        }
-        tslib_1.__decorate([
-            Flip()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        expect(myClass.fn(10, 20)).to.eql([20, 10]);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/flow.spec.js.html b/docs/test-file/buildDocs/flow.spec.js.html deleted file mode 100644 index f3051c5..0000000 --- a/docs/test-file/buildDocs/flow.spec.js.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - buildDocs/flow.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/flow.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Flow } from './flow';
-describe('flow', () => {
-    it('should compose the functions', () => {
-        class MyClass {
-            constructor() {
-                this.name = 'Avry';
-            }
-            fn(...args) {
-                return args[0];
-            }
-            getName() {
-                expect(this, 'context').to.equal(myClass);
-                return this.name;
-            }
-        }
-        tslib_1.__decorate([
-            Flow('getName', (v) => v.toUpperCase())
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        expect(myClass.fn()).to.equal('AVRY');
-    });
-    it('should compose and assign to the property', () => {
-        class MyClass {
-            constructor() {
-                this.name = 'Avry';
-            }
-            getName() {
-                expect(this, 'context').to.equal(myClass);
-                return this.name;
-            }
-        }
-        tslib_1.__decorate([
-            Flow('getName', (v) => v.toUpperCase())
-        ], MyClass.prototype, "fn", void 0);
-        const myClass = new MyClass();
-        expect(myClass.fn()).to.equal('AVRY');
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/flowRight.spec.js.html b/docs/test-file/buildDocs/flowRight.spec.js.html deleted file mode 100644 index abdc795..0000000 --- a/docs/test-file/buildDocs/flowRight.spec.js.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - buildDocs/flowRight.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/flowRight.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { FlowRight } from './flowRight';
-describe('flowRight', () => {
-    it('should compose the functions', () => {
-        class MyClass {
-            constructor() {
-                this.name = 'Avry';
-            }
-            fn(...args) {
-                return args[0];
-            }
-            getName() {
-                expect(this, 'context').to.equal(myClass);
-                return this.name;
-            }
-        }
-        tslib_1.__decorate([
-            FlowRight((v) => v.toUpperCase(), 'getName')
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        expect(myClass.fn()).to.equal('AVRY');
-    });
-    it('should compose the property', () => {
-        class MyClass {
-            constructor() {
-                this.name = 'Avry';
-            }
-            getName() {
-                expect(this, 'context').to.equal(myClass);
-                return this.name;
-            }
-        }
-        tslib_1.__decorate([
-            FlowRight((v) => v.toUpperCase(), 'getName')
-        ], MyClass.prototype, "fn", void 0);
-        const myClass = new MyClass();
-        expect(myClass.fn()).to.equal('AVRY');
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/memoize.spec.js.html b/docs/test-file/buildDocs/memoize.spec.js.html deleted file mode 100644 index 4340281..0000000 --- a/docs/test-file/buildDocs/memoize.spec.js.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - buildDocs/memoize.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/memoize.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { spy } from 'sinon';
-import { Memoize } from './memoize';
-describe('memoize', () => {
-    it('should memoize the function', () => {
-        const _spy = spy();
-        class MyClass {
-            fn(n) {
-                _spy(n);
-                expect(this, 'context').to.equal(myClass);
-                return n;
-            }
-        }
-        tslib_1.__decorate([
-            Memoize()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn(1);
-        myClass.fn(1);
-        myClass.fn(1);
-        myClass.fn(1);
-        myClass.fn(1);
-        expect(myClass.fn(1)).to.equal(1);
-        expect(_spy.callCount).to.equal(1);
-        myClass.fn(2);
-        myClass.fn(2);
-        expect(myClass.fn(2)).to.equal(2);
-        expect(_spy.callCount).to.equal(2);
-    });
-    describe('with function resolver', () => {
-        it('should resolve the key', () => {
-            const _spy = spy();
-            class MyClass {
-                fn(item) {
-                    _spy();
-                    expect(this, 'context').to.equal(myClass);
-                    return item.value;
-                }
-            }
-            tslib_1.__decorate([
-                Memoize((item) => item.key)
-            ], MyClass.prototype, "fn", null);
-            const myClass = new MyClass();
-            myClass.fn({ key: 'test', value: 10 });
-            myClass.fn({ key: 'test', value: 20 });
-            myClass.fn({ key: 'test', value: 30 });
-            expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);
-            expect(_spy.callCount).to.equal(1);
-            myClass.fn({ key: 'test2', value: 30 });
-            expect(myClass.fn({ key: 'test2', value: 50 })).to.equal(30);
-            expect(_spy.callCount).to.equal(2);
-        });
-    });
-    describe('with string resolver', () => {
-        it('should resolve the key', () => {
-            const _spy = spy();
-            class MyClass {
-                fn(item) {
-                    _spy();
-                    expect(this, 'context').to.equal(myClass);
-                    return item.value;
-                }
-                resolve(item) {
-                    expect(this, 'resolver context').to.equal(myClass);
-                    return item.key;
-                }
-            }
-            tslib_1.__decorate([
-                Memoize('resolve')
-            ], MyClass.prototype, "fn", null);
-            const myClass = new MyClass();
-            myClass.fn({ key: 'test', value: 10 });
-            myClass.fn({ key: 'test', value: 20 });
-            myClass.fn({ key: 'test', value: 30 });
-            expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);
-            expect(_spy.callCount).to.equal(1);
-            myClass.fn({ key: 'test2', value: 30 });
-            expect(myClass.fn({ key: 'test2', value: 50 })).to.equal(30);
-            expect(_spy.callCount).to.equal(2);
-        });
-    });
-    describe('with custom map type', () => {
-        it('should create the map of type', () => {
-            class MyClass {
-                fn(item) {
-                    return item.value;
-                }
-            }
-            tslib_1.__decorate([
-                Memoize({ type: WeakMap })
-            ], MyClass.prototype, "fn", null);
-            const myClass = new MyClass();
-            expect(myClass.fn.cache).to.be.an.instanceOf(WeakMap);
-        });
-    });
-    describe('with custom cache', () => {
-        it('should use the provided map', () => {
-            const cache = new Map();
-            class MyClass {
-                fn(item) {
-                    return item.value;
-                }
-            }
-            tslib_1.__decorate([
-                Memoize({ cache })
-            ], MyClass.prototype, "fn", null);
-            const myClass = new MyClass();
-            const myClass2 = new MyClass();
-            expect(myClass.fn.cache).to.equal(cache);
-            expect(myClass2.fn.cache).to.equal(cache);
-        });
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/memoizeAll.spec.js.html b/docs/test-file/buildDocs/memoizeAll.spec.js.html deleted file mode 100644 index c99a4c1..0000000 --- a/docs/test-file/buildDocs/memoizeAll.spec.js.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - buildDocs/memoizeAll.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/memoizeAll.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { spy } from 'sinon';
-import { MemoizeAll } from './memoizeAll';
-describe('memoizeAll', () => {
-    it('should memoize the function', () => {
-        const _spy = spy();
-        class MyClass {
-            fn(n) {
-                _spy(n);
-                expect(this, 'context').to.equal(myClass);
-                return n;
-            }
-        }
-        tslib_1.__decorate([
-            MemoizeAll()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        const myClass2 = new MyClass();
-        myClass.fn(1);
-        myClass.fn(1);
-        myClass.fn(1);
-        myClass2.fn(1);
-        myClass2.fn(1);
-        myClass2.fn(1);
-        expect(_spy.callCount).to.equal(1);
-    });
-    describe('with function resolver', () => {
-        it('should resolve the key', () => {
-            const _spy = spy();
-            class MyClass {
-                fn(item) {
-                    _spy();
-                    expect(this, 'context').to.equal(myClass);
-                    return item.value;
-                }
-            }
-            tslib_1.__decorate([
-                MemoizeAll((item) => item.key)
-            ], MyClass.prototype, "fn", null);
-            const myClass = new MyClass();
-            const myClass2 = new MyClass();
-            myClass.fn({ key: 'test', value: 10 });
-            myClass.fn({ key: 'test', value: 20 });
-            myClass.fn({ key: 'test', value: 30 });
-            myClass2.fn({ key: 'test', value: 40 });
-            myClass2.fn({ key: 'test', value: 50 });
-            expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);
-            expect(_spy.callCount).to.equal(1);
-        });
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/mixin.spec.js.html b/docs/test-file/buildDocs/mixin.spec.js.html deleted file mode 100644 index d029b3f..0000000 --- a/docs/test-file/buildDocs/mixin.spec.js.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - buildDocs/mixin.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/mixin.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Mixin } from './mixin';
-describe('mixin', () => {
-    it('should mixin the object', () => {
-        const myApi = {
-            fn2() { }
-        };
-        let MyClass = class MyClass {
-            fn() { }
-        };
-        MyClass = tslib_1.__decorate([
-            Mixin(myApi)
-        ], MyClass);
-        const myClass = new MyClass();
-        expect(myClass.fn2).to.be.a('function');
-        expect(MyClass.prototype.fn2).to.be.a('function');
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/negate.spec.js.html b/docs/test-file/buildDocs/negate.spec.js.html deleted file mode 100644 index 2edd427..0000000 --- a/docs/test-file/buildDocs/negate.spec.js.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - buildDocs/negate.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/negate.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Negate } from './negate';
-describe('negate', () => {
-    it('should inverse the result of the function', () => {
-        class MyClass {
-            fn() {
-                return true;
-            }
-        }
-        tslib_1.__decorate([
-            Negate()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        expect(myClass.fn()).to.be.false;
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/once.spec.js.html b/docs/test-file/buildDocs/once.spec.js.html deleted file mode 100644 index b8f5dcb..0000000 --- a/docs/test-file/buildDocs/once.spec.js.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - buildDocs/once.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/once.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Once } from './once';
-describe('once', () => {
-    it('should invoke the method only once', () => {
-        let calls = 0;
-        class MyClass {
-            fn() {
-                calls++;
-            }
-        }
-        tslib_1.__decorate([
-            Once()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        const myClass2 = new MyClass();
-        myClass.fn();
-        myClass.fn();
-        myClass.fn();
-        expect(calls, 'single class').to.equal(1);
-        myClass2.fn();
-        myClass2.fn();
-        myClass2.fn();
-        expect(calls, 'multiple class').to.equal(2);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/overArgs.spec.js.html b/docs/test-file/buildDocs/overArgs.spec.js.html deleted file mode 100644 index 30f6658..0000000 --- a/docs/test-file/buildDocs/overArgs.spec.js.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - buildDocs/overArgs.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/overArgs.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { OverArgs } from './overArgs';
-const add = (n) => (v) => v + n;
-describe('overArgs', () => {
-    it('should transform each argument', () => {
-        class MyClass {
-            fn(a, b) {
-                return [a, b];
-            }
-        }
-        tslib_1.__decorate([
-            OverArgs(add(10), add(5))
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        expect(myClass.fn(5, 50)).to.eql([15, 55]);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/partial.spec.js.html b/docs/test-file/buildDocs/partial.spec.js.html deleted file mode 100644 index 41779da..0000000 --- a/docs/test-file/buildDocs/partial.spec.js.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - buildDocs/partial.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/partial.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Partial } from './partial';
-describe('partial', () => {
-    it('should create a partially applied function', () => {
-        class MyClass {
-            constructor() {
-                this.lastName = 'Sojka';
-            }
-            fn(name) {
-                return `${name} ${this.lastName}`;
-            }
-        }
-        tslib_1.__decorate([
-            Partial('fn', 'Avry')
-        ], MyClass.prototype, "fn2", void 0);
-        const myClass = new MyClass();
-        expect(myClass.fn2).to.be.a('function');
-        expect(myClass.fn2()).to.equal('Avry Sojka');
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/partialRight.spec.js.html b/docs/test-file/buildDocs/partialRight.spec.js.html deleted file mode 100644 index f5ce0ee..0000000 --- a/docs/test-file/buildDocs/partialRight.spec.js.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - buildDocs/partialRight.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/partialRight.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { PartialRight } from './partialRight';
-describe('partialRight', () => {
-    it('should create a partially applied function', () => {
-        class MyClass {
-            constructor() {
-                this.firstName = 'Avry';
-            }
-            fn(name) {
-                return `${this.firstName} ${name}`;
-            }
-        }
-        tslib_1.__decorate([
-            PartialRight('fn', 'Sojka')
-        ], MyClass.prototype, "fn2", void 0);
-        const myClass = new MyClass();
-        expect(myClass.fn2).to.be.a('function');
-        expect(myClass.fn2()).to.equal('Avry Sojka');
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/rearg.spec.js.html b/docs/test-file/buildDocs/rearg.spec.js.html deleted file mode 100644 index b78ac58..0000000 --- a/docs/test-file/buildDocs/rearg.spec.js.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - buildDocs/rearg.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/rearg.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Rearg } from './rearg';
-describe('rearg', () => {
-    it('should change the order of arguments', () => {
-        class MyClass {
-            fn(a, b, c) {
-                return [a, b, c];
-            }
-        }
-        tslib_1.__decorate([
-            Rearg(2, 1, 0)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        expect(myClass.fn(1, 2, 3)).to.eql([3, 2, 1]);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/rest.spec.js.html b/docs/test-file/buildDocs/rest.spec.js.html deleted file mode 100644 index dc05754..0000000 --- a/docs/test-file/buildDocs/rest.spec.js.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - buildDocs/rest.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/rest.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Rest } from './rest';
-describe('rest', () => {
-    it('should change the order of arguments', () => {
-        class MyClass {
-            fn(...args) {
-                expect(args.length).to.equal(2);
-                expect(args[0]).to.equal(1);
-                expect(args[1]).to.eql([2, 3, 4]);
-            }
-        }
-        tslib_1.__decorate([
-            Rest(1)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn(1, 2, 3, 4);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/spread.spec.js.html b/docs/test-file/buildDocs/spread.spec.js.html deleted file mode 100644 index 50d842a..0000000 --- a/docs/test-file/buildDocs/spread.spec.js.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - buildDocs/spread.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/spread.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Spread } from './spread';
-describe('spread', () => {
-    it('should spread the arguments', () => {
-        class MyClass {
-            fn(...args) {
-                expect(args.length).to.equal(4);
-                expect(args).to.eql([1, 2, 3, 4]);
-            }
-        }
-        tslib_1.__decorate([
-            Spread()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn([1, 2, 3, 4]);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/tap.spec.js.html b/docs/test-file/buildDocs/tap.spec.js.html deleted file mode 100644 index 2c2d532..0000000 --- a/docs/test-file/buildDocs/tap.spec.js.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - buildDocs/tap.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/tap.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Tap } from './tap';
-describe('tap', () => {
-    it('should return the first argument', () => {
-        class MyClass {
-            fn(n) {
-                return 10;
-            }
-        }
-        tslib_1.__decorate([
-            Tap()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        expect(myClass.fn(50)).to.equal(50);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/throttle.spec.js.html b/docs/test-file/buildDocs/throttle.spec.js.html deleted file mode 100644 index 89d2e3d..0000000 --- a/docs/test-file/buildDocs/throttle.spec.js.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - buildDocs/throttle.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/throttle.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { spy } from 'sinon';
-import { Throttle, ThrottleSetter, ThrottleGetter } from './throttle';
-describe('throttle', () => {
-    it('should throttle the method', done => {
-        let _spy = spy();
-        class MyClass {
-            fn(n) {
-                _spy();
-            }
-        }
-        tslib_1.__decorate([
-            Throttle(10)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn(1);
-        myClass.fn(2);
-        setTimeout(() => myClass.fn(3), 1);
-        setTimeout(() => myClass.fn(4), 2);
-        setTimeout(() => {
-            expect(_spy.callCount).to.equal(2);
-            done();
-        }, 20);
-    });
-    it('should debounce the property setter', done => {
-        class MyClass {
-            constructor() {
-                this._value = 100;
-            }
-            set value(value) {
-                this._value = value;
-            }
-            get value() {
-                return this._value;
-            }
-        }
-        tslib_1.__decorate([
-            ThrottleSetter(10)
-        ], MyClass.prototype, "value", null);
-        const myClass = new MyClass();
-        myClass.value = 5;
-        myClass.value = 15;
-        setTimeout(() => myClass.value = 20, 5);
-        expect(myClass.value).to.equal(5);
-        setTimeout(() => {
-            expect(myClass.value).to.equal(20);
-            done();
-        }, 11);
-    });
-    it('should debounce the property getter', done => {
-        class MyClass {
-            constructor() {
-                this._value = 0;
-            }
-            get value() {
-                return ++this._value;
-            }
-        }
-        tslib_1.__decorate([
-            ThrottleGetter(10)
-        ], MyClass.prototype, "value", null);
-        const myClass = new MyClass();
-        expect(myClass.value).to.equal(1);
-        expect(myClass.value).to.equal(1);
-        setTimeout(() => expect(myClass.value).to.equal(1), 5);
-        setTimeout(() => {
-            expect(myClass.value).to.equal(2);
-            done();
-        }, 11);
-    });
-    it('should contain the cancel and flush methods', () => {
-        class MyClass {
-            fn() { }
-        }
-        tslib_1.__decorate([
-            Throttle(10)
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        expect(myClass.fn.cancel).to.be.a('function');
-        expect(myClass.fn.flush).to.be.a('function');
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/unary.spec.js.html b/docs/test-file/buildDocs/unary.spec.js.html deleted file mode 100644 index db5b4da..0000000 --- a/docs/test-file/buildDocs/unary.spec.js.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - buildDocs/unary.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/unary.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Unary } from './unary';
-describe('unary', () => {
-    it('should only invoke with one argument', () => {
-        class MyClass {
-            fn(...args) {
-                expect(args.length).to.equal(1);
-            }
-        }
-        tslib_1.__decorate([
-            Unary()
-        ], MyClass.prototype, "fn", null);
-        const myClass = new MyClass();
-        myClass.fn(1, 2, 3, 4);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/buildDocs/wrap.spec.js.html b/docs/test-file/buildDocs/wrap.spec.js.html deleted file mode 100644 index 22e248b..0000000 --- a/docs/test-file/buildDocs/wrap.spec.js.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - buildDocs/wrap.spec.js | Lodash Decorators Documentation API Document - - - - - - - - - -
- Home - - Reference - Source - Test - Repository - -
- - - -

buildDocs/wrap.spec.js

-
import * as tslib_1 from "tslib";
-import { expect } from 'chai';
-import { Wrap } from './wrap';
-describe('wrap', () => {
-    it('should wrap the function', () => {
-        class MyClass {
-            fn2(fn, arg) {
-                return fn(arg);
-            }
-            fn(n) {
-                return n;
-            }
-        }
-        tslib_1.__decorate([
-            Wrap('fn')
-        ], MyClass.prototype, "fn2", null);
-        const myClass = new MyClass();
-        expect(myClass.fn2(50)).to.equal(50);
-    });
-});
-
- -
- - - - - - - - - - - - diff --git a/docs/test-file/src/after.spec.ts.html b/docs/test-file/src/after.spec.ts.html new file mode 100644 index 0000000..a1f80c3 --- /dev/null +++ b/docs/test-file/src/after.spec.ts.html @@ -0,0 +1,179 @@ + + + + + + src/after.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/after.spec.ts

+
import { expect } from 'chai';
+
+import { After } from './after';
+
+describe('after', () => {
+  it('should invoke the method after 3 times', () => {
+    let calls = 0;
+
+    class MyClass {
+      props: number[] = [];
+
+      @After(2)
+      set prop(val: number) {
+        this.props.push(val);
+      }
+
+      @After(3)
+      fn() {
+        calls++;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+
+    expect(calls, 'single class').to.equal(2);
+
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+
+    expect(calls, 'multiple class').to.equal(4);
+
+    myClass.prop = 50;
+    myClass.prop = 100;
+
+    expect(myClass.props.length, 'setter length').to.equal(1);
+    expect(myClass.props[0], 'setter value').to.equal(100);
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/afterAll.spec.ts.html b/docs/test-file/src/afterAll.spec.ts.html new file mode 100644 index 0000000..2a3f24a --- /dev/null +++ b/docs/test-file/src/afterAll.spec.ts.html @@ -0,0 +1,166 @@ + + + + + + src/afterAll.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/afterAll.spec.ts

+
import { expect } from 'chai';
+
+import { AfterAll } from './afterAll';
+
+describe('afterAll', () => {
+  it('should invoke the method after 3 times', () => {
+    let calls = 0;
+
+    class MyClass {
+      @AfterAll(3)
+      fn() {
+        calls++;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+
+    expect(calls, 'single class').to.equal(2);
+
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+
+    expect(calls, 'multiple class').to.equal(6);
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/ary.spec.ts.html b/docs/test-file/src/ary.spec.ts.html new file mode 100644 index 0000000..bad6a00 --- /dev/null +++ b/docs/test-file/src/ary.spec.ts.html @@ -0,0 +1,151 @@ + + + + + + src/ary.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/ary.spec.ts

+
import { expect } from 'chai';
+
+import { Ary } from './ary';
+
+describe('ary', () => {
+  it('should invoke the method with specified arguments', () => {
+    class MyClass {
+      @Ary(2)
+      fn(...args: any[]) {
+        expect(args.length).to.equal(2);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(1, 2, 3, 4, 5);
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/attempt.spec.ts.html b/docs/test-file/src/attempt.spec.ts.html new file mode 100644 index 0000000..b5cb354 --- /dev/null +++ b/docs/test-file/src/attempt.spec.ts.html @@ -0,0 +1,177 @@ + + + + + + src/attempt.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/attempt.spec.ts

+
import { expect } from 'chai';
+
+import { Attempt } from './attempt';
+
+describe('attempt', () => {
+  it('should catch the error and return it', () => {
+    class MyClass {
+      @Attempt()
+      fn() {
+        throw new Error();
+      }
+
+      @Attempt()
+      fn2() {
+        return 10;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn()).to.be.an.instanceOf(Error);
+    expect(myClass.fn2()).to.equal(10);
+  });
+
+  it('should catch the error and return it (paramless)', () => {
+    class MyClass {
+      @Attempt
+      fn() {
+        throw new Error();
+      }
+
+      @Attempt
+      fn2() {
+        return 10;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn()).to.be.an.instanceOf(Error);
+    expect(myClass.fn2()).to.equal(10);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/before.spec.ts.html b/docs/test-file/src/before.spec.ts.html new file mode 100644 index 0000000..479225a --- /dev/null +++ b/docs/test-file/src/before.spec.ts.html @@ -0,0 +1,170 @@ + + + + + + src/before.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/before.spec.ts

+
import { expect } from 'chai';
+
+import { Before } from './before';
+
+describe('before', () => {
+  it('should invoke the method before 3 times', () => {
+    let calls = 0;
+
+    class MyClass {
+      @Before(3)
+      fn() {
+        calls++;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+
+    expect(calls, 'single class').to.equal(2);
+
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+
+    expect(calls, 'multiple class').to.equal(4);
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/beforeAll.spec.ts.html b/docs/test-file/src/beforeAll.spec.ts.html new file mode 100644 index 0000000..ad6f6be --- /dev/null +++ b/docs/test-file/src/beforeAll.spec.ts.html @@ -0,0 +1,170 @@ + + + + + + src/beforeAll.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/beforeAll.spec.ts

+
import { expect } from 'chai';
+
+import { BeforeAll } from './beforeAll';
+
+describe('beforeAll', () => {
+  it('should invoke the method before 3 times', () => {
+    let calls = 0;
+
+    class MyClass {
+      @BeforeAll(3)
+      fn() {
+        calls++;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+
+    expect(calls, 'single class').to.equal(2);
+
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+
+    expect(calls, 'multiple class').to.equal(2);
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/bind.spec.ts.html b/docs/test-file/src/bind.spec.ts.html new file mode 100644 index 0000000..c1abc21 --- /dev/null +++ b/docs/test-file/src/bind.spec.ts.html @@ -0,0 +1,216 @@ + + + + + + src/bind.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/bind.spec.ts

+
import { expect } from 'chai';
+
+import { Bind } from './bind';
+import { Once } from './once';
+
+describe('bind', () => {
+  it('should bind the context of the method', () => {
+    let context;
+
+    class MyClass {
+      @Bind()
+      fn() {
+        context = this;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn.call(null);
+    expect(context).to.equal(myClass);
+
+    myClass2.fn.call(null);
+    expect(context).to.equal(myClass2);
+  });
+
+  it('should bind with other decorators', () => {
+    let context;
+
+    class MyClass {
+      @Once()
+      @Bind()
+      fn() {
+        context = this;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn.call(null);
+    expect(context).to.equal(myClass);
+  });
+
+  it('should bind without params', () => {
+    let context;
+
+    class MyClass {
+      @Bind
+      fn() {
+        context = this;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn.call(null);
+    expect(context).to.equal(myClass);
+
+    myClass2.fn.call(null);
+    expect(context).to.equal(myClass2);
+  });
+
+  it('should not bind when accessed on the prototype', () => {
+    let context;
+
+    class MyClass {
+      @Bind
+      fn() {
+        context = this;
+      }
+    }
+
+    MyClass.prototype.fn();
+
+    const myClass = new MyClass();
+
+    myClass.fn.call(null);
+
+    expect(context).to.equal(myClass);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/bindAll.spec.ts.html b/docs/test-file/src/bindAll.spec.ts.html new file mode 100644 index 0000000..6e6d721 --- /dev/null +++ b/docs/test-file/src/bindAll.spec.ts.html @@ -0,0 +1,263 @@ + + + + + + src/bindAll.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/bindAll.spec.ts

+
import { expect } from 'chai';
+
+import { BindAll } from './bindAll';
+import { Debounce } from './debounce';
+
+describe('bindAll', () => {
+  it('should bind all method to the context', () => {
+    let context;
+
+    class Parent {
+      fn() {
+        context = this;
+      }
+    }
+
+    @BindAll()
+    class MyClass extends Parent {
+      fn2() {
+        context = this;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn.call(null);
+    expect(context).to.equal(myClass);
+
+    myClass.fn2.call(null);
+    expect(context).to.equal(myClass);
+  });
+
+  it('should bind only specified methods to the context', () => {
+    let context;
+
+    class Parent {
+      fn() {
+        context = this;
+      }
+    }
+
+    @BindAll([ 'fn' ])
+    class MyClass extends Parent {
+      fn2() {
+        context = this;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn.call(null);
+    expect(context).to.equal(myClass);
+
+    myClass.fn2.call(null);
+    expect(context).to.equal(null);
+  });
+
+  it('should work with getters', () => {
+    @BindAll()
+    class MyClass {
+      get prop(): string {
+        return 'blorg';
+      }
+
+      fn() {
+        return this.prop;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn.call(null);
+    expect(myClass.fn()).to.equal('blorg');
+  });
+
+  it('should not access getters that are not decorated', () => {
+    let accessed = false;
+
+    @BindAll()
+    class MyClass {
+      get prop(): string {
+        accessed = true;
+
+        return 'blorg';
+      }
+
+      @Debounce()
+      get prop2(): string {
+        return 'test';
+      }
+
+      @Debounce(1)
+      fn() {
+        return this.prop;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(accessed).to.be.false;
+    expect(myClass.hasOwnProperty('prop')).to.be.false;
+    expect(myClass.hasOwnProperty('prop2')).to.be.false;
+  });
+
+  it('should copy over any static properties on the constructor', () => {
+    @BindAll()
+    class MyClass {
+      static $inject = [];
+    }
+
+    expect(MyClass.$inject).to.be.an('array');
+  });
+
+  it('should pass babels class call check', () => {
+    function classCallCheck(instance: any, Constructor: any): void {
+      if (!(instance instanceof Constructor)) {
+        throw new TypeError('Cannot call a class as a function');
+      }
+    }
+
+    @BindAll()
+    class MyClass {
+      constructor() {
+        classCallCheck(this, MyClass);
+      }
+    }
+
+    expect(() => new MyClass()).not.to.throw();
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/combinationTest.spec.ts.html b/docs/test-file/src/combinationTest.spec.ts.html new file mode 100644 index 0000000..efd3e88 --- /dev/null +++ b/docs/test-file/src/combinationTest.spec.ts.html @@ -0,0 +1,222 @@ + + + + + + src/combinationTest.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/combinationTest.spec.ts

+
import { expect } from 'chai';
+import { spy } from 'sinon';
+
+import { Bind } from './bind';
+import { Memoize } from './memoize';
+import { Curry } from './curry';
+import { Delay } from './delay';
+
+describe('multiple decorators', () => {
+  describe('when using multiple instance decorators', () => {
+    it('should apply both decorators', () => {
+      const _spy = spy();
+
+      class MyClass {
+        @Bind()
+        @Memoize()
+        fn(_n: number) {
+          expect(this).to.equal(myClass);
+          _spy();
+        }
+      }
+
+      const myClass = new MyClass();
+
+      myClass.fn.call(null, 1);
+      myClass.fn.call(null, 2);
+
+      myClass.fn.call(null, 1);
+      myClass.fn.call(null, 2);
+
+      expect(_spy.callCount).to.equal(2);
+    });
+  });
+
+  describe('when combining proto and instance decorators', () => {
+    it('should apply both decorators', (done) => {
+      const _spy = spy();
+
+      class MyClass {
+        @Curry(2)
+        @Delay(10)
+        fn(n?: number, n2?: number): any {
+          expect(this).to.equal(myClass);
+          _spy(n, n2);
+        }
+      }
+
+      const myClass = new MyClass();
+      const add10 = myClass.fn(10);
+
+      expect(_spy.called).to.be.false;
+
+      add10(5);
+
+      expect(_spy.called).to.be.false;
+
+      setTimeout(() => {
+        expect(_spy.callCount).to.equal(1);
+        expect(_spy.getCalls()[0].args).to.eql([ 10, 5 ]);
+        done();
+      }, 20);
+    });
+
+    describe('when proto is after instance', () => {
+      it('should only apply the instance decorator', () => {
+        const _spy = spy();
+
+        class MyClass {
+          @Delay(10)
+          @Curry(2)
+          fn(n?: number, n2?: number): any {
+            expect(this).to.equal(myClass);
+            _spy(n, n2);
+          }
+        }
+
+        const myClass = new MyClass();
+        const add10 = myClass.fn(10);
+
+        expect(_spy.called).to.be.false;
+
+        add10(5);
+
+        expect(_spy.called).to.be.true;
+        expect(_spy.getCalls()[0].args).to.eql([ 10, 5 ]);
+      });
+    });
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/curry.spec.ts.html b/docs/test-file/src/curry.spec.ts.html new file mode 100644 index 0000000..a92941b --- /dev/null +++ b/docs/test-file/src/curry.spec.ts.html @@ -0,0 +1,200 @@ + + + + + + src/curry.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/curry.spec.ts

+
import { expect } from 'chai';
+
+import { Curry } from './curry';
+
+describe('curry', () => {
+  it('should curry the method with default arity', () => {
+    class MyClass {
+      @Curry()
+      add(a: any, b?: any) {
+        return a + b;
+      }
+    }
+
+    const myClass = new MyClass();
+    const add5 = myClass.add(5);
+
+    expect(add5).to.be.an.instanceOf(Function);
+    expect(add5(10)).to.equal(15);
+  });
+
+  it('should curry the method with default arity (paramless)', () => {
+    class MyClass {
+      @Curry
+      add(a: any, b?: any) {
+        return a + b;
+      }
+    }
+
+    const myClass = new MyClass();
+    const add5 = myClass.add(5);
+
+    expect(add5).to.be.an.instanceOf(Function);
+    expect(add5(10)).to.equal(15);
+  });
+
+  it('should curry the method with fixed arity', () => {
+    class MyClass {
+      @Curry(2)
+      add(a: any, b?: any, c?: any) {
+        return a + b * c;
+      }
+    }
+
+    const myClass = new MyClass();
+    const add5 = myClass.add(5);
+
+    expect(add5).to.be.an.instanceOf(Function);
+    expect(add5(10, 2)).to.equal(25);
+  });
+
+  it('should retain the class context', () => {
+    class MyClass {
+      value = 10;
+
+      @Curry()
+      add(a: any, b?: any): any {
+        return (a + b) * this.value;
+      }
+    }
+
+    const myClass = new MyClass();
+    const add5 = myClass.add(5);
+
+    expect(add5(2)).to.equal(70);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/curryAll.spec.ts.html b/docs/test-file/src/curryAll.spec.ts.html new file mode 100644 index 0000000..903efc2 --- /dev/null +++ b/docs/test-file/src/curryAll.spec.ts.html @@ -0,0 +1,198 @@ + + + + + + src/curryAll.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/curryAll.spec.ts

+
import { expect } from 'chai';
+
+import { CurryAll } from './curryAll';
+
+describe('curryAll', () => {
+  it('should curry the method with default arity', () => {
+    class MyClass {
+      @CurryAll()
+      add(a: any, b?: any) {
+        return a + b;
+      }
+    }
+
+    const myClass = new MyClass();
+    const add5 = myClass.add(5);
+
+    expect(add5).to.be.an.instanceOf(Function);
+    expect(add5(10)).to.equal(15);
+  });
+
+  it('should curry the method with default arity (paramless)', () => {
+    class MyClass {
+      @CurryAll
+      add(a: any, b?: any) {
+        return a + b;
+      }
+    }
+
+    const myClass = new MyClass();
+    const add5 = myClass.add(5);
+
+    expect(add5).to.be.an.instanceOf(Function);
+    expect(add5(10)).to.equal(15);
+  });
+
+  it('should curry the method with fixed arity', () => {
+    class MyClass {
+      @CurryAll(2)
+      add(a: any, b?: any, c?: any) {
+        return a + b * c;
+      }
+    }
+
+    const myClass = new MyClass();
+    const add5 = myClass.add(5);
+
+    expect(add5).to.be.an.instanceOf(Function);
+    expect(add5(10, 2)).to.equal(25);
+  });
+
+  it('should not retain the class context', () => {
+    class MyClass {
+      @CurryAll()
+      add(_a: any, _b?: any): any {
+        expect(this).to.equal(global);
+      }
+    }
+
+    const myClass = new MyClass();
+    const add5 = myClass.add(5);
+
+    add5(10);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/curryRight.spec.ts.html b/docs/test-file/src/curryRight.spec.ts.html new file mode 100644 index 0000000..9796553 --- /dev/null +++ b/docs/test-file/src/curryRight.spec.ts.html @@ -0,0 +1,183 @@ + + + + + + src/curryRight.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/curryRight.spec.ts

+
import { expect } from 'chai';
+
+import { CurryRight } from './curryRight';
+
+describe('curryRight', () => {
+  it('should curry the method with default arity', () => {
+    class MyClass {
+      @CurryRight()
+      add(a: any, b?: any) {
+        return [ a, b ];
+      }
+    }
+
+    const myClass = new MyClass();
+    const set5 = myClass.add(5) as any;
+
+    expect(set5(10)).to.eql([ 10, 5 ]);
+  });
+
+  it('should curry the method with default arity (paramless)', () => {
+    class MyClass {
+      @CurryRight
+      add(a: any, b?: any) {
+        return [ a, b ];
+      }
+    }
+
+    const myClass = new MyClass();
+    const set5 = myClass.add(5) as any;
+
+    expect(set5(10)).to.eql([ 10, 5 ]);
+  });
+
+  it('should retain the class context', () => {
+    class MyClass {
+      value = 'blorg';
+
+      @CurryRight()
+      add(a: any, b?: any) {
+        return [ a, b, this.value ];
+      }
+    }
+
+    const myClass = new MyClass();
+    const set5 = myClass.add(5) as any;
+
+    expect(set5(10)).to.eql([ 10, 5, 'blorg' ]);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/curryRightAll.spec.ts.html b/docs/test-file/src/curryRightAll.spec.ts.html new file mode 100644 index 0000000..d673e4c --- /dev/null +++ b/docs/test-file/src/curryRightAll.spec.ts.html @@ -0,0 +1,167 @@ + + + + + + src/curryRightAll.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/curryRightAll.spec.ts

+
import { expect } from 'chai';
+
+import { CurryRightAll } from './curryRightAll';
+
+describe('curryRightAll', () => {
+  it('should curry the method with default arity', () => {
+    class MyClass {
+      @CurryRightAll()
+      add(a: any, b?: any) {
+        return [ a, b ];
+      }
+    }
+
+    const myClass = new MyClass();
+    const set5 = myClass.add(5) as any;
+
+    expect(set5(10)).to.eql([ 10, 5 ]);
+  });
+
+  it('should curry the method with default arity (paramless)', () => {
+    class MyClass {
+      @CurryRightAll
+      add(a: any, b?: any) {
+        return [ a, b ];
+      }
+    }
+
+    const myClass = new MyClass();
+    const set5 = myClass.add(5) as any;
+
+    expect(set5(10)).to.eql([ 10, 5 ]);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/debounce.spec.ts.html b/docs/test-file/src/debounce.spec.ts.html new file mode 100644 index 0000000..d05ffbc --- /dev/null +++ b/docs/test-file/src/debounce.spec.ts.html @@ -0,0 +1,202 @@ + + + + + + src/debounce.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/debounce.spec.ts

+
import { expect } from 'chai';
+
+import { Debounce } from './debounce';
+
+describe('debounce', () => {
+  it('should debounce the method', (done) => {
+    let calls = 0;
+
+    class MyClass {
+      @Debounce(10)
+      fn() {
+        calls++;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+
+    setTimeout(() => {
+      expect(calls).to.equal(1);
+      done();
+    }, 20);
+  });
+
+  it('should debounce the property setter', (done) => {
+    class MyClass {
+      private _value = 100;
+
+      @Debounce(10)
+      set value(value: number) {
+        this._value = value;
+      }
+
+      get value(): number {
+        return this._value;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.value = 5;
+    myClass.value = 15;
+
+    expect(myClass.value).to.equal(100);
+
+    setTimeout(() => {
+      expect(myClass.value).to.equal(15);
+      done();
+    }, 20);
+  });
+
+  it('should contain the flush and cancel methods', () => {
+    class MyClass {
+      @Debounce(10)
+      fn() {}
+    }
+
+    const myClass = new MyClass();
+
+    expect((myClass.fn as any).cancel).to.be.a('function');
+    expect((myClass.fn as any).flush).to.be.a('function');
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/debounceAll.spec.ts.html b/docs/test-file/src/debounceAll.spec.ts.html new file mode 100644 index 0000000..1df0616 --- /dev/null +++ b/docs/test-file/src/debounceAll.spec.ts.html @@ -0,0 +1,168 @@ + + + + + + src/debounceAll.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/debounceAll.spec.ts

+
import { expect } from 'chai';
+
+import { DebounceAll } from './debounceAll';
+
+describe('debounceAll', () => {
+  it('should debounce the method across instances', (done) => {
+    let calls = 0;
+
+    class MyClass {
+      @DebounceAll(10)
+      fn() {
+        calls++;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+
+    setTimeout(() => {
+      expect(calls).to.equal(1);
+      done();
+    }, 20);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/defer.spec.ts.html b/docs/test-file/src/defer.spec.ts.html new file mode 100644 index 0000000..763f838 --- /dev/null +++ b/docs/test-file/src/defer.spec.ts.html @@ -0,0 +1,242 @@ + + + + + + src/defer.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/defer.spec.ts

+
import { expect } from 'chai';
+import { spy } from 'sinon';
+
+import { Defer } from './defer';
+
+describe('defer', () => {
+  it('should defer the method', (done) => {
+    const _spy = spy();
+
+    class MyClass {
+      @Defer('test')
+      fn(...args: any[]) {
+        expect(this, 'context').to.equal(myClass);
+        _spy(...args);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(10);
+    expect(_spy.called).to.be.false;
+
+    setTimeout(() => {
+      expect(_spy.callCount).to.equal(1);
+      expect(_spy.getCalls()[0].args).to.eql([ 10, 'test' ]);
+      done();
+    }, 0);
+  });
+
+  it('should defer the method (paramless)', (done) => {
+    const _spy = spy();
+
+    class MyClass {
+      @Defer
+      fn(...args: any[]) {
+        expect(this, 'context').to.equal(myClass);
+        _spy(...args);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(10);
+    expect(_spy.called).to.be.false;
+
+    setTimeout(() => {
+      expect(_spy.callCount).to.equal(1);
+      expect(_spy.getCalls()[0].args).to.eql([ 10 ]);
+      done();
+    }, 0);
+  });
+
+  it('should debounce the property setter', (done) => {
+    class MyClass {
+      private _value = 100;
+
+      @Defer()
+      set value(value: number) {
+        expect(this, 'context').to.equal(myClass);
+        this._value = value;
+      }
+
+      get value(): number {
+        return this._value;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.value = 5;
+    myClass.value = 15;
+
+    expect(myClass.value).to.equal(100);
+
+    setTimeout(() => {
+      expect(myClass.value).to.equal(15);
+      done();
+    }, 0);
+  });
+
+  it('should debounce the property setter (paramless)', (done) => {
+    class MyClass {
+      private _value = 100;
+
+      @Defer
+      set value(value: number) {
+        expect(this, 'context').to.equal(myClass);
+        this._value = value;
+      }
+
+      get value(): number {
+        return this._value;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.value = 5;
+    myClass.value = 15;
+
+    expect(myClass.value).to.equal(100);
+
+    setTimeout(() => {
+      expect(myClass.value).to.equal(15);
+      done();
+    }, 0);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/delay.spec.ts.html b/docs/test-file/src/delay.spec.ts.html new file mode 100644 index 0000000..001420d --- /dev/null +++ b/docs/test-file/src/delay.spec.ts.html @@ -0,0 +1,191 @@ + + + + + + src/delay.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/delay.spec.ts

+
import { expect } from 'chai';
+import { spy } from 'sinon';
+
+import { Delay } from './delay';
+
+describe('delay', () => {
+  it('should delay the method', (done) => {
+    const _spy = spy();
+
+    class MyClass {
+      @Delay(15, 'test')
+      fn(...args: any[]) {
+        expect(this, 'context').to.equal(myClass);
+        _spy(...args);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(10);
+    expect(_spy.called).to.be.false;
+
+    setTimeout(() => {
+      expect(_spy.callCount).to.equal(1);
+      expect(_spy.getCalls()[0].args).to.eql([ 10, 'test' ]);
+      done();
+    }, 16);
+  });
+
+  it('should debounce the property setter', (done) => {
+    class MyClass {
+      private _value = 100;
+
+      @Delay(15)
+      set value(value: number) {
+        expect(this, 'context').to.equal(myClass);
+        this._value = value;
+      }
+
+      get value(): number {
+        return this._value;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.value = 5;
+    myClass.value = 15;
+
+    expect(myClass.value).to.equal(100);
+
+    setTimeout(() => {
+      expect(myClass.value).to.equal(15);
+      done();
+    }, 15);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/flip.spec.ts.html b/docs/test-file/src/flip.spec.ts.html new file mode 100644 index 0000000..2cf8976 --- /dev/null +++ b/docs/test-file/src/flip.spec.ts.html @@ -0,0 +1,167 @@ + + + + + + src/flip.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/flip.spec.ts

+
import { expect } from 'chai';
+
+import { Flip } from './flip';
+
+describe('flip', () => {
+  it('should flip the arguments of the function', () => {
+    class MyClass {
+      @Flip()
+      fn(a: number, b: number) {
+        return [ a, b ];
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn(10, 20)).to.eql([ 20, 10 ]);
+  });
+
+  it('should flip the arguments of the resolved function', () => {
+    class MyClass {
+      @Flip('fn')
+      fn2: (b: number, a: number) => [ number, number ];
+
+      fn(a: number, b: number) {
+        return [ a, b ];
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn2(10, 20)).to.eql([ 20, 10 ]);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/flow.spec.ts.html b/docs/test-file/src/flow.spec.ts.html new file mode 100644 index 0000000..04efb91 --- /dev/null +++ b/docs/test-file/src/flow.spec.ts.html @@ -0,0 +1,179 @@ + + + + + + src/flow.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/flow.spec.ts

+
import { expect } from 'chai';
+
+import { Flow } from './flow';
+
+describe('flow', () => {
+  it('should compose the functions', () => {
+    class MyClass {
+      name = 'Avry';
+
+      @Flow('getName', (v: string) => v.toUpperCase())
+      fn(...args: any[]) {
+        return args[0];
+      }
+
+      getName(): string {
+        expect(this, 'context').to.equal(myClass);
+
+        return this.name;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn()).to.equal('AVRY');
+  });
+
+  it('should compose and assign to the property', () => {
+    class MyClass {
+      name = 'Avry';
+
+      @Flow('getName', (v: string) => v.toUpperCase())
+      fn: () => string;
+
+      getName(): string {
+        expect(this, 'context').to.equal(myClass);
+
+        return this.name;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn()).to.equal('AVRY');
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/flowRight.spec.ts.html b/docs/test-file/src/flowRight.spec.ts.html new file mode 100644 index 0000000..c8e2024 --- /dev/null +++ b/docs/test-file/src/flowRight.spec.ts.html @@ -0,0 +1,179 @@ + + + + + + src/flowRight.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/flowRight.spec.ts

+
import { expect } from 'chai';
+
+import { FlowRight } from './flowRight';
+
+describe('flowRight', () => {
+  it('should compose the functions', () => {
+    class MyClass {
+      name = 'Avry';
+
+      @FlowRight((v: string) => v.toUpperCase(), 'getName')
+      fn(...args: any[]) {
+        return args[0];
+      }
+
+      getName(): string {
+        expect(this, 'context').to.equal(myClass);
+
+        return this.name;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn()).to.equal('AVRY');
+  });
+
+  it('should compose the property', () => {
+    class MyClass {
+      name = 'Avry';
+
+      @FlowRight((v: string) => v.toUpperCase(), 'getName')
+      fn: () => string;
+
+      getName(): string {
+        expect(this, 'context').to.equal(myClass);
+
+        return this.name;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn()).to.equal('AVRY');
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/memoize.spec.ts.html b/docs/test-file/src/memoize.spec.ts.html new file mode 100644 index 0000000..ad363e1 --- /dev/null +++ b/docs/test-file/src/memoize.spec.ts.html @@ -0,0 +1,302 @@ + + + + + + src/memoize.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/memoize.spec.ts

+
import { expect } from 'chai';
+import { spy } from 'sinon';
+
+import { Memoize } from './memoize';
+
+describe('memoize', () => {
+  it('should memoize the function', () => {
+    const _spy = spy();
+
+    class MyClass {
+      @Memoize()
+      fn(n: number): number {
+        _spy(n);
+        expect(this, 'context').to.equal(myClass);
+
+        return n;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass.fn(1);
+
+    expect(myClass.fn(1)).to.equal(1);
+    expect(_spy.callCount).to.equal(1);
+
+    myClass.fn(2);
+    myClass.fn(2);
+
+    expect(myClass.fn(2)).to.equal(2);
+    expect(_spy.callCount).to.equal(2);
+  });
+
+  it('should memoize the function (paramless)', () => {
+    const _spy = spy();
+
+    class MyClass {
+      @Memoize
+      fn(n: number): number {
+        _spy(n);
+        expect(this, 'context').to.equal(myClass);
+
+        return n;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass.fn(1);
+
+    expect(myClass.fn(1)).to.equal(1);
+    expect(_spy.callCount).to.equal(1);
+
+    myClass.fn(2);
+    myClass.fn(2);
+
+    expect(myClass.fn(2)).to.equal(2);
+    expect(_spy.callCount).to.equal(2);
+  });
+
+  describe('with function resolver', () => {
+    it('should resolve the key', () => {
+      const _spy = spy();
+
+      class MyClass {
+        @Memoize((i: any) => i.key)
+        fn(item: any): any {
+          _spy();
+          expect(this, 'context').to.equal(myClass);
+
+          return item.value;
+        }
+      }
+
+      const myClass = new MyClass();
+
+      myClass.fn({ key: 'test', value: 10 });
+      myClass.fn({ key: 'test', value: 20 });
+      myClass.fn({ key: 'test', value: 30 });
+
+      expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);
+      expect(_spy.callCount).to.equal(1);
+
+      myClass.fn({ key: 'test2', value: 30 });
+
+      expect(myClass.fn({ key: 'test2', value: 50 })).to.equal(30);
+      expect(_spy.callCount).to.equal(2);
+    });
+  });
+
+  describe('with string resolver', () => {
+    it('should resolve the key', () => {
+      const _spy = spy();
+
+      class MyClass {
+        @Memoize('resolve')
+        fn(item: any): any {
+          _spy();
+          expect(this, 'context').to.equal(myClass);
+
+          return item.value;
+        }
+
+        resolve(item: any): any {
+          expect(this, 'resolver context').to.equal(myClass);
+
+          return item.key;
+        }
+      }
+
+      const myClass = new MyClass();
+
+      myClass.fn({ key: 'test', value: 10 });
+      myClass.fn({ key: 'test', value: 20 });
+      myClass.fn({ key: 'test', value: 30 });
+
+      expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);
+      expect(_spy.callCount).to.equal(1);
+
+      myClass.fn({ key: 'test2', value: 30 });
+
+      expect(myClass.fn({ key: 'test2', value: 50 })).to.equal(30);
+      expect(_spy.callCount).to.equal(2);
+    });
+  });
+
+  describe('with custom map type', () => {
+    it('should create the map of type', () => {
+      class MyClass {
+        @Memoize({ type: WeakMap })
+        fn(item: any): any {
+          return item.value;
+        }
+      }
+
+      const myClass = new MyClass();
+
+      expect((myClass.fn as any).cache).to.be.an.instanceOf(WeakMap);
+    });
+  });
+
+  describe('with custom cache', () => {
+    it('should use the provided map', () => {
+      const cache = new Map();
+
+      class MyClass {
+        @Memoize({ cache })
+        fn(item: any): any {
+          return item.value;
+        }
+      }
+
+      const myClass = new MyClass();
+      const myClass2 = new MyClass();
+
+      expect((myClass.fn as any).cache).to.equal(cache);
+      expect((myClass2.fn as any).cache).to.equal(cache);
+    });
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/memoizeAll.spec.ts.html b/docs/test-file/src/memoizeAll.spec.ts.html new file mode 100644 index 0000000..aa1fa42 --- /dev/null +++ b/docs/test-file/src/memoizeAll.spec.ts.html @@ -0,0 +1,220 @@ + + + + + + src/memoizeAll.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/memoizeAll.spec.ts

+
import { expect } from 'chai';
+import { spy } from 'sinon';
+
+import { MemoizeAll } from './memoizeAll';
+
+describe('memoizeAll', () => {
+  it('should memoize the function', () => {
+    const _spy = spy();
+
+    class MyClass {
+      @MemoizeAll()
+      fn(n: number): number {
+        _spy(n);
+        expect(this, 'context').to.equal(myClass);
+
+        return n;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass2.fn(1);
+    myClass2.fn(1);
+    myClass2.fn(1);
+
+    expect(_spy.callCount).to.equal(1);
+  });
+
+  it('should memoize the function (paramless)', () => {
+    const _spy = spy();
+
+    class MyClass {
+      @MemoizeAll
+      fn(n: number): number {
+        _spy(n);
+        expect(this, 'context').to.equal(myClass);
+
+        return n;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass.fn(1);
+    myClass2.fn(1);
+    myClass2.fn(1);
+    myClass2.fn(1);
+
+    expect(_spy.callCount).to.equal(1);
+  });
+
+  describe('with function resolver', () => {
+    it('should resolve the key', () => {
+      const _spy = spy();
+
+      class MyClass {
+        @MemoizeAll((i: any) => i.key)
+        fn(item: any): any {
+          _spy();
+          expect(this, 'context').to.equal(myClass);
+
+          return item.value;
+        }
+      }
+
+      const myClass = new MyClass();
+      const myClass2 = new MyClass();
+
+      myClass.fn({ key: 'test', value: 10 });
+      myClass.fn({ key: 'test', value: 20 });
+      myClass.fn({ key: 'test', value: 30 });
+      myClass2.fn({ key: 'test', value: 40 });
+      myClass2.fn({ key: 'test', value: 50 });
+
+      expect(myClass.fn({ key: 'test', value: 50 })).to.equal(10);
+      expect(_spy.callCount).to.equal(1);
+    });
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/mixin.spec.ts.html b/docs/test-file/src/mixin.spec.ts.html new file mode 100644 index 0000000..898ab0e --- /dev/null +++ b/docs/test-file/src/mixin.spec.ts.html @@ -0,0 +1,155 @@ + + + + + + src/mixin.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/mixin.spec.ts

+
import { expect } from 'chai';
+
+import { Mixin } from './mixin';
+
+describe('mixin', () => {
+  it('should mixin the object', () => {
+    const myApi = {
+      fn2() {}
+    };
+
+    @Mixin(myApi)
+    class MyClass {
+      fn() {}
+    }
+
+    const myClass = new MyClass();
+
+    expect((myClass as any).fn2).to.be.a('function');
+    expect((MyClass.prototype as any).fn2).to.be.a('function');
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/negate.spec.ts.html b/docs/test-file/src/negate.spec.ts.html new file mode 100644 index 0000000..a715949 --- /dev/null +++ b/docs/test-file/src/negate.spec.ts.html @@ -0,0 +1,180 @@ + + + + + + src/negate.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/negate.spec.ts

+
import { expect } from 'chai';
+
+import { Negate } from './negate';
+
+describe('negate', () => {
+  it('should inverse the result of the function', () => {
+    class MyClass {
+      @Negate()
+      fn() {
+        return true;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn()).to.be.false;
+  });
+
+  it('should inverse the result of the function (paramless)', () => {
+    class MyClass {
+      @Negate
+      fn() {
+        return true;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn()).to.be.false;
+  });
+
+  it('should inverse the result of the resolved function', () => {
+    class MyClass {
+      @Negate('fn')
+      fn2: () => boolean;
+
+      fn() {
+        return true;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn2()).to.be.false;
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/once.spec.ts.html b/docs/test-file/src/once.spec.ts.html new file mode 100644 index 0000000..8dc42f6 --- /dev/null +++ b/docs/test-file/src/once.spec.ts.html @@ -0,0 +1,164 @@ + + + + + + src/once.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/once.spec.ts

+
import { expect } from 'chai';
+
+import { Once } from './once';
+
+describe('once', () => {
+  it('should invoke the method only once', () => {
+    let calls = 0;
+
+    class MyClass {
+      @Once()
+      fn() {
+        calls++;
+      }
+    }
+
+    const myClass = new MyClass();
+    const myClass2 = new MyClass();
+
+    myClass.fn();
+    myClass.fn();
+    myClass.fn();
+
+    expect(calls, 'single class').to.equal(1);
+
+    myClass2.fn();
+    myClass2.fn();
+    myClass2.fn();
+
+    expect(calls, 'multiple class').to.equal(2);
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/overArgs.spec.ts.html b/docs/test-file/src/overArgs.spec.ts.html new file mode 100644 index 0000000..d445201 --- /dev/null +++ b/docs/test-file/src/overArgs.spec.ts.html @@ -0,0 +1,153 @@ + + + + + + src/overArgs.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/overArgs.spec.ts

+
import { expect } from 'chai';
+
+import { OverArgs } from './overArgs';
+
+const add = (n: number) => (v: number) => v + n;
+
+describe('overArgs', () => {
+  it('should transform each argument', () => {
+    class MyClass {
+      @OverArgs(add(10), add(5))
+      fn(a: number, b: number): [ number, number ] {
+        return [ a, b ];
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn(5, 50)).to.eql([ 15, 55 ]);
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/partial.spec.ts.html b/docs/test-file/src/partial.spec.ts.html new file mode 100644 index 0000000..2aa4b33 --- /dev/null +++ b/docs/test-file/src/partial.spec.ts.html @@ -0,0 +1,157 @@ + + + + + + src/partial.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/partial.spec.ts

+
import { expect } from 'chai';
+
+import { Partial } from './partial';
+
+describe('partial', () => {
+  it('should create a partially applied function', () => {
+    class MyClass {
+      lastName = 'Schmo';
+
+      @Partial('fn', 'Joe')
+      fn2: () => string;
+
+      fn(name: string): string {
+        return `${name} ${this.lastName}`;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn2).to.be.a('function');
+    expect(myClass.fn2()).to.equal('Joe Schmo');
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/partialRight.spec.ts.html b/docs/test-file/src/partialRight.spec.ts.html new file mode 100644 index 0000000..cf4e8ee --- /dev/null +++ b/docs/test-file/src/partialRight.spec.ts.html @@ -0,0 +1,156 @@ + + + + + + src/partialRight.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/partialRight.spec.ts

+
import { expect } from 'chai';
+
+import { PartialRight } from './partialRight';
+
+describe('partialRight', () => {
+  it('should create a partially applied function', () => {
+    class MyClass {
+      firstName = 'Avry';
+
+      @PartialRight('fn', 'Sojka')
+      fn2: () => string;
+
+      fn(name: string): string {
+        return `${this.firstName} ${name}`;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn2).to.be.a('function');
+    expect(myClass.fn2()).to.equal('Avry Sojka');
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/rearg.spec.ts.html b/docs/test-file/src/rearg.spec.ts.html new file mode 100644 index 0000000..9145126 --- /dev/null +++ b/docs/test-file/src/rearg.spec.ts.html @@ -0,0 +1,167 @@ + + + + + + src/rearg.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/rearg.spec.ts

+
import { expect } from 'chai';
+
+import { Rearg } from './rearg';
+
+describe('rearg', () => {
+  it('should change the order of arguments', () => {
+    class MyClass {
+      @Rearg(2, 1, 0)
+      fn(a: any, b: any, c: any): any[] {
+        return [ a, b, c ];
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn(1, 2, 3)).to.eql([ 3, 2, 1 ]);
+  });
+
+  it('should change the order of the resolved function', () => {
+    class MyClass {
+      @Rearg('fn', 2, 1, 0)
+      fn2: Function;
+
+      fn(a: any, b: any, c: any): any[] {
+        return [ a, b, c ];
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn2(1, 2, 3)).to.eql([ 3, 2, 1 ]);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/rest.spec.ts.html b/docs/test-file/src/rest.spec.ts.html new file mode 100644 index 0000000..ea9f7ad --- /dev/null +++ b/docs/test-file/src/rest.spec.ts.html @@ -0,0 +1,168 @@ + + + + + + src/rest.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/rest.spec.ts

+
import { expect } from 'chai';
+
+import { Rest } from './rest';
+
+describe('rest', () => {
+  it('should change the order of arguments', () => {
+    class MyClass {
+      @Rest(1)
+      fn(...args: any[]) {
+        expect(args.length).to.equal(2);
+        expect(args[0]).to.equal(1);
+        expect(args[1]).to.eql([ 2, 3, 4 ]);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(1, 2, 3, 4);
+  });
+
+  it('should change the order of arguments (paramless)', () => {
+    class MyClass {
+      @Rest
+      fn(...args: any[]) {
+        expect(args.length).to.equal(1);
+        expect(args[0]).to.eql([ 1, 2, 3, 4 ]);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(1, 2, 3, 4);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/spread.spec.ts.html b/docs/test-file/src/spread.spec.ts.html new file mode 100644 index 0000000..a026af1 --- /dev/null +++ b/docs/test-file/src/spread.spec.ts.html @@ -0,0 +1,167 @@ + + + + + + src/spread.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/spread.spec.ts

+
import { expect } from 'chai';
+
+import { Spread } from './spread';
+
+describe('spread', () => {
+  it('should spread the arguments', () => {
+    class MyClass {
+      @Spread()
+      fn(...args: any[]) {
+        expect(args.length).to.equal(4);
+        expect(args).to.eql([ 1, 2, 3, 4 ]);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn([ 1, 2, 3, 4 ]);
+  });
+
+  it('should spread the arguments (paramless)', () => {
+    class MyClass {
+      @Spread
+      fn(...args: any[]) {
+        expect(args.length).to.equal(4);
+        expect(args).to.eql([ 1, 2, 3, 4 ]);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn([ 1, 2, 3, 4 ]);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/tap.spec.ts.html b/docs/test-file/src/tap.spec.ts.html new file mode 100644 index 0000000..3c72977 --- /dev/null +++ b/docs/test-file/src/tap.spec.ts.html @@ -0,0 +1,165 @@ + + + + + + src/tap.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/tap.spec.ts

+
import { expect } from 'chai';
+
+import { Tap } from './tap';
+
+describe('tap', () => {
+  it('should return the first argument', () => {
+    class MyClass {
+      @Tap()
+      fn(_n: number): any {
+        return 10;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn(50)).to.equal(50);
+  });
+
+  it('should return the first argument (paramless)', () => {
+    class MyClass {
+      @Tap
+      fn(_n: number): any {
+        return 10;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn(50)).to.equal(50);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/throttle.spec.ts.html b/docs/test-file/src/throttle.spec.ts.html new file mode 100644 index 0000000..3cdf554 --- /dev/null +++ b/docs/test-file/src/throttle.spec.ts.html @@ -0,0 +1,250 @@ + + + + + + src/throttle.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/throttle.spec.ts

+
import { expect } from 'chai';
+import { spy } from 'sinon';
+
+import { Throttle, ThrottleSetter, ThrottleGetter } from './throttle';
+
+describe('throttle', () => {
+  it('should throttle the method', (done) => {
+    const _spy = spy();
+
+    class MyClass {
+      @Throttle(10)
+      fn(_n: number) {
+        _spy();
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(1);
+    myClass.fn(2);
+
+    setTimeout(() => myClass.fn(3), 1);
+    setTimeout(() => myClass.fn(4), 2);
+
+    setTimeout(() => {
+      expect(_spy.callCount).to.equal(2);
+      done();
+    }, 20);
+  });
+
+  it('should throttle the method (paramless)', (done) => {
+    const _spy = spy();
+
+    class MyClass {
+      @Throttle
+      fn(_n: number) {
+        _spy();
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(1);
+    myClass.fn(2);
+
+    setTimeout(() => {
+      expect(_spy.callCount).to.equal(2);
+      done();
+    }, 20);
+  });
+
+  it('should debounce the property setter', (done) => {
+    class MyClass {
+      private _value = 100;
+
+      @ThrottleSetter(10)
+      set value(value: number) {
+        this._value = value;
+      }
+
+      get value(): number {
+        return this._value;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.value = 5;
+    myClass.value = 15;
+
+    setTimeout(() => myClass.value = 20, 5);
+
+    expect(myClass.value).to.equal(5);
+
+    setTimeout(() => {
+      expect(myClass.value).to.equal(20);
+      done();
+    }, 20);
+  });
+
+  // Skipping this test for now.
+  it.skip('should debounce the property getter', (done) => {
+    class MyClass {
+      private _value = 0;
+
+      @ThrottleGetter(10)
+      get value(): number {
+        return ++this._value;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.value).to.equal(1);
+    expect(myClass.value).to.equal(1);
+
+    setTimeout(() => expect(myClass.value).to.equal(1), 5);
+
+    setTimeout(() => {
+      expect(myClass.value).to.equal(2);
+      done();
+    }, 20);
+  });
+
+  it('should contain the cancel and flush methods', () => {
+    class MyClass {
+      @Throttle(10)
+      fn() {}
+    }
+
+    const myClass = new MyClass();
+
+    expect((myClass.fn as any).cancel).to.be.a('function');
+    expect((myClass.fn as any).flush).to.be.a('function');
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/unary.spec.ts.html b/docs/test-file/src/unary.spec.ts.html new file mode 100644 index 0000000..8fa15d6 --- /dev/null +++ b/docs/test-file/src/unary.spec.ts.html @@ -0,0 +1,165 @@ + + + + + + src/unary.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/unary.spec.ts

+
import { expect } from 'chai';
+
+import { Unary } from './unary';
+
+describe('unary', () => {
+  it('should only invoke with one argument', () => {
+    class MyClass {
+      @Unary()
+      fn(...args: any[]): any {
+        expect(args.length).to.equal(1);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(1, 2, 3, 4);
+  });
+
+  it('should only invoke with one argument (paramless)', () => {
+    class MyClass {
+      @Unary
+      fn(...args: any[]): any {
+        expect(args.length).to.equal(1);
+      }
+    }
+
+    const myClass = new MyClass();
+
+    myClass.fn(1, 2, 3, 4);
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/utils/isDecoratorArgs.spec.ts.html b/docs/test-file/src/utils/isDecoratorArgs.spec.ts.html new file mode 100644 index 0000000..6bcbf62 --- /dev/null +++ b/docs/test-file/src/utils/isDecoratorArgs.spec.ts.html @@ -0,0 +1,190 @@ + + + + + + src/utils/isDecoratorArgs.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/isDecoratorArgs.spec.ts

+
import { expect } from 'chai';
+
+import { isMethodOrPropertyDecoratorArgs } from './isDecoratorArgs';
+
+describe('when determining if args are from a decorator', () => {
+  describe('and when the arguments are gte to 2', () => {
+    describe('and when the first argument is an object', () => {
+      describe('and when the second argument is a string', () => {
+        describe('and when the first argument has a constructor property', () => {
+          describe('and when the constructors prototype is the first argument', () => {
+            it('should return true', () => {
+              class Test {}
+
+              expect(isMethodOrPropertyDecoratorArgs(Test.prototype, 'test')).to.be.true;
+            });
+          });
+
+          describe('and when the constructors prototype is not the first argument', () => {
+            it('should return false', () => {
+              class Test {}
+
+              expect(isMethodOrPropertyDecoratorArgs({ constructor: Test }, 'test')).to.be.false;
+            });
+          });
+        });
+
+        describe('and when the first argument does not have a constructor property', () => {
+          it('should return false', () => {
+            expect(isMethodOrPropertyDecoratorArgs({}, 'test')).to.be.false;
+          });
+        });
+      });
+
+      describe('and when the second argument is not a string', () => {
+        it('should return false', () => {
+          expect(isMethodOrPropertyDecoratorArgs({}, 123)).to.be.false;
+        });
+      });
+    });
+
+    describe('and when the first argument is not an object', () => {
+      it('should return false', () => {
+        expect(isMethodOrPropertyDecoratorArgs(true, 123)).to.be.false;
+      });
+    });
+  });
+
+  describe('and when the arguments are gte to 2', () => {
+    it('should return false', () => {
+      class Test {}
+
+      expect(isMethodOrPropertyDecoratorArgs(Test.prototype)).to.be.false;
+    });
+  });
+});
+
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/utils/wrapConstructor.spec.ts.html b/docs/test-file/src/utils/wrapConstructor.spec.ts.html new file mode 100644 index 0000000..b51aacf --- /dev/null +++ b/docs/test-file/src/utils/wrapConstructor.spec.ts.html @@ -0,0 +1,147 @@ + + + + + + src/utils/wrapConstructor.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/utils/wrapConstructor.spec.ts

+
import { expect } from 'chai';
+
+import { wrapConstructor } from './wrapConstructor';
+
+describe('when wrapping a constructor', () => {
+  it('should retain the original name of the constructor', () => {
+    class Test {}
+
+    const Wrapper = wrapConstructor(Test, function Blorg() {});
+
+    expect(Wrapper.name).to.equal('Test');
+  });
+});
+
+ +
+ + + + + + + + + + + + diff --git a/docs/test-file/src/wrap.spec.ts.html b/docs/test-file/src/wrap.spec.ts.html new file mode 100644 index 0000000..7b86a82 --- /dev/null +++ b/docs/test-file/src/wrap.spec.ts.html @@ -0,0 +1,155 @@ + + + + + + src/wrap.spec.ts | Lodash Decorators Documentation + + + + + + + +
+ Home + + Reference + Source + Test + +Repository
+ + + +

src/wrap.spec.ts

+
import { expect } from 'chai';
+
+import { Wrap } from './wrap';
+
+describe('wrap', () => {
+  it('should wrap the function', () => {
+    class MyClass {
+      @Wrap('fn')
+      fn2(fn?: any, arg?: any): any {
+        return fn(arg);
+      }
+
+      fn(n: any) {
+        return n;
+      }
+    }
+
+    const myClass = new MyClass();
+
+    expect(myClass.fn2(50)).to.equal(50);
+  });
+});
+ +
+ + + + + + + + + + + + diff --git a/docs/test.html b/docs/test.html index ba46347..9becb18 100644 --- a/docs/test.html +++ b/docs/test.html @@ -2,15 +2,13 @@ - - Test | Lodash Decorators Documentation API Document + + Test | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository @@ -94,751 +120,872 @@ Description Identifier - Count - - -

after

+ +

after

- - 1 - -

should invoke the method after 3 times

+ +

should invoke the method after 3 times

- - - - -

afterAll

+ +

afterAll

- - 1 - -

should invoke the method after 3 times

+ +

should invoke the method after 3 times

- - - - -

ary

+ +

ary

- - 1 - -

should invoke the method with specified arguments

+ +

should invoke the method with specified arguments

- - + +

attempt

+
+ - + - -

attempt

+ +

should catch the error and return it

- - 1 - -

should catch the error and return it

+ +

should catch the error and return it (paramless)

- - + +

before

+
+ - + - -

before

+ +

should invoke the method before 3 times

- - 1 - -

should invoke the method before 3 times

+ +

beforeAll

- - + +

should invoke the method before 3 times

+
+ - + - -

beforeAll

+ +

bind

- - 1 - -

should invoke the method before 3 times

+ +

should bind the context of the method

- - + +

should bind with other decorators

+
+ - + - -

bind

+ +

should bind without params

- - 2 - -

should bind the context of the method

+ +

should not bind when accessed on the prototype

- - - -

should bind with other decorators

+ + +

bindAll

- - + +

should bind all method to the context

+
+ - + - -

bindAll

+ +

should bind only specified methods to the context

- - 2 - -

should bind all method to the context

+ +

should work with getters

- - - -

should bind only specified methods to the context

+ + +

should not access getters that are not decorated

- - + +

should copy over any static properties on the constructor

+
+ - + - -

multiple decorators

+ +

should pass babels class call check

- - 3 + +

multiple decorators

+
+ - + + +

when using multiple instance decorators

+
+ - + - -

when using multiple instance decorators

+ +

should apply both decorators

- - 1 - -

should apply both decorators

+ +

when combining proto and instance decorators

- - + +

should apply both decorators

+
+ - + - -

when combining proto and instance decorators

+ +

when proto is after instance

- - 2 - -

should apply both decorators

+ +

should only apply the instance decorator

- - + +

curry

+
+ - + - -

when proto is after instance

+ +

should curry the method with default arity

- - 1 - -

should only apply the instance decorator

+ +

should curry the method with default arity (paramless)

- - + +

should curry the method with fixed arity

+
+ - + - -

curry

+ +

should retain the class context

- - 3 - -

should curry the method with default arity

+ +

curryAll

- - - -

should curry the method with fixed arity

+ + +

should curry the method with default arity

- - - -

should retain the class context

+ + +

should curry the method with default arity (paramless)

- - + +

should curry the method with fixed arity

+
+ - + - -

curryAll

+ +

should not retain the class context

- - 3 - -

should curry the method with default arity

+ +

curryRight

- - - -

should curry the method with fixed arity

+ + +

should curry the method with default arity

- - - -

should not retain the class context

+ + +

should curry the method with default arity (paramless)

- - + +

should retain the class context

+
+ - + - -

curryRight

+ +

curryRightAll

- - 2 - -

should curry the method with default arity

+ +

should curry the method with default arity

- - - -

should retain the class context

+ + +

should curry the method with default arity (paramless)

- - + +

debounce

+
+ - + - -

curryRightAll

+ +

should debounce the method

- - 1 - -

should curry the method with default arity

+ +

should debounce the property setter

- - + +

should contain the flush and cancel methods

+
+ - + - -

debounce

+ +

debounceAll

- - 3 - -

should debounce the method

+ +

should debounce the method across instances

- - - -

should debounce the property setter

+ + +

defer

- - - -

should contain the flush and cancel methods

+ + +

should defer the method

- - + +

should defer the method (paramless)

+
+ - + - -

debounceAll

+ +

should debounce the property setter

- - 1 - -

should debounce the method across instances

+ +

should debounce the property setter (paramless)

- - + +

delay

+
+ - + - -

defer

+ +

should delay the method

- - 2 - -

should defer the method

+ +

should debounce the property setter

- - - -

should debounce the property setter

+ + +

flip

- - + +

should flip the arguments of the function

+
+ - + - -

delay

+ +

should flip the arguments of the resolved function

- - 2 - -

should delay the method

+ +

flow

- - - -

should debounce the property setter

+ + +

should compose the functions

- - + +

should compose and assign to the property

+
+ - + - -

flip

+ +

flowRight

- - 1 - -

should flip the arguments of the function

+ +

should compose the functions

- - + +

should compose the property

+
+ - + - -

flow

+ +

memoize

- - 2 - -

should compose the functions

+ +

should memoize the function

- - - -

should compose and assign to the property

+ + +

should memoize the function (paramless)

- - + +

with function resolver

+
+ - + - -

flowRight

+ +

should resolve the key

- - 2 - -

should compose the functions

+ +

with string resolver

- - - -

should compose the property

+ + +

should resolve the key

- - + +

with custom map type

+
+ - + - -

memoize

+ +

should create the map of type

- - 5 - -

should memoize the function

+ +

with custom cache

- - + +

should use the provided map

+
+ - + - -

with function resolver

+ +

memoizeAll

- - 1 - -

should resolve the key

+ +

should memoize the function

- - + +

should memoize the function (paramless)

+
+ - + - -

with string resolver

+ +

with function resolver

- - 1 - -

should resolve the key

+ +

should resolve the key

- - + +

mixin

+
+ - + - -

with custom map type

+ +

should mixin the object

- - 1 - -

should create the map of type

+ +

negate

- - + +

should inverse the result of the function

+
+ - + - -

with custom cache

+ +

should inverse the result of the function (paramless)

- - 1 - -

should use the provided map

+ +

should inverse the result of the resolved function

- - + +

once

+
+ - + - -

memoizeAll

+ +

should invoke the method only once

- - 2 - -

should memoize the function

+ +

overArgs

- - + +

should transform each argument

+
+ - + - -

with function resolver

+ +

partial

- - 1 - -

should resolve the key

+ +

should create a partially applied function

- - + +

partialRight

+
+ - + - -

mixin

+ +

should create a partially applied function

- - 1 - -

should mixin the object

+ +

rearg

- - + +

should change the order of arguments

+
+ - + - -

negate

+ +

should change the order of the resolved function

- - 1 - -

should inverse the result of the function

+ +

rest

- - + +

should change the order of arguments

+
+ - + - -

once

+ +

should change the order of arguments (paramless)

- - 1 - -

should invoke the method only once

+ +

spread

- - + +

should spread the arguments

+
+ - + - -

overArgs

+ +

should spread the arguments (paramless)

- - 1 - -

should transform each argument

+ +

tap

- - + +

should return the first argument

+
+ - + - -

partial

+ +

should return the first argument (paramless)

- - 1 - -

should create a partially applied function

+ +

throttle

- - + +

should throttle the method

+
+ - + - -

partialRight

+ +

should throttle the method (paramless)

- - 1 - -

should create a partially applied function

+ +

should debounce the property setter

- - + +

should contain the cancel and flush methods

+
+ - + - -

rearg

+ +

unary

- - 1 - -

should change the order of arguments

+ +

should only invoke with one argument

- - + +

should only invoke with one argument (paramless)

+
+ - + - -

rest

+ +

when determining if args are from a decorator

- - 1 - -

should change the order of arguments

+ +

and when the arguments are gte to 2

- - + +

and when the first argument is an object

+
+ - + - -

spread

+ +

and when the second argument is a string

- - 1 - -

should spread the arguments

+ +

and when the first argument has a constructor property

- - + +

and when the constructors prototype is the first argument

+
+ - + - -

tap

+ +

should return true

- - 1 - -

should return the first argument

+ +

and when the constructors prototype is not the first argument

- - + +

should return false

+
+ - + - -

throttle

+ +

and when the first argument does not have a constructor property

- - 4 - -

should throttle the method

+ +

should return false

- - - -

should debounce the property setter

+ + +

and when the second argument is not a string

- - - -

should debounce the property getter

+ + +

should return false

- - - -

should contain the cancel and flush methods

+ + +

and when the first argument is not an object

- - + +

should return false

+
+ - + - -

unary

+ +

and when the arguments are gte to 2

- - 1 - -

should only invoke with one argument

+ +

should return false

- - + +

when wrapping a constructor

+
+ - + - -

wrap

+ +

should retain the original name of the constructor

- - 1 - -

should wrap the function

+ +

wrap

- - + +

should wrap the function

+
+ - +
diff --git a/docs/variable/index.html b/docs/variable/index.html index bd6bce6..acf9c51 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -3,14 +3,12 @@ - Variable | Lodash Decorators Documentation API Document + Variable | Lodash Decorators Documentation - - - +
@@ -19,7 +17,6 @@ Reference Source Test - Repository -
+Repository @@ -106,13 +132,14 @@

- After(n: number): * + + Attempt(args: ...*): *

-

The opposite of Before.

+

Attempts to invoke func, returning either the result or the caught error object.

@@ -134,13 +161,14 @@

- AfterAll(n: number): * + + Bind(partials: ...*): *

-

The opposite of Before.

+

Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.

@@ -162,13 +190,14 @@

- Ary(n: number): * + + Curry(arity: number): *

-

Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.

+

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.

@@ -190,13 +219,14 @@

- Attempt(args: ...*): * + + CurryAll(arity: number): *

-

Attempts to invoke func, returning either the result or the caught error object.

+

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.

@@ -218,14 +248,14 @@

- Before(n: number): * + + CurryRight(arity: number): *

-

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. -Subsequent calls to the created function return the result of the last func invocation.

+

This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.

@@ -247,14 +277,14 @@

- BeforeAll(n: number): * + + CurryRightAll(arity: number): *

-

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. -Subsequent calls to the created function return the result of the last func invocation.

+

This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial.

@@ -276,14 +306,14 @@

- Bind(partials: ...*): * + + DecoratorFactory: InternalDecoratorFactory

-

Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.

-
+
@@ -304,13 +334,14 @@

- Curry(arity: number): * + + Defer(args: ...*): *

-

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.

+

Defers invoking the func until the current call stack has cleared.

@@ -332,14 +363,14 @@

- CurryAll(arity: number): * + + InstanceChainMap: CompositeKeyWeakMap

-

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on.

-
+
@@ -360,13 +391,14 @@

- CurryRight(arity: number): * + + Memoize: *

-

This method is like .curry except that arguments are applied to func in the manner of .partialRight instead of _.partial.

+

Creates a function that memoizes the result of func.

@@ -388,13 +420,14 @@

- CurryRightAll(arity: number): * + + MemoizeAll(resolver: Function): *

-

This method is like .curry except that arguments are applied to func in the manner of .partialRight instead of _.partial.

+

Memoizes a function on the prototype instead of the instance.

@@ -416,13 +449,15 @@

- Debounce(wait: number, options: DebounceOptions): * + + Negate(fn: ResolvableFunction): *

-

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

+

Negates a functions result or, when used on a property, creates a function that +negates the result of a provided function.

@@ -444,13 +479,14 @@

- DebounceAll(wait: number, options: DebounceOptions): * + + Once: *

-

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked.

+

Creates a function that is restricted to invoking func once.

@@ -472,13 +508,15 @@

- DecoratorFactory: InternalDecoratorFactory + + OnceAll: *

- +

Creates a function that is restricted to invoking func once.

+
@@ -499,14 +537,14 @@

- Defer(args: ...*): * + + Rest: *

-

Defers invoking the func until the current call stack has cleared.

-
+
@@ -527,14 +565,14 @@

- Delay(wait: number, args: ...*): * + + Spread: *

-

Invokes func after wait milliseconds.

-
+
@@ -555,13 +593,15 @@

- Flip: * + + Tap: *

-

Creates a function that invokes func with arguments reversed.

+

Returns the first argument from the function regardless of +the decorated functions return value.

@@ -583,15 +623,14 @@

- Flow: * + + Throttle: *

-

Creates a function that returns the result of invoking the given functions with the this binding of the created function, -where each successive invocation is supplied the return value of the previous.

-
+
@@ -612,15 +651,14 @@

- FlowRight: * + + ThrottleGetter: *

-

Creates a function that returns the result of invoking the given functions with the this binding of the created function, -where each successive invocation is supplied the return value of the previous.

-
+
@@ -641,7 +679,8 @@

- InstanceChainMap: buildDocs/utils.js~CompositeKeyWeakMap + + ThrottleSetter: *

@@ -668,7 +707,8 @@

- Memoize: * + + Unary: *

@@ -695,14 +735,14 @@

- MemoizeAll(resolver: Function): * + + decorator: *

-

Memoizes a function on the prototype instead of the instance.

-
+
@@ -723,7 +763,8 @@

- Negate: * + + decorator: *

@@ -750,7 +791,8 @@

- Once: * + + decorator: *

@@ -777,7 +819,8 @@

- OnceAll: * + + decorator: *

@@ -804,7 +847,8 @@

- OverArgs: * + + decorator: *

@@ -831,7 +875,8 @@

- Partial: * + + decorator: *

@@ -858,7 +903,8 @@

- PartialRight: * + + decorator: *

@@ -885,7 +931,8 @@

- Rearg: * + + decorator: *

@@ -912,7 +959,8 @@

- Rest: * + + decorator: *

@@ -939,7 +987,8 @@

- Spread: * + + decorator: *

@@ -966,15 +1015,14 @@

- Tap: * + + decorator: *

-

Returns the first argument from the function regardless of -the decorated functions return value.

-
+
@@ -995,7 +1043,8 @@

- Throttle: * + + decorator: *

@@ -1022,7 +1071,8 @@

- ThrottleAll: * + + decorator: *

@@ -1049,7 +1099,8 @@

- ThrottleGetter: * + + decorator: *

@@ -1076,7 +1127,8 @@

- ThrottleSetter: * + + decorator: *

@@ -1103,7 +1155,8 @@

- Unary: * + + decorator: *

@@ -1130,7 +1183,8 @@

- Wrap: * + + decorator: *

@@ -1150,25 +1204,25 @@

Static Public

-

+

public - After(n: number): * + Attempt(args: ...*): * - source + source

- +
import {Attempt} from 'lodash-decorators/src/attempt.ts'
-

The opposite of Before. This method creates a function that invokes once it's called n or more times.

+

Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.

@@ -1193,16 +1247,20 @@

Example:


 class MyClass {
-  @After(2)
-  fn() {
-    return 10;
+  @Attempt()
+  fn(value) {
+    if (typeof value === 'number') {
+      return value
+    }
+
+    throw new Error();
   }
 }
 
 const myClass = new MyClass();
 
-myClass.fn(); // => undefined
-myClass.fn(); // => 10
+myClass.fn(10); // => 10; +myClass.fn(null); // => Error
@@ -1212,26 +1270,27 @@

Example:

-

+

public - AfterAll(n: number): * + Bind(partials: ...*): * - source + source

- +
import {Bind} from 'lodash-decorators/src/bind.ts'
-

The opposite of Before. This method creates a function that invokes once it's called n or more times. -This spans across all instances of the class instead of the instance.

+

Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.

+

The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for partially applied arguments.

+

Note: Unlike native Function#bind, this method doesn't set the "length" property of bound functions.

@@ -1256,20 +1315,20 @@

Example:


 class MyClass {
-  @AfterAll(2)
-  fn() {
-    return 10;
+  @Bind()
+  bound() {
+    return this;
+  }
+
+  unbound() {
+    return this;
   }
 }
 
 const myClass = new MyClass();
-const myClass2 = new MyClass();
 
-myClass.fn(); // => undefined
-myClass.fn(); // => 10
-
-myClass2.fn(); // => 10
-myClass2.fn(); // => 10
+myClass.bound.call(null); // => myClass {} +myClass.unbound.call(null); // => null
@@ -1279,25 +1338,29 @@

Example:

-

+

public - Ary(n: number): * + Curry(arity: number): * - source + source

- +
import {Curry} from 'lodash-decorators/src/curry.ts'
-

Creates a function that invokes func, with up to n arguments, ignoring any additional arguments.

+

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on. +The arity of func may be specified if func.length is not sufficient. +The original function is bound to the instance. If the method is needed to call in a different context use CurryAll.

+

The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.

+

Note: This method doesn't set the "length" property of curried functions.

@@ -1322,15 +1385,19 @@

Example:


 class MyClass {
-  @Ary(1)
-  fn(...args) {
-    return args;
+  multiplier = 2;
+
+  @Curry()
+  add(a, b) {
+    return (a + b) * this.multiplier;
   }
 }
 
 const myClass = new MyClass();
 
-myClass.fn(1, 2, 3, 4); // => [ 1 ]
+const add5 = myClass.add(5); + +add5AndMultiply(10); // => 30
@@ -1340,25 +1407,29 @@

Example:

-

+

public - Attempt(args: ...*): * + CurryAll(arity: number): * - source + source

- +
import {CurryAll} from 'lodash-decorators/src/curryAll.ts'
-

Attempts to invoke func, returning either the result or the caught error object. Any additional arguments are provided to func when it's invoked.

+

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on. +The arity of func may be specified if func.length is not sufficient.

+

The _.curry.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.

+

Note: This method doesn't set the "length" property of curried functions. +Note: The original function invoked will not be called in the context of the instance. Use Curry to for using it bound.

@@ -1383,20 +1454,17 @@

Example:


 class MyClass {
-  @Attempt()
-  fn(value) {
-    if (typeof value === 'number') {
-      return value
-    }
-
-    throw new Error();
+  @CurryAll()
+  add(a, b) {
+    return (a + b);
   }
 }
 
 const myClass = new MyClass();
 
-myClass.fn(10); // => 10;
-myClass.fn(null); // => Error
+const add5 = myClass.add(5); + +add5AndMultiply(10); // => 15
@@ -1406,26 +1474,29 @@

Example:

-

+

public - Before(n: number): * + CurryRight(arity: number): * - source + source

- +
import {CurryRight} from 'lodash-decorators/src/curryRight.ts'
-

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. -Subsequent calls to the created function return the result of the last func invocation.

+

This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial. +The arity of func may be specified if func.length is not sufficient. +The original function is bound to the instance. If the method is needed to call in a different context use CurryAll.

+

The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.

+

Note: This method doesn't set the "length" property of curried functions.

@@ -1449,23 +1520,20 @@

Example:


-let calls = 0;
-
 class MyClass {
-  @Before(3)
-  fn() {
-    calls++;
+  multiplier = 2;
+
+  @CurryRight()
+  add(a, b) {
+    return (a + b) * this.multiplier;
   }
 }
 
 const myClass = new MyClass();
 
-myClass.fn();
-myClass.fn();
-myClass.fn();
-myClass.fn();
+const add5 = myClass.add(5);
 
-calls === 2; // => true
+add5AndMultiply(10); // => 30
@@ -1475,26 +1543,29 @@

Example:

-

+

public - BeforeAll(n: number): * + CurryRightAll(arity: number): * - source + source

- +
import {CurryRightAll} from 'lodash-decorators/src/curryRightAll.ts'
-

Creates a function that invokes func, with the this binding and arguments of the created function, while it's called less than n times. -Subsequent calls to the created function return the result of the last func invocation.

+

This method is like _.curry except that arguments are applied to func in the manner of _.partialRight instead of _.partial. +The arity of func may be specified if func.length is not sufficient. +The original function is bound to the instance. If the method is needed to call in a different context use CurryAll.

+

The _.curryRight.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for provided arguments.

+

Note: This method doesn't set the "length" property of curried functions.

@@ -1518,26 +1589,18 @@

Example:


-let calls = 0;
-
 class MyClass {
-  @BeforeAll(3)
-  fn() {
-    calls++;
+  @CurryRightAll()
+  add(a, b) {
+    return (a + b);
   }
 }
 
 const myClass = new MyClass();
-const myClass2 = new MyClass();
 
-myClass.fn();
-myClass.fn();
-myClass.fn();
-myClass.fn();
-
-myClass2.fn();
+const add5 = myClass.add(5);
 
-calls === 3; // => true
+add5AndMultiply(10); // => 15
@@ -1547,28 +1610,25 @@

Example:

-

+

public - Bind(partials: ...*): * + DecoratorFactory: InternalDecoratorFactory - source + source

- +
import {DecoratorFactory} from 'lodash-decorators/src/factory/DecoratorFactory.ts'
+ -

Creates a function that invokes func with the this binding of thisArg and partials prepended to the arguments it receives.

-

The .bind.placeholder value, which defaults to in monolithic builds, may be used as a placeholder for partially applied arguments.

-

Note: Unlike native Function#bind, this method doesn't set the "length" property of bound functions.

-
@@ -1585,29 +1645,7 @@

-
-

Example:

- -
- -

-class MyClass {
-  @Bind()
-  bound() {
-    return this;
-  }
-
-  unbound() {
-    return this;
-  }
-}
-
-const myClass = new MyClass();
-
-myClass.bound.call(null); // => myClass {}
-myClass.unbound.call(null); // => null
-
-
+ @@ -1615,29 +1653,25 @@

Example:

-

+

public - Curry(arity: number): * + Defer(args: ...*): * - source + source

- +
import {Defer} from 'lodash-decorators/src/defer.ts'
-

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on. -The arity of func may be specified if func.length is not sufficient. -The original function is bound to the instance. If the method is needed to call in a different context use CurryAll.

-

The .curry.placeholder value, which defaults to in monolithic builds, may be used as a placeholder for provided arguments.

-

Note: This method doesn't set the "length" property of curried functions.

+

Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.

@@ -1662,19 +1696,23 @@

Example:


 class MyClass {
-  multiplier = 2;
+  value = 100;
 
-  @Curry()
-  add(a, b) {
-    return (a + b) * this.multiplier;
+  @Defer()
+  add(a) {
+    this.value += a;
   }
 }
 
 const myClass = new MyClass();
 
-const add5 = myClass.add(5);
+myClass.add(10);
 
-add5AndMultiply(10); // => 30
+myClass.value; // => 100; + +setTimeout(() => { + myClass.value; // => 110; +}, 0);
@@ -1684,30 +1722,25 @@

Example:

-

+

public - CurryAll(arity: number): * + InstanceChainMap: CompositeKeyWeakMap - source + source

- +
import {InstanceChainMap} from 'lodash-decorators/src/factory/common.ts'
+ -

Creates a function that accepts arguments of func and either invokes func returning its result, if at least arity number of arguments have been provided, or returns a function that accepts the remaining func arguments, and so on. -The arity of func may be specified if func.length is not sufficient.

-

The .curry.placeholder value, which defaults to in monolithic builds, may be used as a placeholder for provided arguments.

-

Note: This method doesn't set the "length" property of curried functions. -Note: The original function invoked will not be called in the context of the instance. Use Curry to for using it bound.

-
@@ -1724,26 +1757,7 @@

-
-

Example:

- -
- -

-class MyClass {
-  @CurryAll()
-  add(a, b) {
-    return (a + b);
-  }
-}
-
-const myClass = new MyClass();
-
-const add5 = myClass.add(5);
-
-add5AndMultiply(10); // => 15
-
-
+ @@ -1751,29 +1765,31 @@

Example:

-

+

public - CurryRight(arity: number): * + Memoize: * - source + source

- +
import {Memoize} from 'lodash-decorators/src/memoize.ts'
-

This method is like .curry except that arguments are applied to func in the manner of .partialRight instead of _.partial. -The arity of func may be specified if func.length is not sufficient. -The original function is bound to the instance. If the method is needed to call in a different context use CurryAll.

-

The .curryRight.placeholder value, which defaults to in monolithic builds, may be used as a placeholder for provided arguments.

-

Note: This method doesn't set the "length" property of curried functions.

+

Creates a function that memoizes the result of func. If resolver is provided, +it determines the cache key for storing the result based on the arguments provided to the memoized function. +By default, the first argument provided to the memoized function is used as the map cache key. +The func is invoked with the this binding of the memoized function.

+

You can use a Function or a string that references a method on the class as the resolver. +You can also use a configuration object that lets provide a prexisting cache or specify +the map type to use.

@@ -1798,19 +1814,16 @@

Example:


 class MyClass {
-  multiplier = 2;
-
-  @CurryRight()
-  add(a, b) {
-    return (a + b) * this.multiplier;
+  @Memoize({ type: WeakMap })
+  getName(item) {
+    return item.name;
   }
-}
-
-const myClass = new MyClass();
 
-const add5 = myClass.add(5);
-
-add5AndMultiply(10); // => 30
+ @Memoize('getName') + getLastName(item) { + return item.lastName; + } +}
@@ -1820,29 +1833,25 @@

Example:

-

+

public - CurryRightAll(arity: number): * + MemoizeAll(resolver: Function): * - source + source

-
import {CurryRightAll} from 'lodash-decorators/buildDocs/curryRightAll.js'
+
import {MemoizeAll} from 'lodash-decorators/src/memoizeAll.ts'
-

This method is like .curry except that arguments are applied to func in the manner of .partialRight instead of _.partial. -The arity of func may be specified if func.length is not sufficient. -The original function is bound to the instance. If the method is needed to call in a different context use CurryAll.

-

The .curryRight.placeholder value, which defaults to in monolithic builds, may be used as a placeholder for provided arguments.

-

Note: This method doesn't set the "length" property of curried functions.

+

Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.

@@ -1860,26 +1869,7 @@

-
-

Example:

- -
- -

-class MyClass {
-  @CurryRightAll()
-  add(a, b) {
-    return (a + b);
-  }
-}
-
-const myClass = new MyClass();
-
-const add5 = myClass.add(5);
-
-add5AndMultiply(10); // => 15
-
-
+ @@ -1887,30 +1877,26 @@

Example:

-

+

public - Debounce(wait: number, options: DebounceOptions): * + Negate(fn: ResolvableFunction): * - source + source

- +
import {Negate} from 'lodash-decorators/src/negate.ts'
-

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked. -The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them. -Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function. -Subsequent calls to the debounced function return the result of the last func invocation.

-

Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.

-

If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.

+

Negates a functions result or, when used on a property, creates a function that +negates the result of a provided function.

@@ -1933,27 +1919,18 @@

Example:

-

-class MyClass {
-  value = 100;
+      
class MyClass {
+  @Negate('fn')
+  fn2: () => boolean;
 
-  @Debounce(10)
-  add(a) {
-    this.value += a;
+  fn(): boolean {
+    return true;
   }
 }
 
 const myClass = new MyClass();
 
-myClass.add(10);
-myClass.add(50);
-myClass.add(20);
-
-myClass.value; // => 100;
-
-setTimeout(() => {
-  myClass.value; // => 120;
-}, 11);
+myClass.fn2(); //=> false
@@ -1963,31 +1940,25 @@

Example:

-

+

public - DebounceAll(wait: number, options: DebounceOptions): * + Once: * - source + source

-
import {DebounceAll} from 'lodash-decorators/buildDocs/debounceAll.js'
+
import {Once} from 'lodash-decorators/src/once.ts'
-

Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since the last time the debounced function was invoked. -The debounced function comes with a cancel method to cancel delayed func invocations and a flush method to immediately invoke them. -Provide options to indicate whether func should be invoked on the leading and/or trailing edge of the wait timeout. The func is invoked with the last arguments provided to the debounced function. -Subsequent calls to the debounced function return the result of the last func invocation.

-

The debounce state is shared across all instances of the class.

-

Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if the debounced function is invoked more than once during the wait timeout.

-

If wait is 0 and leading is false, func invocation is deferred until to the next tick, similar to setTimeout with a timeout of 0.

+

Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation.

@@ -2010,27 +1981,20 @@

Example:

-

-class MyClass {
-  value = 100;
+      
class MyClass {
+  value: number = 0;
 
-  @DebounceAll(10)
-  add(a) {
-    this.value += a;
+  @Once()
+  fn(): number {
+    return ++this.value;
   }
 }
 
 const myClass = new MyClass();
 
-myClass.add(10);
-myClass.add(50);
-myClass.add(20);
-
-myClass.value; // => 100;
-
-setTimeout(() => {
-  myClass.value; // => 120;
-}, 11);
+myClass.fn(); //=> 1 +myClass.fn(); //=> 1 +myClass.fn(); //=> 1
@@ -2040,25 +2004,27 @@

Example:

-

+

public - DecoratorFactory: InternalDecoratorFactory + OnceAll: * - source + source

- - +
import {OnceAll} from 'lodash-decorators/src/onceAll.ts'
+

Creates a function that is restricted to invoking func once. Repeat calls to the function return the value of the first invocation. +This is shared across all instances of the class.

+
@@ -2075,7 +2041,27 @@

- +
+

Example:

+ +
+ +
const value = 0;
+
+class MyClass {
+  @Once()
+  fn(): number {
+    return ++value;
+  }
+}
+
+const myClass = new MyClass();
+const myClass2 = new MyClass();
+
+myClass.fn(); //=> 1
+myClass2.fn(); //=> 1
+
+
@@ -2083,26 +2069,25 @@

-

+

public - Defer(args: ...*): * + Rest: * - source + source

- +
import {Rest} from 'lodash-decorators/src/rest.ts'
+ -

Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it's invoked.

-
@@ -2119,32 +2104,7 @@

-
-

Example:

- -
- -

-class MyClass {
-  value = 100;
-
-  @Defer()
-  add(a) {
-    this.value += a;
-  }
-}
-
-const myClass = new MyClass();
-
-myClass.add(10);
-
-myClass.value; // => 100;
-
-setTimeout(() => {
-  myClass.value; // => 110;
-}, 0);
-
-
+ @@ -2152,26 +2112,25 @@

Example:

-

+

public - Delay(wait: number, args: ...*): * + Spread: * - source + source

- +
import {Spread} from 'lodash-decorators/src/spread.ts'
+ -

Invokes func after wait milliseconds. Any additional arguments are provided to func when it's invoked.

-
@@ -2188,32 +2147,7 @@

-
-

Example:

- -
- -

-class MyClass {
-  value = 100;
-
-  @Delay(20)
-  add(a) {
-    this.value += a;
-  }
-}
-
-const myClass = new MyClass();
-
-myClass.add(10);
-
-myClass.value; // => 100;
-
-setTimeout(() => {
-  myClass.value; // => 110;
-}, 30);
-
-
+ @@ -2221,26 +2155,26 @@

Example:

-

+

public - Flip: * + Tap: * - source + source

- +
import {Tap} from 'lodash-decorators/src/tap.ts'
-

Creates a function that invokes func with arguments reversed. Honestly, there is probably not much -use for this decorator but maybe you will find one?

+

Returns the first argument from the function regardless of +the decorated functions return value.

@@ -2258,26 +2192,7 @@

-
-

Example:

- -
- -

-class MyClass {
-  value = 100;
-
-  @Flip()
-  fn(a, b) {
-    return [ a, b ];
-  }
-}
-
-const myClass = new MyClass();
-
-myClass.fn(10, 20); // => [ 20, 10 ]
-
-
+ @@ -2285,27 +2200,25 @@

Example:

-

+

public - Flow: * + Throttle: * - source + source

- +
import {Throttle} from 'lodash-decorators/src/throttle.ts'
+ -

Creates a function that returns the result of invoking the given functions with the this binding of the created function, -where each successive invocation is supplied the return value of the previous.

-
@@ -2322,28 +2235,7 @@

-
-

Example:

- -
- -

-class MyClass {
-  name = 'Ted';
-
-  @Flow('getName', toUpperCase)
-  getUpperCaseName: () => string;
-
-  getName() {
-    return this.name;
-  }
-}
-
-const myClass = new MyClass();
-
-myClass.getUpperCaseName(); // => 'TED'
-
-
+ @@ -2351,27 +2243,25 @@

Example:

-

+

public - FlowRight: * + ThrottleGetter: * - source + source

- +
import {ThrottleGetter} from 'lodash-decorators/src/throttle.ts'
+ -

Creates a function that returns the result of invoking the given functions with the this binding of the created function, -where each successive invocation is supplied the return value of the previous.

-
@@ -2388,28 +2278,7 @@

-
-

Example:

- -
- -

-class MyClass {
-  name = 'Ted';
-
-  @FlowRight(toUpperCase, 'getName')
-  getUpperCaseName: () => string;
-
-  getName() {
-    return this.name;
-  }
-}
-
-const myClass = new MyClass();
-
-myClass.getUpperCaseName(); // => 'TED'
-
-
+ @@ -2417,22 +2286,22 @@

Example:

-

+

public - InstanceChainMap: buildDocs/utils.js~CompositeKeyWeakMap + ThrottleSetter: * - source + source

-
import {InstanceChainMap} from 'lodash-decorators/buildDocs/factory/common.js'
+
import {ThrottleSetter} from 'lodash-decorators/src/throttle.ts'
@@ -2460,22 +2329,22 @@

-

+

public - Memoize: * + Unary: * - source + source

- +
import {Unary} from 'lodash-decorators/src/unary.ts'
@@ -2503,26 +2372,25 @@

-

+

public - MemoizeAll(resolver: Function): * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/after.ts'
+ -

Memoizes a function on the prototype instead of the instance. All instances of the class use the same memoize cache.

-
@@ -2547,22 +2415,22 @@

-

+

public - Negate: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/afterAll.ts'
@@ -2590,22 +2458,22 @@

-

+

public - Once: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/ary.ts'
@@ -2633,22 +2501,22 @@

-

+

public - OnceAll: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/before.ts'
@@ -2676,22 +2544,22 @@

-

+

public - OverArgs: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/beforeAll.ts'
@@ -2719,22 +2587,22 @@

-

+

public - Partial: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/debounce.ts'
@@ -2762,22 +2630,22 @@

-

+

public - PartialRight: * + decorator: * - source + source

-
import {PartialRight} from 'lodash-decorators/buildDocs/partialRight.js'
+
import decorator from 'lodash-decorators/src/debounceAll.ts'
@@ -2805,22 +2673,22 @@

-

+

public - Rearg: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/delay.ts'
@@ -2848,22 +2716,22 @@

-

+

public - Rest: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/flip.ts'
@@ -2891,22 +2759,22 @@

-

+

public - Spread: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/flow.ts'
@@ -2934,27 +2802,25 @@

-

+

public - Tap: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/flowRight.ts'
+ -

Returns the first argument from the function regardless of -the decorated functions return value.

-
@@ -2979,22 +2845,22 @@

-

+

public - Throttle: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/overArgs.ts'
@@ -3022,22 +2888,22 @@

-

+

public - ThrottleAll: * + decorator: * - source + source

-
import {ThrottleAll} from 'lodash-decorators/buildDocs/throttleAll.js'
+
import decorator from 'lodash-decorators/src/partial.ts'
@@ -3065,22 +2931,22 @@

-

+

public - ThrottleGetter: * + decorator: * - source + source

-
import {ThrottleGetter} from 'lodash-decorators/buildDocs/throttle.js'
+ @@ -3108,22 +2974,22 @@

-

+

public - ThrottleSetter: * + decorator: * - source + source

-
import {ThrottleSetter} from 'lodash-decorators/buildDocs/throttle.js'
+
import decorator from 'lodash-decorators/src/rearg.ts'
@@ -3151,22 +3017,22 @@

-

+

public - Unary: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/throttleAll.ts'
@@ -3194,22 +3060,22 @@

-

+

public - Wrap: * + decorator: * - source + source

- +
import decorator from 'lodash-decorators/src/wrap.ts'
@@ -3240,7 +3106,7 @@

From 43a775ea79477c1be2ba5c249cf3d0dec1d23d68 Mon Sep 17 00:00:00 2001 From: GerkinDev Date: Wed, 8 Sep 2021 01:37:32 +0200 Subject: [PATCH 4/5] chore: remove unused test tsconfig --- tsconfig.test.json | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 tsconfig.test.json diff --git a/tsconfig.test.json b/tsconfig.test.json deleted file mode 100644 index 4576dcf..0000000 --- a/tsconfig.test.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./test", - "sourceMap": true - }, - "exclude": [] -} From 78c3565bf3f818fd5e628f13c02ed1e4db1f2cfa Mon Sep 17 00:00:00 2001 From: GerkinDev Date: Mon, 18 Oct 2021 16:19:01 +0200 Subject: [PATCH 5/5] chore(mocha): watch ts files --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index f651fcc..346a66b 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,7 @@ "spec": [ "src/**/*.spec.ts" ], + "watch-files": ["src/**/*.ts"], "require": "ts-node/register" } }